tech.ydb.proto.scheme.SchemeOperationProtos Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: protos/ydb_scheme.proto
package tech.ydb.proto.scheme;
public final class SchemeOperationProtos {
private SchemeOperationProtos() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface MakeDirectoryRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:Ydb.Scheme.MakeDirectoryRequest)
com.google.protobuf.MessageOrBuilder {
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return Whether the operationParams field is set.
*/
boolean hasOperationParams();
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return The operationParams.
*/
tech.ydb.proto.OperationProtos.OperationParams getOperationParams();
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder();
/**
* string path = 2;
* @return The path.
*/
java.lang.String getPath();
/**
* string path = 2;
* @return The bytes for path.
*/
com.google.protobuf.ByteString
getPathBytes();
}
/**
*
* Create directory.
* All intermediate directories must be created
*
*
* Protobuf type {@code Ydb.Scheme.MakeDirectoryRequest}
*/
public static final class MakeDirectoryRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Ydb.Scheme.MakeDirectoryRequest)
MakeDirectoryRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use MakeDirectoryRequest.newBuilder() to construct.
private MakeDirectoryRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MakeDirectoryRequest() {
path_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new MakeDirectoryRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_MakeDirectoryRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_MakeDirectoryRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest.class, tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest.Builder.class);
}
private int bitField0_;
public static final int OPERATION_PARAMS_FIELD_NUMBER = 1;
private tech.ydb.proto.OperationProtos.OperationParams operationParams_;
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return Whether the operationParams field is set.
*/
@java.lang.Override
public boolean hasOperationParams() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return The operationParams.
*/
@java.lang.Override
public tech.ydb.proto.OperationProtos.OperationParams getOperationParams() {
return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
@java.lang.Override
public tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() {
return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_;
}
public static final int PATH_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object path_ = "";
/**
* string path = 2;
* @return The path.
*/
@java.lang.Override
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
path_ = s;
return s;
}
}
/**
* string path = 2;
* @return The bytes for path.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getOperationParams());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getOperationParams());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest)) {
return super.equals(obj);
}
tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest other = (tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest) obj;
if (hasOperationParams() != other.hasOperationParams()) return false;
if (hasOperationParams()) {
if (!getOperationParams()
.equals(other.getOperationParams())) return false;
}
if (!getPath()
.equals(other.getPath())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasOperationParams()) {
hash = (37 * hash) + OPERATION_PARAMS_FIELD_NUMBER;
hash = (53 * hash) + getOperationParams().hashCode();
}
hash = (37 * hash) + PATH_FIELD_NUMBER;
hash = (53 * hash) + getPath().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Create directory.
* All intermediate directories must be created
*
*
* Protobuf type {@code Ydb.Scheme.MakeDirectoryRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Ydb.Scheme.MakeDirectoryRequest)
tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_MakeDirectoryRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_MakeDirectoryRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest.class, tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest.Builder.class);
}
// Construct using tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getOperationParamsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
operationParams_ = null;
if (operationParamsBuilder_ != null) {
operationParamsBuilder_.dispose();
operationParamsBuilder_ = null;
}
path_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_MakeDirectoryRequest_descriptor;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest getDefaultInstanceForType() {
return tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest.getDefaultInstance();
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest build() {
tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest buildPartial() {
tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest result = new tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.operationParams_ = operationParamsBuilder_ == null
? operationParams_
: operationParamsBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.path_ = path_;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest) {
return mergeFrom((tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest other) {
if (other == tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest.getDefaultInstance()) return this;
if (other.hasOperationParams()) {
mergeOperationParams(other.getOperationParams());
}
if (!other.getPath().isEmpty()) {
path_ = other.path_;
bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getOperationParamsFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
path_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private tech.ydb.proto.OperationProtos.OperationParams operationParams_;
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.OperationProtos.OperationParams, tech.ydb.proto.OperationProtos.OperationParams.Builder, tech.ydb.proto.OperationProtos.OperationParamsOrBuilder> operationParamsBuilder_;
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return Whether the operationParams field is set.
*/
public boolean hasOperationParams() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return The operationParams.
*/
public tech.ydb.proto.OperationProtos.OperationParams getOperationParams() {
if (operationParamsBuilder_ == null) {
return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_;
} else {
return operationParamsBuilder_.getMessage();
}
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public Builder setOperationParams(tech.ydb.proto.OperationProtos.OperationParams value) {
if (operationParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
operationParams_ = value;
} else {
operationParamsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public Builder setOperationParams(
tech.ydb.proto.OperationProtos.OperationParams.Builder builderForValue) {
if (operationParamsBuilder_ == null) {
operationParams_ = builderForValue.build();
} else {
operationParamsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public Builder mergeOperationParams(tech.ydb.proto.OperationProtos.OperationParams value) {
if (operationParamsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
operationParams_ != null &&
operationParams_ != tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance()) {
getOperationParamsBuilder().mergeFrom(value);
} else {
operationParams_ = value;
}
} else {
operationParamsBuilder_.mergeFrom(value);
}
if (operationParams_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public Builder clearOperationParams() {
bitField0_ = (bitField0_ & ~0x00000001);
operationParams_ = null;
if (operationParamsBuilder_ != null) {
operationParamsBuilder_.dispose();
operationParamsBuilder_ = null;
}
onChanged();
return this;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public tech.ydb.proto.OperationProtos.OperationParams.Builder getOperationParamsBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getOperationParamsFieldBuilder().getBuilder();
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() {
if (operationParamsBuilder_ != null) {
return operationParamsBuilder_.getMessageOrBuilder();
} else {
return operationParams_ == null ?
tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_;
}
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.OperationProtos.OperationParams, tech.ydb.proto.OperationProtos.OperationParams.Builder, tech.ydb.proto.OperationProtos.OperationParamsOrBuilder>
getOperationParamsFieldBuilder() {
if (operationParamsBuilder_ == null) {
operationParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.OperationProtos.OperationParams, tech.ydb.proto.OperationProtos.OperationParams.Builder, tech.ydb.proto.OperationProtos.OperationParamsOrBuilder>(
getOperationParams(),
getParentForChildren(),
isClean());
operationParams_ = null;
}
return operationParamsBuilder_;
}
private java.lang.Object path_ = "";
/**
* string path = 2;
* @return The path.
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
path_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string path = 2;
* @return The bytes for path.
*/
public com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string path = 2;
* @param value The path to set.
* @return This builder for chaining.
*/
public Builder setPath(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
path_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* string path = 2;
* @return This builder for chaining.
*/
public Builder clearPath() {
path_ = getDefaultInstance().getPath();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* string path = 2;
* @param value The bytes for path to set.
* @return This builder for chaining.
*/
public Builder setPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
path_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Ydb.Scheme.MakeDirectoryRequest)
}
// @@protoc_insertion_point(class_scope:Ydb.Scheme.MakeDirectoryRequest)
private static final tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest();
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public MakeDirectoryRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MakeDirectoryResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:Ydb.Scheme.MakeDirectoryResponse)
com.google.protobuf.MessageOrBuilder {
/**
* .Ydb.Operations.Operation operation = 1;
* @return Whether the operation field is set.
*/
boolean hasOperation();
/**
* .Ydb.Operations.Operation operation = 1;
* @return The operation.
*/
tech.ydb.proto.OperationProtos.Operation getOperation();
/**
* .Ydb.Operations.Operation operation = 1;
*/
tech.ydb.proto.OperationProtos.OperationOrBuilder getOperationOrBuilder();
}
/**
* Protobuf type {@code Ydb.Scheme.MakeDirectoryResponse}
*/
public static final class MakeDirectoryResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Ydb.Scheme.MakeDirectoryResponse)
MakeDirectoryResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use MakeDirectoryResponse.newBuilder() to construct.
private MakeDirectoryResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MakeDirectoryResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new MakeDirectoryResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_MakeDirectoryResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_MakeDirectoryResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse.class, tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse.Builder.class);
}
private int bitField0_;
public static final int OPERATION_FIELD_NUMBER = 1;
private tech.ydb.proto.OperationProtos.Operation operation_;
/**
* .Ydb.Operations.Operation operation = 1;
* @return Whether the operation field is set.
*/
@java.lang.Override
public boolean hasOperation() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .Ydb.Operations.Operation operation = 1;
* @return The operation.
*/
@java.lang.Override
public tech.ydb.proto.OperationProtos.Operation getOperation() {
return operation_ == null ? tech.ydb.proto.OperationProtos.Operation.getDefaultInstance() : operation_;
}
/**
* .Ydb.Operations.Operation operation = 1;
*/
@java.lang.Override
public tech.ydb.proto.OperationProtos.OperationOrBuilder getOperationOrBuilder() {
return operation_ == null ? tech.ydb.proto.OperationProtos.Operation.getDefaultInstance() : operation_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getOperation());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getOperation());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse)) {
return super.equals(obj);
}
tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse other = (tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse) obj;
if (hasOperation() != other.hasOperation()) return false;
if (hasOperation()) {
if (!getOperation()
.equals(other.getOperation())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasOperation()) {
hash = (37 * hash) + OPERATION_FIELD_NUMBER;
hash = (53 * hash) + getOperation().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code Ydb.Scheme.MakeDirectoryResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Ydb.Scheme.MakeDirectoryResponse)
tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_MakeDirectoryResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_MakeDirectoryResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse.class, tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse.Builder.class);
}
// Construct using tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getOperationFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
operation_ = null;
if (operationBuilder_ != null) {
operationBuilder_.dispose();
operationBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_MakeDirectoryResponse_descriptor;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse getDefaultInstanceForType() {
return tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse.getDefaultInstance();
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse build() {
tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse buildPartial() {
tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse result = new tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.operation_ = operationBuilder_ == null
? operation_
: operationBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse) {
return mergeFrom((tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse other) {
if (other == tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse.getDefaultInstance()) return this;
if (other.hasOperation()) {
mergeOperation(other.getOperation());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getOperationFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private tech.ydb.proto.OperationProtos.Operation operation_;
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.OperationProtos.Operation, tech.ydb.proto.OperationProtos.Operation.Builder, tech.ydb.proto.OperationProtos.OperationOrBuilder> operationBuilder_;
/**
* .Ydb.Operations.Operation operation = 1;
* @return Whether the operation field is set.
*/
public boolean hasOperation() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .Ydb.Operations.Operation operation = 1;
* @return The operation.
*/
public tech.ydb.proto.OperationProtos.Operation getOperation() {
if (operationBuilder_ == null) {
return operation_ == null ? tech.ydb.proto.OperationProtos.Operation.getDefaultInstance() : operation_;
} else {
return operationBuilder_.getMessage();
}
}
/**
* .Ydb.Operations.Operation operation = 1;
*/
public Builder setOperation(tech.ydb.proto.OperationProtos.Operation value) {
if (operationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
operation_ = value;
} else {
operationBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .Ydb.Operations.Operation operation = 1;
*/
public Builder setOperation(
tech.ydb.proto.OperationProtos.Operation.Builder builderForValue) {
if (operationBuilder_ == null) {
operation_ = builderForValue.build();
} else {
operationBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .Ydb.Operations.Operation operation = 1;
*/
public Builder mergeOperation(tech.ydb.proto.OperationProtos.Operation value) {
if (operationBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
operation_ != null &&
operation_ != tech.ydb.proto.OperationProtos.Operation.getDefaultInstance()) {
getOperationBuilder().mergeFrom(value);
} else {
operation_ = value;
}
} else {
operationBuilder_.mergeFrom(value);
}
if (operation_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* .Ydb.Operations.Operation operation = 1;
*/
public Builder clearOperation() {
bitField0_ = (bitField0_ & ~0x00000001);
operation_ = null;
if (operationBuilder_ != null) {
operationBuilder_.dispose();
operationBuilder_ = null;
}
onChanged();
return this;
}
/**
* .Ydb.Operations.Operation operation = 1;
*/
public tech.ydb.proto.OperationProtos.Operation.Builder getOperationBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getOperationFieldBuilder().getBuilder();
}
/**
* .Ydb.Operations.Operation operation = 1;
*/
public tech.ydb.proto.OperationProtos.OperationOrBuilder getOperationOrBuilder() {
if (operationBuilder_ != null) {
return operationBuilder_.getMessageOrBuilder();
} else {
return operation_ == null ?
tech.ydb.proto.OperationProtos.Operation.getDefaultInstance() : operation_;
}
}
/**
* .Ydb.Operations.Operation operation = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.OperationProtos.Operation, tech.ydb.proto.OperationProtos.Operation.Builder, tech.ydb.proto.OperationProtos.OperationOrBuilder>
getOperationFieldBuilder() {
if (operationBuilder_ == null) {
operationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.OperationProtos.Operation, tech.ydb.proto.OperationProtos.Operation.Builder, tech.ydb.proto.OperationProtos.OperationOrBuilder>(
getOperation(),
getParentForChildren(),
isClean());
operation_ = null;
}
return operationBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Ydb.Scheme.MakeDirectoryResponse)
}
// @@protoc_insertion_point(class_scope:Ydb.Scheme.MakeDirectoryResponse)
private static final tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse();
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public MakeDirectoryResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.MakeDirectoryResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RemoveDirectoryRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:Ydb.Scheme.RemoveDirectoryRequest)
com.google.protobuf.MessageOrBuilder {
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return Whether the operationParams field is set.
*/
boolean hasOperationParams();
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return The operationParams.
*/
tech.ydb.proto.OperationProtos.OperationParams getOperationParams();
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder();
/**
* string path = 2;
* @return The path.
*/
java.lang.String getPath();
/**
* string path = 2;
* @return The bytes for path.
*/
com.google.protobuf.ByteString
getPathBytes();
}
/**
*
* Remove directory
*
*
* Protobuf type {@code Ydb.Scheme.RemoveDirectoryRequest}
*/
public static final class RemoveDirectoryRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Ydb.Scheme.RemoveDirectoryRequest)
RemoveDirectoryRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use RemoveDirectoryRequest.newBuilder() to construct.
private RemoveDirectoryRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RemoveDirectoryRequest() {
path_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RemoveDirectoryRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_RemoveDirectoryRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_RemoveDirectoryRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest.class, tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest.Builder.class);
}
private int bitField0_;
public static final int OPERATION_PARAMS_FIELD_NUMBER = 1;
private tech.ydb.proto.OperationProtos.OperationParams operationParams_;
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return Whether the operationParams field is set.
*/
@java.lang.Override
public boolean hasOperationParams() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return The operationParams.
*/
@java.lang.Override
public tech.ydb.proto.OperationProtos.OperationParams getOperationParams() {
return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
@java.lang.Override
public tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() {
return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_;
}
public static final int PATH_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object path_ = "";
/**
* string path = 2;
* @return The path.
*/
@java.lang.Override
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
path_ = s;
return s;
}
}
/**
* string path = 2;
* @return The bytes for path.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getOperationParams());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getOperationParams());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest)) {
return super.equals(obj);
}
tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest other = (tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest) obj;
if (hasOperationParams() != other.hasOperationParams()) return false;
if (hasOperationParams()) {
if (!getOperationParams()
.equals(other.getOperationParams())) return false;
}
if (!getPath()
.equals(other.getPath())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasOperationParams()) {
hash = (37 * hash) + OPERATION_PARAMS_FIELD_NUMBER;
hash = (53 * hash) + getOperationParams().hashCode();
}
hash = (37 * hash) + PATH_FIELD_NUMBER;
hash = (53 * hash) + getPath().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Remove directory
*
*
* Protobuf type {@code Ydb.Scheme.RemoveDirectoryRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Ydb.Scheme.RemoveDirectoryRequest)
tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_RemoveDirectoryRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_RemoveDirectoryRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest.class, tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest.Builder.class);
}
// Construct using tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getOperationParamsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
operationParams_ = null;
if (operationParamsBuilder_ != null) {
operationParamsBuilder_.dispose();
operationParamsBuilder_ = null;
}
path_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_RemoveDirectoryRequest_descriptor;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest getDefaultInstanceForType() {
return tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest.getDefaultInstance();
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest build() {
tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest buildPartial() {
tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest result = new tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.operationParams_ = operationParamsBuilder_ == null
? operationParams_
: operationParamsBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.path_ = path_;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest) {
return mergeFrom((tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest other) {
if (other == tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest.getDefaultInstance()) return this;
if (other.hasOperationParams()) {
mergeOperationParams(other.getOperationParams());
}
if (!other.getPath().isEmpty()) {
path_ = other.path_;
bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getOperationParamsFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
path_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private tech.ydb.proto.OperationProtos.OperationParams operationParams_;
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.OperationProtos.OperationParams, tech.ydb.proto.OperationProtos.OperationParams.Builder, tech.ydb.proto.OperationProtos.OperationParamsOrBuilder> operationParamsBuilder_;
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return Whether the operationParams field is set.
*/
public boolean hasOperationParams() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return The operationParams.
*/
public tech.ydb.proto.OperationProtos.OperationParams getOperationParams() {
if (operationParamsBuilder_ == null) {
return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_;
} else {
return operationParamsBuilder_.getMessage();
}
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public Builder setOperationParams(tech.ydb.proto.OperationProtos.OperationParams value) {
if (operationParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
operationParams_ = value;
} else {
operationParamsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public Builder setOperationParams(
tech.ydb.proto.OperationProtos.OperationParams.Builder builderForValue) {
if (operationParamsBuilder_ == null) {
operationParams_ = builderForValue.build();
} else {
operationParamsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public Builder mergeOperationParams(tech.ydb.proto.OperationProtos.OperationParams value) {
if (operationParamsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
operationParams_ != null &&
operationParams_ != tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance()) {
getOperationParamsBuilder().mergeFrom(value);
} else {
operationParams_ = value;
}
} else {
operationParamsBuilder_.mergeFrom(value);
}
if (operationParams_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public Builder clearOperationParams() {
bitField0_ = (bitField0_ & ~0x00000001);
operationParams_ = null;
if (operationParamsBuilder_ != null) {
operationParamsBuilder_.dispose();
operationParamsBuilder_ = null;
}
onChanged();
return this;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public tech.ydb.proto.OperationProtos.OperationParams.Builder getOperationParamsBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getOperationParamsFieldBuilder().getBuilder();
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() {
if (operationParamsBuilder_ != null) {
return operationParamsBuilder_.getMessageOrBuilder();
} else {
return operationParams_ == null ?
tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_;
}
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.OperationProtos.OperationParams, tech.ydb.proto.OperationProtos.OperationParams.Builder, tech.ydb.proto.OperationProtos.OperationParamsOrBuilder>
getOperationParamsFieldBuilder() {
if (operationParamsBuilder_ == null) {
operationParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.OperationProtos.OperationParams, tech.ydb.proto.OperationProtos.OperationParams.Builder, tech.ydb.proto.OperationProtos.OperationParamsOrBuilder>(
getOperationParams(),
getParentForChildren(),
isClean());
operationParams_ = null;
}
return operationParamsBuilder_;
}
private java.lang.Object path_ = "";
/**
* string path = 2;
* @return The path.
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
path_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string path = 2;
* @return The bytes for path.
*/
public com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string path = 2;
* @param value The path to set.
* @return This builder for chaining.
*/
public Builder setPath(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
path_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* string path = 2;
* @return This builder for chaining.
*/
public Builder clearPath() {
path_ = getDefaultInstance().getPath();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* string path = 2;
* @param value The bytes for path to set.
* @return This builder for chaining.
*/
public Builder setPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
path_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Ydb.Scheme.RemoveDirectoryRequest)
}
// @@protoc_insertion_point(class_scope:Ydb.Scheme.RemoveDirectoryRequest)
private static final tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest();
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public RemoveDirectoryRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RemoveDirectoryResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:Ydb.Scheme.RemoveDirectoryResponse)
com.google.protobuf.MessageOrBuilder {
/**
* .Ydb.Operations.Operation operation = 1;
* @return Whether the operation field is set.
*/
boolean hasOperation();
/**
* .Ydb.Operations.Operation operation = 1;
* @return The operation.
*/
tech.ydb.proto.OperationProtos.Operation getOperation();
/**
* .Ydb.Operations.Operation operation = 1;
*/
tech.ydb.proto.OperationProtos.OperationOrBuilder getOperationOrBuilder();
}
/**
* Protobuf type {@code Ydb.Scheme.RemoveDirectoryResponse}
*/
public static final class RemoveDirectoryResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Ydb.Scheme.RemoveDirectoryResponse)
RemoveDirectoryResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use RemoveDirectoryResponse.newBuilder() to construct.
private RemoveDirectoryResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RemoveDirectoryResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RemoveDirectoryResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_RemoveDirectoryResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_RemoveDirectoryResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse.class, tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse.Builder.class);
}
private int bitField0_;
public static final int OPERATION_FIELD_NUMBER = 1;
private tech.ydb.proto.OperationProtos.Operation operation_;
/**
* .Ydb.Operations.Operation operation = 1;
* @return Whether the operation field is set.
*/
@java.lang.Override
public boolean hasOperation() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .Ydb.Operations.Operation operation = 1;
* @return The operation.
*/
@java.lang.Override
public tech.ydb.proto.OperationProtos.Operation getOperation() {
return operation_ == null ? tech.ydb.proto.OperationProtos.Operation.getDefaultInstance() : operation_;
}
/**
* .Ydb.Operations.Operation operation = 1;
*/
@java.lang.Override
public tech.ydb.proto.OperationProtos.OperationOrBuilder getOperationOrBuilder() {
return operation_ == null ? tech.ydb.proto.OperationProtos.Operation.getDefaultInstance() : operation_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getOperation());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getOperation());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse)) {
return super.equals(obj);
}
tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse other = (tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse) obj;
if (hasOperation() != other.hasOperation()) return false;
if (hasOperation()) {
if (!getOperation()
.equals(other.getOperation())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasOperation()) {
hash = (37 * hash) + OPERATION_FIELD_NUMBER;
hash = (53 * hash) + getOperation().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code Ydb.Scheme.RemoveDirectoryResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Ydb.Scheme.RemoveDirectoryResponse)
tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_RemoveDirectoryResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_RemoveDirectoryResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse.class, tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse.Builder.class);
}
// Construct using tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getOperationFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
operation_ = null;
if (operationBuilder_ != null) {
operationBuilder_.dispose();
operationBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_RemoveDirectoryResponse_descriptor;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse getDefaultInstanceForType() {
return tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse.getDefaultInstance();
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse build() {
tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse buildPartial() {
tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse result = new tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.operation_ = operationBuilder_ == null
? operation_
: operationBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse) {
return mergeFrom((tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse other) {
if (other == tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse.getDefaultInstance()) return this;
if (other.hasOperation()) {
mergeOperation(other.getOperation());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getOperationFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private tech.ydb.proto.OperationProtos.Operation operation_;
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.OperationProtos.Operation, tech.ydb.proto.OperationProtos.Operation.Builder, tech.ydb.proto.OperationProtos.OperationOrBuilder> operationBuilder_;
/**
* .Ydb.Operations.Operation operation = 1;
* @return Whether the operation field is set.
*/
public boolean hasOperation() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .Ydb.Operations.Operation operation = 1;
* @return The operation.
*/
public tech.ydb.proto.OperationProtos.Operation getOperation() {
if (operationBuilder_ == null) {
return operation_ == null ? tech.ydb.proto.OperationProtos.Operation.getDefaultInstance() : operation_;
} else {
return operationBuilder_.getMessage();
}
}
/**
* .Ydb.Operations.Operation operation = 1;
*/
public Builder setOperation(tech.ydb.proto.OperationProtos.Operation value) {
if (operationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
operation_ = value;
} else {
operationBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .Ydb.Operations.Operation operation = 1;
*/
public Builder setOperation(
tech.ydb.proto.OperationProtos.Operation.Builder builderForValue) {
if (operationBuilder_ == null) {
operation_ = builderForValue.build();
} else {
operationBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .Ydb.Operations.Operation operation = 1;
*/
public Builder mergeOperation(tech.ydb.proto.OperationProtos.Operation value) {
if (operationBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
operation_ != null &&
operation_ != tech.ydb.proto.OperationProtos.Operation.getDefaultInstance()) {
getOperationBuilder().mergeFrom(value);
} else {
operation_ = value;
}
} else {
operationBuilder_.mergeFrom(value);
}
if (operation_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* .Ydb.Operations.Operation operation = 1;
*/
public Builder clearOperation() {
bitField0_ = (bitField0_ & ~0x00000001);
operation_ = null;
if (operationBuilder_ != null) {
operationBuilder_.dispose();
operationBuilder_ = null;
}
onChanged();
return this;
}
/**
* .Ydb.Operations.Operation operation = 1;
*/
public tech.ydb.proto.OperationProtos.Operation.Builder getOperationBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getOperationFieldBuilder().getBuilder();
}
/**
* .Ydb.Operations.Operation operation = 1;
*/
public tech.ydb.proto.OperationProtos.OperationOrBuilder getOperationOrBuilder() {
if (operationBuilder_ != null) {
return operationBuilder_.getMessageOrBuilder();
} else {
return operation_ == null ?
tech.ydb.proto.OperationProtos.Operation.getDefaultInstance() : operation_;
}
}
/**
* .Ydb.Operations.Operation operation = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.OperationProtos.Operation, tech.ydb.proto.OperationProtos.Operation.Builder, tech.ydb.proto.OperationProtos.OperationOrBuilder>
getOperationFieldBuilder() {
if (operationBuilder_ == null) {
operationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.OperationProtos.Operation, tech.ydb.proto.OperationProtos.Operation.Builder, tech.ydb.proto.OperationProtos.OperationOrBuilder>(
getOperation(),
getParentForChildren(),
isClean());
operation_ = null;
}
return operationBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Ydb.Scheme.RemoveDirectoryResponse)
}
// @@protoc_insertion_point(class_scope:Ydb.Scheme.RemoveDirectoryResponse)
private static final tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse();
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public RemoveDirectoryResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.RemoveDirectoryResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ListDirectoryRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:Ydb.Scheme.ListDirectoryRequest)
com.google.protobuf.MessageOrBuilder {
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return Whether the operationParams field is set.
*/
boolean hasOperationParams();
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return The operationParams.
*/
tech.ydb.proto.OperationProtos.OperationParams getOperationParams();
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder();
/**
* string path = 2;
* @return The path.
*/
java.lang.String getPath();
/**
* string path = 2;
* @return The bytes for path.
*/
com.google.protobuf.ByteString
getPathBytes();
}
/**
*
* List directory
*
*
* Protobuf type {@code Ydb.Scheme.ListDirectoryRequest}
*/
public static final class ListDirectoryRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Ydb.Scheme.ListDirectoryRequest)
ListDirectoryRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ListDirectoryRequest.newBuilder() to construct.
private ListDirectoryRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ListDirectoryRequest() {
path_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ListDirectoryRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_ListDirectoryRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_ListDirectoryRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest.class, tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest.Builder.class);
}
private int bitField0_;
public static final int OPERATION_PARAMS_FIELD_NUMBER = 1;
private tech.ydb.proto.OperationProtos.OperationParams operationParams_;
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return Whether the operationParams field is set.
*/
@java.lang.Override
public boolean hasOperationParams() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return The operationParams.
*/
@java.lang.Override
public tech.ydb.proto.OperationProtos.OperationParams getOperationParams() {
return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
@java.lang.Override
public tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() {
return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_;
}
public static final int PATH_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object path_ = "";
/**
* string path = 2;
* @return The path.
*/
@java.lang.Override
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
path_ = s;
return s;
}
}
/**
* string path = 2;
* @return The bytes for path.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getOperationParams());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getOperationParams());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest)) {
return super.equals(obj);
}
tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest other = (tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest) obj;
if (hasOperationParams() != other.hasOperationParams()) return false;
if (hasOperationParams()) {
if (!getOperationParams()
.equals(other.getOperationParams())) return false;
}
if (!getPath()
.equals(other.getPath())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasOperationParams()) {
hash = (37 * hash) + OPERATION_PARAMS_FIELD_NUMBER;
hash = (53 * hash) + getOperationParams().hashCode();
}
hash = (37 * hash) + PATH_FIELD_NUMBER;
hash = (53 * hash) + getPath().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* List directory
*
*
* Protobuf type {@code Ydb.Scheme.ListDirectoryRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Ydb.Scheme.ListDirectoryRequest)
tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_ListDirectoryRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_ListDirectoryRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest.class, tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest.Builder.class);
}
// Construct using tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getOperationParamsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
operationParams_ = null;
if (operationParamsBuilder_ != null) {
operationParamsBuilder_.dispose();
operationParamsBuilder_ = null;
}
path_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_ListDirectoryRequest_descriptor;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest getDefaultInstanceForType() {
return tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest.getDefaultInstance();
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest build() {
tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest buildPartial() {
tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest result = new tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.operationParams_ = operationParamsBuilder_ == null
? operationParams_
: operationParamsBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.path_ = path_;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest) {
return mergeFrom((tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest other) {
if (other == tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest.getDefaultInstance()) return this;
if (other.hasOperationParams()) {
mergeOperationParams(other.getOperationParams());
}
if (!other.getPath().isEmpty()) {
path_ = other.path_;
bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getOperationParamsFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
path_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private tech.ydb.proto.OperationProtos.OperationParams operationParams_;
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.OperationProtos.OperationParams, tech.ydb.proto.OperationProtos.OperationParams.Builder, tech.ydb.proto.OperationProtos.OperationParamsOrBuilder> operationParamsBuilder_;
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return Whether the operationParams field is set.
*/
public boolean hasOperationParams() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return The operationParams.
*/
public tech.ydb.proto.OperationProtos.OperationParams getOperationParams() {
if (operationParamsBuilder_ == null) {
return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_;
} else {
return operationParamsBuilder_.getMessage();
}
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public Builder setOperationParams(tech.ydb.proto.OperationProtos.OperationParams value) {
if (operationParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
operationParams_ = value;
} else {
operationParamsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public Builder setOperationParams(
tech.ydb.proto.OperationProtos.OperationParams.Builder builderForValue) {
if (operationParamsBuilder_ == null) {
operationParams_ = builderForValue.build();
} else {
operationParamsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public Builder mergeOperationParams(tech.ydb.proto.OperationProtos.OperationParams value) {
if (operationParamsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
operationParams_ != null &&
operationParams_ != tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance()) {
getOperationParamsBuilder().mergeFrom(value);
} else {
operationParams_ = value;
}
} else {
operationParamsBuilder_.mergeFrom(value);
}
if (operationParams_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public Builder clearOperationParams() {
bitField0_ = (bitField0_ & ~0x00000001);
operationParams_ = null;
if (operationParamsBuilder_ != null) {
operationParamsBuilder_.dispose();
operationParamsBuilder_ = null;
}
onChanged();
return this;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public tech.ydb.proto.OperationProtos.OperationParams.Builder getOperationParamsBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getOperationParamsFieldBuilder().getBuilder();
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() {
if (operationParamsBuilder_ != null) {
return operationParamsBuilder_.getMessageOrBuilder();
} else {
return operationParams_ == null ?
tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_;
}
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.OperationProtos.OperationParams, tech.ydb.proto.OperationProtos.OperationParams.Builder, tech.ydb.proto.OperationProtos.OperationParamsOrBuilder>
getOperationParamsFieldBuilder() {
if (operationParamsBuilder_ == null) {
operationParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.OperationProtos.OperationParams, tech.ydb.proto.OperationProtos.OperationParams.Builder, tech.ydb.proto.OperationProtos.OperationParamsOrBuilder>(
getOperationParams(),
getParentForChildren(),
isClean());
operationParams_ = null;
}
return operationParamsBuilder_;
}
private java.lang.Object path_ = "";
/**
* string path = 2;
* @return The path.
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
path_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string path = 2;
* @return The bytes for path.
*/
public com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string path = 2;
* @param value The path to set.
* @return This builder for chaining.
*/
public Builder setPath(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
path_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* string path = 2;
* @return This builder for chaining.
*/
public Builder clearPath() {
path_ = getDefaultInstance().getPath();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* string path = 2;
* @param value The bytes for path to set.
* @return This builder for chaining.
*/
public Builder setPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
path_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Ydb.Scheme.ListDirectoryRequest)
}
// @@protoc_insertion_point(class_scope:Ydb.Scheme.ListDirectoryRequest)
private static final tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest();
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ListDirectoryRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ListDirectoryResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:Ydb.Scheme.ListDirectoryResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* Holds ListDirectoryResult in case of successful call
*
*
* .Ydb.Operations.Operation operation = 1;
* @return Whether the operation field is set.
*/
boolean hasOperation();
/**
*
* Holds ListDirectoryResult in case of successful call
*
*
* .Ydb.Operations.Operation operation = 1;
* @return The operation.
*/
tech.ydb.proto.OperationProtos.Operation getOperation();
/**
*
* Holds ListDirectoryResult in case of successful call
*
*
* .Ydb.Operations.Operation operation = 1;
*/
tech.ydb.proto.OperationProtos.OperationOrBuilder getOperationOrBuilder();
}
/**
* Protobuf type {@code Ydb.Scheme.ListDirectoryResponse}
*/
public static final class ListDirectoryResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Ydb.Scheme.ListDirectoryResponse)
ListDirectoryResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ListDirectoryResponse.newBuilder() to construct.
private ListDirectoryResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ListDirectoryResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ListDirectoryResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_ListDirectoryResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_ListDirectoryResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse.class, tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse.Builder.class);
}
private int bitField0_;
public static final int OPERATION_FIELD_NUMBER = 1;
private tech.ydb.proto.OperationProtos.Operation operation_;
/**
*
* Holds ListDirectoryResult in case of successful call
*
*
* .Ydb.Operations.Operation operation = 1;
* @return Whether the operation field is set.
*/
@java.lang.Override
public boolean hasOperation() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Holds ListDirectoryResult in case of successful call
*
*
* .Ydb.Operations.Operation operation = 1;
* @return The operation.
*/
@java.lang.Override
public tech.ydb.proto.OperationProtos.Operation getOperation() {
return operation_ == null ? tech.ydb.proto.OperationProtos.Operation.getDefaultInstance() : operation_;
}
/**
*
* Holds ListDirectoryResult in case of successful call
*
*
* .Ydb.Operations.Operation operation = 1;
*/
@java.lang.Override
public tech.ydb.proto.OperationProtos.OperationOrBuilder getOperationOrBuilder() {
return operation_ == null ? tech.ydb.proto.OperationProtos.Operation.getDefaultInstance() : operation_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getOperation());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getOperation());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse)) {
return super.equals(obj);
}
tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse other = (tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse) obj;
if (hasOperation() != other.hasOperation()) return false;
if (hasOperation()) {
if (!getOperation()
.equals(other.getOperation())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasOperation()) {
hash = (37 * hash) + OPERATION_FIELD_NUMBER;
hash = (53 * hash) + getOperation().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code Ydb.Scheme.ListDirectoryResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Ydb.Scheme.ListDirectoryResponse)
tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_ListDirectoryResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_ListDirectoryResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse.class, tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse.Builder.class);
}
// Construct using tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getOperationFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
operation_ = null;
if (operationBuilder_ != null) {
operationBuilder_.dispose();
operationBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_ListDirectoryResponse_descriptor;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse getDefaultInstanceForType() {
return tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse.getDefaultInstance();
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse build() {
tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse buildPartial() {
tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse result = new tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.operation_ = operationBuilder_ == null
? operation_
: operationBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse) {
return mergeFrom((tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse other) {
if (other == tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse.getDefaultInstance()) return this;
if (other.hasOperation()) {
mergeOperation(other.getOperation());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getOperationFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private tech.ydb.proto.OperationProtos.Operation operation_;
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.OperationProtos.Operation, tech.ydb.proto.OperationProtos.Operation.Builder, tech.ydb.proto.OperationProtos.OperationOrBuilder> operationBuilder_;
/**
*
* Holds ListDirectoryResult in case of successful call
*
*
* .Ydb.Operations.Operation operation = 1;
* @return Whether the operation field is set.
*/
public boolean hasOperation() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Holds ListDirectoryResult in case of successful call
*
*
* .Ydb.Operations.Operation operation = 1;
* @return The operation.
*/
public tech.ydb.proto.OperationProtos.Operation getOperation() {
if (operationBuilder_ == null) {
return operation_ == null ? tech.ydb.proto.OperationProtos.Operation.getDefaultInstance() : operation_;
} else {
return operationBuilder_.getMessage();
}
}
/**
*
* Holds ListDirectoryResult in case of successful call
*
*
* .Ydb.Operations.Operation operation = 1;
*/
public Builder setOperation(tech.ydb.proto.OperationProtos.Operation value) {
if (operationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
operation_ = value;
} else {
operationBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* Holds ListDirectoryResult in case of successful call
*
*
* .Ydb.Operations.Operation operation = 1;
*/
public Builder setOperation(
tech.ydb.proto.OperationProtos.Operation.Builder builderForValue) {
if (operationBuilder_ == null) {
operation_ = builderForValue.build();
} else {
operationBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* Holds ListDirectoryResult in case of successful call
*
*
* .Ydb.Operations.Operation operation = 1;
*/
public Builder mergeOperation(tech.ydb.proto.OperationProtos.Operation value) {
if (operationBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
operation_ != null &&
operation_ != tech.ydb.proto.OperationProtos.Operation.getDefaultInstance()) {
getOperationBuilder().mergeFrom(value);
} else {
operation_ = value;
}
} else {
operationBuilder_.mergeFrom(value);
}
if (operation_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
*
* Holds ListDirectoryResult in case of successful call
*
*
* .Ydb.Operations.Operation operation = 1;
*/
public Builder clearOperation() {
bitField0_ = (bitField0_ & ~0x00000001);
operation_ = null;
if (operationBuilder_ != null) {
operationBuilder_.dispose();
operationBuilder_ = null;
}
onChanged();
return this;
}
/**
*
* Holds ListDirectoryResult in case of successful call
*
*
* .Ydb.Operations.Operation operation = 1;
*/
public tech.ydb.proto.OperationProtos.Operation.Builder getOperationBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getOperationFieldBuilder().getBuilder();
}
/**
*
* Holds ListDirectoryResult in case of successful call
*
*
* .Ydb.Operations.Operation operation = 1;
*/
public tech.ydb.proto.OperationProtos.OperationOrBuilder getOperationOrBuilder() {
if (operationBuilder_ != null) {
return operationBuilder_.getMessageOrBuilder();
} else {
return operation_ == null ?
tech.ydb.proto.OperationProtos.Operation.getDefaultInstance() : operation_;
}
}
/**
*
* Holds ListDirectoryResult in case of successful call
*
*
* .Ydb.Operations.Operation operation = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.OperationProtos.Operation, tech.ydb.proto.OperationProtos.Operation.Builder, tech.ydb.proto.OperationProtos.OperationOrBuilder>
getOperationFieldBuilder() {
if (operationBuilder_ == null) {
operationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.OperationProtos.Operation, tech.ydb.proto.OperationProtos.Operation.Builder, tech.ydb.proto.OperationProtos.OperationOrBuilder>(
getOperation(),
getParentForChildren(),
isClean());
operation_ = null;
}
return operationBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Ydb.Scheme.ListDirectoryResponse)
}
// @@protoc_insertion_point(class_scope:Ydb.Scheme.ListDirectoryResponse)
private static final tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse();
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ListDirectoryResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PermissionsOrBuilder extends
// @@protoc_insertion_point(interface_extends:Ydb.Scheme.Permissions)
com.google.protobuf.MessageOrBuilder {
/**
*
* SID (Security ID) of user or group
*
*
* string subject = 1;
* @return The subject.
*/
java.lang.String getSubject();
/**
*
* SID (Security ID) of user or group
*
*
* string subject = 1;
* @return The bytes for subject.
*/
com.google.protobuf.ByteString
getSubjectBytes();
/**
* repeated string permission_names = 2;
* @return A list containing the permissionNames.
*/
java.util.List
getPermissionNamesList();
/**
* repeated string permission_names = 2;
* @return The count of permissionNames.
*/
int getPermissionNamesCount();
/**
* repeated string permission_names = 2;
* @param index The index of the element to return.
* @return The permissionNames at the given index.
*/
java.lang.String getPermissionNames(int index);
/**
* repeated string permission_names = 2;
* @param index The index of the value to return.
* @return The bytes of the permissionNames at the given index.
*/
com.google.protobuf.ByteString
getPermissionNamesBytes(int index);
}
/**
* Protobuf type {@code Ydb.Scheme.Permissions}
*/
public static final class Permissions extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Ydb.Scheme.Permissions)
PermissionsOrBuilder {
private static final long serialVersionUID = 0L;
// Use Permissions.newBuilder() to construct.
private Permissions(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Permissions() {
subject_ = "";
permissionNames_ =
com.google.protobuf.LazyStringArrayList.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Permissions();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_Permissions_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_Permissions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.class, tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder.class);
}
public static final int SUBJECT_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object subject_ = "";
/**
*
* SID (Security ID) of user or group
*
*
* string subject = 1;
* @return The subject.
*/
@java.lang.Override
public java.lang.String getSubject() {
java.lang.Object ref = subject_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
subject_ = s;
return s;
}
}
/**
*
* SID (Security ID) of user or group
*
*
* string subject = 1;
* @return The bytes for subject.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSubjectBytes() {
java.lang.Object ref = subject_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
subject_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PERMISSION_NAMES_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList permissionNames_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* repeated string permission_names = 2;
* @return A list containing the permissionNames.
*/
public com.google.protobuf.ProtocolStringList
getPermissionNamesList() {
return permissionNames_;
}
/**
* repeated string permission_names = 2;
* @return The count of permissionNames.
*/
public int getPermissionNamesCount() {
return permissionNames_.size();
}
/**
* repeated string permission_names = 2;
* @param index The index of the element to return.
* @return The permissionNames at the given index.
*/
public java.lang.String getPermissionNames(int index) {
return permissionNames_.get(index);
}
/**
* repeated string permission_names = 2;
* @param index The index of the value to return.
* @return The bytes of the permissionNames at the given index.
*/
public com.google.protobuf.ByteString
getPermissionNamesBytes(int index) {
return permissionNames_.getByteString(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subject_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, subject_);
}
for (int i = 0; i < permissionNames_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, permissionNames_.getRaw(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subject_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, subject_);
}
{
int dataSize = 0;
for (int i = 0; i < permissionNames_.size(); i++) {
dataSize += computeStringSizeNoTag(permissionNames_.getRaw(i));
}
size += dataSize;
size += 1 * getPermissionNamesList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tech.ydb.proto.scheme.SchemeOperationProtos.Permissions)) {
return super.equals(obj);
}
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions other = (tech.ydb.proto.scheme.SchemeOperationProtos.Permissions) obj;
if (!getSubject()
.equals(other.getSubject())) return false;
if (!getPermissionNamesList()
.equals(other.getPermissionNamesList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + SUBJECT_FIELD_NUMBER;
hash = (53 * hash) + getSubject().hashCode();
if (getPermissionNamesCount() > 0) {
hash = (37 * hash) + PERMISSION_NAMES_FIELD_NUMBER;
hash = (53 * hash) + getPermissionNamesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.Permissions parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.Permissions parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.Permissions parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.Permissions parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.Permissions parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.Permissions parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.Permissions parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.Permissions parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.Permissions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.Permissions parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.Permissions parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.Permissions parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(tech.ydb.proto.scheme.SchemeOperationProtos.Permissions prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code Ydb.Scheme.Permissions}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Ydb.Scheme.Permissions)
tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_Permissions_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_Permissions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.class, tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder.class);
}
// Construct using tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
subject_ = "";
permissionNames_ =
com.google.protobuf.LazyStringArrayList.emptyList();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_Permissions_descriptor;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.Permissions getDefaultInstanceForType() {
return tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.getDefaultInstance();
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.Permissions build() {
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.Permissions buildPartial() {
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions result = new tech.ydb.proto.scheme.SchemeOperationProtos.Permissions(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(tech.ydb.proto.scheme.SchemeOperationProtos.Permissions result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.subject_ = subject_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
permissionNames_.makeImmutable();
result.permissionNames_ = permissionNames_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof tech.ydb.proto.scheme.SchemeOperationProtos.Permissions) {
return mergeFrom((tech.ydb.proto.scheme.SchemeOperationProtos.Permissions)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tech.ydb.proto.scheme.SchemeOperationProtos.Permissions other) {
if (other == tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.getDefaultInstance()) return this;
if (!other.getSubject().isEmpty()) {
subject_ = other.subject_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.permissionNames_.isEmpty()) {
if (permissionNames_.isEmpty()) {
permissionNames_ = other.permissionNames_;
bitField0_ |= 0x00000002;
} else {
ensurePermissionNamesIsMutable();
permissionNames_.addAll(other.permissionNames_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
subject_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
java.lang.String s = input.readStringRequireUtf8();
ensurePermissionNamesIsMutable();
permissionNames_.add(s);
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object subject_ = "";
/**
*
* SID (Security ID) of user or group
*
*
* string subject = 1;
* @return The subject.
*/
public java.lang.String getSubject() {
java.lang.Object ref = subject_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
subject_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* SID (Security ID) of user or group
*
*
* string subject = 1;
* @return The bytes for subject.
*/
public com.google.protobuf.ByteString
getSubjectBytes() {
java.lang.Object ref = subject_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
subject_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* SID (Security ID) of user or group
*
*
* string subject = 1;
* @param value The subject to set.
* @return This builder for chaining.
*/
public Builder setSubject(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
subject_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* SID (Security ID) of user or group
*
*
* string subject = 1;
* @return This builder for chaining.
*/
public Builder clearSubject() {
subject_ = getDefaultInstance().getSubject();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* SID (Security ID) of user or group
*
*
* string subject = 1;
* @param value The bytes for subject to set.
* @return This builder for chaining.
*/
public Builder setSubjectBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
subject_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList permissionNames_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensurePermissionNamesIsMutable() {
if (!permissionNames_.isModifiable()) {
permissionNames_ = new com.google.protobuf.LazyStringArrayList(permissionNames_);
}
bitField0_ |= 0x00000002;
}
/**
* repeated string permission_names = 2;
* @return A list containing the permissionNames.
*/
public com.google.protobuf.ProtocolStringList
getPermissionNamesList() {
permissionNames_.makeImmutable();
return permissionNames_;
}
/**
* repeated string permission_names = 2;
* @return The count of permissionNames.
*/
public int getPermissionNamesCount() {
return permissionNames_.size();
}
/**
* repeated string permission_names = 2;
* @param index The index of the element to return.
* @return The permissionNames at the given index.
*/
public java.lang.String getPermissionNames(int index) {
return permissionNames_.get(index);
}
/**
* repeated string permission_names = 2;
* @param index The index of the value to return.
* @return The bytes of the permissionNames at the given index.
*/
public com.google.protobuf.ByteString
getPermissionNamesBytes(int index) {
return permissionNames_.getByteString(index);
}
/**
* repeated string permission_names = 2;
* @param index The index to set the value at.
* @param value The permissionNames to set.
* @return This builder for chaining.
*/
public Builder setPermissionNames(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensurePermissionNamesIsMutable();
permissionNames_.set(index, value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* repeated string permission_names = 2;
* @param value The permissionNames to add.
* @return This builder for chaining.
*/
public Builder addPermissionNames(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensurePermissionNamesIsMutable();
permissionNames_.add(value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* repeated string permission_names = 2;
* @param values The permissionNames to add.
* @return This builder for chaining.
*/
public Builder addAllPermissionNames(
java.lang.Iterable values) {
ensurePermissionNamesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, permissionNames_);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* repeated string permission_names = 2;
* @return This builder for chaining.
*/
public Builder clearPermissionNames() {
permissionNames_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);;
onChanged();
return this;
}
/**
* repeated string permission_names = 2;
* @param value The bytes of the permissionNames to add.
* @return This builder for chaining.
*/
public Builder addPermissionNamesBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
ensurePermissionNamesIsMutable();
permissionNames_.add(value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Ydb.Scheme.Permissions)
}
// @@protoc_insertion_point(class_scope:Ydb.Scheme.Permissions)
private static final tech.ydb.proto.scheme.SchemeOperationProtos.Permissions DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tech.ydb.proto.scheme.SchemeOperationProtos.Permissions();
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.Permissions getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Permissions parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.Permissions getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface EntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:Ydb.Scheme.Entry)
com.google.protobuf.MessageOrBuilder {
/**
*
* Name of scheme entry (dir2 of /dir1/dir2)
*
*
* string name = 1;
* @return The name.
*/
java.lang.String getName();
/**
*
* Name of scheme entry (dir2 of /dir1/dir2)
*
*
* string name = 1;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* SID (Security ID) of user or group
*
*
* string owner = 2;
* @return The owner.
*/
java.lang.String getOwner();
/**
*
* SID (Security ID) of user or group
*
*
* string owner = 2;
* @return The bytes for owner.
*/
com.google.protobuf.ByteString
getOwnerBytes();
/**
* .Ydb.Scheme.Entry.Type type = 5;
* @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
* .Ydb.Scheme.Entry.Type type = 5;
* @return The type.
*/
tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Type getType();
/**
* repeated .Ydb.Scheme.Permissions effective_permissions = 6;
*/
java.util.List
getEffectivePermissionsList();
/**
* repeated .Ydb.Scheme.Permissions effective_permissions = 6;
*/
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions getEffectivePermissions(int index);
/**
* repeated .Ydb.Scheme.Permissions effective_permissions = 6;
*/
int getEffectivePermissionsCount();
/**
* repeated .Ydb.Scheme.Permissions effective_permissions = 6;
*/
java.util.List extends tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder>
getEffectivePermissionsOrBuilderList();
/**
* repeated .Ydb.Scheme.Permissions effective_permissions = 6;
*/
tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder getEffectivePermissionsOrBuilder(
int index);
/**
* repeated .Ydb.Scheme.Permissions permissions = 7;
*/
java.util.List
getPermissionsList();
/**
* repeated .Ydb.Scheme.Permissions permissions = 7;
*/
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions getPermissions(int index);
/**
* repeated .Ydb.Scheme.Permissions permissions = 7;
*/
int getPermissionsCount();
/**
* repeated .Ydb.Scheme.Permissions permissions = 7;
*/
java.util.List extends tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder>
getPermissionsOrBuilderList();
/**
* repeated .Ydb.Scheme.Permissions permissions = 7;
*/
tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder getPermissionsOrBuilder(
int index);
/**
*
* Size of entry in bytes. Currently filled for:
* - TABLE;
* - DATABASE.
* Empty (zero) in other cases.
*
*
* uint64 size_bytes = 8;
* @return The sizeBytes.
*/
long getSizeBytes();
/**
*
* Virtual timestamp when the object was created
*
*
* .Ydb.VirtualTimestamp created_at = 9;
* @return Whether the createdAt field is set.
*/
boolean hasCreatedAt();
/**
*
* Virtual timestamp when the object was created
*
*
* .Ydb.VirtualTimestamp created_at = 9;
* @return The createdAt.
*/
tech.ydb.proto.common.CommonProtos.VirtualTimestamp getCreatedAt();
/**
*
* Virtual timestamp when the object was created
*
*
* .Ydb.VirtualTimestamp created_at = 9;
*/
tech.ydb.proto.common.CommonProtos.VirtualTimestampOrBuilder getCreatedAtOrBuilder();
}
/**
* Protobuf type {@code Ydb.Scheme.Entry}
*/
public static final class Entry extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Ydb.Scheme.Entry)
EntryOrBuilder {
private static final long serialVersionUID = 0L;
// Use Entry.newBuilder() to construct.
private Entry(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Entry() {
name_ = "";
owner_ = "";
type_ = 0;
effectivePermissions_ = java.util.Collections.emptyList();
permissions_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Entry();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_Entry_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_Entry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.scheme.SchemeOperationProtos.Entry.class, tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Builder.class);
}
/**
* Protobuf enum {@code Ydb.Scheme.Entry.Type}
*/
public enum Type
implements com.google.protobuf.ProtocolMessageEnum {
/**
* TYPE_UNSPECIFIED = 0;
*/
TYPE_UNSPECIFIED(0),
/**
* DIRECTORY = 1;
*/
DIRECTORY(1),
/**
* TABLE = 2;
*/
TABLE(2),
/**
* PERS_QUEUE_GROUP = 3;
*/
PERS_QUEUE_GROUP(3),
/**
* DATABASE = 4;
*/
DATABASE(4),
/**
* RTMR_VOLUME = 5;
*/
RTMR_VOLUME(5),
/**
* BLOCK_STORE_VOLUME = 6;
*/
BLOCK_STORE_VOLUME(6),
/**
* COORDINATION_NODE = 7;
*/
COORDINATION_NODE(7),
/**
* COLUMN_STORE = 12;
*/
COLUMN_STORE(12),
/**
* COLUMN_TABLE = 13;
*/
COLUMN_TABLE(13),
/**
* SEQUENCE = 15;
*/
SEQUENCE(15),
/**
* REPLICATION = 16;
*/
REPLICATION(16),
/**
* TOPIC = 17;
*/
TOPIC(17),
UNRECOGNIZED(-1),
;
/**
* TYPE_UNSPECIFIED = 0;
*/
public static final int TYPE_UNSPECIFIED_VALUE = 0;
/**
* DIRECTORY = 1;
*/
public static final int DIRECTORY_VALUE = 1;
/**
* TABLE = 2;
*/
public static final int TABLE_VALUE = 2;
/**
* PERS_QUEUE_GROUP = 3;
*/
public static final int PERS_QUEUE_GROUP_VALUE = 3;
/**
* DATABASE = 4;
*/
public static final int DATABASE_VALUE = 4;
/**
* RTMR_VOLUME = 5;
*/
public static final int RTMR_VOLUME_VALUE = 5;
/**
* BLOCK_STORE_VOLUME = 6;
*/
public static final int BLOCK_STORE_VOLUME_VALUE = 6;
/**
* COORDINATION_NODE = 7;
*/
public static final int COORDINATION_NODE_VALUE = 7;
/**
* COLUMN_STORE = 12;
*/
public static final int COLUMN_STORE_VALUE = 12;
/**
* COLUMN_TABLE = 13;
*/
public static final int COLUMN_TABLE_VALUE = 13;
/**
* SEQUENCE = 15;
*/
public static final int SEQUENCE_VALUE = 15;
/**
* REPLICATION = 16;
*/
public static final int REPLICATION_VALUE = 16;
/**
* TOPIC = 17;
*/
public static final int TOPIC_VALUE = 17;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Type valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static Type forNumber(int value) {
switch (value) {
case 0: return TYPE_UNSPECIFIED;
case 1: return DIRECTORY;
case 2: return TABLE;
case 3: return PERS_QUEUE_GROUP;
case 4: return DATABASE;
case 5: return RTMR_VOLUME;
case 6: return BLOCK_STORE_VOLUME;
case 7: return COORDINATION_NODE;
case 12: return COLUMN_STORE;
case 13: return COLUMN_TABLE;
case 15: return SEQUENCE;
case 16: return REPLICATION;
case 17: return TOPIC;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Type> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Type findValueByNumber(int number) {
return Type.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return tech.ydb.proto.scheme.SchemeOperationProtos.Entry.getDescriptor().getEnumTypes().get(0);
}
private static final Type[] VALUES = values();
public static Type valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private Type(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:Ydb.Scheme.Entry.Type)
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
/**
*
* Name of scheme entry (dir2 of /dir1/dir2)
*
*
* string name = 1;
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
*
* Name of scheme entry (dir2 of /dir1/dir2)
*
*
* string name = 1;
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int OWNER_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object owner_ = "";
/**
*
* SID (Security ID) of user or group
*
*
* string owner = 2;
* @return The owner.
*/
@java.lang.Override
public java.lang.String getOwner() {
java.lang.Object ref = owner_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
owner_ = s;
return s;
}
}
/**
*
* SID (Security ID) of user or group
*
*
* string owner = 2;
* @return The bytes for owner.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOwnerBytes() {
java.lang.Object ref = owner_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
owner_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TYPE_FIELD_NUMBER = 5;
private int type_ = 0;
/**
* .Ydb.Scheme.Entry.Type type = 5;
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override public int getTypeValue() {
return type_;
}
/**
* .Ydb.Scheme.Entry.Type type = 5;
* @return The type.
*/
@java.lang.Override public tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Type getType() {
tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Type result = tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Type.forNumber(type_);
return result == null ? tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Type.UNRECOGNIZED : result;
}
public static final int EFFECTIVE_PERMISSIONS_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private java.util.List effectivePermissions_;
/**
* repeated .Ydb.Scheme.Permissions effective_permissions = 6;
*/
@java.lang.Override
public java.util.List getEffectivePermissionsList() {
return effectivePermissions_;
}
/**
* repeated .Ydb.Scheme.Permissions effective_permissions = 6;
*/
@java.lang.Override
public java.util.List extends tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder>
getEffectivePermissionsOrBuilderList() {
return effectivePermissions_;
}
/**
* repeated .Ydb.Scheme.Permissions effective_permissions = 6;
*/
@java.lang.Override
public int getEffectivePermissionsCount() {
return effectivePermissions_.size();
}
/**
* repeated .Ydb.Scheme.Permissions effective_permissions = 6;
*/
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.Permissions getEffectivePermissions(int index) {
return effectivePermissions_.get(index);
}
/**
* repeated .Ydb.Scheme.Permissions effective_permissions = 6;
*/
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder getEffectivePermissionsOrBuilder(
int index) {
return effectivePermissions_.get(index);
}
public static final int PERMISSIONS_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private java.util.List permissions_;
/**
* repeated .Ydb.Scheme.Permissions permissions = 7;
*/
@java.lang.Override
public java.util.List getPermissionsList() {
return permissions_;
}
/**
* repeated .Ydb.Scheme.Permissions permissions = 7;
*/
@java.lang.Override
public java.util.List extends tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder>
getPermissionsOrBuilderList() {
return permissions_;
}
/**
* repeated .Ydb.Scheme.Permissions permissions = 7;
*/
@java.lang.Override
public int getPermissionsCount() {
return permissions_.size();
}
/**
* repeated .Ydb.Scheme.Permissions permissions = 7;
*/
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.Permissions getPermissions(int index) {
return permissions_.get(index);
}
/**
* repeated .Ydb.Scheme.Permissions permissions = 7;
*/
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder getPermissionsOrBuilder(
int index) {
return permissions_.get(index);
}
public static final int SIZE_BYTES_FIELD_NUMBER = 8;
private long sizeBytes_ = 0L;
/**
*
* Size of entry in bytes. Currently filled for:
* - TABLE;
* - DATABASE.
* Empty (zero) in other cases.
*
*
* uint64 size_bytes = 8;
* @return The sizeBytes.
*/
@java.lang.Override
public long getSizeBytes() {
return sizeBytes_;
}
public static final int CREATED_AT_FIELD_NUMBER = 9;
private tech.ydb.proto.common.CommonProtos.VirtualTimestamp createdAt_;
/**
*
* Virtual timestamp when the object was created
*
*
* .Ydb.VirtualTimestamp created_at = 9;
* @return Whether the createdAt field is set.
*/
@java.lang.Override
public boolean hasCreatedAt() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Virtual timestamp when the object was created
*
*
* .Ydb.VirtualTimestamp created_at = 9;
* @return The createdAt.
*/
@java.lang.Override
public tech.ydb.proto.common.CommonProtos.VirtualTimestamp getCreatedAt() {
return createdAt_ == null ? tech.ydb.proto.common.CommonProtos.VirtualTimestamp.getDefaultInstance() : createdAt_;
}
/**
*
* Virtual timestamp when the object was created
*
*
* .Ydb.VirtualTimestamp created_at = 9;
*/
@java.lang.Override
public tech.ydb.proto.common.CommonProtos.VirtualTimestampOrBuilder getCreatedAtOrBuilder() {
return createdAt_ == null ? tech.ydb.proto.common.CommonProtos.VirtualTimestamp.getDefaultInstance() : createdAt_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(owner_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, owner_);
}
if (type_ != tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Type.TYPE_UNSPECIFIED.getNumber()) {
output.writeEnum(5, type_);
}
for (int i = 0; i < effectivePermissions_.size(); i++) {
output.writeMessage(6, effectivePermissions_.get(i));
}
for (int i = 0; i < permissions_.size(); i++) {
output.writeMessage(7, permissions_.get(i));
}
if (sizeBytes_ != 0L) {
output.writeUInt64(8, sizeBytes_);
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(9, getCreatedAt());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(owner_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, owner_);
}
if (type_ != tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Type.TYPE_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(5, type_);
}
for (int i = 0; i < effectivePermissions_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, effectivePermissions_.get(i));
}
for (int i = 0; i < permissions_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, permissions_.get(i));
}
if (sizeBytes_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(8, sizeBytes_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, getCreatedAt());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tech.ydb.proto.scheme.SchemeOperationProtos.Entry)) {
return super.equals(obj);
}
tech.ydb.proto.scheme.SchemeOperationProtos.Entry other = (tech.ydb.proto.scheme.SchemeOperationProtos.Entry) obj;
if (!getName()
.equals(other.getName())) return false;
if (!getOwner()
.equals(other.getOwner())) return false;
if (type_ != other.type_) return false;
if (!getEffectivePermissionsList()
.equals(other.getEffectivePermissionsList())) return false;
if (!getPermissionsList()
.equals(other.getPermissionsList())) return false;
if (getSizeBytes()
!= other.getSizeBytes()) return false;
if (hasCreatedAt() != other.hasCreatedAt()) return false;
if (hasCreatedAt()) {
if (!getCreatedAt()
.equals(other.getCreatedAt())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + OWNER_FIELD_NUMBER;
hash = (53 * hash) + getOwner().hashCode();
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + type_;
if (getEffectivePermissionsCount() > 0) {
hash = (37 * hash) + EFFECTIVE_PERMISSIONS_FIELD_NUMBER;
hash = (53 * hash) + getEffectivePermissionsList().hashCode();
}
if (getPermissionsCount() > 0) {
hash = (37 * hash) + PERMISSIONS_FIELD_NUMBER;
hash = (53 * hash) + getPermissionsList().hashCode();
}
hash = (37 * hash) + SIZE_BYTES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSizeBytes());
if (hasCreatedAt()) {
hash = (37 * hash) + CREATED_AT_FIELD_NUMBER;
hash = (53 * hash) + getCreatedAt().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.Entry parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.Entry parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.Entry parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.Entry parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.Entry parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.Entry parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.Entry parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.Entry parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.Entry parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.Entry parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.Entry parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.Entry parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(tech.ydb.proto.scheme.SchemeOperationProtos.Entry prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code Ydb.Scheme.Entry}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Ydb.Scheme.Entry)
tech.ydb.proto.scheme.SchemeOperationProtos.EntryOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_Entry_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_Entry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.scheme.SchemeOperationProtos.Entry.class, tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Builder.class);
}
// Construct using tech.ydb.proto.scheme.SchemeOperationProtos.Entry.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getEffectivePermissionsFieldBuilder();
getPermissionsFieldBuilder();
getCreatedAtFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
name_ = "";
owner_ = "";
type_ = 0;
if (effectivePermissionsBuilder_ == null) {
effectivePermissions_ = java.util.Collections.emptyList();
} else {
effectivePermissions_ = null;
effectivePermissionsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
if (permissionsBuilder_ == null) {
permissions_ = java.util.Collections.emptyList();
} else {
permissions_ = null;
permissionsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
sizeBytes_ = 0L;
createdAt_ = null;
if (createdAtBuilder_ != null) {
createdAtBuilder_.dispose();
createdAtBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_Entry_descriptor;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.Entry getDefaultInstanceForType() {
return tech.ydb.proto.scheme.SchemeOperationProtos.Entry.getDefaultInstance();
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.Entry build() {
tech.ydb.proto.scheme.SchemeOperationProtos.Entry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.Entry buildPartial() {
tech.ydb.proto.scheme.SchemeOperationProtos.Entry result = new tech.ydb.proto.scheme.SchemeOperationProtos.Entry(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(tech.ydb.proto.scheme.SchemeOperationProtos.Entry result) {
if (effectivePermissionsBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0)) {
effectivePermissions_ = java.util.Collections.unmodifiableList(effectivePermissions_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.effectivePermissions_ = effectivePermissions_;
} else {
result.effectivePermissions_ = effectivePermissionsBuilder_.build();
}
if (permissionsBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0)) {
permissions_ = java.util.Collections.unmodifiableList(permissions_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.permissions_ = permissions_;
} else {
result.permissions_ = permissionsBuilder_.build();
}
}
private void buildPartial0(tech.ydb.proto.scheme.SchemeOperationProtos.Entry result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.name_ = name_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.owner_ = owner_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.type_ = type_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.sizeBytes_ = sizeBytes_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000040) != 0)) {
result.createdAt_ = createdAtBuilder_ == null
? createdAt_
: createdAtBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof tech.ydb.proto.scheme.SchemeOperationProtos.Entry) {
return mergeFrom((tech.ydb.proto.scheme.SchemeOperationProtos.Entry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tech.ydb.proto.scheme.SchemeOperationProtos.Entry other) {
if (other == tech.ydb.proto.scheme.SchemeOperationProtos.Entry.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getOwner().isEmpty()) {
owner_ = other.owner_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.type_ != 0) {
setTypeValue(other.getTypeValue());
}
if (effectivePermissionsBuilder_ == null) {
if (!other.effectivePermissions_.isEmpty()) {
if (effectivePermissions_.isEmpty()) {
effectivePermissions_ = other.effectivePermissions_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureEffectivePermissionsIsMutable();
effectivePermissions_.addAll(other.effectivePermissions_);
}
onChanged();
}
} else {
if (!other.effectivePermissions_.isEmpty()) {
if (effectivePermissionsBuilder_.isEmpty()) {
effectivePermissionsBuilder_.dispose();
effectivePermissionsBuilder_ = null;
effectivePermissions_ = other.effectivePermissions_;
bitField0_ = (bitField0_ & ~0x00000008);
effectivePermissionsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getEffectivePermissionsFieldBuilder() : null;
} else {
effectivePermissionsBuilder_.addAllMessages(other.effectivePermissions_);
}
}
}
if (permissionsBuilder_ == null) {
if (!other.permissions_.isEmpty()) {
if (permissions_.isEmpty()) {
permissions_ = other.permissions_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensurePermissionsIsMutable();
permissions_.addAll(other.permissions_);
}
onChanged();
}
} else {
if (!other.permissions_.isEmpty()) {
if (permissionsBuilder_.isEmpty()) {
permissionsBuilder_.dispose();
permissionsBuilder_ = null;
permissions_ = other.permissions_;
bitField0_ = (bitField0_ & ~0x00000010);
permissionsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getPermissionsFieldBuilder() : null;
} else {
permissionsBuilder_.addAllMessages(other.permissions_);
}
}
}
if (other.getSizeBytes() != 0L) {
setSizeBytes(other.getSizeBytes());
}
if (other.hasCreatedAt()) {
mergeCreatedAt(other.getCreatedAt());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
name_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
owner_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 40: {
type_ = input.readEnum();
bitField0_ |= 0x00000004;
break;
} // case 40
case 50: {
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions m =
input.readMessage(
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.parser(),
extensionRegistry);
if (effectivePermissionsBuilder_ == null) {
ensureEffectivePermissionsIsMutable();
effectivePermissions_.add(m);
} else {
effectivePermissionsBuilder_.addMessage(m);
}
break;
} // case 50
case 58: {
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions m =
input.readMessage(
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.parser(),
extensionRegistry);
if (permissionsBuilder_ == null) {
ensurePermissionsIsMutable();
permissions_.add(m);
} else {
permissionsBuilder_.addMessage(m);
}
break;
} // case 58
case 64: {
sizeBytes_ = input.readUInt64();
bitField0_ |= 0x00000020;
break;
} // case 64
case 74: {
input.readMessage(
getCreatedAtFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000040;
break;
} // case 74
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
*
* Name of scheme entry (dir2 of /dir1/dir2)
*
*
* string name = 1;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Name of scheme entry (dir2 of /dir1/dir2)
*
*
* string name = 1;
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Name of scheme entry (dir2 of /dir1/dir2)
*
*
* string name = 1;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* Name of scheme entry (dir2 of /dir1/dir2)
*
*
* string name = 1;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* Name of scheme entry (dir2 of /dir1/dir2)
*
*
* string name = 1;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object owner_ = "";
/**
*
* SID (Security ID) of user or group
*
*
* string owner = 2;
* @return The owner.
*/
public java.lang.String getOwner() {
java.lang.Object ref = owner_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
owner_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* SID (Security ID) of user or group
*
*
* string owner = 2;
* @return The bytes for owner.
*/
public com.google.protobuf.ByteString
getOwnerBytes() {
java.lang.Object ref = owner_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
owner_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* SID (Security ID) of user or group
*
*
* string owner = 2;
* @param value The owner to set.
* @return This builder for chaining.
*/
public Builder setOwner(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
owner_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* SID (Security ID) of user or group
*
*
* string owner = 2;
* @return This builder for chaining.
*/
public Builder clearOwner() {
owner_ = getDefaultInstance().getOwner();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
*
* SID (Security ID) of user or group
*
*
* string owner = 2;
* @param value The bytes for owner to set.
* @return This builder for chaining.
*/
public Builder setOwnerBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
owner_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private int type_ = 0;
/**
* .Ydb.Scheme.Entry.Type type = 5;
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override public int getTypeValue() {
return type_;
}
/**
* .Ydb.Scheme.Entry.Type type = 5;
* @param value The enum numeric value on the wire for type to set.
* @return This builder for chaining.
*/
public Builder setTypeValue(int value) {
type_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* .Ydb.Scheme.Entry.Type type = 5;
* @return The type.
*/
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Type getType() {
tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Type result = tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Type.forNumber(type_);
return result == null ? tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Type.UNRECOGNIZED : result;
}
/**
* .Ydb.Scheme.Entry.Type type = 5;
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Type value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
type_ = value.getNumber();
onChanged();
return this;
}
/**
* .Ydb.Scheme.Entry.Type type = 5;
* @return This builder for chaining.
*/
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000004);
type_ = 0;
onChanged();
return this;
}
private java.util.List effectivePermissions_ =
java.util.Collections.emptyList();
private void ensureEffectivePermissionsIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
effectivePermissions_ = new java.util.ArrayList(effectivePermissions_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions, tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder, tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder> effectivePermissionsBuilder_;
/**
* repeated .Ydb.Scheme.Permissions effective_permissions = 6;
*/
public java.util.List getEffectivePermissionsList() {
if (effectivePermissionsBuilder_ == null) {
return java.util.Collections.unmodifiableList(effectivePermissions_);
} else {
return effectivePermissionsBuilder_.getMessageList();
}
}
/**
* repeated .Ydb.Scheme.Permissions effective_permissions = 6;
*/
public int getEffectivePermissionsCount() {
if (effectivePermissionsBuilder_ == null) {
return effectivePermissions_.size();
} else {
return effectivePermissionsBuilder_.getCount();
}
}
/**
* repeated .Ydb.Scheme.Permissions effective_permissions = 6;
*/
public tech.ydb.proto.scheme.SchemeOperationProtos.Permissions getEffectivePermissions(int index) {
if (effectivePermissionsBuilder_ == null) {
return effectivePermissions_.get(index);
} else {
return effectivePermissionsBuilder_.getMessage(index);
}
}
/**
* repeated .Ydb.Scheme.Permissions effective_permissions = 6;
*/
public Builder setEffectivePermissions(
int index, tech.ydb.proto.scheme.SchemeOperationProtos.Permissions value) {
if (effectivePermissionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEffectivePermissionsIsMutable();
effectivePermissions_.set(index, value);
onChanged();
} else {
effectivePermissionsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .Ydb.Scheme.Permissions effective_permissions = 6;
*/
public Builder setEffectivePermissions(
int index, tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder builderForValue) {
if (effectivePermissionsBuilder_ == null) {
ensureEffectivePermissionsIsMutable();
effectivePermissions_.set(index, builderForValue.build());
onChanged();
} else {
effectivePermissionsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Ydb.Scheme.Permissions effective_permissions = 6;
*/
public Builder addEffectivePermissions(tech.ydb.proto.scheme.SchemeOperationProtos.Permissions value) {
if (effectivePermissionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEffectivePermissionsIsMutable();
effectivePermissions_.add(value);
onChanged();
} else {
effectivePermissionsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .Ydb.Scheme.Permissions effective_permissions = 6;
*/
public Builder addEffectivePermissions(
int index, tech.ydb.proto.scheme.SchemeOperationProtos.Permissions value) {
if (effectivePermissionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEffectivePermissionsIsMutable();
effectivePermissions_.add(index, value);
onChanged();
} else {
effectivePermissionsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .Ydb.Scheme.Permissions effective_permissions = 6;
*/
public Builder addEffectivePermissions(
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder builderForValue) {
if (effectivePermissionsBuilder_ == null) {
ensureEffectivePermissionsIsMutable();
effectivePermissions_.add(builderForValue.build());
onChanged();
} else {
effectivePermissionsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .Ydb.Scheme.Permissions effective_permissions = 6;
*/
public Builder addEffectivePermissions(
int index, tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder builderForValue) {
if (effectivePermissionsBuilder_ == null) {
ensureEffectivePermissionsIsMutable();
effectivePermissions_.add(index, builderForValue.build());
onChanged();
} else {
effectivePermissionsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Ydb.Scheme.Permissions effective_permissions = 6;
*/
public Builder addAllEffectivePermissions(
java.lang.Iterable extends tech.ydb.proto.scheme.SchemeOperationProtos.Permissions> values) {
if (effectivePermissionsBuilder_ == null) {
ensureEffectivePermissionsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, effectivePermissions_);
onChanged();
} else {
effectivePermissionsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .Ydb.Scheme.Permissions effective_permissions = 6;
*/
public Builder clearEffectivePermissions() {
if (effectivePermissionsBuilder_ == null) {
effectivePermissions_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
effectivePermissionsBuilder_.clear();
}
return this;
}
/**
* repeated .Ydb.Scheme.Permissions effective_permissions = 6;
*/
public Builder removeEffectivePermissions(int index) {
if (effectivePermissionsBuilder_ == null) {
ensureEffectivePermissionsIsMutable();
effectivePermissions_.remove(index);
onChanged();
} else {
effectivePermissionsBuilder_.remove(index);
}
return this;
}
/**
* repeated .Ydb.Scheme.Permissions effective_permissions = 6;
*/
public tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder getEffectivePermissionsBuilder(
int index) {
return getEffectivePermissionsFieldBuilder().getBuilder(index);
}
/**
* repeated .Ydb.Scheme.Permissions effective_permissions = 6;
*/
public tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder getEffectivePermissionsOrBuilder(
int index) {
if (effectivePermissionsBuilder_ == null) {
return effectivePermissions_.get(index); } else {
return effectivePermissionsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .Ydb.Scheme.Permissions effective_permissions = 6;
*/
public java.util.List extends tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder>
getEffectivePermissionsOrBuilderList() {
if (effectivePermissionsBuilder_ != null) {
return effectivePermissionsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(effectivePermissions_);
}
}
/**
* repeated .Ydb.Scheme.Permissions effective_permissions = 6;
*/
public tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder addEffectivePermissionsBuilder() {
return getEffectivePermissionsFieldBuilder().addBuilder(
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.getDefaultInstance());
}
/**
* repeated .Ydb.Scheme.Permissions effective_permissions = 6;
*/
public tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder addEffectivePermissionsBuilder(
int index) {
return getEffectivePermissionsFieldBuilder().addBuilder(
index, tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.getDefaultInstance());
}
/**
* repeated .Ydb.Scheme.Permissions effective_permissions = 6;
*/
public java.util.List
getEffectivePermissionsBuilderList() {
return getEffectivePermissionsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions, tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder, tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder>
getEffectivePermissionsFieldBuilder() {
if (effectivePermissionsBuilder_ == null) {
effectivePermissionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions, tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder, tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder>(
effectivePermissions_,
((bitField0_ & 0x00000008) != 0),
getParentForChildren(),
isClean());
effectivePermissions_ = null;
}
return effectivePermissionsBuilder_;
}
private java.util.List permissions_ =
java.util.Collections.emptyList();
private void ensurePermissionsIsMutable() {
if (!((bitField0_ & 0x00000010) != 0)) {
permissions_ = new java.util.ArrayList(permissions_);
bitField0_ |= 0x00000010;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions, tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder, tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder> permissionsBuilder_;
/**
* repeated .Ydb.Scheme.Permissions permissions = 7;
*/
public java.util.List getPermissionsList() {
if (permissionsBuilder_ == null) {
return java.util.Collections.unmodifiableList(permissions_);
} else {
return permissionsBuilder_.getMessageList();
}
}
/**
* repeated .Ydb.Scheme.Permissions permissions = 7;
*/
public int getPermissionsCount() {
if (permissionsBuilder_ == null) {
return permissions_.size();
} else {
return permissionsBuilder_.getCount();
}
}
/**
* repeated .Ydb.Scheme.Permissions permissions = 7;
*/
public tech.ydb.proto.scheme.SchemeOperationProtos.Permissions getPermissions(int index) {
if (permissionsBuilder_ == null) {
return permissions_.get(index);
} else {
return permissionsBuilder_.getMessage(index);
}
}
/**
* repeated .Ydb.Scheme.Permissions permissions = 7;
*/
public Builder setPermissions(
int index, tech.ydb.proto.scheme.SchemeOperationProtos.Permissions value) {
if (permissionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePermissionsIsMutable();
permissions_.set(index, value);
onChanged();
} else {
permissionsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .Ydb.Scheme.Permissions permissions = 7;
*/
public Builder setPermissions(
int index, tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder builderForValue) {
if (permissionsBuilder_ == null) {
ensurePermissionsIsMutable();
permissions_.set(index, builderForValue.build());
onChanged();
} else {
permissionsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Ydb.Scheme.Permissions permissions = 7;
*/
public Builder addPermissions(tech.ydb.proto.scheme.SchemeOperationProtos.Permissions value) {
if (permissionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePermissionsIsMutable();
permissions_.add(value);
onChanged();
} else {
permissionsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .Ydb.Scheme.Permissions permissions = 7;
*/
public Builder addPermissions(
int index, tech.ydb.proto.scheme.SchemeOperationProtos.Permissions value) {
if (permissionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePermissionsIsMutable();
permissions_.add(index, value);
onChanged();
} else {
permissionsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .Ydb.Scheme.Permissions permissions = 7;
*/
public Builder addPermissions(
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder builderForValue) {
if (permissionsBuilder_ == null) {
ensurePermissionsIsMutable();
permissions_.add(builderForValue.build());
onChanged();
} else {
permissionsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .Ydb.Scheme.Permissions permissions = 7;
*/
public Builder addPermissions(
int index, tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder builderForValue) {
if (permissionsBuilder_ == null) {
ensurePermissionsIsMutable();
permissions_.add(index, builderForValue.build());
onChanged();
} else {
permissionsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Ydb.Scheme.Permissions permissions = 7;
*/
public Builder addAllPermissions(
java.lang.Iterable extends tech.ydb.proto.scheme.SchemeOperationProtos.Permissions> values) {
if (permissionsBuilder_ == null) {
ensurePermissionsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, permissions_);
onChanged();
} else {
permissionsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .Ydb.Scheme.Permissions permissions = 7;
*/
public Builder clearPermissions() {
if (permissionsBuilder_ == null) {
permissions_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
permissionsBuilder_.clear();
}
return this;
}
/**
* repeated .Ydb.Scheme.Permissions permissions = 7;
*/
public Builder removePermissions(int index) {
if (permissionsBuilder_ == null) {
ensurePermissionsIsMutable();
permissions_.remove(index);
onChanged();
} else {
permissionsBuilder_.remove(index);
}
return this;
}
/**
* repeated .Ydb.Scheme.Permissions permissions = 7;
*/
public tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder getPermissionsBuilder(
int index) {
return getPermissionsFieldBuilder().getBuilder(index);
}
/**
* repeated .Ydb.Scheme.Permissions permissions = 7;
*/
public tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder getPermissionsOrBuilder(
int index) {
if (permissionsBuilder_ == null) {
return permissions_.get(index); } else {
return permissionsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .Ydb.Scheme.Permissions permissions = 7;
*/
public java.util.List extends tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder>
getPermissionsOrBuilderList() {
if (permissionsBuilder_ != null) {
return permissionsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(permissions_);
}
}
/**
* repeated .Ydb.Scheme.Permissions permissions = 7;
*/
public tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder addPermissionsBuilder() {
return getPermissionsFieldBuilder().addBuilder(
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.getDefaultInstance());
}
/**
* repeated .Ydb.Scheme.Permissions permissions = 7;
*/
public tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder addPermissionsBuilder(
int index) {
return getPermissionsFieldBuilder().addBuilder(
index, tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.getDefaultInstance());
}
/**
* repeated .Ydb.Scheme.Permissions permissions = 7;
*/
public java.util.List
getPermissionsBuilderList() {
return getPermissionsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions, tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder, tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder>
getPermissionsFieldBuilder() {
if (permissionsBuilder_ == null) {
permissionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions, tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder, tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder>(
permissions_,
((bitField0_ & 0x00000010) != 0),
getParentForChildren(),
isClean());
permissions_ = null;
}
return permissionsBuilder_;
}
private long sizeBytes_ ;
/**
*
* Size of entry in bytes. Currently filled for:
* - TABLE;
* - DATABASE.
* Empty (zero) in other cases.
*
*
* uint64 size_bytes = 8;
* @return The sizeBytes.
*/
@java.lang.Override
public long getSizeBytes() {
return sizeBytes_;
}
/**
*
* Size of entry in bytes. Currently filled for:
* - TABLE;
* - DATABASE.
* Empty (zero) in other cases.
*
*
* uint64 size_bytes = 8;
* @param value The sizeBytes to set.
* @return This builder for chaining.
*/
public Builder setSizeBytes(long value) {
sizeBytes_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
*
* Size of entry in bytes. Currently filled for:
* - TABLE;
* - DATABASE.
* Empty (zero) in other cases.
*
*
* uint64 size_bytes = 8;
* @return This builder for chaining.
*/
public Builder clearSizeBytes() {
bitField0_ = (bitField0_ & ~0x00000020);
sizeBytes_ = 0L;
onChanged();
return this;
}
private tech.ydb.proto.common.CommonProtos.VirtualTimestamp createdAt_;
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.common.CommonProtos.VirtualTimestamp, tech.ydb.proto.common.CommonProtos.VirtualTimestamp.Builder, tech.ydb.proto.common.CommonProtos.VirtualTimestampOrBuilder> createdAtBuilder_;
/**
*
* Virtual timestamp when the object was created
*
*
* .Ydb.VirtualTimestamp created_at = 9;
* @return Whether the createdAt field is set.
*/
public boolean hasCreatedAt() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
*
* Virtual timestamp when the object was created
*
*
* .Ydb.VirtualTimestamp created_at = 9;
* @return The createdAt.
*/
public tech.ydb.proto.common.CommonProtos.VirtualTimestamp getCreatedAt() {
if (createdAtBuilder_ == null) {
return createdAt_ == null ? tech.ydb.proto.common.CommonProtos.VirtualTimestamp.getDefaultInstance() : createdAt_;
} else {
return createdAtBuilder_.getMessage();
}
}
/**
*
* Virtual timestamp when the object was created
*
*
* .Ydb.VirtualTimestamp created_at = 9;
*/
public Builder setCreatedAt(tech.ydb.proto.common.CommonProtos.VirtualTimestamp value) {
if (createdAtBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
createdAt_ = value;
} else {
createdAtBuilder_.setMessage(value);
}
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
*
* Virtual timestamp when the object was created
*
*
* .Ydb.VirtualTimestamp created_at = 9;
*/
public Builder setCreatedAt(
tech.ydb.proto.common.CommonProtos.VirtualTimestamp.Builder builderForValue) {
if (createdAtBuilder_ == null) {
createdAt_ = builderForValue.build();
} else {
createdAtBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
*
* Virtual timestamp when the object was created
*
*
* .Ydb.VirtualTimestamp created_at = 9;
*/
public Builder mergeCreatedAt(tech.ydb.proto.common.CommonProtos.VirtualTimestamp value) {
if (createdAtBuilder_ == null) {
if (((bitField0_ & 0x00000040) != 0) &&
createdAt_ != null &&
createdAt_ != tech.ydb.proto.common.CommonProtos.VirtualTimestamp.getDefaultInstance()) {
getCreatedAtBuilder().mergeFrom(value);
} else {
createdAt_ = value;
}
} else {
createdAtBuilder_.mergeFrom(value);
}
if (createdAt_ != null) {
bitField0_ |= 0x00000040;
onChanged();
}
return this;
}
/**
*
* Virtual timestamp when the object was created
*
*
* .Ydb.VirtualTimestamp created_at = 9;
*/
public Builder clearCreatedAt() {
bitField0_ = (bitField0_ & ~0x00000040);
createdAt_ = null;
if (createdAtBuilder_ != null) {
createdAtBuilder_.dispose();
createdAtBuilder_ = null;
}
onChanged();
return this;
}
/**
*
* Virtual timestamp when the object was created
*
*
* .Ydb.VirtualTimestamp created_at = 9;
*/
public tech.ydb.proto.common.CommonProtos.VirtualTimestamp.Builder getCreatedAtBuilder() {
bitField0_ |= 0x00000040;
onChanged();
return getCreatedAtFieldBuilder().getBuilder();
}
/**
*
* Virtual timestamp when the object was created
*
*
* .Ydb.VirtualTimestamp created_at = 9;
*/
public tech.ydb.proto.common.CommonProtos.VirtualTimestampOrBuilder getCreatedAtOrBuilder() {
if (createdAtBuilder_ != null) {
return createdAtBuilder_.getMessageOrBuilder();
} else {
return createdAt_ == null ?
tech.ydb.proto.common.CommonProtos.VirtualTimestamp.getDefaultInstance() : createdAt_;
}
}
/**
*
* Virtual timestamp when the object was created
*
*
* .Ydb.VirtualTimestamp created_at = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.common.CommonProtos.VirtualTimestamp, tech.ydb.proto.common.CommonProtos.VirtualTimestamp.Builder, tech.ydb.proto.common.CommonProtos.VirtualTimestampOrBuilder>
getCreatedAtFieldBuilder() {
if (createdAtBuilder_ == null) {
createdAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.common.CommonProtos.VirtualTimestamp, tech.ydb.proto.common.CommonProtos.VirtualTimestamp.Builder, tech.ydb.proto.common.CommonProtos.VirtualTimestampOrBuilder>(
getCreatedAt(),
getParentForChildren(),
isClean());
createdAt_ = null;
}
return createdAtBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Ydb.Scheme.Entry)
}
// @@protoc_insertion_point(class_scope:Ydb.Scheme.Entry)
private static final tech.ydb.proto.scheme.SchemeOperationProtos.Entry DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tech.ydb.proto.scheme.SchemeOperationProtos.Entry();
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.Entry getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Entry parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.Entry getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ListDirectoryResultOrBuilder extends
// @@protoc_insertion_point(interface_extends:Ydb.Scheme.ListDirectoryResult)
com.google.protobuf.MessageOrBuilder {
/**
* .Ydb.Scheme.Entry self = 1;
* @return Whether the self field is set.
*/
boolean hasSelf();
/**
* .Ydb.Scheme.Entry self = 1;
* @return The self.
*/
tech.ydb.proto.scheme.SchemeOperationProtos.Entry getSelf();
/**
* .Ydb.Scheme.Entry self = 1;
*/
tech.ydb.proto.scheme.SchemeOperationProtos.EntryOrBuilder getSelfOrBuilder();
/**
* repeated .Ydb.Scheme.Entry children = 2;
*/
java.util.List
getChildrenList();
/**
* repeated .Ydb.Scheme.Entry children = 2;
*/
tech.ydb.proto.scheme.SchemeOperationProtos.Entry getChildren(int index);
/**
* repeated .Ydb.Scheme.Entry children = 2;
*/
int getChildrenCount();
/**
* repeated .Ydb.Scheme.Entry children = 2;
*/
java.util.List extends tech.ydb.proto.scheme.SchemeOperationProtos.EntryOrBuilder>
getChildrenOrBuilderList();
/**
* repeated .Ydb.Scheme.Entry children = 2;
*/
tech.ydb.proto.scheme.SchemeOperationProtos.EntryOrBuilder getChildrenOrBuilder(
int index);
}
/**
* Protobuf type {@code Ydb.Scheme.ListDirectoryResult}
*/
public static final class ListDirectoryResult extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Ydb.Scheme.ListDirectoryResult)
ListDirectoryResultOrBuilder {
private static final long serialVersionUID = 0L;
// Use ListDirectoryResult.newBuilder() to construct.
private ListDirectoryResult(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ListDirectoryResult() {
children_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ListDirectoryResult();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_ListDirectoryResult_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_ListDirectoryResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult.class, tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult.Builder.class);
}
private int bitField0_;
public static final int SELF_FIELD_NUMBER = 1;
private tech.ydb.proto.scheme.SchemeOperationProtos.Entry self_;
/**
* .Ydb.Scheme.Entry self = 1;
* @return Whether the self field is set.
*/
@java.lang.Override
public boolean hasSelf() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .Ydb.Scheme.Entry self = 1;
* @return The self.
*/
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.Entry getSelf() {
return self_ == null ? tech.ydb.proto.scheme.SchemeOperationProtos.Entry.getDefaultInstance() : self_;
}
/**
* .Ydb.Scheme.Entry self = 1;
*/
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.EntryOrBuilder getSelfOrBuilder() {
return self_ == null ? tech.ydb.proto.scheme.SchemeOperationProtos.Entry.getDefaultInstance() : self_;
}
public static final int CHILDREN_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List children_;
/**
* repeated .Ydb.Scheme.Entry children = 2;
*/
@java.lang.Override
public java.util.List getChildrenList() {
return children_;
}
/**
* repeated .Ydb.Scheme.Entry children = 2;
*/
@java.lang.Override
public java.util.List extends tech.ydb.proto.scheme.SchemeOperationProtos.EntryOrBuilder>
getChildrenOrBuilderList() {
return children_;
}
/**
* repeated .Ydb.Scheme.Entry children = 2;
*/
@java.lang.Override
public int getChildrenCount() {
return children_.size();
}
/**
* repeated .Ydb.Scheme.Entry children = 2;
*/
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.Entry getChildren(int index) {
return children_.get(index);
}
/**
* repeated .Ydb.Scheme.Entry children = 2;
*/
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.EntryOrBuilder getChildrenOrBuilder(
int index) {
return children_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getSelf());
}
for (int i = 0; i < children_.size(); i++) {
output.writeMessage(2, children_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getSelf());
}
for (int i = 0; i < children_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, children_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult)) {
return super.equals(obj);
}
tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult other = (tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult) obj;
if (hasSelf() != other.hasSelf()) return false;
if (hasSelf()) {
if (!getSelf()
.equals(other.getSelf())) return false;
}
if (!getChildrenList()
.equals(other.getChildrenList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasSelf()) {
hash = (37 * hash) + SELF_FIELD_NUMBER;
hash = (53 * hash) + getSelf().hashCode();
}
if (getChildrenCount() > 0) {
hash = (37 * hash) + CHILDREN_FIELD_NUMBER;
hash = (53 * hash) + getChildrenList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code Ydb.Scheme.ListDirectoryResult}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Ydb.Scheme.ListDirectoryResult)
tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResultOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_ListDirectoryResult_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_ListDirectoryResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult.class, tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult.Builder.class);
}
// Construct using tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getSelfFieldBuilder();
getChildrenFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
self_ = null;
if (selfBuilder_ != null) {
selfBuilder_.dispose();
selfBuilder_ = null;
}
if (childrenBuilder_ == null) {
children_ = java.util.Collections.emptyList();
} else {
children_ = null;
childrenBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_ListDirectoryResult_descriptor;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult getDefaultInstanceForType() {
return tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult.getDefaultInstance();
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult build() {
tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult buildPartial() {
tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult result = new tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult result) {
if (childrenBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
children_ = java.util.Collections.unmodifiableList(children_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.children_ = children_;
} else {
result.children_ = childrenBuilder_.build();
}
}
private void buildPartial0(tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.self_ = selfBuilder_ == null
? self_
: selfBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult) {
return mergeFrom((tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult other) {
if (other == tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult.getDefaultInstance()) return this;
if (other.hasSelf()) {
mergeSelf(other.getSelf());
}
if (childrenBuilder_ == null) {
if (!other.children_.isEmpty()) {
if (children_.isEmpty()) {
children_ = other.children_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureChildrenIsMutable();
children_.addAll(other.children_);
}
onChanged();
}
} else {
if (!other.children_.isEmpty()) {
if (childrenBuilder_.isEmpty()) {
childrenBuilder_.dispose();
childrenBuilder_ = null;
children_ = other.children_;
bitField0_ = (bitField0_ & ~0x00000002);
childrenBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getChildrenFieldBuilder() : null;
} else {
childrenBuilder_.addAllMessages(other.children_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getSelfFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
tech.ydb.proto.scheme.SchemeOperationProtos.Entry m =
input.readMessage(
tech.ydb.proto.scheme.SchemeOperationProtos.Entry.parser(),
extensionRegistry);
if (childrenBuilder_ == null) {
ensureChildrenIsMutable();
children_.add(m);
} else {
childrenBuilder_.addMessage(m);
}
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private tech.ydb.proto.scheme.SchemeOperationProtos.Entry self_;
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.scheme.SchemeOperationProtos.Entry, tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Builder, tech.ydb.proto.scheme.SchemeOperationProtos.EntryOrBuilder> selfBuilder_;
/**
* .Ydb.Scheme.Entry self = 1;
* @return Whether the self field is set.
*/
public boolean hasSelf() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .Ydb.Scheme.Entry self = 1;
* @return The self.
*/
public tech.ydb.proto.scheme.SchemeOperationProtos.Entry getSelf() {
if (selfBuilder_ == null) {
return self_ == null ? tech.ydb.proto.scheme.SchemeOperationProtos.Entry.getDefaultInstance() : self_;
} else {
return selfBuilder_.getMessage();
}
}
/**
* .Ydb.Scheme.Entry self = 1;
*/
public Builder setSelf(tech.ydb.proto.scheme.SchemeOperationProtos.Entry value) {
if (selfBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
self_ = value;
} else {
selfBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .Ydb.Scheme.Entry self = 1;
*/
public Builder setSelf(
tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Builder builderForValue) {
if (selfBuilder_ == null) {
self_ = builderForValue.build();
} else {
selfBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .Ydb.Scheme.Entry self = 1;
*/
public Builder mergeSelf(tech.ydb.proto.scheme.SchemeOperationProtos.Entry value) {
if (selfBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
self_ != null &&
self_ != tech.ydb.proto.scheme.SchemeOperationProtos.Entry.getDefaultInstance()) {
getSelfBuilder().mergeFrom(value);
} else {
self_ = value;
}
} else {
selfBuilder_.mergeFrom(value);
}
if (self_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* .Ydb.Scheme.Entry self = 1;
*/
public Builder clearSelf() {
bitField0_ = (bitField0_ & ~0x00000001);
self_ = null;
if (selfBuilder_ != null) {
selfBuilder_.dispose();
selfBuilder_ = null;
}
onChanged();
return this;
}
/**
* .Ydb.Scheme.Entry self = 1;
*/
public tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Builder getSelfBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getSelfFieldBuilder().getBuilder();
}
/**
* .Ydb.Scheme.Entry self = 1;
*/
public tech.ydb.proto.scheme.SchemeOperationProtos.EntryOrBuilder getSelfOrBuilder() {
if (selfBuilder_ != null) {
return selfBuilder_.getMessageOrBuilder();
} else {
return self_ == null ?
tech.ydb.proto.scheme.SchemeOperationProtos.Entry.getDefaultInstance() : self_;
}
}
/**
* .Ydb.Scheme.Entry self = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.scheme.SchemeOperationProtos.Entry, tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Builder, tech.ydb.proto.scheme.SchemeOperationProtos.EntryOrBuilder>
getSelfFieldBuilder() {
if (selfBuilder_ == null) {
selfBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.scheme.SchemeOperationProtos.Entry, tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Builder, tech.ydb.proto.scheme.SchemeOperationProtos.EntryOrBuilder>(
getSelf(),
getParentForChildren(),
isClean());
self_ = null;
}
return selfBuilder_;
}
private java.util.List children_ =
java.util.Collections.emptyList();
private void ensureChildrenIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
children_ = new java.util.ArrayList(children_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
tech.ydb.proto.scheme.SchemeOperationProtos.Entry, tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Builder, tech.ydb.proto.scheme.SchemeOperationProtos.EntryOrBuilder> childrenBuilder_;
/**
* repeated .Ydb.Scheme.Entry children = 2;
*/
public java.util.List getChildrenList() {
if (childrenBuilder_ == null) {
return java.util.Collections.unmodifiableList(children_);
} else {
return childrenBuilder_.getMessageList();
}
}
/**
* repeated .Ydb.Scheme.Entry children = 2;
*/
public int getChildrenCount() {
if (childrenBuilder_ == null) {
return children_.size();
} else {
return childrenBuilder_.getCount();
}
}
/**
* repeated .Ydb.Scheme.Entry children = 2;
*/
public tech.ydb.proto.scheme.SchemeOperationProtos.Entry getChildren(int index) {
if (childrenBuilder_ == null) {
return children_.get(index);
} else {
return childrenBuilder_.getMessage(index);
}
}
/**
* repeated .Ydb.Scheme.Entry children = 2;
*/
public Builder setChildren(
int index, tech.ydb.proto.scheme.SchemeOperationProtos.Entry value) {
if (childrenBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureChildrenIsMutable();
children_.set(index, value);
onChanged();
} else {
childrenBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .Ydb.Scheme.Entry children = 2;
*/
public Builder setChildren(
int index, tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Builder builderForValue) {
if (childrenBuilder_ == null) {
ensureChildrenIsMutable();
children_.set(index, builderForValue.build());
onChanged();
} else {
childrenBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Ydb.Scheme.Entry children = 2;
*/
public Builder addChildren(tech.ydb.proto.scheme.SchemeOperationProtos.Entry value) {
if (childrenBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureChildrenIsMutable();
children_.add(value);
onChanged();
} else {
childrenBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .Ydb.Scheme.Entry children = 2;
*/
public Builder addChildren(
int index, tech.ydb.proto.scheme.SchemeOperationProtos.Entry value) {
if (childrenBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureChildrenIsMutable();
children_.add(index, value);
onChanged();
} else {
childrenBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .Ydb.Scheme.Entry children = 2;
*/
public Builder addChildren(
tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Builder builderForValue) {
if (childrenBuilder_ == null) {
ensureChildrenIsMutable();
children_.add(builderForValue.build());
onChanged();
} else {
childrenBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .Ydb.Scheme.Entry children = 2;
*/
public Builder addChildren(
int index, tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Builder builderForValue) {
if (childrenBuilder_ == null) {
ensureChildrenIsMutable();
children_.add(index, builderForValue.build());
onChanged();
} else {
childrenBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Ydb.Scheme.Entry children = 2;
*/
public Builder addAllChildren(
java.lang.Iterable extends tech.ydb.proto.scheme.SchemeOperationProtos.Entry> values) {
if (childrenBuilder_ == null) {
ensureChildrenIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, children_);
onChanged();
} else {
childrenBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .Ydb.Scheme.Entry children = 2;
*/
public Builder clearChildren() {
if (childrenBuilder_ == null) {
children_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
childrenBuilder_.clear();
}
return this;
}
/**
* repeated .Ydb.Scheme.Entry children = 2;
*/
public Builder removeChildren(int index) {
if (childrenBuilder_ == null) {
ensureChildrenIsMutable();
children_.remove(index);
onChanged();
} else {
childrenBuilder_.remove(index);
}
return this;
}
/**
* repeated .Ydb.Scheme.Entry children = 2;
*/
public tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Builder getChildrenBuilder(
int index) {
return getChildrenFieldBuilder().getBuilder(index);
}
/**
* repeated .Ydb.Scheme.Entry children = 2;
*/
public tech.ydb.proto.scheme.SchemeOperationProtos.EntryOrBuilder getChildrenOrBuilder(
int index) {
if (childrenBuilder_ == null) {
return children_.get(index); } else {
return childrenBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .Ydb.Scheme.Entry children = 2;
*/
public java.util.List extends tech.ydb.proto.scheme.SchemeOperationProtos.EntryOrBuilder>
getChildrenOrBuilderList() {
if (childrenBuilder_ != null) {
return childrenBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(children_);
}
}
/**
* repeated .Ydb.Scheme.Entry children = 2;
*/
public tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Builder addChildrenBuilder() {
return getChildrenFieldBuilder().addBuilder(
tech.ydb.proto.scheme.SchemeOperationProtos.Entry.getDefaultInstance());
}
/**
* repeated .Ydb.Scheme.Entry children = 2;
*/
public tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Builder addChildrenBuilder(
int index) {
return getChildrenFieldBuilder().addBuilder(
index, tech.ydb.proto.scheme.SchemeOperationProtos.Entry.getDefaultInstance());
}
/**
* repeated .Ydb.Scheme.Entry children = 2;
*/
public java.util.List
getChildrenBuilderList() {
return getChildrenFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
tech.ydb.proto.scheme.SchemeOperationProtos.Entry, tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Builder, tech.ydb.proto.scheme.SchemeOperationProtos.EntryOrBuilder>
getChildrenFieldBuilder() {
if (childrenBuilder_ == null) {
childrenBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
tech.ydb.proto.scheme.SchemeOperationProtos.Entry, tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Builder, tech.ydb.proto.scheme.SchemeOperationProtos.EntryOrBuilder>(
children_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
children_ = null;
}
return childrenBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Ydb.Scheme.ListDirectoryResult)
}
// @@protoc_insertion_point(class_scope:Ydb.Scheme.ListDirectoryResult)
private static final tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult();
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ListDirectoryResult parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.ListDirectoryResult getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DescribePathRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:Ydb.Scheme.DescribePathRequest)
com.google.protobuf.MessageOrBuilder {
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return Whether the operationParams field is set.
*/
boolean hasOperationParams();
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return The operationParams.
*/
tech.ydb.proto.OperationProtos.OperationParams getOperationParams();
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder();
/**
* string path = 2;
* @return The path.
*/
java.lang.String getPath();
/**
* string path = 2;
* @return The bytes for path.
*/
com.google.protobuf.ByteString
getPathBytes();
}
/**
*
* Returns information about object with given path
*
*
* Protobuf type {@code Ydb.Scheme.DescribePathRequest}
*/
public static final class DescribePathRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Ydb.Scheme.DescribePathRequest)
DescribePathRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use DescribePathRequest.newBuilder() to construct.
private DescribePathRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DescribePathRequest() {
path_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DescribePathRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_DescribePathRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_DescribePathRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest.class, tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest.Builder.class);
}
private int bitField0_;
public static final int OPERATION_PARAMS_FIELD_NUMBER = 1;
private tech.ydb.proto.OperationProtos.OperationParams operationParams_;
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return Whether the operationParams field is set.
*/
@java.lang.Override
public boolean hasOperationParams() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return The operationParams.
*/
@java.lang.Override
public tech.ydb.proto.OperationProtos.OperationParams getOperationParams() {
return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
@java.lang.Override
public tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() {
return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_;
}
public static final int PATH_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object path_ = "";
/**
* string path = 2;
* @return The path.
*/
@java.lang.Override
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
path_ = s;
return s;
}
}
/**
* string path = 2;
* @return The bytes for path.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getOperationParams());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getOperationParams());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest)) {
return super.equals(obj);
}
tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest other = (tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest) obj;
if (hasOperationParams() != other.hasOperationParams()) return false;
if (hasOperationParams()) {
if (!getOperationParams()
.equals(other.getOperationParams())) return false;
}
if (!getPath()
.equals(other.getPath())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasOperationParams()) {
hash = (37 * hash) + OPERATION_PARAMS_FIELD_NUMBER;
hash = (53 * hash) + getOperationParams().hashCode();
}
hash = (37 * hash) + PATH_FIELD_NUMBER;
hash = (53 * hash) + getPath().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Returns information about object with given path
*
*
* Protobuf type {@code Ydb.Scheme.DescribePathRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Ydb.Scheme.DescribePathRequest)
tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_DescribePathRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_DescribePathRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest.class, tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest.Builder.class);
}
// Construct using tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getOperationParamsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
operationParams_ = null;
if (operationParamsBuilder_ != null) {
operationParamsBuilder_.dispose();
operationParamsBuilder_ = null;
}
path_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_DescribePathRequest_descriptor;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest getDefaultInstanceForType() {
return tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest.getDefaultInstance();
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest build() {
tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest buildPartial() {
tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest result = new tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.operationParams_ = operationParamsBuilder_ == null
? operationParams_
: operationParamsBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.path_ = path_;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest) {
return mergeFrom((tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest other) {
if (other == tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest.getDefaultInstance()) return this;
if (other.hasOperationParams()) {
mergeOperationParams(other.getOperationParams());
}
if (!other.getPath().isEmpty()) {
path_ = other.path_;
bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getOperationParamsFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
path_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private tech.ydb.proto.OperationProtos.OperationParams operationParams_;
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.OperationProtos.OperationParams, tech.ydb.proto.OperationProtos.OperationParams.Builder, tech.ydb.proto.OperationProtos.OperationParamsOrBuilder> operationParamsBuilder_;
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return Whether the operationParams field is set.
*/
public boolean hasOperationParams() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return The operationParams.
*/
public tech.ydb.proto.OperationProtos.OperationParams getOperationParams() {
if (operationParamsBuilder_ == null) {
return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_;
} else {
return operationParamsBuilder_.getMessage();
}
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public Builder setOperationParams(tech.ydb.proto.OperationProtos.OperationParams value) {
if (operationParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
operationParams_ = value;
} else {
operationParamsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public Builder setOperationParams(
tech.ydb.proto.OperationProtos.OperationParams.Builder builderForValue) {
if (operationParamsBuilder_ == null) {
operationParams_ = builderForValue.build();
} else {
operationParamsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public Builder mergeOperationParams(tech.ydb.proto.OperationProtos.OperationParams value) {
if (operationParamsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
operationParams_ != null &&
operationParams_ != tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance()) {
getOperationParamsBuilder().mergeFrom(value);
} else {
operationParams_ = value;
}
} else {
operationParamsBuilder_.mergeFrom(value);
}
if (operationParams_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public Builder clearOperationParams() {
bitField0_ = (bitField0_ & ~0x00000001);
operationParams_ = null;
if (operationParamsBuilder_ != null) {
operationParamsBuilder_.dispose();
operationParamsBuilder_ = null;
}
onChanged();
return this;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public tech.ydb.proto.OperationProtos.OperationParams.Builder getOperationParamsBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getOperationParamsFieldBuilder().getBuilder();
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() {
if (operationParamsBuilder_ != null) {
return operationParamsBuilder_.getMessageOrBuilder();
} else {
return operationParams_ == null ?
tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_;
}
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.OperationProtos.OperationParams, tech.ydb.proto.OperationProtos.OperationParams.Builder, tech.ydb.proto.OperationProtos.OperationParamsOrBuilder>
getOperationParamsFieldBuilder() {
if (operationParamsBuilder_ == null) {
operationParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.OperationProtos.OperationParams, tech.ydb.proto.OperationProtos.OperationParams.Builder, tech.ydb.proto.OperationProtos.OperationParamsOrBuilder>(
getOperationParams(),
getParentForChildren(),
isClean());
operationParams_ = null;
}
return operationParamsBuilder_;
}
private java.lang.Object path_ = "";
/**
* string path = 2;
* @return The path.
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
path_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string path = 2;
* @return The bytes for path.
*/
public com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string path = 2;
* @param value The path to set.
* @return This builder for chaining.
*/
public Builder setPath(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
path_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* string path = 2;
* @return This builder for chaining.
*/
public Builder clearPath() {
path_ = getDefaultInstance().getPath();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* string path = 2;
* @param value The bytes for path to set.
* @return This builder for chaining.
*/
public Builder setPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
path_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Ydb.Scheme.DescribePathRequest)
}
// @@protoc_insertion_point(class_scope:Ydb.Scheme.DescribePathRequest)
private static final tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest();
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DescribePathRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DescribePathResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:Ydb.Scheme.DescribePathResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* Holds DescribePathResult in case of DescribePathResult
*
*
* .Ydb.Operations.Operation operation = 1;
* @return Whether the operation field is set.
*/
boolean hasOperation();
/**
*
* Holds DescribePathResult in case of DescribePathResult
*
*
* .Ydb.Operations.Operation operation = 1;
* @return The operation.
*/
tech.ydb.proto.OperationProtos.Operation getOperation();
/**
*
* Holds DescribePathResult in case of DescribePathResult
*
*
* .Ydb.Operations.Operation operation = 1;
*/
tech.ydb.proto.OperationProtos.OperationOrBuilder getOperationOrBuilder();
}
/**
* Protobuf type {@code Ydb.Scheme.DescribePathResponse}
*/
public static final class DescribePathResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Ydb.Scheme.DescribePathResponse)
DescribePathResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use DescribePathResponse.newBuilder() to construct.
private DescribePathResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DescribePathResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DescribePathResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_DescribePathResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_DescribePathResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse.class, tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse.Builder.class);
}
private int bitField0_;
public static final int OPERATION_FIELD_NUMBER = 1;
private tech.ydb.proto.OperationProtos.Operation operation_;
/**
*
* Holds DescribePathResult in case of DescribePathResult
*
*
* .Ydb.Operations.Operation operation = 1;
* @return Whether the operation field is set.
*/
@java.lang.Override
public boolean hasOperation() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Holds DescribePathResult in case of DescribePathResult
*
*
* .Ydb.Operations.Operation operation = 1;
* @return The operation.
*/
@java.lang.Override
public tech.ydb.proto.OperationProtos.Operation getOperation() {
return operation_ == null ? tech.ydb.proto.OperationProtos.Operation.getDefaultInstance() : operation_;
}
/**
*
* Holds DescribePathResult in case of DescribePathResult
*
*
* .Ydb.Operations.Operation operation = 1;
*/
@java.lang.Override
public tech.ydb.proto.OperationProtos.OperationOrBuilder getOperationOrBuilder() {
return operation_ == null ? tech.ydb.proto.OperationProtos.Operation.getDefaultInstance() : operation_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getOperation());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getOperation());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse)) {
return super.equals(obj);
}
tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse other = (tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse) obj;
if (hasOperation() != other.hasOperation()) return false;
if (hasOperation()) {
if (!getOperation()
.equals(other.getOperation())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasOperation()) {
hash = (37 * hash) + OPERATION_FIELD_NUMBER;
hash = (53 * hash) + getOperation().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code Ydb.Scheme.DescribePathResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Ydb.Scheme.DescribePathResponse)
tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_DescribePathResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_DescribePathResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse.class, tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse.Builder.class);
}
// Construct using tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getOperationFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
operation_ = null;
if (operationBuilder_ != null) {
operationBuilder_.dispose();
operationBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_DescribePathResponse_descriptor;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse getDefaultInstanceForType() {
return tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse.getDefaultInstance();
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse build() {
tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse buildPartial() {
tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse result = new tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.operation_ = operationBuilder_ == null
? operation_
: operationBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse) {
return mergeFrom((tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse other) {
if (other == tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse.getDefaultInstance()) return this;
if (other.hasOperation()) {
mergeOperation(other.getOperation());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getOperationFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private tech.ydb.proto.OperationProtos.Operation operation_;
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.OperationProtos.Operation, tech.ydb.proto.OperationProtos.Operation.Builder, tech.ydb.proto.OperationProtos.OperationOrBuilder> operationBuilder_;
/**
*
* Holds DescribePathResult in case of DescribePathResult
*
*
* .Ydb.Operations.Operation operation = 1;
* @return Whether the operation field is set.
*/
public boolean hasOperation() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Holds DescribePathResult in case of DescribePathResult
*
*
* .Ydb.Operations.Operation operation = 1;
* @return The operation.
*/
public tech.ydb.proto.OperationProtos.Operation getOperation() {
if (operationBuilder_ == null) {
return operation_ == null ? tech.ydb.proto.OperationProtos.Operation.getDefaultInstance() : operation_;
} else {
return operationBuilder_.getMessage();
}
}
/**
*
* Holds DescribePathResult in case of DescribePathResult
*
*
* .Ydb.Operations.Operation operation = 1;
*/
public Builder setOperation(tech.ydb.proto.OperationProtos.Operation value) {
if (operationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
operation_ = value;
} else {
operationBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* Holds DescribePathResult in case of DescribePathResult
*
*
* .Ydb.Operations.Operation operation = 1;
*/
public Builder setOperation(
tech.ydb.proto.OperationProtos.Operation.Builder builderForValue) {
if (operationBuilder_ == null) {
operation_ = builderForValue.build();
} else {
operationBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* Holds DescribePathResult in case of DescribePathResult
*
*
* .Ydb.Operations.Operation operation = 1;
*/
public Builder mergeOperation(tech.ydb.proto.OperationProtos.Operation value) {
if (operationBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
operation_ != null &&
operation_ != tech.ydb.proto.OperationProtos.Operation.getDefaultInstance()) {
getOperationBuilder().mergeFrom(value);
} else {
operation_ = value;
}
} else {
operationBuilder_.mergeFrom(value);
}
if (operation_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
*
* Holds DescribePathResult in case of DescribePathResult
*
*
* .Ydb.Operations.Operation operation = 1;
*/
public Builder clearOperation() {
bitField0_ = (bitField0_ & ~0x00000001);
operation_ = null;
if (operationBuilder_ != null) {
operationBuilder_.dispose();
operationBuilder_ = null;
}
onChanged();
return this;
}
/**
*
* Holds DescribePathResult in case of DescribePathResult
*
*
* .Ydb.Operations.Operation operation = 1;
*/
public tech.ydb.proto.OperationProtos.Operation.Builder getOperationBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getOperationFieldBuilder().getBuilder();
}
/**
*
* Holds DescribePathResult in case of DescribePathResult
*
*
* .Ydb.Operations.Operation operation = 1;
*/
public tech.ydb.proto.OperationProtos.OperationOrBuilder getOperationOrBuilder() {
if (operationBuilder_ != null) {
return operationBuilder_.getMessageOrBuilder();
} else {
return operation_ == null ?
tech.ydb.proto.OperationProtos.Operation.getDefaultInstance() : operation_;
}
}
/**
*
* Holds DescribePathResult in case of DescribePathResult
*
*
* .Ydb.Operations.Operation operation = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.OperationProtos.Operation, tech.ydb.proto.OperationProtos.Operation.Builder, tech.ydb.proto.OperationProtos.OperationOrBuilder>
getOperationFieldBuilder() {
if (operationBuilder_ == null) {
operationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.OperationProtos.Operation, tech.ydb.proto.OperationProtos.Operation.Builder, tech.ydb.proto.OperationProtos.OperationOrBuilder>(
getOperation(),
getParentForChildren(),
isClean());
operation_ = null;
}
return operationBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Ydb.Scheme.DescribePathResponse)
}
// @@protoc_insertion_point(class_scope:Ydb.Scheme.DescribePathResponse)
private static final tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse();
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DescribePathResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DescribePathResultOrBuilder extends
// @@protoc_insertion_point(interface_extends:Ydb.Scheme.DescribePathResult)
com.google.protobuf.MessageOrBuilder {
/**
* .Ydb.Scheme.Entry self = 1;
* @return Whether the self field is set.
*/
boolean hasSelf();
/**
* .Ydb.Scheme.Entry self = 1;
* @return The self.
*/
tech.ydb.proto.scheme.SchemeOperationProtos.Entry getSelf();
/**
* .Ydb.Scheme.Entry self = 1;
*/
tech.ydb.proto.scheme.SchemeOperationProtos.EntryOrBuilder getSelfOrBuilder();
}
/**
* Protobuf type {@code Ydb.Scheme.DescribePathResult}
*/
public static final class DescribePathResult extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Ydb.Scheme.DescribePathResult)
DescribePathResultOrBuilder {
private static final long serialVersionUID = 0L;
// Use DescribePathResult.newBuilder() to construct.
private DescribePathResult(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DescribePathResult() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DescribePathResult();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_DescribePathResult_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_DescribePathResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult.class, tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult.Builder.class);
}
private int bitField0_;
public static final int SELF_FIELD_NUMBER = 1;
private tech.ydb.proto.scheme.SchemeOperationProtos.Entry self_;
/**
* .Ydb.Scheme.Entry self = 1;
* @return Whether the self field is set.
*/
@java.lang.Override
public boolean hasSelf() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .Ydb.Scheme.Entry self = 1;
* @return The self.
*/
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.Entry getSelf() {
return self_ == null ? tech.ydb.proto.scheme.SchemeOperationProtos.Entry.getDefaultInstance() : self_;
}
/**
* .Ydb.Scheme.Entry self = 1;
*/
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.EntryOrBuilder getSelfOrBuilder() {
return self_ == null ? tech.ydb.proto.scheme.SchemeOperationProtos.Entry.getDefaultInstance() : self_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getSelf());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getSelf());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult)) {
return super.equals(obj);
}
tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult other = (tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult) obj;
if (hasSelf() != other.hasSelf()) return false;
if (hasSelf()) {
if (!getSelf()
.equals(other.getSelf())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasSelf()) {
hash = (37 * hash) + SELF_FIELD_NUMBER;
hash = (53 * hash) + getSelf().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code Ydb.Scheme.DescribePathResult}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Ydb.Scheme.DescribePathResult)
tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResultOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_DescribePathResult_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_DescribePathResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult.class, tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult.Builder.class);
}
// Construct using tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getSelfFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
self_ = null;
if (selfBuilder_ != null) {
selfBuilder_.dispose();
selfBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_DescribePathResult_descriptor;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult getDefaultInstanceForType() {
return tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult.getDefaultInstance();
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult build() {
tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult buildPartial() {
tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult result = new tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.self_ = selfBuilder_ == null
? self_
: selfBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult) {
return mergeFrom((tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult other) {
if (other == tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult.getDefaultInstance()) return this;
if (other.hasSelf()) {
mergeSelf(other.getSelf());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getSelfFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private tech.ydb.proto.scheme.SchemeOperationProtos.Entry self_;
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.scheme.SchemeOperationProtos.Entry, tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Builder, tech.ydb.proto.scheme.SchemeOperationProtos.EntryOrBuilder> selfBuilder_;
/**
* .Ydb.Scheme.Entry self = 1;
* @return Whether the self field is set.
*/
public boolean hasSelf() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .Ydb.Scheme.Entry self = 1;
* @return The self.
*/
public tech.ydb.proto.scheme.SchemeOperationProtos.Entry getSelf() {
if (selfBuilder_ == null) {
return self_ == null ? tech.ydb.proto.scheme.SchemeOperationProtos.Entry.getDefaultInstance() : self_;
} else {
return selfBuilder_.getMessage();
}
}
/**
* .Ydb.Scheme.Entry self = 1;
*/
public Builder setSelf(tech.ydb.proto.scheme.SchemeOperationProtos.Entry value) {
if (selfBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
self_ = value;
} else {
selfBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .Ydb.Scheme.Entry self = 1;
*/
public Builder setSelf(
tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Builder builderForValue) {
if (selfBuilder_ == null) {
self_ = builderForValue.build();
} else {
selfBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .Ydb.Scheme.Entry self = 1;
*/
public Builder mergeSelf(tech.ydb.proto.scheme.SchemeOperationProtos.Entry value) {
if (selfBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
self_ != null &&
self_ != tech.ydb.proto.scheme.SchemeOperationProtos.Entry.getDefaultInstance()) {
getSelfBuilder().mergeFrom(value);
} else {
self_ = value;
}
} else {
selfBuilder_.mergeFrom(value);
}
if (self_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* .Ydb.Scheme.Entry self = 1;
*/
public Builder clearSelf() {
bitField0_ = (bitField0_ & ~0x00000001);
self_ = null;
if (selfBuilder_ != null) {
selfBuilder_.dispose();
selfBuilder_ = null;
}
onChanged();
return this;
}
/**
* .Ydb.Scheme.Entry self = 1;
*/
public tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Builder getSelfBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getSelfFieldBuilder().getBuilder();
}
/**
* .Ydb.Scheme.Entry self = 1;
*/
public tech.ydb.proto.scheme.SchemeOperationProtos.EntryOrBuilder getSelfOrBuilder() {
if (selfBuilder_ != null) {
return selfBuilder_.getMessageOrBuilder();
} else {
return self_ == null ?
tech.ydb.proto.scheme.SchemeOperationProtos.Entry.getDefaultInstance() : self_;
}
}
/**
* .Ydb.Scheme.Entry self = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.scheme.SchemeOperationProtos.Entry, tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Builder, tech.ydb.proto.scheme.SchemeOperationProtos.EntryOrBuilder>
getSelfFieldBuilder() {
if (selfBuilder_ == null) {
selfBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.scheme.SchemeOperationProtos.Entry, tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Builder, tech.ydb.proto.scheme.SchemeOperationProtos.EntryOrBuilder>(
getSelf(),
getParentForChildren(),
isClean());
self_ = null;
}
return selfBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Ydb.Scheme.DescribePathResult)
}
// @@protoc_insertion_point(class_scope:Ydb.Scheme.DescribePathResult)
private static final tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult();
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DescribePathResult parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.DescribePathResult getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PermissionsActionOrBuilder extends
// @@protoc_insertion_point(interface_extends:Ydb.Scheme.PermissionsAction)
com.google.protobuf.MessageOrBuilder {
/**
*
* Grant permissions
*
*
* .Ydb.Scheme.Permissions grant = 1;
* @return Whether the grant field is set.
*/
boolean hasGrant();
/**
*
* Grant permissions
*
*
* .Ydb.Scheme.Permissions grant = 1;
* @return The grant.
*/
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions getGrant();
/**
*
* Grant permissions
*
*
* .Ydb.Scheme.Permissions grant = 1;
*/
tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder getGrantOrBuilder();
/**
*
* Revoke permissions
*
*
* .Ydb.Scheme.Permissions revoke = 2;
* @return Whether the revoke field is set.
*/
boolean hasRevoke();
/**
*
* Revoke permissions
*
*
* .Ydb.Scheme.Permissions revoke = 2;
* @return The revoke.
*/
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions getRevoke();
/**
*
* Revoke permissions
*
*
* .Ydb.Scheme.Permissions revoke = 2;
*/
tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder getRevokeOrBuilder();
/**
*
* Rewrite permissions for given subject (last set win in case of multiple set for one subject)
*
*
* .Ydb.Scheme.Permissions set = 3;
* @return Whether the set field is set.
*/
boolean hasSet();
/**
*
* Rewrite permissions for given subject (last set win in case of multiple set for one subject)
*
*
* .Ydb.Scheme.Permissions set = 3;
* @return The set.
*/
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions getSet();
/**
*
* Rewrite permissions for given subject (last set win in case of multiple set for one subject)
*
*
* .Ydb.Scheme.Permissions set = 3;
*/
tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder getSetOrBuilder();
/**
*
* New owner for object
*
*
* string change_owner = 4;
* @return Whether the changeOwner field is set.
*/
boolean hasChangeOwner();
/**
*
* New owner for object
*
*
* string change_owner = 4;
* @return The changeOwner.
*/
java.lang.String getChangeOwner();
/**
*
* New owner for object
*
*
* string change_owner = 4;
* @return The bytes for changeOwner.
*/
com.google.protobuf.ByteString
getChangeOwnerBytes();
tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction.ActionCase getActionCase();
}
/**
* Protobuf type {@code Ydb.Scheme.PermissionsAction}
*/
public static final class PermissionsAction extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Ydb.Scheme.PermissionsAction)
PermissionsActionOrBuilder {
private static final long serialVersionUID = 0L;
// Use PermissionsAction.newBuilder() to construct.
private PermissionsAction(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PermissionsAction() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PermissionsAction();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_PermissionsAction_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_PermissionsAction_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction.class, tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction.Builder.class);
}
private int actionCase_ = 0;
@SuppressWarnings("serial")
private java.lang.Object action_;
public enum ActionCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
GRANT(1),
REVOKE(2),
SET(3),
CHANGE_OWNER(4),
ACTION_NOT_SET(0);
private final int value;
private ActionCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ActionCase valueOf(int value) {
return forNumber(value);
}
public static ActionCase forNumber(int value) {
switch (value) {
case 1: return GRANT;
case 2: return REVOKE;
case 3: return SET;
case 4: return CHANGE_OWNER;
case 0: return ACTION_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public ActionCase
getActionCase() {
return ActionCase.forNumber(
actionCase_);
}
public static final int GRANT_FIELD_NUMBER = 1;
/**
*
* Grant permissions
*
*
* .Ydb.Scheme.Permissions grant = 1;
* @return Whether the grant field is set.
*/
@java.lang.Override
public boolean hasGrant() {
return actionCase_ == 1;
}
/**
*
* Grant permissions
*
*
* .Ydb.Scheme.Permissions grant = 1;
* @return The grant.
*/
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.Permissions getGrant() {
if (actionCase_ == 1) {
return (tech.ydb.proto.scheme.SchemeOperationProtos.Permissions) action_;
}
return tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.getDefaultInstance();
}
/**
*
* Grant permissions
*
*
* .Ydb.Scheme.Permissions grant = 1;
*/
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder getGrantOrBuilder() {
if (actionCase_ == 1) {
return (tech.ydb.proto.scheme.SchemeOperationProtos.Permissions) action_;
}
return tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.getDefaultInstance();
}
public static final int REVOKE_FIELD_NUMBER = 2;
/**
*
* Revoke permissions
*
*
* .Ydb.Scheme.Permissions revoke = 2;
* @return Whether the revoke field is set.
*/
@java.lang.Override
public boolean hasRevoke() {
return actionCase_ == 2;
}
/**
*
* Revoke permissions
*
*
* .Ydb.Scheme.Permissions revoke = 2;
* @return The revoke.
*/
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.Permissions getRevoke() {
if (actionCase_ == 2) {
return (tech.ydb.proto.scheme.SchemeOperationProtos.Permissions) action_;
}
return tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.getDefaultInstance();
}
/**
*
* Revoke permissions
*
*
* .Ydb.Scheme.Permissions revoke = 2;
*/
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder getRevokeOrBuilder() {
if (actionCase_ == 2) {
return (tech.ydb.proto.scheme.SchemeOperationProtos.Permissions) action_;
}
return tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.getDefaultInstance();
}
public static final int SET_FIELD_NUMBER = 3;
/**
*
* Rewrite permissions for given subject (last set win in case of multiple set for one subject)
*
*
* .Ydb.Scheme.Permissions set = 3;
* @return Whether the set field is set.
*/
@java.lang.Override
public boolean hasSet() {
return actionCase_ == 3;
}
/**
*
* Rewrite permissions for given subject (last set win in case of multiple set for one subject)
*
*
* .Ydb.Scheme.Permissions set = 3;
* @return The set.
*/
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.Permissions getSet() {
if (actionCase_ == 3) {
return (tech.ydb.proto.scheme.SchemeOperationProtos.Permissions) action_;
}
return tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.getDefaultInstance();
}
/**
*
* Rewrite permissions for given subject (last set win in case of multiple set for one subject)
*
*
* .Ydb.Scheme.Permissions set = 3;
*/
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder getSetOrBuilder() {
if (actionCase_ == 3) {
return (tech.ydb.proto.scheme.SchemeOperationProtos.Permissions) action_;
}
return tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.getDefaultInstance();
}
public static final int CHANGE_OWNER_FIELD_NUMBER = 4;
/**
*
* New owner for object
*
*
* string change_owner = 4;
* @return Whether the changeOwner field is set.
*/
public boolean hasChangeOwner() {
return actionCase_ == 4;
}
/**
*
* New owner for object
*
*
* string change_owner = 4;
* @return The changeOwner.
*/
public java.lang.String getChangeOwner() {
java.lang.Object ref = "";
if (actionCase_ == 4) {
ref = action_;
}
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (actionCase_ == 4) {
action_ = s;
}
return s;
}
}
/**
*
* New owner for object
*
*
* string change_owner = 4;
* @return The bytes for changeOwner.
*/
public com.google.protobuf.ByteString
getChangeOwnerBytes() {
java.lang.Object ref = "";
if (actionCase_ == 4) {
ref = action_;
}
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (actionCase_ == 4) {
action_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (actionCase_ == 1) {
output.writeMessage(1, (tech.ydb.proto.scheme.SchemeOperationProtos.Permissions) action_);
}
if (actionCase_ == 2) {
output.writeMessage(2, (tech.ydb.proto.scheme.SchemeOperationProtos.Permissions) action_);
}
if (actionCase_ == 3) {
output.writeMessage(3, (tech.ydb.proto.scheme.SchemeOperationProtos.Permissions) action_);
}
if (actionCase_ == 4) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, action_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (actionCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, (tech.ydb.proto.scheme.SchemeOperationProtos.Permissions) action_);
}
if (actionCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (tech.ydb.proto.scheme.SchemeOperationProtos.Permissions) action_);
}
if (actionCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (tech.ydb.proto.scheme.SchemeOperationProtos.Permissions) action_);
}
if (actionCase_ == 4) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, action_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction)) {
return super.equals(obj);
}
tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction other = (tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction) obj;
if (!getActionCase().equals(other.getActionCase())) return false;
switch (actionCase_) {
case 1:
if (!getGrant()
.equals(other.getGrant())) return false;
break;
case 2:
if (!getRevoke()
.equals(other.getRevoke())) return false;
break;
case 3:
if (!getSet()
.equals(other.getSet())) return false;
break;
case 4:
if (!getChangeOwner()
.equals(other.getChangeOwner())) return false;
break;
case 0:
default:
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
switch (actionCase_) {
case 1:
hash = (37 * hash) + GRANT_FIELD_NUMBER;
hash = (53 * hash) + getGrant().hashCode();
break;
case 2:
hash = (37 * hash) + REVOKE_FIELD_NUMBER;
hash = (53 * hash) + getRevoke().hashCode();
break;
case 3:
hash = (37 * hash) + SET_FIELD_NUMBER;
hash = (53 * hash) + getSet().hashCode();
break;
case 4:
hash = (37 * hash) + CHANGE_OWNER_FIELD_NUMBER;
hash = (53 * hash) + getChangeOwner().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code Ydb.Scheme.PermissionsAction}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Ydb.Scheme.PermissionsAction)
tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsActionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_PermissionsAction_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_PermissionsAction_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction.class, tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction.Builder.class);
}
// Construct using tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (grantBuilder_ != null) {
grantBuilder_.clear();
}
if (revokeBuilder_ != null) {
revokeBuilder_.clear();
}
if (setBuilder_ != null) {
setBuilder_.clear();
}
actionCase_ = 0;
action_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_PermissionsAction_descriptor;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction getDefaultInstanceForType() {
return tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction.getDefaultInstance();
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction build() {
tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction buildPartial() {
tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction result = new tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction(this);
if (bitField0_ != 0) { buildPartial0(result); }
buildPartialOneofs(result);
onBuilt();
return result;
}
private void buildPartial0(tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction result) {
int from_bitField0_ = bitField0_;
}
private void buildPartialOneofs(tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction result) {
result.actionCase_ = actionCase_;
result.action_ = this.action_;
if (actionCase_ == 1 &&
grantBuilder_ != null) {
result.action_ = grantBuilder_.build();
}
if (actionCase_ == 2 &&
revokeBuilder_ != null) {
result.action_ = revokeBuilder_.build();
}
if (actionCase_ == 3 &&
setBuilder_ != null) {
result.action_ = setBuilder_.build();
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction) {
return mergeFrom((tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction other) {
if (other == tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction.getDefaultInstance()) return this;
switch (other.getActionCase()) {
case GRANT: {
mergeGrant(other.getGrant());
break;
}
case REVOKE: {
mergeRevoke(other.getRevoke());
break;
}
case SET: {
mergeSet(other.getSet());
break;
}
case CHANGE_OWNER: {
actionCase_ = 4;
action_ = other.action_;
onChanged();
break;
}
case ACTION_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getGrantFieldBuilder().getBuilder(),
extensionRegistry);
actionCase_ = 1;
break;
} // case 10
case 18: {
input.readMessage(
getRevokeFieldBuilder().getBuilder(),
extensionRegistry);
actionCase_ = 2;
break;
} // case 18
case 26: {
input.readMessage(
getSetFieldBuilder().getBuilder(),
extensionRegistry);
actionCase_ = 3;
break;
} // case 26
case 34: {
java.lang.String s = input.readStringRequireUtf8();
actionCase_ = 4;
action_ = s;
break;
} // case 34
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int actionCase_ = 0;
private java.lang.Object action_;
public ActionCase
getActionCase() {
return ActionCase.forNumber(
actionCase_);
}
public Builder clearAction() {
actionCase_ = 0;
action_ = null;
onChanged();
return this;
}
private int bitField0_;
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions, tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder, tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder> grantBuilder_;
/**
*
* Grant permissions
*
*
* .Ydb.Scheme.Permissions grant = 1;
* @return Whether the grant field is set.
*/
@java.lang.Override
public boolean hasGrant() {
return actionCase_ == 1;
}
/**
*
* Grant permissions
*
*
* .Ydb.Scheme.Permissions grant = 1;
* @return The grant.
*/
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.Permissions getGrant() {
if (grantBuilder_ == null) {
if (actionCase_ == 1) {
return (tech.ydb.proto.scheme.SchemeOperationProtos.Permissions) action_;
}
return tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.getDefaultInstance();
} else {
if (actionCase_ == 1) {
return grantBuilder_.getMessage();
}
return tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.getDefaultInstance();
}
}
/**
*
* Grant permissions
*
*
* .Ydb.Scheme.Permissions grant = 1;
*/
public Builder setGrant(tech.ydb.proto.scheme.SchemeOperationProtos.Permissions value) {
if (grantBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
action_ = value;
onChanged();
} else {
grantBuilder_.setMessage(value);
}
actionCase_ = 1;
return this;
}
/**
*
* Grant permissions
*
*
* .Ydb.Scheme.Permissions grant = 1;
*/
public Builder setGrant(
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder builderForValue) {
if (grantBuilder_ == null) {
action_ = builderForValue.build();
onChanged();
} else {
grantBuilder_.setMessage(builderForValue.build());
}
actionCase_ = 1;
return this;
}
/**
*
* Grant permissions
*
*
* .Ydb.Scheme.Permissions grant = 1;
*/
public Builder mergeGrant(tech.ydb.proto.scheme.SchemeOperationProtos.Permissions value) {
if (grantBuilder_ == null) {
if (actionCase_ == 1 &&
action_ != tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.getDefaultInstance()) {
action_ = tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.newBuilder((tech.ydb.proto.scheme.SchemeOperationProtos.Permissions) action_)
.mergeFrom(value).buildPartial();
} else {
action_ = value;
}
onChanged();
} else {
if (actionCase_ == 1) {
grantBuilder_.mergeFrom(value);
} else {
grantBuilder_.setMessage(value);
}
}
actionCase_ = 1;
return this;
}
/**
*
* Grant permissions
*
*
* .Ydb.Scheme.Permissions grant = 1;
*/
public Builder clearGrant() {
if (grantBuilder_ == null) {
if (actionCase_ == 1) {
actionCase_ = 0;
action_ = null;
onChanged();
}
} else {
if (actionCase_ == 1) {
actionCase_ = 0;
action_ = null;
}
grantBuilder_.clear();
}
return this;
}
/**
*
* Grant permissions
*
*
* .Ydb.Scheme.Permissions grant = 1;
*/
public tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder getGrantBuilder() {
return getGrantFieldBuilder().getBuilder();
}
/**
*
* Grant permissions
*
*
* .Ydb.Scheme.Permissions grant = 1;
*/
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder getGrantOrBuilder() {
if ((actionCase_ == 1) && (grantBuilder_ != null)) {
return grantBuilder_.getMessageOrBuilder();
} else {
if (actionCase_ == 1) {
return (tech.ydb.proto.scheme.SchemeOperationProtos.Permissions) action_;
}
return tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.getDefaultInstance();
}
}
/**
*
* Grant permissions
*
*
* .Ydb.Scheme.Permissions grant = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions, tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder, tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder>
getGrantFieldBuilder() {
if (grantBuilder_ == null) {
if (!(actionCase_ == 1)) {
action_ = tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.getDefaultInstance();
}
grantBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions, tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder, tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder>(
(tech.ydb.proto.scheme.SchemeOperationProtos.Permissions) action_,
getParentForChildren(),
isClean());
action_ = null;
}
actionCase_ = 1;
onChanged();
return grantBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions, tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder, tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder> revokeBuilder_;
/**
*
* Revoke permissions
*
*
* .Ydb.Scheme.Permissions revoke = 2;
* @return Whether the revoke field is set.
*/
@java.lang.Override
public boolean hasRevoke() {
return actionCase_ == 2;
}
/**
*
* Revoke permissions
*
*
* .Ydb.Scheme.Permissions revoke = 2;
* @return The revoke.
*/
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.Permissions getRevoke() {
if (revokeBuilder_ == null) {
if (actionCase_ == 2) {
return (tech.ydb.proto.scheme.SchemeOperationProtos.Permissions) action_;
}
return tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.getDefaultInstance();
} else {
if (actionCase_ == 2) {
return revokeBuilder_.getMessage();
}
return tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.getDefaultInstance();
}
}
/**
*
* Revoke permissions
*
*
* .Ydb.Scheme.Permissions revoke = 2;
*/
public Builder setRevoke(tech.ydb.proto.scheme.SchemeOperationProtos.Permissions value) {
if (revokeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
action_ = value;
onChanged();
} else {
revokeBuilder_.setMessage(value);
}
actionCase_ = 2;
return this;
}
/**
*
* Revoke permissions
*
*
* .Ydb.Scheme.Permissions revoke = 2;
*/
public Builder setRevoke(
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder builderForValue) {
if (revokeBuilder_ == null) {
action_ = builderForValue.build();
onChanged();
} else {
revokeBuilder_.setMessage(builderForValue.build());
}
actionCase_ = 2;
return this;
}
/**
*
* Revoke permissions
*
*
* .Ydb.Scheme.Permissions revoke = 2;
*/
public Builder mergeRevoke(tech.ydb.proto.scheme.SchemeOperationProtos.Permissions value) {
if (revokeBuilder_ == null) {
if (actionCase_ == 2 &&
action_ != tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.getDefaultInstance()) {
action_ = tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.newBuilder((tech.ydb.proto.scheme.SchemeOperationProtos.Permissions) action_)
.mergeFrom(value).buildPartial();
} else {
action_ = value;
}
onChanged();
} else {
if (actionCase_ == 2) {
revokeBuilder_.mergeFrom(value);
} else {
revokeBuilder_.setMessage(value);
}
}
actionCase_ = 2;
return this;
}
/**
*
* Revoke permissions
*
*
* .Ydb.Scheme.Permissions revoke = 2;
*/
public Builder clearRevoke() {
if (revokeBuilder_ == null) {
if (actionCase_ == 2) {
actionCase_ = 0;
action_ = null;
onChanged();
}
} else {
if (actionCase_ == 2) {
actionCase_ = 0;
action_ = null;
}
revokeBuilder_.clear();
}
return this;
}
/**
*
* Revoke permissions
*
*
* .Ydb.Scheme.Permissions revoke = 2;
*/
public tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder getRevokeBuilder() {
return getRevokeFieldBuilder().getBuilder();
}
/**
*
* Revoke permissions
*
*
* .Ydb.Scheme.Permissions revoke = 2;
*/
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder getRevokeOrBuilder() {
if ((actionCase_ == 2) && (revokeBuilder_ != null)) {
return revokeBuilder_.getMessageOrBuilder();
} else {
if (actionCase_ == 2) {
return (tech.ydb.proto.scheme.SchemeOperationProtos.Permissions) action_;
}
return tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.getDefaultInstance();
}
}
/**
*
* Revoke permissions
*
*
* .Ydb.Scheme.Permissions revoke = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions, tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder, tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder>
getRevokeFieldBuilder() {
if (revokeBuilder_ == null) {
if (!(actionCase_ == 2)) {
action_ = tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.getDefaultInstance();
}
revokeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions, tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder, tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder>(
(tech.ydb.proto.scheme.SchemeOperationProtos.Permissions) action_,
getParentForChildren(),
isClean());
action_ = null;
}
actionCase_ = 2;
onChanged();
return revokeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions, tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder, tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder> setBuilder_;
/**
*
* Rewrite permissions for given subject (last set win in case of multiple set for one subject)
*
*
* .Ydb.Scheme.Permissions set = 3;
* @return Whether the set field is set.
*/
@java.lang.Override
public boolean hasSet() {
return actionCase_ == 3;
}
/**
*
* Rewrite permissions for given subject (last set win in case of multiple set for one subject)
*
*
* .Ydb.Scheme.Permissions set = 3;
* @return The set.
*/
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.Permissions getSet() {
if (setBuilder_ == null) {
if (actionCase_ == 3) {
return (tech.ydb.proto.scheme.SchemeOperationProtos.Permissions) action_;
}
return tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.getDefaultInstance();
} else {
if (actionCase_ == 3) {
return setBuilder_.getMessage();
}
return tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.getDefaultInstance();
}
}
/**
*
* Rewrite permissions for given subject (last set win in case of multiple set for one subject)
*
*
* .Ydb.Scheme.Permissions set = 3;
*/
public Builder setSet(tech.ydb.proto.scheme.SchemeOperationProtos.Permissions value) {
if (setBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
action_ = value;
onChanged();
} else {
setBuilder_.setMessage(value);
}
actionCase_ = 3;
return this;
}
/**
*
* Rewrite permissions for given subject (last set win in case of multiple set for one subject)
*
*
* .Ydb.Scheme.Permissions set = 3;
*/
public Builder setSet(
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder builderForValue) {
if (setBuilder_ == null) {
action_ = builderForValue.build();
onChanged();
} else {
setBuilder_.setMessage(builderForValue.build());
}
actionCase_ = 3;
return this;
}
/**
*
* Rewrite permissions for given subject (last set win in case of multiple set for one subject)
*
*
* .Ydb.Scheme.Permissions set = 3;
*/
public Builder mergeSet(tech.ydb.proto.scheme.SchemeOperationProtos.Permissions value) {
if (setBuilder_ == null) {
if (actionCase_ == 3 &&
action_ != tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.getDefaultInstance()) {
action_ = tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.newBuilder((tech.ydb.proto.scheme.SchemeOperationProtos.Permissions) action_)
.mergeFrom(value).buildPartial();
} else {
action_ = value;
}
onChanged();
} else {
if (actionCase_ == 3) {
setBuilder_.mergeFrom(value);
} else {
setBuilder_.setMessage(value);
}
}
actionCase_ = 3;
return this;
}
/**
*
* Rewrite permissions for given subject (last set win in case of multiple set for one subject)
*
*
* .Ydb.Scheme.Permissions set = 3;
*/
public Builder clearSet() {
if (setBuilder_ == null) {
if (actionCase_ == 3) {
actionCase_ = 0;
action_ = null;
onChanged();
}
} else {
if (actionCase_ == 3) {
actionCase_ = 0;
action_ = null;
}
setBuilder_.clear();
}
return this;
}
/**
*
* Rewrite permissions for given subject (last set win in case of multiple set for one subject)
*
*
* .Ydb.Scheme.Permissions set = 3;
*/
public tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder getSetBuilder() {
return getSetFieldBuilder().getBuilder();
}
/**
*
* Rewrite permissions for given subject (last set win in case of multiple set for one subject)
*
*
* .Ydb.Scheme.Permissions set = 3;
*/
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder getSetOrBuilder() {
if ((actionCase_ == 3) && (setBuilder_ != null)) {
return setBuilder_.getMessageOrBuilder();
} else {
if (actionCase_ == 3) {
return (tech.ydb.proto.scheme.SchemeOperationProtos.Permissions) action_;
}
return tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.getDefaultInstance();
}
}
/**
*
* Rewrite permissions for given subject (last set win in case of multiple set for one subject)
*
*
* .Ydb.Scheme.Permissions set = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions, tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder, tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder>
getSetFieldBuilder() {
if (setBuilder_ == null) {
if (!(actionCase_ == 3)) {
action_ = tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.getDefaultInstance();
}
setBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.scheme.SchemeOperationProtos.Permissions, tech.ydb.proto.scheme.SchemeOperationProtos.Permissions.Builder, tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsOrBuilder>(
(tech.ydb.proto.scheme.SchemeOperationProtos.Permissions) action_,
getParentForChildren(),
isClean());
action_ = null;
}
actionCase_ = 3;
onChanged();
return setBuilder_;
}
/**
*
* New owner for object
*
*
* string change_owner = 4;
* @return Whether the changeOwner field is set.
*/
@java.lang.Override
public boolean hasChangeOwner() {
return actionCase_ == 4;
}
/**
*
* New owner for object
*
*
* string change_owner = 4;
* @return The changeOwner.
*/
@java.lang.Override
public java.lang.String getChangeOwner() {
java.lang.Object ref = "";
if (actionCase_ == 4) {
ref = action_;
}
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (actionCase_ == 4) {
action_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* New owner for object
*
*
* string change_owner = 4;
* @return The bytes for changeOwner.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getChangeOwnerBytes() {
java.lang.Object ref = "";
if (actionCase_ == 4) {
ref = action_;
}
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (actionCase_ == 4) {
action_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* New owner for object
*
*
* string change_owner = 4;
* @param value The changeOwner to set.
* @return This builder for chaining.
*/
public Builder setChangeOwner(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
actionCase_ = 4;
action_ = value;
onChanged();
return this;
}
/**
*
* New owner for object
*
*
* string change_owner = 4;
* @return This builder for chaining.
*/
public Builder clearChangeOwner() {
if (actionCase_ == 4) {
actionCase_ = 0;
action_ = null;
onChanged();
}
return this;
}
/**
*
* New owner for object
*
*
* string change_owner = 4;
* @param value The bytes for changeOwner to set.
* @return This builder for chaining.
*/
public Builder setChangeOwnerBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
actionCase_ = 4;
action_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Ydb.Scheme.PermissionsAction)
}
// @@protoc_insertion_point(class_scope:Ydb.Scheme.PermissionsAction)
private static final tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction();
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PermissionsAction parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ModifyPermissionsRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:Ydb.Scheme.ModifyPermissionsRequest)
com.google.protobuf.MessageOrBuilder {
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return Whether the operationParams field is set.
*/
boolean hasOperationParams();
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return The operationParams.
*/
tech.ydb.proto.OperationProtos.OperationParams getOperationParams();
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder();
/**
* string path = 2;
* @return The path.
*/
java.lang.String getPath();
/**
* string path = 2;
* @return The bytes for path.
*/
com.google.protobuf.ByteString
getPathBytes();
/**
* repeated .Ydb.Scheme.PermissionsAction actions = 3;
*/
java.util.List
getActionsList();
/**
* repeated .Ydb.Scheme.PermissionsAction actions = 3;
*/
tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction getActions(int index);
/**
* repeated .Ydb.Scheme.PermissionsAction actions = 3;
*/
int getActionsCount();
/**
* repeated .Ydb.Scheme.PermissionsAction actions = 3;
*/
java.util.List extends tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsActionOrBuilder>
getActionsOrBuilderList();
/**
* repeated .Ydb.Scheme.PermissionsAction actions = 3;
*/
tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsActionOrBuilder getActionsOrBuilder(
int index);
/**
*
* Clear all permissions on the object for all subjects
*
*
* bool clear_permissions = 4;
* @return The clearPermissions.
*/
boolean getClearPermissions();
/**
* bool interrupt_inheritance = 5;
* @return Whether the interruptInheritance field is set.
*/
boolean hasInterruptInheritance();
/**
* bool interrupt_inheritance = 5;
* @return The interruptInheritance.
*/
boolean getInterruptInheritance();
tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest.InheritanceCase getInheritanceCase();
}
/**
*
* Modify permissions of given object
*
*
* Protobuf type {@code Ydb.Scheme.ModifyPermissionsRequest}
*/
public static final class ModifyPermissionsRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Ydb.Scheme.ModifyPermissionsRequest)
ModifyPermissionsRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ModifyPermissionsRequest.newBuilder() to construct.
private ModifyPermissionsRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ModifyPermissionsRequest() {
path_ = "";
actions_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ModifyPermissionsRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_ModifyPermissionsRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_ModifyPermissionsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest.class, tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest.Builder.class);
}
private int bitField0_;
private int inheritanceCase_ = 0;
@SuppressWarnings("serial")
private java.lang.Object inheritance_;
public enum InheritanceCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
INTERRUPT_INHERITANCE(5),
INHERITANCE_NOT_SET(0);
private final int value;
private InheritanceCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static InheritanceCase valueOf(int value) {
return forNumber(value);
}
public static InheritanceCase forNumber(int value) {
switch (value) {
case 5: return INTERRUPT_INHERITANCE;
case 0: return INHERITANCE_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public InheritanceCase
getInheritanceCase() {
return InheritanceCase.forNumber(
inheritanceCase_);
}
public static final int OPERATION_PARAMS_FIELD_NUMBER = 1;
private tech.ydb.proto.OperationProtos.OperationParams operationParams_;
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return Whether the operationParams field is set.
*/
@java.lang.Override
public boolean hasOperationParams() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return The operationParams.
*/
@java.lang.Override
public tech.ydb.proto.OperationProtos.OperationParams getOperationParams() {
return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
@java.lang.Override
public tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() {
return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_;
}
public static final int PATH_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object path_ = "";
/**
* string path = 2;
* @return The path.
*/
@java.lang.Override
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
path_ = s;
return s;
}
}
/**
* string path = 2;
* @return The bytes for path.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ACTIONS_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private java.util.List actions_;
/**
* repeated .Ydb.Scheme.PermissionsAction actions = 3;
*/
@java.lang.Override
public java.util.List getActionsList() {
return actions_;
}
/**
* repeated .Ydb.Scheme.PermissionsAction actions = 3;
*/
@java.lang.Override
public java.util.List extends tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsActionOrBuilder>
getActionsOrBuilderList() {
return actions_;
}
/**
* repeated .Ydb.Scheme.PermissionsAction actions = 3;
*/
@java.lang.Override
public int getActionsCount() {
return actions_.size();
}
/**
* repeated .Ydb.Scheme.PermissionsAction actions = 3;
*/
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction getActions(int index) {
return actions_.get(index);
}
/**
* repeated .Ydb.Scheme.PermissionsAction actions = 3;
*/
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsActionOrBuilder getActionsOrBuilder(
int index) {
return actions_.get(index);
}
public static final int CLEAR_PERMISSIONS_FIELD_NUMBER = 4;
private boolean clearPermissions_ = false;
/**
*
* Clear all permissions on the object for all subjects
*
*
* bool clear_permissions = 4;
* @return The clearPermissions.
*/
@java.lang.Override
public boolean getClearPermissions() {
return clearPermissions_;
}
public static final int INTERRUPT_INHERITANCE_FIELD_NUMBER = 5;
/**
* bool interrupt_inheritance = 5;
* @return Whether the interruptInheritance field is set.
*/
@java.lang.Override
public boolean hasInterruptInheritance() {
return inheritanceCase_ == 5;
}
/**
* bool interrupt_inheritance = 5;
* @return The interruptInheritance.
*/
@java.lang.Override
public boolean getInterruptInheritance() {
if (inheritanceCase_ == 5) {
return (java.lang.Boolean) inheritance_;
}
return false;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getOperationParams());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_);
}
for (int i = 0; i < actions_.size(); i++) {
output.writeMessage(3, actions_.get(i));
}
if (clearPermissions_ != false) {
output.writeBool(4, clearPermissions_);
}
if (inheritanceCase_ == 5) {
output.writeBool(
5, (boolean)((java.lang.Boolean) inheritance_));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getOperationParams());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_);
}
for (int i = 0; i < actions_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, actions_.get(i));
}
if (clearPermissions_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(4, clearPermissions_);
}
if (inheritanceCase_ == 5) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(
5, (boolean)((java.lang.Boolean) inheritance_));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest)) {
return super.equals(obj);
}
tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest other = (tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest) obj;
if (hasOperationParams() != other.hasOperationParams()) return false;
if (hasOperationParams()) {
if (!getOperationParams()
.equals(other.getOperationParams())) return false;
}
if (!getPath()
.equals(other.getPath())) return false;
if (!getActionsList()
.equals(other.getActionsList())) return false;
if (getClearPermissions()
!= other.getClearPermissions()) return false;
if (!getInheritanceCase().equals(other.getInheritanceCase())) return false;
switch (inheritanceCase_) {
case 5:
if (getInterruptInheritance()
!= other.getInterruptInheritance()) return false;
break;
case 0:
default:
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasOperationParams()) {
hash = (37 * hash) + OPERATION_PARAMS_FIELD_NUMBER;
hash = (53 * hash) + getOperationParams().hashCode();
}
hash = (37 * hash) + PATH_FIELD_NUMBER;
hash = (53 * hash) + getPath().hashCode();
if (getActionsCount() > 0) {
hash = (37 * hash) + ACTIONS_FIELD_NUMBER;
hash = (53 * hash) + getActionsList().hashCode();
}
hash = (37 * hash) + CLEAR_PERMISSIONS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getClearPermissions());
switch (inheritanceCase_) {
case 5:
hash = (37 * hash) + INTERRUPT_INHERITANCE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getInterruptInheritance());
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Modify permissions of given object
*
*
* Protobuf type {@code Ydb.Scheme.ModifyPermissionsRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Ydb.Scheme.ModifyPermissionsRequest)
tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_ModifyPermissionsRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_ModifyPermissionsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest.class, tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest.Builder.class);
}
// Construct using tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getOperationParamsFieldBuilder();
getActionsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
operationParams_ = null;
if (operationParamsBuilder_ != null) {
operationParamsBuilder_.dispose();
operationParamsBuilder_ = null;
}
path_ = "";
if (actionsBuilder_ == null) {
actions_ = java.util.Collections.emptyList();
} else {
actions_ = null;
actionsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
clearPermissions_ = false;
inheritanceCase_ = 0;
inheritance_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_ModifyPermissionsRequest_descriptor;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest getDefaultInstanceForType() {
return tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest.getDefaultInstance();
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest build() {
tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest buildPartial() {
tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest result = new tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
buildPartialOneofs(result);
onBuilt();
return result;
}
private void buildPartialRepeatedFields(tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest result) {
if (actionsBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
actions_ = java.util.Collections.unmodifiableList(actions_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.actions_ = actions_;
} else {
result.actions_ = actionsBuilder_.build();
}
}
private void buildPartial0(tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.operationParams_ = operationParamsBuilder_ == null
? operationParams_
: operationParamsBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.path_ = path_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.clearPermissions_ = clearPermissions_;
}
result.bitField0_ |= to_bitField0_;
}
private void buildPartialOneofs(tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest result) {
result.inheritanceCase_ = inheritanceCase_;
result.inheritance_ = this.inheritance_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest) {
return mergeFrom((tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest other) {
if (other == tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest.getDefaultInstance()) return this;
if (other.hasOperationParams()) {
mergeOperationParams(other.getOperationParams());
}
if (!other.getPath().isEmpty()) {
path_ = other.path_;
bitField0_ |= 0x00000002;
onChanged();
}
if (actionsBuilder_ == null) {
if (!other.actions_.isEmpty()) {
if (actions_.isEmpty()) {
actions_ = other.actions_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureActionsIsMutable();
actions_.addAll(other.actions_);
}
onChanged();
}
} else {
if (!other.actions_.isEmpty()) {
if (actionsBuilder_.isEmpty()) {
actionsBuilder_.dispose();
actionsBuilder_ = null;
actions_ = other.actions_;
bitField0_ = (bitField0_ & ~0x00000004);
actionsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getActionsFieldBuilder() : null;
} else {
actionsBuilder_.addAllMessages(other.actions_);
}
}
}
if (other.getClearPermissions() != false) {
setClearPermissions(other.getClearPermissions());
}
switch (other.getInheritanceCase()) {
case INTERRUPT_INHERITANCE: {
setInterruptInheritance(other.getInterruptInheritance());
break;
}
case INHERITANCE_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getOperationParamsFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
path_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction m =
input.readMessage(
tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction.parser(),
extensionRegistry);
if (actionsBuilder_ == null) {
ensureActionsIsMutable();
actions_.add(m);
} else {
actionsBuilder_.addMessage(m);
}
break;
} // case 26
case 32: {
clearPermissions_ = input.readBool();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
inheritance_ = input.readBool();
inheritanceCase_ = 5;
break;
} // case 40
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int inheritanceCase_ = 0;
private java.lang.Object inheritance_;
public InheritanceCase
getInheritanceCase() {
return InheritanceCase.forNumber(
inheritanceCase_);
}
public Builder clearInheritance() {
inheritanceCase_ = 0;
inheritance_ = null;
onChanged();
return this;
}
private int bitField0_;
private tech.ydb.proto.OperationProtos.OperationParams operationParams_;
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.OperationProtos.OperationParams, tech.ydb.proto.OperationProtos.OperationParams.Builder, tech.ydb.proto.OperationProtos.OperationParamsOrBuilder> operationParamsBuilder_;
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return Whether the operationParams field is set.
*/
public boolean hasOperationParams() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return The operationParams.
*/
public tech.ydb.proto.OperationProtos.OperationParams getOperationParams() {
if (operationParamsBuilder_ == null) {
return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_;
} else {
return operationParamsBuilder_.getMessage();
}
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public Builder setOperationParams(tech.ydb.proto.OperationProtos.OperationParams value) {
if (operationParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
operationParams_ = value;
} else {
operationParamsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public Builder setOperationParams(
tech.ydb.proto.OperationProtos.OperationParams.Builder builderForValue) {
if (operationParamsBuilder_ == null) {
operationParams_ = builderForValue.build();
} else {
operationParamsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public Builder mergeOperationParams(tech.ydb.proto.OperationProtos.OperationParams value) {
if (operationParamsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
operationParams_ != null &&
operationParams_ != tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance()) {
getOperationParamsBuilder().mergeFrom(value);
} else {
operationParams_ = value;
}
} else {
operationParamsBuilder_.mergeFrom(value);
}
if (operationParams_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public Builder clearOperationParams() {
bitField0_ = (bitField0_ & ~0x00000001);
operationParams_ = null;
if (operationParamsBuilder_ != null) {
operationParamsBuilder_.dispose();
operationParamsBuilder_ = null;
}
onChanged();
return this;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public tech.ydb.proto.OperationProtos.OperationParams.Builder getOperationParamsBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getOperationParamsFieldBuilder().getBuilder();
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() {
if (operationParamsBuilder_ != null) {
return operationParamsBuilder_.getMessageOrBuilder();
} else {
return operationParams_ == null ?
tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_;
}
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.OperationProtos.OperationParams, tech.ydb.proto.OperationProtos.OperationParams.Builder, tech.ydb.proto.OperationProtos.OperationParamsOrBuilder>
getOperationParamsFieldBuilder() {
if (operationParamsBuilder_ == null) {
operationParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.OperationProtos.OperationParams, tech.ydb.proto.OperationProtos.OperationParams.Builder, tech.ydb.proto.OperationProtos.OperationParamsOrBuilder>(
getOperationParams(),
getParentForChildren(),
isClean());
operationParams_ = null;
}
return operationParamsBuilder_;
}
private java.lang.Object path_ = "";
/**
* string path = 2;
* @return The path.
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
path_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string path = 2;
* @return The bytes for path.
*/
public com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string path = 2;
* @param value The path to set.
* @return This builder for chaining.
*/
public Builder setPath(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
path_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* string path = 2;
* @return This builder for chaining.
*/
public Builder clearPath() {
path_ = getDefaultInstance().getPath();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* string path = 2;
* @param value The bytes for path to set.
* @return This builder for chaining.
*/
public Builder setPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
path_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.util.List actions_ =
java.util.Collections.emptyList();
private void ensureActionsIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
actions_ = new java.util.ArrayList(actions_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction, tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction.Builder, tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsActionOrBuilder> actionsBuilder_;
/**
* repeated .Ydb.Scheme.PermissionsAction actions = 3;
*/
public java.util.List getActionsList() {
if (actionsBuilder_ == null) {
return java.util.Collections.unmodifiableList(actions_);
} else {
return actionsBuilder_.getMessageList();
}
}
/**
* repeated .Ydb.Scheme.PermissionsAction actions = 3;
*/
public int getActionsCount() {
if (actionsBuilder_ == null) {
return actions_.size();
} else {
return actionsBuilder_.getCount();
}
}
/**
* repeated .Ydb.Scheme.PermissionsAction actions = 3;
*/
public tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction getActions(int index) {
if (actionsBuilder_ == null) {
return actions_.get(index);
} else {
return actionsBuilder_.getMessage(index);
}
}
/**
* repeated .Ydb.Scheme.PermissionsAction actions = 3;
*/
public Builder setActions(
int index, tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction value) {
if (actionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureActionsIsMutable();
actions_.set(index, value);
onChanged();
} else {
actionsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .Ydb.Scheme.PermissionsAction actions = 3;
*/
public Builder setActions(
int index, tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction.Builder builderForValue) {
if (actionsBuilder_ == null) {
ensureActionsIsMutable();
actions_.set(index, builderForValue.build());
onChanged();
} else {
actionsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Ydb.Scheme.PermissionsAction actions = 3;
*/
public Builder addActions(tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction value) {
if (actionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureActionsIsMutable();
actions_.add(value);
onChanged();
} else {
actionsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .Ydb.Scheme.PermissionsAction actions = 3;
*/
public Builder addActions(
int index, tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction value) {
if (actionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureActionsIsMutable();
actions_.add(index, value);
onChanged();
} else {
actionsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .Ydb.Scheme.PermissionsAction actions = 3;
*/
public Builder addActions(
tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction.Builder builderForValue) {
if (actionsBuilder_ == null) {
ensureActionsIsMutable();
actions_.add(builderForValue.build());
onChanged();
} else {
actionsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .Ydb.Scheme.PermissionsAction actions = 3;
*/
public Builder addActions(
int index, tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction.Builder builderForValue) {
if (actionsBuilder_ == null) {
ensureActionsIsMutable();
actions_.add(index, builderForValue.build());
onChanged();
} else {
actionsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Ydb.Scheme.PermissionsAction actions = 3;
*/
public Builder addAllActions(
java.lang.Iterable extends tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction> values) {
if (actionsBuilder_ == null) {
ensureActionsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, actions_);
onChanged();
} else {
actionsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .Ydb.Scheme.PermissionsAction actions = 3;
*/
public Builder clearActions() {
if (actionsBuilder_ == null) {
actions_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
actionsBuilder_.clear();
}
return this;
}
/**
* repeated .Ydb.Scheme.PermissionsAction actions = 3;
*/
public Builder removeActions(int index) {
if (actionsBuilder_ == null) {
ensureActionsIsMutable();
actions_.remove(index);
onChanged();
} else {
actionsBuilder_.remove(index);
}
return this;
}
/**
* repeated .Ydb.Scheme.PermissionsAction actions = 3;
*/
public tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction.Builder getActionsBuilder(
int index) {
return getActionsFieldBuilder().getBuilder(index);
}
/**
* repeated .Ydb.Scheme.PermissionsAction actions = 3;
*/
public tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsActionOrBuilder getActionsOrBuilder(
int index) {
if (actionsBuilder_ == null) {
return actions_.get(index); } else {
return actionsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .Ydb.Scheme.PermissionsAction actions = 3;
*/
public java.util.List extends tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsActionOrBuilder>
getActionsOrBuilderList() {
if (actionsBuilder_ != null) {
return actionsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(actions_);
}
}
/**
* repeated .Ydb.Scheme.PermissionsAction actions = 3;
*/
public tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction.Builder addActionsBuilder() {
return getActionsFieldBuilder().addBuilder(
tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction.getDefaultInstance());
}
/**
* repeated .Ydb.Scheme.PermissionsAction actions = 3;
*/
public tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction.Builder addActionsBuilder(
int index) {
return getActionsFieldBuilder().addBuilder(
index, tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction.getDefaultInstance());
}
/**
* repeated .Ydb.Scheme.PermissionsAction actions = 3;
*/
public java.util.List
getActionsBuilderList() {
return getActionsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction, tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction.Builder, tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsActionOrBuilder>
getActionsFieldBuilder() {
if (actionsBuilder_ == null) {
actionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction, tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsAction.Builder, tech.ydb.proto.scheme.SchemeOperationProtos.PermissionsActionOrBuilder>(
actions_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
actions_ = null;
}
return actionsBuilder_;
}
private boolean clearPermissions_ ;
/**
*
* Clear all permissions on the object for all subjects
*
*
* bool clear_permissions = 4;
* @return The clearPermissions.
*/
@java.lang.Override
public boolean getClearPermissions() {
return clearPermissions_;
}
/**
*
* Clear all permissions on the object for all subjects
*
*
* bool clear_permissions = 4;
* @param value The clearPermissions to set.
* @return This builder for chaining.
*/
public Builder setClearPermissions(boolean value) {
clearPermissions_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
*
* Clear all permissions on the object for all subjects
*
*
* bool clear_permissions = 4;
* @return This builder for chaining.
*/
public Builder clearClearPermissions() {
bitField0_ = (bitField0_ & ~0x00000008);
clearPermissions_ = false;
onChanged();
return this;
}
/**
* bool interrupt_inheritance = 5;
* @return Whether the interruptInheritance field is set.
*/
public boolean hasInterruptInheritance() {
return inheritanceCase_ == 5;
}
/**
* bool interrupt_inheritance = 5;
* @return The interruptInheritance.
*/
public boolean getInterruptInheritance() {
if (inheritanceCase_ == 5) {
return (java.lang.Boolean) inheritance_;
}
return false;
}
/**
* bool interrupt_inheritance = 5;
* @param value The interruptInheritance to set.
* @return This builder for chaining.
*/
public Builder setInterruptInheritance(boolean value) {
inheritanceCase_ = 5;
inheritance_ = value;
onChanged();
return this;
}
/**
* bool interrupt_inheritance = 5;
* @return This builder for chaining.
*/
public Builder clearInterruptInheritance() {
if (inheritanceCase_ == 5) {
inheritanceCase_ = 0;
inheritance_ = null;
onChanged();
}
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Ydb.Scheme.ModifyPermissionsRequest)
}
// @@protoc_insertion_point(class_scope:Ydb.Scheme.ModifyPermissionsRequest)
private static final tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest();
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ModifyPermissionsRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ModifyPermissionsResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:Ydb.Scheme.ModifyPermissionsResponse)
com.google.protobuf.MessageOrBuilder {
/**
* .Ydb.Operations.Operation operation = 1;
* @return Whether the operation field is set.
*/
boolean hasOperation();
/**
* .Ydb.Operations.Operation operation = 1;
* @return The operation.
*/
tech.ydb.proto.OperationProtos.Operation getOperation();
/**
* .Ydb.Operations.Operation operation = 1;
*/
tech.ydb.proto.OperationProtos.OperationOrBuilder getOperationOrBuilder();
}
/**
* Protobuf type {@code Ydb.Scheme.ModifyPermissionsResponse}
*/
public static final class ModifyPermissionsResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Ydb.Scheme.ModifyPermissionsResponse)
ModifyPermissionsResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ModifyPermissionsResponse.newBuilder() to construct.
private ModifyPermissionsResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ModifyPermissionsResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ModifyPermissionsResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_ModifyPermissionsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_ModifyPermissionsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse.class, tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse.Builder.class);
}
private int bitField0_;
public static final int OPERATION_FIELD_NUMBER = 1;
private tech.ydb.proto.OperationProtos.Operation operation_;
/**
* .Ydb.Operations.Operation operation = 1;
* @return Whether the operation field is set.
*/
@java.lang.Override
public boolean hasOperation() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .Ydb.Operations.Operation operation = 1;
* @return The operation.
*/
@java.lang.Override
public tech.ydb.proto.OperationProtos.Operation getOperation() {
return operation_ == null ? tech.ydb.proto.OperationProtos.Operation.getDefaultInstance() : operation_;
}
/**
* .Ydb.Operations.Operation operation = 1;
*/
@java.lang.Override
public tech.ydb.proto.OperationProtos.OperationOrBuilder getOperationOrBuilder() {
return operation_ == null ? tech.ydb.proto.OperationProtos.Operation.getDefaultInstance() : operation_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getOperation());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getOperation());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse)) {
return super.equals(obj);
}
tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse other = (tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse) obj;
if (hasOperation() != other.hasOperation()) return false;
if (hasOperation()) {
if (!getOperation()
.equals(other.getOperation())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasOperation()) {
hash = (37 * hash) + OPERATION_FIELD_NUMBER;
hash = (53 * hash) + getOperation().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code Ydb.Scheme.ModifyPermissionsResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Ydb.Scheme.ModifyPermissionsResponse)
tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_ModifyPermissionsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_ModifyPermissionsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse.class, tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse.Builder.class);
}
// Construct using tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getOperationFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
operation_ = null;
if (operationBuilder_ != null) {
operationBuilder_.dispose();
operationBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tech.ydb.proto.scheme.SchemeOperationProtos.internal_static_Ydb_Scheme_ModifyPermissionsResponse_descriptor;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse getDefaultInstanceForType() {
return tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse.getDefaultInstance();
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse build() {
tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse buildPartial() {
tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse result = new tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.operation_ = operationBuilder_ == null
? operation_
: operationBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse) {
return mergeFrom((tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse other) {
if (other == tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse.getDefaultInstance()) return this;
if (other.hasOperation()) {
mergeOperation(other.getOperation());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getOperationFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private tech.ydb.proto.OperationProtos.Operation operation_;
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.OperationProtos.Operation, tech.ydb.proto.OperationProtos.Operation.Builder, tech.ydb.proto.OperationProtos.OperationOrBuilder> operationBuilder_;
/**
* .Ydb.Operations.Operation operation = 1;
* @return Whether the operation field is set.
*/
public boolean hasOperation() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .Ydb.Operations.Operation operation = 1;
* @return The operation.
*/
public tech.ydb.proto.OperationProtos.Operation getOperation() {
if (operationBuilder_ == null) {
return operation_ == null ? tech.ydb.proto.OperationProtos.Operation.getDefaultInstance() : operation_;
} else {
return operationBuilder_.getMessage();
}
}
/**
* .Ydb.Operations.Operation operation = 1;
*/
public Builder setOperation(tech.ydb.proto.OperationProtos.Operation value) {
if (operationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
operation_ = value;
} else {
operationBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .Ydb.Operations.Operation operation = 1;
*/
public Builder setOperation(
tech.ydb.proto.OperationProtos.Operation.Builder builderForValue) {
if (operationBuilder_ == null) {
operation_ = builderForValue.build();
} else {
operationBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .Ydb.Operations.Operation operation = 1;
*/
public Builder mergeOperation(tech.ydb.proto.OperationProtos.Operation value) {
if (operationBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
operation_ != null &&
operation_ != tech.ydb.proto.OperationProtos.Operation.getDefaultInstance()) {
getOperationBuilder().mergeFrom(value);
} else {
operation_ = value;
}
} else {
operationBuilder_.mergeFrom(value);
}
if (operation_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* .Ydb.Operations.Operation operation = 1;
*/
public Builder clearOperation() {
bitField0_ = (bitField0_ & ~0x00000001);
operation_ = null;
if (operationBuilder_ != null) {
operationBuilder_.dispose();
operationBuilder_ = null;
}
onChanged();
return this;
}
/**
* .Ydb.Operations.Operation operation = 1;
*/
public tech.ydb.proto.OperationProtos.Operation.Builder getOperationBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getOperationFieldBuilder().getBuilder();
}
/**
* .Ydb.Operations.Operation operation = 1;
*/
public tech.ydb.proto.OperationProtos.OperationOrBuilder getOperationOrBuilder() {
if (operationBuilder_ != null) {
return operationBuilder_.getMessageOrBuilder();
} else {
return operation_ == null ?
tech.ydb.proto.OperationProtos.Operation.getDefaultInstance() : operation_;
}
}
/**
* .Ydb.Operations.Operation operation = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.OperationProtos.Operation, tech.ydb.proto.OperationProtos.Operation.Builder, tech.ydb.proto.OperationProtos.OperationOrBuilder>
getOperationFieldBuilder() {
if (operationBuilder_ == null) {
operationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.OperationProtos.Operation, tech.ydb.proto.OperationProtos.Operation.Builder, tech.ydb.proto.OperationProtos.OperationOrBuilder>(
getOperation(),
getParentForChildren(),
isClean());
operation_ = null;
}
return operationBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Ydb.Scheme.ModifyPermissionsResponse)
}
// @@protoc_insertion_point(class_scope:Ydb.Scheme.ModifyPermissionsResponse)
private static final tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse();
}
public static tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ModifyPermissionsResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tech.ydb.proto.scheme.SchemeOperationProtos.ModifyPermissionsResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Ydb_Scheme_MakeDirectoryRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Ydb_Scheme_MakeDirectoryRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Ydb_Scheme_MakeDirectoryResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Ydb_Scheme_MakeDirectoryResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Ydb_Scheme_RemoveDirectoryRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Ydb_Scheme_RemoveDirectoryRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Ydb_Scheme_RemoveDirectoryResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Ydb_Scheme_RemoveDirectoryResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Ydb_Scheme_ListDirectoryRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Ydb_Scheme_ListDirectoryRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Ydb_Scheme_ListDirectoryResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Ydb_Scheme_ListDirectoryResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Ydb_Scheme_Permissions_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Ydb_Scheme_Permissions_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Ydb_Scheme_Entry_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Ydb_Scheme_Entry_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Ydb_Scheme_ListDirectoryResult_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Ydb_Scheme_ListDirectoryResult_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Ydb_Scheme_DescribePathRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Ydb_Scheme_DescribePathRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Ydb_Scheme_DescribePathResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Ydb_Scheme_DescribePathResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Ydb_Scheme_DescribePathResult_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Ydb_Scheme_DescribePathResult_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Ydb_Scheme_PermissionsAction_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Ydb_Scheme_PermissionsAction_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Ydb_Scheme_ModifyPermissionsRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Ydb_Scheme_ModifyPermissionsRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Ydb_Scheme_ModifyPermissionsResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Ydb_Scheme_ModifyPermissionsResponse_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\027protos/ydb_scheme.proto\022\nYdb.Scheme\032\027p" +
"rotos/ydb_common.proto\032\032protos/ydb_opera" +
"tion.proto\"_\n\024MakeDirectoryRequest\0229\n\020op" +
"eration_params\030\001 \001(\0132\037.Ydb.Operations.Op" +
"erationParams\022\014\n\004path\030\002 \001(\t\"E\n\025MakeDirec" +
"toryResponse\022,\n\toperation\030\001 \001(\0132\031.Ydb.Op" +
"erations.Operation\"a\n\026RemoveDirectoryReq" +
"uest\0229\n\020operation_params\030\001 \001(\0132\037.Ydb.Ope" +
"rations.OperationParams\022\014\n\004path\030\002 \001(\t\"G\n" +
"\027RemoveDirectoryResponse\022,\n\toperation\030\001 " +
"\001(\0132\031.Ydb.Operations.Operation\"_\n\024ListDi" +
"rectoryRequest\0229\n\020operation_params\030\001 \001(\013" +
"2\037.Ydb.Operations.OperationParams\022\014\n\004pat" +
"h\030\002 \001(\t\"E\n\025ListDirectoryResponse\022,\n\toper" +
"ation\030\001 \001(\0132\031.Ydb.Operations.Operation\"8" +
"\n\013Permissions\022\017\n\007subject\030\001 \001(\t\022\030\n\020permis" +
"sion_names\030\002 \003(\t\"\332\003\n\005Entry\022\014\n\004name\030\001 \001(\t" +
"\022\r\n\005owner\030\002 \001(\t\022$\n\004type\030\005 \001(\0162\026.Ydb.Sche" +
"me.Entry.Type\0226\n\025effective_permissions\030\006" +
" \003(\0132\027.Ydb.Scheme.Permissions\022,\n\013permiss" +
"ions\030\007 \003(\0132\027.Ydb.Scheme.Permissions\022\022\n\ns" +
"ize_bytes\030\010 \001(\004\022)\n\ncreated_at\030\t \001(\0132\025.Yd" +
"b.VirtualTimestamp\"\350\001\n\004Type\022\024\n\020TYPE_UNSP" +
"ECIFIED\020\000\022\r\n\tDIRECTORY\020\001\022\t\n\005TABLE\020\002\022\024\n\020P" +
"ERS_QUEUE_GROUP\020\003\022\014\n\010DATABASE\020\004\022\017\n\013RTMR_" +
"VOLUME\020\005\022\026\n\022BLOCK_STORE_VOLUME\020\006\022\025\n\021COOR" +
"DINATION_NODE\020\007\022\020\n\014COLUMN_STORE\020\014\022\020\n\014COL" +
"UMN_TABLE\020\r\022\014\n\010SEQUENCE\020\017\022\017\n\013REPLICATION" +
"\020\020\022\t\n\005TOPIC\020\021\"[\n\023ListDirectoryResult\022\037\n\004" +
"self\030\001 \001(\0132\021.Ydb.Scheme.Entry\022#\n\010childre" +
"n\030\002 \003(\0132\021.Ydb.Scheme.Entry\"^\n\023DescribePa" +
"thRequest\0229\n\020operation_params\030\001 \001(\0132\037.Yd" +
"b.Operations.OperationParams\022\014\n\004path\030\002 \001" +
"(\t\"D\n\024DescribePathResponse\022,\n\toperation\030" +
"\001 \001(\0132\031.Ydb.Operations.Operation\"5\n\022Desc" +
"ribePathResult\022\037\n\004self\030\001 \001(\0132\021.Ydb.Schem" +
"e.Entry\"\262\001\n\021PermissionsAction\022(\n\005grant\030\001" +
" \001(\0132\027.Ydb.Scheme.PermissionsH\000\022)\n\006revok" +
"e\030\002 \001(\0132\027.Ydb.Scheme.PermissionsH\000\022&\n\003se" +
"t\030\003 \001(\0132\027.Ydb.Scheme.PermissionsH\000\022\026\n\014ch" +
"ange_owner\030\004 \001(\tH\000B\010\n\006action\"\336\001\n\030ModifyP" +
"ermissionsRequest\0229\n\020operation_params\030\001 " +
"\001(\0132\037.Ydb.Operations.OperationParams\022\014\n\004" +
"path\030\002 \001(\t\022.\n\007actions\030\003 \003(\0132\035.Ydb.Scheme" +
".PermissionsAction\022\031\n\021clear_permissions\030" +
"\004 \001(\010\022\037\n\025interrupt_inheritance\030\005 \001(\010H\000B\r" +
"\n\013inheritance\"I\n\031ModifyPermissionsRespon" +
"se\022,\n\toperation\030\001 \001(\0132\031.Ydb.Operations.O" +
"perationBl\n\025tech.ydb.proto.schemeB\025Schem" +
"eOperationProtosZ9github.com/ydb-platfor" +
"m/ydb-go-genproto/protos/Ydb_Scheme\370\001\001b\006" +
"proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
tech.ydb.proto.common.CommonProtos.getDescriptor(),
tech.ydb.proto.OperationProtos.getDescriptor(),
});
internal_static_Ydb_Scheme_MakeDirectoryRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_Ydb_Scheme_MakeDirectoryRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Ydb_Scheme_MakeDirectoryRequest_descriptor,
new java.lang.String[] { "OperationParams", "Path", });
internal_static_Ydb_Scheme_MakeDirectoryResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_Ydb_Scheme_MakeDirectoryResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Ydb_Scheme_MakeDirectoryResponse_descriptor,
new java.lang.String[] { "Operation", });
internal_static_Ydb_Scheme_RemoveDirectoryRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_Ydb_Scheme_RemoveDirectoryRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Ydb_Scheme_RemoveDirectoryRequest_descriptor,
new java.lang.String[] { "OperationParams", "Path", });
internal_static_Ydb_Scheme_RemoveDirectoryResponse_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_Ydb_Scheme_RemoveDirectoryResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Ydb_Scheme_RemoveDirectoryResponse_descriptor,
new java.lang.String[] { "Operation", });
internal_static_Ydb_Scheme_ListDirectoryRequest_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_Ydb_Scheme_ListDirectoryRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Ydb_Scheme_ListDirectoryRequest_descriptor,
new java.lang.String[] { "OperationParams", "Path", });
internal_static_Ydb_Scheme_ListDirectoryResponse_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_Ydb_Scheme_ListDirectoryResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Ydb_Scheme_ListDirectoryResponse_descriptor,
new java.lang.String[] { "Operation", });
internal_static_Ydb_Scheme_Permissions_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_Ydb_Scheme_Permissions_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Ydb_Scheme_Permissions_descriptor,
new java.lang.String[] { "Subject", "PermissionNames", });
internal_static_Ydb_Scheme_Entry_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_Ydb_Scheme_Entry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Ydb_Scheme_Entry_descriptor,
new java.lang.String[] { "Name", "Owner", "Type", "EffectivePermissions", "Permissions", "SizeBytes", "CreatedAt", });
internal_static_Ydb_Scheme_ListDirectoryResult_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_Ydb_Scheme_ListDirectoryResult_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Ydb_Scheme_ListDirectoryResult_descriptor,
new java.lang.String[] { "Self", "Children", });
internal_static_Ydb_Scheme_DescribePathRequest_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_Ydb_Scheme_DescribePathRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Ydb_Scheme_DescribePathRequest_descriptor,
new java.lang.String[] { "OperationParams", "Path", });
internal_static_Ydb_Scheme_DescribePathResponse_descriptor =
getDescriptor().getMessageTypes().get(10);
internal_static_Ydb_Scheme_DescribePathResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Ydb_Scheme_DescribePathResponse_descriptor,
new java.lang.String[] { "Operation", });
internal_static_Ydb_Scheme_DescribePathResult_descriptor =
getDescriptor().getMessageTypes().get(11);
internal_static_Ydb_Scheme_DescribePathResult_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Ydb_Scheme_DescribePathResult_descriptor,
new java.lang.String[] { "Self", });
internal_static_Ydb_Scheme_PermissionsAction_descriptor =
getDescriptor().getMessageTypes().get(12);
internal_static_Ydb_Scheme_PermissionsAction_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Ydb_Scheme_PermissionsAction_descriptor,
new java.lang.String[] { "Grant", "Revoke", "Set", "ChangeOwner", "Action", });
internal_static_Ydb_Scheme_ModifyPermissionsRequest_descriptor =
getDescriptor().getMessageTypes().get(13);
internal_static_Ydb_Scheme_ModifyPermissionsRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Ydb_Scheme_ModifyPermissionsRequest_descriptor,
new java.lang.String[] { "OperationParams", "Path", "Actions", "ClearPermissions", "InterruptInheritance", "Inheritance", });
internal_static_Ydb_Scheme_ModifyPermissionsResponse_descriptor =
getDescriptor().getMessageTypes().get(14);
internal_static_Ydb_Scheme_ModifyPermissionsResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Ydb_Scheme_ModifyPermissionsResponse_descriptor,
new java.lang.String[] { "Operation", });
tech.ydb.proto.common.CommonProtos.getDescriptor();
tech.ydb.proto.OperationProtos.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy