All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tech.ydb.proto.table.YdbTable Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: protos/ydb_table.proto

package tech.ydb.proto.table;

public final class YdbTable {
  private YdbTable() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * Protobuf enum {@code Ydb.Table.StoreType}
   */
  public enum StoreType
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * STORE_TYPE_UNSPECIFIED = 0;
     */
    STORE_TYPE_UNSPECIFIED(0),
    /**
     * STORE_TYPE_ROW = 1;
     */
    STORE_TYPE_ROW(1),
    /**
     * STORE_TYPE_COLUMN = 2;
     */
    STORE_TYPE_COLUMN(2),
    UNRECOGNIZED(-1),
    ;

    /**
     * STORE_TYPE_UNSPECIFIED = 0;
     */
    public static final int STORE_TYPE_UNSPECIFIED_VALUE = 0;
    /**
     * STORE_TYPE_ROW = 1;
     */
    public static final int STORE_TYPE_ROW_VALUE = 1;
    /**
     * STORE_TYPE_COLUMN = 2;
     */
    public static final int STORE_TYPE_COLUMN_VALUE = 2;


    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 StoreType 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 StoreType forNumber(int value) {
      switch (value) {
        case 0: return STORE_TYPE_UNSPECIFIED;
        case 1: return STORE_TYPE_ROW;
        case 2: return STORE_TYPE_COLUMN;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        StoreType> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap() {
            public StoreType findValueByNumber(int number) {
              return StoreType.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.table.YdbTable.getDescriptor().getEnumTypes().get(0);
    }

    private static final StoreType[] VALUES = values();

    public static StoreType 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 StoreType(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:Ydb.Table.StoreType)
  }

  public interface CreateSessionRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:Ydb.Table.CreateSessionRequest)
      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();
  }
  /**
   * 
   * Create new session
   * 
* * Protobuf type {@code Ydb.Table.CreateSessionRequest} */ public static final class CreateSessionRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.CreateSessionRequest) CreateSessionRequestOrBuilder { private static final long serialVersionUID = 0L; // Use CreateSessionRequest.newBuilder() to construct. private CreateSessionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CreateSessionRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CreateSessionRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CreateSessionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CreateSessionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CreateSessionRequest.class, tech.ydb.proto.table.YdbTable.CreateSessionRequest.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_; } 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()); } 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()); } 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.table.YdbTable.CreateSessionRequest)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.CreateSessionRequest other = (tech.ydb.proto.table.YdbTable.CreateSessionRequest) obj; if (hasOperationParams() != other.hasOperationParams()) return false; if (hasOperationParams()) { if (!getOperationParams() .equals(other.getOperationParams())) 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 = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.CreateSessionRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CreateSessionRequest 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.table.YdbTable.CreateSessionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CreateSessionRequest 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.table.YdbTable.CreateSessionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CreateSessionRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.CreateSessionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CreateSessionRequest 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.table.YdbTable.CreateSessionRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CreateSessionRequest 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.table.YdbTable.CreateSessionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CreateSessionRequest 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.table.YdbTable.CreateSessionRequest 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 new session
     * 
* * Protobuf type {@code Ydb.Table.CreateSessionRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.CreateSessionRequest) tech.ydb.proto.table.YdbTable.CreateSessionRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CreateSessionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CreateSessionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CreateSessionRequest.class, tech.ydb.proto.table.YdbTable.CreateSessionRequest.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.CreateSessionRequest.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; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CreateSessionRequest_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CreateSessionRequest getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.CreateSessionRequest.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.CreateSessionRequest build() { tech.ydb.proto.table.YdbTable.CreateSessionRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CreateSessionRequest buildPartial() { tech.ydb.proto.table.YdbTable.CreateSessionRequest result = new tech.ydb.proto.table.YdbTable.CreateSessionRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.CreateSessionRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.operationParams_ = operationParamsBuilder_ == null ? operationParams_ : operationParamsBuilder_.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.table.YdbTable.CreateSessionRequest) { return mergeFrom((tech.ydb.proto.table.YdbTable.CreateSessionRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.CreateSessionRequest other) { if (other == tech.ydb.proto.table.YdbTable.CreateSessionRequest.getDefaultInstance()) return this; if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } 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 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_; } @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.Table.CreateSessionRequest) } // @@protoc_insertion_point(class_scope:Ydb.Table.CreateSessionRequest) private static final tech.ydb.proto.table.YdbTable.CreateSessionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.CreateSessionRequest(); } public static tech.ydb.proto.table.YdbTable.CreateSessionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CreateSessionRequest 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.table.YdbTable.CreateSessionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CreateSessionResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.CreateSessionResponse) com.google.protobuf.MessageOrBuilder { /** *
     * Holds CreateSessionResult in case of CreateSessionResult
     * 
* * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ boolean hasOperation(); /** *
     * Holds CreateSessionResult in case of CreateSessionResult
     * 
* * .Ydb.Operations.Operation operation = 1; * @return The operation. */ tech.ydb.proto.OperationProtos.Operation getOperation(); /** *
     * Holds CreateSessionResult in case of CreateSessionResult
     * 
* * .Ydb.Operations.Operation operation = 1; */ tech.ydb.proto.OperationProtos.OperationOrBuilder getOperationOrBuilder(); } /** *
   * Create new session
   * 
* * Protobuf type {@code Ydb.Table.CreateSessionResponse} */ public static final class CreateSessionResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.CreateSessionResponse) CreateSessionResponseOrBuilder { private static final long serialVersionUID = 0L; // Use CreateSessionResponse.newBuilder() to construct. private CreateSessionResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CreateSessionResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CreateSessionResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CreateSessionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CreateSessionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CreateSessionResponse.class, tech.ydb.proto.table.YdbTable.CreateSessionResponse.Builder.class); } private int bitField0_; public static final int OPERATION_FIELD_NUMBER = 1; private tech.ydb.proto.OperationProtos.Operation operation_; /** *
     * Holds CreateSessionResult in case of CreateSessionResult
     * 
* * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ @java.lang.Override public boolean hasOperation() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Holds CreateSessionResult in case of CreateSessionResult
     * 
* * .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 CreateSessionResult in case of CreateSessionResult
     * 
* * .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.table.YdbTable.CreateSessionResponse)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.CreateSessionResponse other = (tech.ydb.proto.table.YdbTable.CreateSessionResponse) 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.table.YdbTable.CreateSessionResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CreateSessionResponse 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.table.YdbTable.CreateSessionResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CreateSessionResponse 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.table.YdbTable.CreateSessionResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CreateSessionResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.CreateSessionResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CreateSessionResponse 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.table.YdbTable.CreateSessionResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CreateSessionResponse 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.table.YdbTable.CreateSessionResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CreateSessionResponse 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.table.YdbTable.CreateSessionResponse 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 new session
     * 
* * Protobuf type {@code Ydb.Table.CreateSessionResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.CreateSessionResponse) tech.ydb.proto.table.YdbTable.CreateSessionResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CreateSessionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CreateSessionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CreateSessionResponse.class, tech.ydb.proto.table.YdbTable.CreateSessionResponse.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.CreateSessionResponse.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.table.YdbTable.internal_static_Ydb_Table_CreateSessionResponse_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CreateSessionResponse getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.CreateSessionResponse.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.CreateSessionResponse build() { tech.ydb.proto.table.YdbTable.CreateSessionResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CreateSessionResponse buildPartial() { tech.ydb.proto.table.YdbTable.CreateSessionResponse result = new tech.ydb.proto.table.YdbTable.CreateSessionResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.CreateSessionResponse 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.table.YdbTable.CreateSessionResponse) { return mergeFrom((tech.ydb.proto.table.YdbTable.CreateSessionResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.CreateSessionResponse other) { if (other == tech.ydb.proto.table.YdbTable.CreateSessionResponse.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 CreateSessionResult in case of CreateSessionResult
       * 
* * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ public boolean hasOperation() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Holds CreateSessionResult in case of CreateSessionResult
       * 
* * .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 CreateSessionResult in case of CreateSessionResult
       * 
* * .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 CreateSessionResult in case of CreateSessionResult
       * 
* * .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 CreateSessionResult in case of CreateSessionResult
       * 
* * .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 CreateSessionResult in case of CreateSessionResult
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder clearOperation() { bitField0_ = (bitField0_ & ~0x00000001); operation_ = null; if (operationBuilder_ != null) { operationBuilder_.dispose(); operationBuilder_ = null; } onChanged(); return this; } /** *
       * Holds CreateSessionResult in case of CreateSessionResult
       * 
* * .Ydb.Operations.Operation operation = 1; */ public tech.ydb.proto.OperationProtos.Operation.Builder getOperationBuilder() { bitField0_ |= 0x00000001; onChanged(); return getOperationFieldBuilder().getBuilder(); } /** *
       * Holds CreateSessionResult in case of CreateSessionResult
       * 
* * .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 CreateSessionResult in case of CreateSessionResult
       * 
* * .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.Table.CreateSessionResponse) } // @@protoc_insertion_point(class_scope:Ydb.Table.CreateSessionResponse) private static final tech.ydb.proto.table.YdbTable.CreateSessionResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.CreateSessionResponse(); } public static tech.ydb.proto.table.YdbTable.CreateSessionResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CreateSessionResponse 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.table.YdbTable.CreateSessionResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CreateSessionResultOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.CreateSessionResult) com.google.protobuf.MessageOrBuilder { /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ java.lang.String getSessionId(); /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ com.google.protobuf.ByteString getSessionIdBytes(); } /** * Protobuf type {@code Ydb.Table.CreateSessionResult} */ public static final class CreateSessionResult extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.CreateSessionResult) CreateSessionResultOrBuilder { private static final long serialVersionUID = 0L; // Use CreateSessionResult.newBuilder() to construct. private CreateSessionResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CreateSessionResult() { sessionId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CreateSessionResult(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CreateSessionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CreateSessionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CreateSessionResult.class, tech.ydb.proto.table.YdbTable.CreateSessionResult.Builder.class); } public static final int SESSION_ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object sessionId_ = ""; /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ @java.lang.Override public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; 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(); sessionId_ = s; return s; } } /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ @java.lang.Override public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sessionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_); } 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(sessionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_); } 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.table.YdbTable.CreateSessionResult)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.CreateSessionResult other = (tech.ydb.proto.table.YdbTable.CreateSessionResult) obj; if (!getSessionId() .equals(other.getSessionId())) 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) + SESSION_ID_FIELD_NUMBER; hash = (53 * hash) + getSessionId().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.CreateSessionResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CreateSessionResult 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.table.YdbTable.CreateSessionResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CreateSessionResult 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.table.YdbTable.CreateSessionResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CreateSessionResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.CreateSessionResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CreateSessionResult 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.table.YdbTable.CreateSessionResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CreateSessionResult 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.table.YdbTable.CreateSessionResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CreateSessionResult 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.table.YdbTable.CreateSessionResult 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.Table.CreateSessionResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.CreateSessionResult) tech.ydb.proto.table.YdbTable.CreateSessionResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CreateSessionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CreateSessionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CreateSessionResult.class, tech.ydb.proto.table.YdbTable.CreateSessionResult.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.CreateSessionResult.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; sessionId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CreateSessionResult_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CreateSessionResult getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.CreateSessionResult.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.CreateSessionResult build() { tech.ydb.proto.table.YdbTable.CreateSessionResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CreateSessionResult buildPartial() { tech.ydb.proto.table.YdbTable.CreateSessionResult result = new tech.ydb.proto.table.YdbTable.CreateSessionResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.CreateSessionResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.sessionId_ = sessionId_; } } @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.table.YdbTable.CreateSessionResult) { return mergeFrom((tech.ydb.proto.table.YdbTable.CreateSessionResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.CreateSessionResult other) { if (other == tech.ydb.proto.table.YdbTable.CreateSessionResult.getDefaultInstance()) return this; if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; bitField0_ |= 0x00000001; 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: { sessionId_ = input.readStringRequireUtf8(); 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 java.lang.Object sessionId_ = ""; /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The sessionId. */ public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The bytes for sessionId. */ public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The sessionId to set. * @return This builder for chaining. */ public Builder setSessionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sessionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The bytes for sessionId to set. * @return This builder for chaining. */ public Builder setSessionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sessionId_ = value; bitField0_ |= 0x00000001; 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.Table.CreateSessionResult) } // @@protoc_insertion_point(class_scope:Ydb.Table.CreateSessionResult) private static final tech.ydb.proto.table.YdbTable.CreateSessionResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.CreateSessionResult(); } public static tech.ydb.proto.table.YdbTable.CreateSessionResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CreateSessionResult 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.table.YdbTable.CreateSessionResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DeleteSessionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.DeleteSessionRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ java.lang.String getSessionId(); /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ com.google.protobuf.ByteString getSessionIdBytes(); /** * .Ydb.Operations.OperationParams operation_params = 2; * @return Whether the operationParams field is set. */ boolean hasOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 2; * @return The operationParams. */ tech.ydb.proto.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 2; */ tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder(); } /** *
   * Delete session with given id string
   * 
* * Protobuf type {@code Ydb.Table.DeleteSessionRequest} */ public static final class DeleteSessionRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.DeleteSessionRequest) DeleteSessionRequestOrBuilder { private static final long serialVersionUID = 0L; // Use DeleteSessionRequest.newBuilder() to construct. private DeleteSessionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DeleteSessionRequest() { sessionId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DeleteSessionRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DeleteSessionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DeleteSessionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.DeleteSessionRequest.class, tech.ydb.proto.table.YdbTable.DeleteSessionRequest.Builder.class); } private int bitField0_; public static final int SESSION_ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object sessionId_ = ""; /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ @java.lang.Override public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; 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(); sessionId_ = s; return s; } } /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ @java.lang.Override public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OPERATION_PARAMS_FIELD_NUMBER = 2; private tech.ydb.proto.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 2; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 2; * @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 = 2; */ @java.lang.Override public tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } 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(sessionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getOperationParams()); } 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(sessionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getOperationParams()); } 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.table.YdbTable.DeleteSessionRequest)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.DeleteSessionRequest other = (tech.ydb.proto.table.YdbTable.DeleteSessionRequest) obj; if (!getSessionId() .equals(other.getSessionId())) return false; if (hasOperationParams() != other.hasOperationParams()) return false; if (hasOperationParams()) { if (!getOperationParams() .equals(other.getOperationParams())) 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) + SESSION_ID_FIELD_NUMBER; hash = (53 * hash) + getSessionId().hashCode(); if (hasOperationParams()) { hash = (37 * hash) + OPERATION_PARAMS_FIELD_NUMBER; hash = (53 * hash) + getOperationParams().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.DeleteSessionRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.DeleteSessionRequest 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.table.YdbTable.DeleteSessionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.DeleteSessionRequest 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.table.YdbTable.DeleteSessionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.DeleteSessionRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.DeleteSessionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.DeleteSessionRequest 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.table.YdbTable.DeleteSessionRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.DeleteSessionRequest 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.table.YdbTable.DeleteSessionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.DeleteSessionRequest 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.table.YdbTable.DeleteSessionRequest 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; } /** *
     * Delete session with given id string
     * 
* * Protobuf type {@code Ydb.Table.DeleteSessionRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.DeleteSessionRequest) tech.ydb.proto.table.YdbTable.DeleteSessionRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DeleteSessionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DeleteSessionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.DeleteSessionRequest.class, tech.ydb.proto.table.YdbTable.DeleteSessionRequest.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.DeleteSessionRequest.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; sessionId_ = ""; operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DeleteSessionRequest_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.DeleteSessionRequest getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.DeleteSessionRequest.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.DeleteSessionRequest build() { tech.ydb.proto.table.YdbTable.DeleteSessionRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.DeleteSessionRequest buildPartial() { tech.ydb.proto.table.YdbTable.DeleteSessionRequest result = new tech.ydb.proto.table.YdbTable.DeleteSessionRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.DeleteSessionRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.sessionId_ = sessionId_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.operationParams_ = operationParamsBuilder_ == null ? operationParams_ : operationParamsBuilder_.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.table.YdbTable.DeleteSessionRequest) { return mergeFrom((tech.ydb.proto.table.YdbTable.DeleteSessionRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.DeleteSessionRequest other) { if (other == tech.ydb.proto.table.YdbTable.DeleteSessionRequest.getDefaultInstance()) return this; if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } 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: { sessionId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getOperationParamsFieldBuilder().getBuilder(), extensionRegistry); 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 java.lang.Object sessionId_ = ""; /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The sessionId. */ public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The bytes for sessionId. */ public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The sessionId to set. * @return This builder for chaining. */ public Builder setSessionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sessionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The bytes for sessionId to set. * @return This builder for chaining. */ public Builder setSessionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sessionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } 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 = 2; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return ((bitField0_ & 0x00000002) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 2; * @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 = 2; */ 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_ |= 0x00000002; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 2; */ public Builder setOperationParams( tech.ydb.proto.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 2; */ public Builder mergeOperationParams(tech.ydb.proto.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && operationParams_ != null && operationParams_ != tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance()) { getOperationParamsBuilder().mergeFrom(value); } else { operationParams_ = value; } } else { operationParamsBuilder_.mergeFrom(value); } if (operationParams_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 2; */ public Builder clearOperationParams() { bitField0_ = (bitField0_ & ~0x00000002); operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 2; */ public tech.ydb.proto.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { bitField0_ |= 0x00000002; onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 2; */ 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 = 2; */ 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_; } @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.Table.DeleteSessionRequest) } // @@protoc_insertion_point(class_scope:Ydb.Table.DeleteSessionRequest) private static final tech.ydb.proto.table.YdbTable.DeleteSessionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.DeleteSessionRequest(); } public static tech.ydb.proto.table.YdbTable.DeleteSessionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DeleteSessionRequest 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.table.YdbTable.DeleteSessionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DeleteSessionResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.DeleteSessionResponse) 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.Table.DeleteSessionResponse} */ public static final class DeleteSessionResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.DeleteSessionResponse) DeleteSessionResponseOrBuilder { private static final long serialVersionUID = 0L; // Use DeleteSessionResponse.newBuilder() to construct. private DeleteSessionResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DeleteSessionResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DeleteSessionResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DeleteSessionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DeleteSessionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.DeleteSessionResponse.class, tech.ydb.proto.table.YdbTable.DeleteSessionResponse.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.table.YdbTable.DeleteSessionResponse)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.DeleteSessionResponse other = (tech.ydb.proto.table.YdbTable.DeleteSessionResponse) 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.table.YdbTable.DeleteSessionResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.DeleteSessionResponse 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.table.YdbTable.DeleteSessionResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.DeleteSessionResponse 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.table.YdbTable.DeleteSessionResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.DeleteSessionResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.DeleteSessionResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.DeleteSessionResponse 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.table.YdbTable.DeleteSessionResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.DeleteSessionResponse 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.table.YdbTable.DeleteSessionResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.DeleteSessionResponse 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.table.YdbTable.DeleteSessionResponse 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.Table.DeleteSessionResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.DeleteSessionResponse) tech.ydb.proto.table.YdbTable.DeleteSessionResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DeleteSessionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DeleteSessionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.DeleteSessionResponse.class, tech.ydb.proto.table.YdbTable.DeleteSessionResponse.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.DeleteSessionResponse.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.table.YdbTable.internal_static_Ydb_Table_DeleteSessionResponse_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.DeleteSessionResponse getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.DeleteSessionResponse.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.DeleteSessionResponse build() { tech.ydb.proto.table.YdbTable.DeleteSessionResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.DeleteSessionResponse buildPartial() { tech.ydb.proto.table.YdbTable.DeleteSessionResponse result = new tech.ydb.proto.table.YdbTable.DeleteSessionResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.DeleteSessionResponse 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.table.YdbTable.DeleteSessionResponse) { return mergeFrom((tech.ydb.proto.table.YdbTable.DeleteSessionResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.DeleteSessionResponse other) { if (other == tech.ydb.proto.table.YdbTable.DeleteSessionResponse.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.Table.DeleteSessionResponse) } // @@protoc_insertion_point(class_scope:Ydb.Table.DeleteSessionResponse) private static final tech.ydb.proto.table.YdbTable.DeleteSessionResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.DeleteSessionResponse(); } public static tech.ydb.proto.table.YdbTable.DeleteSessionResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DeleteSessionResponse 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.table.YdbTable.DeleteSessionResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GlobalIndexOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.GlobalIndex) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code Ydb.Table.GlobalIndex} */ public static final class GlobalIndex extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.GlobalIndex) GlobalIndexOrBuilder { private static final long serialVersionUID = 0L; // Use GlobalIndex.newBuilder() to construct. private GlobalIndex(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GlobalIndex() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GlobalIndex(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_GlobalIndex_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_GlobalIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.GlobalIndex.class, tech.ydb.proto.table.YdbTable.GlobalIndex.Builder.class); } 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 { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; 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.table.YdbTable.GlobalIndex)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.GlobalIndex other = (tech.ydb.proto.table.YdbTable.GlobalIndex) obj; 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 = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.GlobalIndex parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.GlobalIndex 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.table.YdbTable.GlobalIndex parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.GlobalIndex 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.table.YdbTable.GlobalIndex parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.GlobalIndex parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.GlobalIndex parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.GlobalIndex 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.table.YdbTable.GlobalIndex parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.GlobalIndex 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.table.YdbTable.GlobalIndex parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.GlobalIndex 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.table.YdbTable.GlobalIndex 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.Table.GlobalIndex} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.GlobalIndex) tech.ydb.proto.table.YdbTable.GlobalIndexOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_GlobalIndex_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_GlobalIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.GlobalIndex.class, tech.ydb.proto.table.YdbTable.GlobalIndex.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.GlobalIndex.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_GlobalIndex_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.GlobalIndex getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.GlobalIndex.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.GlobalIndex build() { tech.ydb.proto.table.YdbTable.GlobalIndex result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.GlobalIndex buildPartial() { tech.ydb.proto.table.YdbTable.GlobalIndex result = new tech.ydb.proto.table.YdbTable.GlobalIndex(this); onBuilt(); return result; } @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.table.YdbTable.GlobalIndex) { return mergeFrom((tech.ydb.proto.table.YdbTable.GlobalIndex)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.GlobalIndex other) { if (other == tech.ydb.proto.table.YdbTable.GlobalIndex.getDefaultInstance()) return this; 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; 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; } @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.Table.GlobalIndex) } // @@protoc_insertion_point(class_scope:Ydb.Table.GlobalIndex) private static final tech.ydb.proto.table.YdbTable.GlobalIndex DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.GlobalIndex(); } public static tech.ydb.proto.table.YdbTable.GlobalIndex getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GlobalIndex 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.table.YdbTable.GlobalIndex getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GlobalAsyncIndexOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.GlobalAsyncIndex) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code Ydb.Table.GlobalAsyncIndex} */ public static final class GlobalAsyncIndex extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.GlobalAsyncIndex) GlobalAsyncIndexOrBuilder { private static final long serialVersionUID = 0L; // Use GlobalAsyncIndex.newBuilder() to construct. private GlobalAsyncIndex(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GlobalAsyncIndex() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GlobalAsyncIndex(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_GlobalAsyncIndex_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_GlobalAsyncIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.GlobalAsyncIndex.class, tech.ydb.proto.table.YdbTable.GlobalAsyncIndex.Builder.class); } 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 { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; 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.table.YdbTable.GlobalAsyncIndex)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.GlobalAsyncIndex other = (tech.ydb.proto.table.YdbTable.GlobalAsyncIndex) obj; 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 = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.GlobalAsyncIndex parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.GlobalAsyncIndex 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.table.YdbTable.GlobalAsyncIndex parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.GlobalAsyncIndex 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.table.YdbTable.GlobalAsyncIndex parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.GlobalAsyncIndex parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.GlobalAsyncIndex parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.GlobalAsyncIndex 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.table.YdbTable.GlobalAsyncIndex parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.GlobalAsyncIndex 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.table.YdbTable.GlobalAsyncIndex parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.GlobalAsyncIndex 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.table.YdbTable.GlobalAsyncIndex 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.Table.GlobalAsyncIndex} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.GlobalAsyncIndex) tech.ydb.proto.table.YdbTable.GlobalAsyncIndexOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_GlobalAsyncIndex_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_GlobalAsyncIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.GlobalAsyncIndex.class, tech.ydb.proto.table.YdbTable.GlobalAsyncIndex.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.GlobalAsyncIndex.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_GlobalAsyncIndex_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.GlobalAsyncIndex getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.GlobalAsyncIndex.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.GlobalAsyncIndex build() { tech.ydb.proto.table.YdbTable.GlobalAsyncIndex result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.GlobalAsyncIndex buildPartial() { tech.ydb.proto.table.YdbTable.GlobalAsyncIndex result = new tech.ydb.proto.table.YdbTable.GlobalAsyncIndex(this); onBuilt(); return result; } @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.table.YdbTable.GlobalAsyncIndex) { return mergeFrom((tech.ydb.proto.table.YdbTable.GlobalAsyncIndex)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.GlobalAsyncIndex other) { if (other == tech.ydb.proto.table.YdbTable.GlobalAsyncIndex.getDefaultInstance()) return this; 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; 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; } @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.Table.GlobalAsyncIndex) } // @@protoc_insertion_point(class_scope:Ydb.Table.GlobalAsyncIndex) private static final tech.ydb.proto.table.YdbTable.GlobalAsyncIndex DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.GlobalAsyncIndex(); } public static tech.ydb.proto.table.YdbTable.GlobalAsyncIndex getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GlobalAsyncIndex 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.table.YdbTable.GlobalAsyncIndex getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GlobalUniqueIndexOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.GlobalUniqueIndex) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code Ydb.Table.GlobalUniqueIndex} */ public static final class GlobalUniqueIndex extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.GlobalUniqueIndex) GlobalUniqueIndexOrBuilder { private static final long serialVersionUID = 0L; // Use GlobalUniqueIndex.newBuilder() to construct. private GlobalUniqueIndex(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GlobalUniqueIndex() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GlobalUniqueIndex(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_GlobalUniqueIndex_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_GlobalUniqueIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.GlobalUniqueIndex.class, tech.ydb.proto.table.YdbTable.GlobalUniqueIndex.Builder.class); } 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 { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; 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.table.YdbTable.GlobalUniqueIndex)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.GlobalUniqueIndex other = (tech.ydb.proto.table.YdbTable.GlobalUniqueIndex) obj; 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 = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.GlobalUniqueIndex parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.GlobalUniqueIndex 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.table.YdbTable.GlobalUniqueIndex parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.GlobalUniqueIndex 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.table.YdbTable.GlobalUniqueIndex parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.GlobalUniqueIndex parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.GlobalUniqueIndex parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.GlobalUniqueIndex 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.table.YdbTable.GlobalUniqueIndex parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.GlobalUniqueIndex 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.table.YdbTable.GlobalUniqueIndex parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.GlobalUniqueIndex 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.table.YdbTable.GlobalUniqueIndex 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.Table.GlobalUniqueIndex} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.GlobalUniqueIndex) tech.ydb.proto.table.YdbTable.GlobalUniqueIndexOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_GlobalUniqueIndex_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_GlobalUniqueIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.GlobalUniqueIndex.class, tech.ydb.proto.table.YdbTable.GlobalUniqueIndex.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.GlobalUniqueIndex.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_GlobalUniqueIndex_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.GlobalUniqueIndex getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.GlobalUniqueIndex.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.GlobalUniqueIndex build() { tech.ydb.proto.table.YdbTable.GlobalUniqueIndex result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.GlobalUniqueIndex buildPartial() { tech.ydb.proto.table.YdbTable.GlobalUniqueIndex result = new tech.ydb.proto.table.YdbTable.GlobalUniqueIndex(this); onBuilt(); return result; } @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.table.YdbTable.GlobalUniqueIndex) { return mergeFrom((tech.ydb.proto.table.YdbTable.GlobalUniqueIndex)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.GlobalUniqueIndex other) { if (other == tech.ydb.proto.table.YdbTable.GlobalUniqueIndex.getDefaultInstance()) return this; 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; 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; } @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.Table.GlobalUniqueIndex) } // @@protoc_insertion_point(class_scope:Ydb.Table.GlobalUniqueIndex) private static final tech.ydb.proto.table.YdbTable.GlobalUniqueIndex DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.GlobalUniqueIndex(); } public static tech.ydb.proto.table.YdbTable.GlobalUniqueIndex getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GlobalUniqueIndex 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.table.YdbTable.GlobalUniqueIndex getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TableIndexOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.TableIndex) com.google.protobuf.MessageOrBuilder { /** *
     * Name of index
     * 
* * string name = 1; * @return The name. */ java.lang.String getName(); /** *
     * Name of index
     * 
* * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * list of columns
     * 
* * repeated string index_columns = 2; * @return A list containing the indexColumns. */ java.util.List getIndexColumnsList(); /** *
     * list of columns
     * 
* * repeated string index_columns = 2; * @return The count of indexColumns. */ int getIndexColumnsCount(); /** *
     * list of columns
     * 
* * repeated string index_columns = 2; * @param index The index of the element to return. * @return The indexColumns at the given index. */ java.lang.String getIndexColumns(int index); /** *
     * list of columns
     * 
* * repeated string index_columns = 2; * @param index The index of the value to return. * @return The bytes of the indexColumns at the given index. */ com.google.protobuf.ByteString getIndexColumnsBytes(int index); /** * .Ydb.Table.GlobalIndex global_index = 3; * @return Whether the globalIndex field is set. */ boolean hasGlobalIndex(); /** * .Ydb.Table.GlobalIndex global_index = 3; * @return The globalIndex. */ tech.ydb.proto.table.YdbTable.GlobalIndex getGlobalIndex(); /** * .Ydb.Table.GlobalIndex global_index = 3; */ tech.ydb.proto.table.YdbTable.GlobalIndexOrBuilder getGlobalIndexOrBuilder(); /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 4; * @return Whether the globalAsyncIndex field is set. */ boolean hasGlobalAsyncIndex(); /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 4; * @return The globalAsyncIndex. */ tech.ydb.proto.table.YdbTable.GlobalAsyncIndex getGlobalAsyncIndex(); /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 4; */ tech.ydb.proto.table.YdbTable.GlobalAsyncIndexOrBuilder getGlobalAsyncIndexOrBuilder(); /** * .Ydb.Table.GlobalUniqueIndex global_unique_index = 6; * @return Whether the globalUniqueIndex field is set. */ boolean hasGlobalUniqueIndex(); /** * .Ydb.Table.GlobalUniqueIndex global_unique_index = 6; * @return The globalUniqueIndex. */ tech.ydb.proto.table.YdbTable.GlobalUniqueIndex getGlobalUniqueIndex(); /** * .Ydb.Table.GlobalUniqueIndex global_unique_index = 6; */ tech.ydb.proto.table.YdbTable.GlobalUniqueIndexOrBuilder getGlobalUniqueIndexOrBuilder(); /** *
     * list of columns content to be copied in to index table
     * 
* * repeated string data_columns = 5; * @return A list containing the dataColumns. */ java.util.List getDataColumnsList(); /** *
     * list of columns content to be copied in to index table
     * 
* * repeated string data_columns = 5; * @return The count of dataColumns. */ int getDataColumnsCount(); /** *
     * list of columns content to be copied in to index table
     * 
* * repeated string data_columns = 5; * @param index The index of the element to return. * @return The dataColumns at the given index. */ java.lang.String getDataColumns(int index); /** *
     * list of columns content to be copied in to index table
     * 
* * repeated string data_columns = 5; * @param index The index of the value to return. * @return The bytes of the dataColumns at the given index. */ com.google.protobuf.ByteString getDataColumnsBytes(int index); tech.ydb.proto.table.YdbTable.TableIndex.TypeCase getTypeCase(); } /** *
   * Represent secondary index
   * 
* * Protobuf type {@code Ydb.Table.TableIndex} */ public static final class TableIndex extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.TableIndex) TableIndexOrBuilder { private static final long serialVersionUID = 0L; // Use TableIndex.newBuilder() to construct. private TableIndex(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TableIndex() { name_ = ""; indexColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); dataColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TableIndex(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TableIndex_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TableIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.TableIndex.class, tech.ydb.proto.table.YdbTable.TableIndex.Builder.class); } private int typeCase_ = 0; @SuppressWarnings("serial") private java.lang.Object type_; public enum TypeCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GLOBAL_INDEX(3), GLOBAL_ASYNC_INDEX(4), GLOBAL_UNIQUE_INDEX(6), TYPE_NOT_SET(0); private final int value; private TypeCase(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 TypeCase valueOf(int value) { return forNumber(value); } public static TypeCase forNumber(int value) { switch (value) { case 3: return GLOBAL_INDEX; case 4: return GLOBAL_ASYNC_INDEX; case 6: return GLOBAL_UNIQUE_INDEX; case 0: return TYPE_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public TypeCase getTypeCase() { return TypeCase.forNumber( typeCase_); } public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** *
     * Name of index
     * 
* * 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 index
     * 
* * 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 INDEX_COLUMNS_FIELD_NUMBER = 2; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList indexColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * list of columns
     * 
* * repeated string index_columns = 2; * @return A list containing the indexColumns. */ public com.google.protobuf.ProtocolStringList getIndexColumnsList() { return indexColumns_; } /** *
     * list of columns
     * 
* * repeated string index_columns = 2; * @return The count of indexColumns. */ public int getIndexColumnsCount() { return indexColumns_.size(); } /** *
     * list of columns
     * 
* * repeated string index_columns = 2; * @param index The index of the element to return. * @return The indexColumns at the given index. */ public java.lang.String getIndexColumns(int index) { return indexColumns_.get(index); } /** *
     * list of columns
     * 
* * repeated string index_columns = 2; * @param index The index of the value to return. * @return The bytes of the indexColumns at the given index. */ public com.google.protobuf.ByteString getIndexColumnsBytes(int index) { return indexColumns_.getByteString(index); } public static final int GLOBAL_INDEX_FIELD_NUMBER = 3; /** * .Ydb.Table.GlobalIndex global_index = 3; * @return Whether the globalIndex field is set. */ @java.lang.Override public boolean hasGlobalIndex() { return typeCase_ == 3; } /** * .Ydb.Table.GlobalIndex global_index = 3; * @return The globalIndex. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.GlobalIndex getGlobalIndex() { if (typeCase_ == 3) { return (tech.ydb.proto.table.YdbTable.GlobalIndex) type_; } return tech.ydb.proto.table.YdbTable.GlobalIndex.getDefaultInstance(); } /** * .Ydb.Table.GlobalIndex global_index = 3; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.GlobalIndexOrBuilder getGlobalIndexOrBuilder() { if (typeCase_ == 3) { return (tech.ydb.proto.table.YdbTable.GlobalIndex) type_; } return tech.ydb.proto.table.YdbTable.GlobalIndex.getDefaultInstance(); } public static final int GLOBAL_ASYNC_INDEX_FIELD_NUMBER = 4; /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 4; * @return Whether the globalAsyncIndex field is set. */ @java.lang.Override public boolean hasGlobalAsyncIndex() { return typeCase_ == 4; } /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 4; * @return The globalAsyncIndex. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.GlobalAsyncIndex getGlobalAsyncIndex() { if (typeCase_ == 4) { return (tech.ydb.proto.table.YdbTable.GlobalAsyncIndex) type_; } return tech.ydb.proto.table.YdbTable.GlobalAsyncIndex.getDefaultInstance(); } /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 4; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.GlobalAsyncIndexOrBuilder getGlobalAsyncIndexOrBuilder() { if (typeCase_ == 4) { return (tech.ydb.proto.table.YdbTable.GlobalAsyncIndex) type_; } return tech.ydb.proto.table.YdbTable.GlobalAsyncIndex.getDefaultInstance(); } public static final int GLOBAL_UNIQUE_INDEX_FIELD_NUMBER = 6; /** * .Ydb.Table.GlobalUniqueIndex global_unique_index = 6; * @return Whether the globalUniqueIndex field is set. */ @java.lang.Override public boolean hasGlobalUniqueIndex() { return typeCase_ == 6; } /** * .Ydb.Table.GlobalUniqueIndex global_unique_index = 6; * @return The globalUniqueIndex. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.GlobalUniqueIndex getGlobalUniqueIndex() { if (typeCase_ == 6) { return (tech.ydb.proto.table.YdbTable.GlobalUniqueIndex) type_; } return tech.ydb.proto.table.YdbTable.GlobalUniqueIndex.getDefaultInstance(); } /** * .Ydb.Table.GlobalUniqueIndex global_unique_index = 6; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.GlobalUniqueIndexOrBuilder getGlobalUniqueIndexOrBuilder() { if (typeCase_ == 6) { return (tech.ydb.proto.table.YdbTable.GlobalUniqueIndex) type_; } return tech.ydb.proto.table.YdbTable.GlobalUniqueIndex.getDefaultInstance(); } public static final int DATA_COLUMNS_FIELD_NUMBER = 5; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList dataColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * list of columns content to be copied in to index table
     * 
* * repeated string data_columns = 5; * @return A list containing the dataColumns. */ public com.google.protobuf.ProtocolStringList getDataColumnsList() { return dataColumns_; } /** *
     * list of columns content to be copied in to index table
     * 
* * repeated string data_columns = 5; * @return The count of dataColumns. */ public int getDataColumnsCount() { return dataColumns_.size(); } /** *
     * list of columns content to be copied in to index table
     * 
* * repeated string data_columns = 5; * @param index The index of the element to return. * @return The dataColumns at the given index. */ public java.lang.String getDataColumns(int index) { return dataColumns_.get(index); } /** *
     * list of columns content to be copied in to index table
     * 
* * repeated string data_columns = 5; * @param index The index of the value to return. * @return The bytes of the dataColumns at the given index. */ public com.google.protobuf.ByteString getDataColumnsBytes(int index) { return dataColumns_.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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } for (int i = 0; i < indexColumns_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, indexColumns_.getRaw(i)); } if (typeCase_ == 3) { output.writeMessage(3, (tech.ydb.proto.table.YdbTable.GlobalIndex) type_); } if (typeCase_ == 4) { output.writeMessage(4, (tech.ydb.proto.table.YdbTable.GlobalAsyncIndex) type_); } for (int i = 0; i < dataColumns_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, dataColumns_.getRaw(i)); } if (typeCase_ == 6) { output.writeMessage(6, (tech.ydb.proto.table.YdbTable.GlobalUniqueIndex) type_); } 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_); } { int dataSize = 0; for (int i = 0; i < indexColumns_.size(); i++) { dataSize += computeStringSizeNoTag(indexColumns_.getRaw(i)); } size += dataSize; size += 1 * getIndexColumnsList().size(); } if (typeCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (tech.ydb.proto.table.YdbTable.GlobalIndex) type_); } if (typeCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, (tech.ydb.proto.table.YdbTable.GlobalAsyncIndex) type_); } { int dataSize = 0; for (int i = 0; i < dataColumns_.size(); i++) { dataSize += computeStringSizeNoTag(dataColumns_.getRaw(i)); } size += dataSize; size += 1 * getDataColumnsList().size(); } if (typeCase_ == 6) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, (tech.ydb.proto.table.YdbTable.GlobalUniqueIndex) type_); } 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.table.YdbTable.TableIndex)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.TableIndex other = (tech.ydb.proto.table.YdbTable.TableIndex) obj; if (!getName() .equals(other.getName())) return false; if (!getIndexColumnsList() .equals(other.getIndexColumnsList())) return false; if (!getDataColumnsList() .equals(other.getDataColumnsList())) return false; if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 3: if (!getGlobalIndex() .equals(other.getGlobalIndex())) return false; break; case 4: if (!getGlobalAsyncIndex() .equals(other.getGlobalAsyncIndex())) return false; break; case 6: if (!getGlobalUniqueIndex() .equals(other.getGlobalUniqueIndex())) 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(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); if (getIndexColumnsCount() > 0) { hash = (37 * hash) + INDEX_COLUMNS_FIELD_NUMBER; hash = (53 * hash) + getIndexColumnsList().hashCode(); } if (getDataColumnsCount() > 0) { hash = (37 * hash) + DATA_COLUMNS_FIELD_NUMBER; hash = (53 * hash) + getDataColumnsList().hashCode(); } switch (typeCase_) { case 3: hash = (37 * hash) + GLOBAL_INDEX_FIELD_NUMBER; hash = (53 * hash) + getGlobalIndex().hashCode(); break; case 4: hash = (37 * hash) + GLOBAL_ASYNC_INDEX_FIELD_NUMBER; hash = (53 * hash) + getGlobalAsyncIndex().hashCode(); break; case 6: hash = (37 * hash) + GLOBAL_UNIQUE_INDEX_FIELD_NUMBER; hash = (53 * hash) + getGlobalUniqueIndex().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.TableIndex parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.TableIndex 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.table.YdbTable.TableIndex parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.TableIndex 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.table.YdbTable.TableIndex parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.TableIndex parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.TableIndex parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.TableIndex 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.table.YdbTable.TableIndex parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.TableIndex 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.table.YdbTable.TableIndex parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.TableIndex 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.table.YdbTable.TableIndex 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; } /** *
     * Represent secondary index
     * 
* * Protobuf type {@code Ydb.Table.TableIndex} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.TableIndex) tech.ydb.proto.table.YdbTable.TableIndexOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TableIndex_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TableIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.TableIndex.class, tech.ydb.proto.table.YdbTable.TableIndex.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.TableIndex.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; indexColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); if (globalIndexBuilder_ != null) { globalIndexBuilder_.clear(); } if (globalAsyncIndexBuilder_ != null) { globalAsyncIndexBuilder_.clear(); } if (globalUniqueIndexBuilder_ != null) { globalUniqueIndexBuilder_.clear(); } dataColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); typeCase_ = 0; type_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TableIndex_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.TableIndex getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.TableIndex.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.TableIndex build() { tech.ydb.proto.table.YdbTable.TableIndex result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.TableIndex buildPartial() { tech.ydb.proto.table.YdbTable.TableIndex result = new tech.ydb.proto.table.YdbTable.TableIndex(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.TableIndex result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { indexColumns_.makeImmutable(); result.indexColumns_ = indexColumns_; } if (((from_bitField0_ & 0x00000020) != 0)) { dataColumns_.makeImmutable(); result.dataColumns_ = dataColumns_; } } private void buildPartialOneofs(tech.ydb.proto.table.YdbTable.TableIndex result) { result.typeCase_ = typeCase_; result.type_ = this.type_; if (typeCase_ == 3 && globalIndexBuilder_ != null) { result.type_ = globalIndexBuilder_.build(); } if (typeCase_ == 4 && globalAsyncIndexBuilder_ != null) { result.type_ = globalAsyncIndexBuilder_.build(); } if (typeCase_ == 6 && globalUniqueIndexBuilder_ != null) { result.type_ = globalUniqueIndexBuilder_.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.table.YdbTable.TableIndex) { return mergeFrom((tech.ydb.proto.table.YdbTable.TableIndex)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.TableIndex other) { if (other == tech.ydb.proto.table.YdbTable.TableIndex.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; onChanged(); } if (!other.indexColumns_.isEmpty()) { if (indexColumns_.isEmpty()) { indexColumns_ = other.indexColumns_; bitField0_ |= 0x00000002; } else { ensureIndexColumnsIsMutable(); indexColumns_.addAll(other.indexColumns_); } onChanged(); } if (!other.dataColumns_.isEmpty()) { if (dataColumns_.isEmpty()) { dataColumns_ = other.dataColumns_; bitField0_ |= 0x00000020; } else { ensureDataColumnsIsMutable(); dataColumns_.addAll(other.dataColumns_); } onChanged(); } switch (other.getTypeCase()) { case GLOBAL_INDEX: { mergeGlobalIndex(other.getGlobalIndex()); break; } case GLOBAL_ASYNC_INDEX: { mergeGlobalAsyncIndex(other.getGlobalAsyncIndex()); break; } case GLOBAL_UNIQUE_INDEX: { mergeGlobalUniqueIndex(other.getGlobalUniqueIndex()); break; } case TYPE_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: { name_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { java.lang.String s = input.readStringRequireUtf8(); ensureIndexColumnsIsMutable(); indexColumns_.add(s); break; } // case 18 case 26: { input.readMessage( getGlobalIndexFieldBuilder().getBuilder(), extensionRegistry); typeCase_ = 3; break; } // case 26 case 34: { input.readMessage( getGlobalAsyncIndexFieldBuilder().getBuilder(), extensionRegistry); typeCase_ = 4; break; } // case 34 case 42: { java.lang.String s = input.readStringRequireUtf8(); ensureDataColumnsIsMutable(); dataColumns_.add(s); break; } // case 42 case 50: { input.readMessage( getGlobalUniqueIndexFieldBuilder().getBuilder(), extensionRegistry); typeCase_ = 6; break; } // case 50 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 typeCase_ = 0; private java.lang.Object type_; public TypeCase getTypeCase() { return TypeCase.forNumber( typeCase_); } public Builder clearType() { typeCase_ = 0; type_ = null; onChanged(); return this; } private int bitField0_; private java.lang.Object name_ = ""; /** *
       * Name of index
       * 
* * 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 index
       * 
* * 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 index
       * 
* * 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 index
       * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Name of index
       * 
* * 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 com.google.protobuf.LazyStringArrayList indexColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureIndexColumnsIsMutable() { if (!indexColumns_.isModifiable()) { indexColumns_ = new com.google.protobuf.LazyStringArrayList(indexColumns_); } bitField0_ |= 0x00000002; } /** *
       * list of columns
       * 
* * repeated string index_columns = 2; * @return A list containing the indexColumns. */ public com.google.protobuf.ProtocolStringList getIndexColumnsList() { indexColumns_.makeImmutable(); return indexColumns_; } /** *
       * list of columns
       * 
* * repeated string index_columns = 2; * @return The count of indexColumns. */ public int getIndexColumnsCount() { return indexColumns_.size(); } /** *
       * list of columns
       * 
* * repeated string index_columns = 2; * @param index The index of the element to return. * @return The indexColumns at the given index. */ public java.lang.String getIndexColumns(int index) { return indexColumns_.get(index); } /** *
       * list of columns
       * 
* * repeated string index_columns = 2; * @param index The index of the value to return. * @return The bytes of the indexColumns at the given index. */ public com.google.protobuf.ByteString getIndexColumnsBytes(int index) { return indexColumns_.getByteString(index); } /** *
       * list of columns
       * 
* * repeated string index_columns = 2; * @param index The index to set the value at. * @param value The indexColumns to set. * @return This builder for chaining. */ public Builder setIndexColumns( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureIndexColumnsIsMutable(); indexColumns_.set(index, value); bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * list of columns
       * 
* * repeated string index_columns = 2; * @param value The indexColumns to add. * @return This builder for chaining. */ public Builder addIndexColumns( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureIndexColumnsIsMutable(); indexColumns_.add(value); bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * list of columns
       * 
* * repeated string index_columns = 2; * @param values The indexColumns to add. * @return This builder for chaining. */ public Builder addAllIndexColumns( java.lang.Iterable values) { ensureIndexColumnsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, indexColumns_); bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * list of columns
       * 
* * repeated string index_columns = 2; * @return This builder for chaining. */ public Builder clearIndexColumns() { indexColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** *
       * list of columns
       * 
* * repeated string index_columns = 2; * @param value The bytes of the indexColumns to add. * @return This builder for chaining. */ public Builder addIndexColumnsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureIndexColumnsIsMutable(); indexColumns_.add(value); bitField0_ |= 0x00000002; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.GlobalIndex, tech.ydb.proto.table.YdbTable.GlobalIndex.Builder, tech.ydb.proto.table.YdbTable.GlobalIndexOrBuilder> globalIndexBuilder_; /** * .Ydb.Table.GlobalIndex global_index = 3; * @return Whether the globalIndex field is set. */ @java.lang.Override public boolean hasGlobalIndex() { return typeCase_ == 3; } /** * .Ydb.Table.GlobalIndex global_index = 3; * @return The globalIndex. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.GlobalIndex getGlobalIndex() { if (globalIndexBuilder_ == null) { if (typeCase_ == 3) { return (tech.ydb.proto.table.YdbTable.GlobalIndex) type_; } return tech.ydb.proto.table.YdbTable.GlobalIndex.getDefaultInstance(); } else { if (typeCase_ == 3) { return globalIndexBuilder_.getMessage(); } return tech.ydb.proto.table.YdbTable.GlobalIndex.getDefaultInstance(); } } /** * .Ydb.Table.GlobalIndex global_index = 3; */ public Builder setGlobalIndex(tech.ydb.proto.table.YdbTable.GlobalIndex value) { if (globalIndexBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { globalIndexBuilder_.setMessage(value); } typeCase_ = 3; return this; } /** * .Ydb.Table.GlobalIndex global_index = 3; */ public Builder setGlobalIndex( tech.ydb.proto.table.YdbTable.GlobalIndex.Builder builderForValue) { if (globalIndexBuilder_ == null) { type_ = builderForValue.build(); onChanged(); } else { globalIndexBuilder_.setMessage(builderForValue.build()); } typeCase_ = 3; return this; } /** * .Ydb.Table.GlobalIndex global_index = 3; */ public Builder mergeGlobalIndex(tech.ydb.proto.table.YdbTable.GlobalIndex value) { if (globalIndexBuilder_ == null) { if (typeCase_ == 3 && type_ != tech.ydb.proto.table.YdbTable.GlobalIndex.getDefaultInstance()) { type_ = tech.ydb.proto.table.YdbTable.GlobalIndex.newBuilder((tech.ydb.proto.table.YdbTable.GlobalIndex) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 3) { globalIndexBuilder_.mergeFrom(value); } else { globalIndexBuilder_.setMessage(value); } } typeCase_ = 3; return this; } /** * .Ydb.Table.GlobalIndex global_index = 3; */ public Builder clearGlobalIndex() { if (globalIndexBuilder_ == null) { if (typeCase_ == 3) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 3) { typeCase_ = 0; type_ = null; } globalIndexBuilder_.clear(); } return this; } /** * .Ydb.Table.GlobalIndex global_index = 3; */ public tech.ydb.proto.table.YdbTable.GlobalIndex.Builder getGlobalIndexBuilder() { return getGlobalIndexFieldBuilder().getBuilder(); } /** * .Ydb.Table.GlobalIndex global_index = 3; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.GlobalIndexOrBuilder getGlobalIndexOrBuilder() { if ((typeCase_ == 3) && (globalIndexBuilder_ != null)) { return globalIndexBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 3) { return (tech.ydb.proto.table.YdbTable.GlobalIndex) type_; } return tech.ydb.proto.table.YdbTable.GlobalIndex.getDefaultInstance(); } } /** * .Ydb.Table.GlobalIndex global_index = 3; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.GlobalIndex, tech.ydb.proto.table.YdbTable.GlobalIndex.Builder, tech.ydb.proto.table.YdbTable.GlobalIndexOrBuilder> getGlobalIndexFieldBuilder() { if (globalIndexBuilder_ == null) { if (!(typeCase_ == 3)) { type_ = tech.ydb.proto.table.YdbTable.GlobalIndex.getDefaultInstance(); } globalIndexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.GlobalIndex, tech.ydb.proto.table.YdbTable.GlobalIndex.Builder, tech.ydb.proto.table.YdbTable.GlobalIndexOrBuilder>( (tech.ydb.proto.table.YdbTable.GlobalIndex) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 3; onChanged(); return globalIndexBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.GlobalAsyncIndex, tech.ydb.proto.table.YdbTable.GlobalAsyncIndex.Builder, tech.ydb.proto.table.YdbTable.GlobalAsyncIndexOrBuilder> globalAsyncIndexBuilder_; /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 4; * @return Whether the globalAsyncIndex field is set. */ @java.lang.Override public boolean hasGlobalAsyncIndex() { return typeCase_ == 4; } /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 4; * @return The globalAsyncIndex. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.GlobalAsyncIndex getGlobalAsyncIndex() { if (globalAsyncIndexBuilder_ == null) { if (typeCase_ == 4) { return (tech.ydb.proto.table.YdbTable.GlobalAsyncIndex) type_; } return tech.ydb.proto.table.YdbTable.GlobalAsyncIndex.getDefaultInstance(); } else { if (typeCase_ == 4) { return globalAsyncIndexBuilder_.getMessage(); } return tech.ydb.proto.table.YdbTable.GlobalAsyncIndex.getDefaultInstance(); } } /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 4; */ public Builder setGlobalAsyncIndex(tech.ydb.proto.table.YdbTable.GlobalAsyncIndex value) { if (globalAsyncIndexBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { globalAsyncIndexBuilder_.setMessage(value); } typeCase_ = 4; return this; } /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 4; */ public Builder setGlobalAsyncIndex( tech.ydb.proto.table.YdbTable.GlobalAsyncIndex.Builder builderForValue) { if (globalAsyncIndexBuilder_ == null) { type_ = builderForValue.build(); onChanged(); } else { globalAsyncIndexBuilder_.setMessage(builderForValue.build()); } typeCase_ = 4; return this; } /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 4; */ public Builder mergeGlobalAsyncIndex(tech.ydb.proto.table.YdbTable.GlobalAsyncIndex value) { if (globalAsyncIndexBuilder_ == null) { if (typeCase_ == 4 && type_ != tech.ydb.proto.table.YdbTable.GlobalAsyncIndex.getDefaultInstance()) { type_ = tech.ydb.proto.table.YdbTable.GlobalAsyncIndex.newBuilder((tech.ydb.proto.table.YdbTable.GlobalAsyncIndex) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 4) { globalAsyncIndexBuilder_.mergeFrom(value); } else { globalAsyncIndexBuilder_.setMessage(value); } } typeCase_ = 4; return this; } /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 4; */ public Builder clearGlobalAsyncIndex() { if (globalAsyncIndexBuilder_ == null) { if (typeCase_ == 4) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 4) { typeCase_ = 0; type_ = null; } globalAsyncIndexBuilder_.clear(); } return this; } /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 4; */ public tech.ydb.proto.table.YdbTable.GlobalAsyncIndex.Builder getGlobalAsyncIndexBuilder() { return getGlobalAsyncIndexFieldBuilder().getBuilder(); } /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 4; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.GlobalAsyncIndexOrBuilder getGlobalAsyncIndexOrBuilder() { if ((typeCase_ == 4) && (globalAsyncIndexBuilder_ != null)) { return globalAsyncIndexBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 4) { return (tech.ydb.proto.table.YdbTable.GlobalAsyncIndex) type_; } return tech.ydb.proto.table.YdbTable.GlobalAsyncIndex.getDefaultInstance(); } } /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 4; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.GlobalAsyncIndex, tech.ydb.proto.table.YdbTable.GlobalAsyncIndex.Builder, tech.ydb.proto.table.YdbTable.GlobalAsyncIndexOrBuilder> getGlobalAsyncIndexFieldBuilder() { if (globalAsyncIndexBuilder_ == null) { if (!(typeCase_ == 4)) { type_ = tech.ydb.proto.table.YdbTable.GlobalAsyncIndex.getDefaultInstance(); } globalAsyncIndexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.GlobalAsyncIndex, tech.ydb.proto.table.YdbTable.GlobalAsyncIndex.Builder, tech.ydb.proto.table.YdbTable.GlobalAsyncIndexOrBuilder>( (tech.ydb.proto.table.YdbTable.GlobalAsyncIndex) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 4; onChanged(); return globalAsyncIndexBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.GlobalUniqueIndex, tech.ydb.proto.table.YdbTable.GlobalUniqueIndex.Builder, tech.ydb.proto.table.YdbTable.GlobalUniqueIndexOrBuilder> globalUniqueIndexBuilder_; /** * .Ydb.Table.GlobalUniqueIndex global_unique_index = 6; * @return Whether the globalUniqueIndex field is set. */ @java.lang.Override public boolean hasGlobalUniqueIndex() { return typeCase_ == 6; } /** * .Ydb.Table.GlobalUniqueIndex global_unique_index = 6; * @return The globalUniqueIndex. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.GlobalUniqueIndex getGlobalUniqueIndex() { if (globalUniqueIndexBuilder_ == null) { if (typeCase_ == 6) { return (tech.ydb.proto.table.YdbTable.GlobalUniqueIndex) type_; } return tech.ydb.proto.table.YdbTable.GlobalUniqueIndex.getDefaultInstance(); } else { if (typeCase_ == 6) { return globalUniqueIndexBuilder_.getMessage(); } return tech.ydb.proto.table.YdbTable.GlobalUniqueIndex.getDefaultInstance(); } } /** * .Ydb.Table.GlobalUniqueIndex global_unique_index = 6; */ public Builder setGlobalUniqueIndex(tech.ydb.proto.table.YdbTable.GlobalUniqueIndex value) { if (globalUniqueIndexBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { globalUniqueIndexBuilder_.setMessage(value); } typeCase_ = 6; return this; } /** * .Ydb.Table.GlobalUniqueIndex global_unique_index = 6; */ public Builder setGlobalUniqueIndex( tech.ydb.proto.table.YdbTable.GlobalUniqueIndex.Builder builderForValue) { if (globalUniqueIndexBuilder_ == null) { type_ = builderForValue.build(); onChanged(); } else { globalUniqueIndexBuilder_.setMessage(builderForValue.build()); } typeCase_ = 6; return this; } /** * .Ydb.Table.GlobalUniqueIndex global_unique_index = 6; */ public Builder mergeGlobalUniqueIndex(tech.ydb.proto.table.YdbTable.GlobalUniqueIndex value) { if (globalUniqueIndexBuilder_ == null) { if (typeCase_ == 6 && type_ != tech.ydb.proto.table.YdbTable.GlobalUniqueIndex.getDefaultInstance()) { type_ = tech.ydb.proto.table.YdbTable.GlobalUniqueIndex.newBuilder((tech.ydb.proto.table.YdbTable.GlobalUniqueIndex) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 6) { globalUniqueIndexBuilder_.mergeFrom(value); } else { globalUniqueIndexBuilder_.setMessage(value); } } typeCase_ = 6; return this; } /** * .Ydb.Table.GlobalUniqueIndex global_unique_index = 6; */ public Builder clearGlobalUniqueIndex() { if (globalUniqueIndexBuilder_ == null) { if (typeCase_ == 6) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 6) { typeCase_ = 0; type_ = null; } globalUniqueIndexBuilder_.clear(); } return this; } /** * .Ydb.Table.GlobalUniqueIndex global_unique_index = 6; */ public tech.ydb.proto.table.YdbTable.GlobalUniqueIndex.Builder getGlobalUniqueIndexBuilder() { return getGlobalUniqueIndexFieldBuilder().getBuilder(); } /** * .Ydb.Table.GlobalUniqueIndex global_unique_index = 6; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.GlobalUniqueIndexOrBuilder getGlobalUniqueIndexOrBuilder() { if ((typeCase_ == 6) && (globalUniqueIndexBuilder_ != null)) { return globalUniqueIndexBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 6) { return (tech.ydb.proto.table.YdbTable.GlobalUniqueIndex) type_; } return tech.ydb.proto.table.YdbTable.GlobalUniqueIndex.getDefaultInstance(); } } /** * .Ydb.Table.GlobalUniqueIndex global_unique_index = 6; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.GlobalUniqueIndex, tech.ydb.proto.table.YdbTable.GlobalUniqueIndex.Builder, tech.ydb.proto.table.YdbTable.GlobalUniqueIndexOrBuilder> getGlobalUniqueIndexFieldBuilder() { if (globalUniqueIndexBuilder_ == null) { if (!(typeCase_ == 6)) { type_ = tech.ydb.proto.table.YdbTable.GlobalUniqueIndex.getDefaultInstance(); } globalUniqueIndexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.GlobalUniqueIndex, tech.ydb.proto.table.YdbTable.GlobalUniqueIndex.Builder, tech.ydb.proto.table.YdbTable.GlobalUniqueIndexOrBuilder>( (tech.ydb.proto.table.YdbTable.GlobalUniqueIndex) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 6; onChanged(); return globalUniqueIndexBuilder_; } private com.google.protobuf.LazyStringArrayList dataColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureDataColumnsIsMutable() { if (!dataColumns_.isModifiable()) { dataColumns_ = new com.google.protobuf.LazyStringArrayList(dataColumns_); } bitField0_ |= 0x00000020; } /** *
       * list of columns content to be copied in to index table
       * 
* * repeated string data_columns = 5; * @return A list containing the dataColumns. */ public com.google.protobuf.ProtocolStringList getDataColumnsList() { dataColumns_.makeImmutable(); return dataColumns_; } /** *
       * list of columns content to be copied in to index table
       * 
* * repeated string data_columns = 5; * @return The count of dataColumns. */ public int getDataColumnsCount() { return dataColumns_.size(); } /** *
       * list of columns content to be copied in to index table
       * 
* * repeated string data_columns = 5; * @param index The index of the element to return. * @return The dataColumns at the given index. */ public java.lang.String getDataColumns(int index) { return dataColumns_.get(index); } /** *
       * list of columns content to be copied in to index table
       * 
* * repeated string data_columns = 5; * @param index The index of the value to return. * @return The bytes of the dataColumns at the given index. */ public com.google.protobuf.ByteString getDataColumnsBytes(int index) { return dataColumns_.getByteString(index); } /** *
       * list of columns content to be copied in to index table
       * 
* * repeated string data_columns = 5; * @param index The index to set the value at. * @param value The dataColumns to set. * @return This builder for chaining. */ public Builder setDataColumns( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDataColumnsIsMutable(); dataColumns_.set(index, value); bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * list of columns content to be copied in to index table
       * 
* * repeated string data_columns = 5; * @param value The dataColumns to add. * @return This builder for chaining. */ public Builder addDataColumns( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDataColumnsIsMutable(); dataColumns_.add(value); bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * list of columns content to be copied in to index table
       * 
* * repeated string data_columns = 5; * @param values The dataColumns to add. * @return This builder for chaining. */ public Builder addAllDataColumns( java.lang.Iterable values) { ensureDataColumnsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, dataColumns_); bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * list of columns content to be copied in to index table
       * 
* * repeated string data_columns = 5; * @return This builder for chaining. */ public Builder clearDataColumns() { dataColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000020);; onChanged(); return this; } /** *
       * list of columns content to be copied in to index table
       * 
* * repeated string data_columns = 5; * @param value The bytes of the dataColumns to add. * @return This builder for chaining. */ public Builder addDataColumnsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureDataColumnsIsMutable(); dataColumns_.add(value); bitField0_ |= 0x00000020; 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.Table.TableIndex) } // @@protoc_insertion_point(class_scope:Ydb.Table.TableIndex) private static final tech.ydb.proto.table.YdbTable.TableIndex DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.TableIndex(); } public static tech.ydb.proto.table.YdbTable.TableIndex getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TableIndex 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.table.YdbTable.TableIndex getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TableIndexDescriptionOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.TableIndexDescription) com.google.protobuf.MessageOrBuilder { /** *
     * Name of index
     * 
* * string name = 1; * @return The name. */ java.lang.String getName(); /** *
     * Name of index
     * 
* * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * list of columns
     * 
* * repeated string index_columns = 2; * @return A list containing the indexColumns. */ java.util.List getIndexColumnsList(); /** *
     * list of columns
     * 
* * repeated string index_columns = 2; * @return The count of indexColumns. */ int getIndexColumnsCount(); /** *
     * list of columns
     * 
* * repeated string index_columns = 2; * @param index The index of the element to return. * @return The indexColumns at the given index. */ java.lang.String getIndexColumns(int index); /** *
     * list of columns
     * 
* * repeated string index_columns = 2; * @param index The index of the value to return. * @return The bytes of the indexColumns at the given index. */ com.google.protobuf.ByteString getIndexColumnsBytes(int index); /** * .Ydb.Table.GlobalIndex global_index = 3; * @return Whether the globalIndex field is set. */ boolean hasGlobalIndex(); /** * .Ydb.Table.GlobalIndex global_index = 3; * @return The globalIndex. */ tech.ydb.proto.table.YdbTable.GlobalIndex getGlobalIndex(); /** * .Ydb.Table.GlobalIndex global_index = 3; */ tech.ydb.proto.table.YdbTable.GlobalIndexOrBuilder getGlobalIndexOrBuilder(); /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 5; * @return Whether the globalAsyncIndex field is set. */ boolean hasGlobalAsyncIndex(); /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 5; * @return The globalAsyncIndex. */ tech.ydb.proto.table.YdbTable.GlobalAsyncIndex getGlobalAsyncIndex(); /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 5; */ tech.ydb.proto.table.YdbTable.GlobalAsyncIndexOrBuilder getGlobalAsyncIndexOrBuilder(); /** * .Ydb.Table.GlobalUniqueIndex global_unique_index = 8; * @return Whether the globalUniqueIndex field is set. */ boolean hasGlobalUniqueIndex(); /** * .Ydb.Table.GlobalUniqueIndex global_unique_index = 8; * @return The globalUniqueIndex. */ tech.ydb.proto.table.YdbTable.GlobalUniqueIndex getGlobalUniqueIndex(); /** * .Ydb.Table.GlobalUniqueIndex global_unique_index = 8; */ tech.ydb.proto.table.YdbTable.GlobalUniqueIndexOrBuilder getGlobalUniqueIndexOrBuilder(); /** * .Ydb.Table.TableIndexDescription.Status status = 4; * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** * .Ydb.Table.TableIndexDescription.Status status = 4; * @return The status. */ tech.ydb.proto.table.YdbTable.TableIndexDescription.Status getStatus(); /** *
     * list of columns content to be copied in to index table
     * 
* * repeated string data_columns = 6; * @return A list containing the dataColumns. */ java.util.List getDataColumnsList(); /** *
     * list of columns content to be copied in to index table
     * 
* * repeated string data_columns = 6; * @return The count of dataColumns. */ int getDataColumnsCount(); /** *
     * list of columns content to be copied in to index table
     * 
* * repeated string data_columns = 6; * @param index The index of the element to return. * @return The dataColumns at the given index. */ java.lang.String getDataColumns(int index); /** *
     * list of columns content to be copied in to index table
     * 
* * repeated string data_columns = 6; * @param index The index of the value to return. * @return The bytes of the dataColumns at the given index. */ com.google.protobuf.ByteString getDataColumnsBytes(int index); /** *
     * Size of index data in bytes
     * 
* * uint64 size_bytes = 7; * @return The sizeBytes. */ long getSizeBytes(); tech.ydb.proto.table.YdbTable.TableIndexDescription.TypeCase getTypeCase(); } /** *
   * Represent secondary index with index state
   * 
* * Protobuf type {@code Ydb.Table.TableIndexDescription} */ public static final class TableIndexDescription extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.TableIndexDescription) TableIndexDescriptionOrBuilder { private static final long serialVersionUID = 0L; // Use TableIndexDescription.newBuilder() to construct. private TableIndexDescription(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TableIndexDescription() { name_ = ""; indexColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); status_ = 0; dataColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TableIndexDescription(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TableIndexDescription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TableIndexDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.TableIndexDescription.class, tech.ydb.proto.table.YdbTable.TableIndexDescription.Builder.class); } /** * Protobuf enum {@code Ydb.Table.TableIndexDescription.Status} */ public enum Status implements com.google.protobuf.ProtocolMessageEnum { /** * STATUS_UNSPECIFIED = 0; */ STATUS_UNSPECIFIED(0), /** *
       * Index is ready to use
       * 
* * STATUS_READY = 1; */ STATUS_READY(1), /** *
       * index is being built
       * 
* * STATUS_BUILDING = 2; */ STATUS_BUILDING(2), UNRECOGNIZED(-1), ; /** * STATUS_UNSPECIFIED = 0; */ public static final int STATUS_UNSPECIFIED_VALUE = 0; /** *
       * Index is ready to use
       * 
* * STATUS_READY = 1; */ public static final int STATUS_READY_VALUE = 1; /** *
       * index is being built
       * 
* * STATUS_BUILDING = 2; */ public static final int STATUS_BUILDING_VALUE = 2; 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 Status 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 Status forNumber(int value) { switch (value) { case 0: return STATUS_UNSPECIFIED; case 1: return STATUS_READY; case 2: return STATUS_BUILDING; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Status> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Status findValueByNumber(int number) { return Status.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.table.YdbTable.TableIndexDescription.getDescriptor().getEnumTypes().get(0); } private static final Status[] VALUES = values(); public static Status 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 Status(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Ydb.Table.TableIndexDescription.Status) } private int typeCase_ = 0; @SuppressWarnings("serial") private java.lang.Object type_; public enum TypeCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GLOBAL_INDEX(3), GLOBAL_ASYNC_INDEX(5), GLOBAL_UNIQUE_INDEX(8), TYPE_NOT_SET(0); private final int value; private TypeCase(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 TypeCase valueOf(int value) { return forNumber(value); } public static TypeCase forNumber(int value) { switch (value) { case 3: return GLOBAL_INDEX; case 5: return GLOBAL_ASYNC_INDEX; case 8: return GLOBAL_UNIQUE_INDEX; case 0: return TYPE_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public TypeCase getTypeCase() { return TypeCase.forNumber( typeCase_); } public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** *
     * Name of index
     * 
* * 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 index
     * 
* * 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 INDEX_COLUMNS_FIELD_NUMBER = 2; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList indexColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * list of columns
     * 
* * repeated string index_columns = 2; * @return A list containing the indexColumns. */ public com.google.protobuf.ProtocolStringList getIndexColumnsList() { return indexColumns_; } /** *
     * list of columns
     * 
* * repeated string index_columns = 2; * @return The count of indexColumns. */ public int getIndexColumnsCount() { return indexColumns_.size(); } /** *
     * list of columns
     * 
* * repeated string index_columns = 2; * @param index The index of the element to return. * @return The indexColumns at the given index. */ public java.lang.String getIndexColumns(int index) { return indexColumns_.get(index); } /** *
     * list of columns
     * 
* * repeated string index_columns = 2; * @param index The index of the value to return. * @return The bytes of the indexColumns at the given index. */ public com.google.protobuf.ByteString getIndexColumnsBytes(int index) { return indexColumns_.getByteString(index); } public static final int GLOBAL_INDEX_FIELD_NUMBER = 3; /** * .Ydb.Table.GlobalIndex global_index = 3; * @return Whether the globalIndex field is set. */ @java.lang.Override public boolean hasGlobalIndex() { return typeCase_ == 3; } /** * .Ydb.Table.GlobalIndex global_index = 3; * @return The globalIndex. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.GlobalIndex getGlobalIndex() { if (typeCase_ == 3) { return (tech.ydb.proto.table.YdbTable.GlobalIndex) type_; } return tech.ydb.proto.table.YdbTable.GlobalIndex.getDefaultInstance(); } /** * .Ydb.Table.GlobalIndex global_index = 3; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.GlobalIndexOrBuilder getGlobalIndexOrBuilder() { if (typeCase_ == 3) { return (tech.ydb.proto.table.YdbTable.GlobalIndex) type_; } return tech.ydb.proto.table.YdbTable.GlobalIndex.getDefaultInstance(); } public static final int GLOBAL_ASYNC_INDEX_FIELD_NUMBER = 5; /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 5; * @return Whether the globalAsyncIndex field is set. */ @java.lang.Override public boolean hasGlobalAsyncIndex() { return typeCase_ == 5; } /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 5; * @return The globalAsyncIndex. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.GlobalAsyncIndex getGlobalAsyncIndex() { if (typeCase_ == 5) { return (tech.ydb.proto.table.YdbTable.GlobalAsyncIndex) type_; } return tech.ydb.proto.table.YdbTable.GlobalAsyncIndex.getDefaultInstance(); } /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 5; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.GlobalAsyncIndexOrBuilder getGlobalAsyncIndexOrBuilder() { if (typeCase_ == 5) { return (tech.ydb.proto.table.YdbTable.GlobalAsyncIndex) type_; } return tech.ydb.proto.table.YdbTable.GlobalAsyncIndex.getDefaultInstance(); } public static final int GLOBAL_UNIQUE_INDEX_FIELD_NUMBER = 8; /** * .Ydb.Table.GlobalUniqueIndex global_unique_index = 8; * @return Whether the globalUniqueIndex field is set. */ @java.lang.Override public boolean hasGlobalUniqueIndex() { return typeCase_ == 8; } /** * .Ydb.Table.GlobalUniqueIndex global_unique_index = 8; * @return The globalUniqueIndex. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.GlobalUniqueIndex getGlobalUniqueIndex() { if (typeCase_ == 8) { return (tech.ydb.proto.table.YdbTable.GlobalUniqueIndex) type_; } return tech.ydb.proto.table.YdbTable.GlobalUniqueIndex.getDefaultInstance(); } /** * .Ydb.Table.GlobalUniqueIndex global_unique_index = 8; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.GlobalUniqueIndexOrBuilder getGlobalUniqueIndexOrBuilder() { if (typeCase_ == 8) { return (tech.ydb.proto.table.YdbTable.GlobalUniqueIndex) type_; } return tech.ydb.proto.table.YdbTable.GlobalUniqueIndex.getDefaultInstance(); } public static final int STATUS_FIELD_NUMBER = 4; private int status_ = 0; /** * .Ydb.Table.TableIndexDescription.Status status = 4; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** * .Ydb.Table.TableIndexDescription.Status status = 4; * @return The status. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TableIndexDescription.Status getStatus() { tech.ydb.proto.table.YdbTable.TableIndexDescription.Status result = tech.ydb.proto.table.YdbTable.TableIndexDescription.Status.forNumber(status_); return result == null ? tech.ydb.proto.table.YdbTable.TableIndexDescription.Status.UNRECOGNIZED : result; } public static final int DATA_COLUMNS_FIELD_NUMBER = 6; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList dataColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * list of columns content to be copied in to index table
     * 
* * repeated string data_columns = 6; * @return A list containing the dataColumns. */ public com.google.protobuf.ProtocolStringList getDataColumnsList() { return dataColumns_; } /** *
     * list of columns content to be copied in to index table
     * 
* * repeated string data_columns = 6; * @return The count of dataColumns. */ public int getDataColumnsCount() { return dataColumns_.size(); } /** *
     * list of columns content to be copied in to index table
     * 
* * repeated string data_columns = 6; * @param index The index of the element to return. * @return The dataColumns at the given index. */ public java.lang.String getDataColumns(int index) { return dataColumns_.get(index); } /** *
     * list of columns content to be copied in to index table
     * 
* * repeated string data_columns = 6; * @param index The index of the value to return. * @return The bytes of the dataColumns at the given index. */ public com.google.protobuf.ByteString getDataColumnsBytes(int index) { return dataColumns_.getByteString(index); } public static final int SIZE_BYTES_FIELD_NUMBER = 7; private long sizeBytes_ = 0L; /** *
     * Size of index data in bytes
     * 
* * uint64 size_bytes = 7; * @return The sizeBytes. */ @java.lang.Override public long getSizeBytes() { return sizeBytes_; } 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_); } for (int i = 0; i < indexColumns_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, indexColumns_.getRaw(i)); } if (typeCase_ == 3) { output.writeMessage(3, (tech.ydb.proto.table.YdbTable.GlobalIndex) type_); } if (status_ != tech.ydb.proto.table.YdbTable.TableIndexDescription.Status.STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(4, status_); } if (typeCase_ == 5) { output.writeMessage(5, (tech.ydb.proto.table.YdbTable.GlobalAsyncIndex) type_); } for (int i = 0; i < dataColumns_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, dataColumns_.getRaw(i)); } if (sizeBytes_ != 0L) { output.writeUInt64(7, sizeBytes_); } if (typeCase_ == 8) { output.writeMessage(8, (tech.ydb.proto.table.YdbTable.GlobalUniqueIndex) type_); } 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_); } { int dataSize = 0; for (int i = 0; i < indexColumns_.size(); i++) { dataSize += computeStringSizeNoTag(indexColumns_.getRaw(i)); } size += dataSize; size += 1 * getIndexColumnsList().size(); } if (typeCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (tech.ydb.proto.table.YdbTable.GlobalIndex) type_); } if (status_ != tech.ydb.proto.table.YdbTable.TableIndexDescription.Status.STATUS_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, status_); } if (typeCase_ == 5) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, (tech.ydb.proto.table.YdbTable.GlobalAsyncIndex) type_); } { int dataSize = 0; for (int i = 0; i < dataColumns_.size(); i++) { dataSize += computeStringSizeNoTag(dataColumns_.getRaw(i)); } size += dataSize; size += 1 * getDataColumnsList().size(); } if (sizeBytes_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(7, sizeBytes_); } if (typeCase_ == 8) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, (tech.ydb.proto.table.YdbTable.GlobalUniqueIndex) type_); } 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.table.YdbTable.TableIndexDescription)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.TableIndexDescription other = (tech.ydb.proto.table.YdbTable.TableIndexDescription) obj; if (!getName() .equals(other.getName())) return false; if (!getIndexColumnsList() .equals(other.getIndexColumnsList())) return false; if (status_ != other.status_) return false; if (!getDataColumnsList() .equals(other.getDataColumnsList())) return false; if (getSizeBytes() != other.getSizeBytes()) return false; if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 3: if (!getGlobalIndex() .equals(other.getGlobalIndex())) return false; break; case 5: if (!getGlobalAsyncIndex() .equals(other.getGlobalAsyncIndex())) return false; break; case 8: if (!getGlobalUniqueIndex() .equals(other.getGlobalUniqueIndex())) 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(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); if (getIndexColumnsCount() > 0) { hash = (37 * hash) + INDEX_COLUMNS_FIELD_NUMBER; hash = (53 * hash) + getIndexColumnsList().hashCode(); } hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + status_; if (getDataColumnsCount() > 0) { hash = (37 * hash) + DATA_COLUMNS_FIELD_NUMBER; hash = (53 * hash) + getDataColumnsList().hashCode(); } hash = (37 * hash) + SIZE_BYTES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSizeBytes()); switch (typeCase_) { case 3: hash = (37 * hash) + GLOBAL_INDEX_FIELD_NUMBER; hash = (53 * hash) + getGlobalIndex().hashCode(); break; case 5: hash = (37 * hash) + GLOBAL_ASYNC_INDEX_FIELD_NUMBER; hash = (53 * hash) + getGlobalAsyncIndex().hashCode(); break; case 8: hash = (37 * hash) + GLOBAL_UNIQUE_INDEX_FIELD_NUMBER; hash = (53 * hash) + getGlobalUniqueIndex().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.TableIndexDescription parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.TableIndexDescription 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.table.YdbTable.TableIndexDescription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.TableIndexDescription 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.table.YdbTable.TableIndexDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.TableIndexDescription parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.TableIndexDescription parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.TableIndexDescription 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.table.YdbTable.TableIndexDescription parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.TableIndexDescription 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.table.YdbTable.TableIndexDescription parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.TableIndexDescription 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.table.YdbTable.TableIndexDescription 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; } /** *
     * Represent secondary index with index state
     * 
* * Protobuf type {@code Ydb.Table.TableIndexDescription} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.TableIndexDescription) tech.ydb.proto.table.YdbTable.TableIndexDescriptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TableIndexDescription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TableIndexDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.TableIndexDescription.class, tech.ydb.proto.table.YdbTable.TableIndexDescription.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.TableIndexDescription.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; indexColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); if (globalIndexBuilder_ != null) { globalIndexBuilder_.clear(); } if (globalAsyncIndexBuilder_ != null) { globalAsyncIndexBuilder_.clear(); } if (globalUniqueIndexBuilder_ != null) { globalUniqueIndexBuilder_.clear(); } status_ = 0; dataColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); sizeBytes_ = 0L; typeCase_ = 0; type_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TableIndexDescription_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.TableIndexDescription getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.TableIndexDescription.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.TableIndexDescription build() { tech.ydb.proto.table.YdbTable.TableIndexDescription result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.TableIndexDescription buildPartial() { tech.ydb.proto.table.YdbTable.TableIndexDescription result = new tech.ydb.proto.table.YdbTable.TableIndexDescription(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.TableIndexDescription result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { indexColumns_.makeImmutable(); result.indexColumns_ = indexColumns_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.status_ = status_; } if (((from_bitField0_ & 0x00000040) != 0)) { dataColumns_.makeImmutable(); result.dataColumns_ = dataColumns_; } if (((from_bitField0_ & 0x00000080) != 0)) { result.sizeBytes_ = sizeBytes_; } } private void buildPartialOneofs(tech.ydb.proto.table.YdbTable.TableIndexDescription result) { result.typeCase_ = typeCase_; result.type_ = this.type_; if (typeCase_ == 3 && globalIndexBuilder_ != null) { result.type_ = globalIndexBuilder_.build(); } if (typeCase_ == 5 && globalAsyncIndexBuilder_ != null) { result.type_ = globalAsyncIndexBuilder_.build(); } if (typeCase_ == 8 && globalUniqueIndexBuilder_ != null) { result.type_ = globalUniqueIndexBuilder_.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.table.YdbTable.TableIndexDescription) { return mergeFrom((tech.ydb.proto.table.YdbTable.TableIndexDescription)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.TableIndexDescription other) { if (other == tech.ydb.proto.table.YdbTable.TableIndexDescription.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; onChanged(); } if (!other.indexColumns_.isEmpty()) { if (indexColumns_.isEmpty()) { indexColumns_ = other.indexColumns_; bitField0_ |= 0x00000002; } else { ensureIndexColumnsIsMutable(); indexColumns_.addAll(other.indexColumns_); } onChanged(); } if (other.status_ != 0) { setStatusValue(other.getStatusValue()); } if (!other.dataColumns_.isEmpty()) { if (dataColumns_.isEmpty()) { dataColumns_ = other.dataColumns_; bitField0_ |= 0x00000040; } else { ensureDataColumnsIsMutable(); dataColumns_.addAll(other.dataColumns_); } onChanged(); } if (other.getSizeBytes() != 0L) { setSizeBytes(other.getSizeBytes()); } switch (other.getTypeCase()) { case GLOBAL_INDEX: { mergeGlobalIndex(other.getGlobalIndex()); break; } case GLOBAL_ASYNC_INDEX: { mergeGlobalAsyncIndex(other.getGlobalAsyncIndex()); break; } case GLOBAL_UNIQUE_INDEX: { mergeGlobalUniqueIndex(other.getGlobalUniqueIndex()); break; } case TYPE_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: { name_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { java.lang.String s = input.readStringRequireUtf8(); ensureIndexColumnsIsMutable(); indexColumns_.add(s); break; } // case 18 case 26: { input.readMessage( getGlobalIndexFieldBuilder().getBuilder(), extensionRegistry); typeCase_ = 3; break; } // case 26 case 32: { status_ = input.readEnum(); bitField0_ |= 0x00000020; break; } // case 32 case 42: { input.readMessage( getGlobalAsyncIndexFieldBuilder().getBuilder(), extensionRegistry); typeCase_ = 5; break; } // case 42 case 50: { java.lang.String s = input.readStringRequireUtf8(); ensureDataColumnsIsMutable(); dataColumns_.add(s); break; } // case 50 case 56: { sizeBytes_ = input.readUInt64(); bitField0_ |= 0x00000080; break; } // case 56 case 66: { input.readMessage( getGlobalUniqueIndexFieldBuilder().getBuilder(), extensionRegistry); typeCase_ = 8; break; } // case 66 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 typeCase_ = 0; private java.lang.Object type_; public TypeCase getTypeCase() { return TypeCase.forNumber( typeCase_); } public Builder clearType() { typeCase_ = 0; type_ = null; onChanged(); return this; } private int bitField0_; private java.lang.Object name_ = ""; /** *
       * Name of index
       * 
* * 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 index
       * 
* * 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 index
       * 
* * 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 index
       * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Name of index
       * 
* * 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 com.google.protobuf.LazyStringArrayList indexColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureIndexColumnsIsMutable() { if (!indexColumns_.isModifiable()) { indexColumns_ = new com.google.protobuf.LazyStringArrayList(indexColumns_); } bitField0_ |= 0x00000002; } /** *
       * list of columns
       * 
* * repeated string index_columns = 2; * @return A list containing the indexColumns. */ public com.google.protobuf.ProtocolStringList getIndexColumnsList() { indexColumns_.makeImmutable(); return indexColumns_; } /** *
       * list of columns
       * 
* * repeated string index_columns = 2; * @return The count of indexColumns. */ public int getIndexColumnsCount() { return indexColumns_.size(); } /** *
       * list of columns
       * 
* * repeated string index_columns = 2; * @param index The index of the element to return. * @return The indexColumns at the given index. */ public java.lang.String getIndexColumns(int index) { return indexColumns_.get(index); } /** *
       * list of columns
       * 
* * repeated string index_columns = 2; * @param index The index of the value to return. * @return The bytes of the indexColumns at the given index. */ public com.google.protobuf.ByteString getIndexColumnsBytes(int index) { return indexColumns_.getByteString(index); } /** *
       * list of columns
       * 
* * repeated string index_columns = 2; * @param index The index to set the value at. * @param value The indexColumns to set. * @return This builder for chaining. */ public Builder setIndexColumns( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureIndexColumnsIsMutable(); indexColumns_.set(index, value); bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * list of columns
       * 
* * repeated string index_columns = 2; * @param value The indexColumns to add. * @return This builder for chaining. */ public Builder addIndexColumns( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureIndexColumnsIsMutable(); indexColumns_.add(value); bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * list of columns
       * 
* * repeated string index_columns = 2; * @param values The indexColumns to add. * @return This builder for chaining. */ public Builder addAllIndexColumns( java.lang.Iterable values) { ensureIndexColumnsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, indexColumns_); bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * list of columns
       * 
* * repeated string index_columns = 2; * @return This builder for chaining. */ public Builder clearIndexColumns() { indexColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** *
       * list of columns
       * 
* * repeated string index_columns = 2; * @param value The bytes of the indexColumns to add. * @return This builder for chaining. */ public Builder addIndexColumnsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureIndexColumnsIsMutable(); indexColumns_.add(value); bitField0_ |= 0x00000002; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.GlobalIndex, tech.ydb.proto.table.YdbTable.GlobalIndex.Builder, tech.ydb.proto.table.YdbTable.GlobalIndexOrBuilder> globalIndexBuilder_; /** * .Ydb.Table.GlobalIndex global_index = 3; * @return Whether the globalIndex field is set. */ @java.lang.Override public boolean hasGlobalIndex() { return typeCase_ == 3; } /** * .Ydb.Table.GlobalIndex global_index = 3; * @return The globalIndex. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.GlobalIndex getGlobalIndex() { if (globalIndexBuilder_ == null) { if (typeCase_ == 3) { return (tech.ydb.proto.table.YdbTable.GlobalIndex) type_; } return tech.ydb.proto.table.YdbTable.GlobalIndex.getDefaultInstance(); } else { if (typeCase_ == 3) { return globalIndexBuilder_.getMessage(); } return tech.ydb.proto.table.YdbTable.GlobalIndex.getDefaultInstance(); } } /** * .Ydb.Table.GlobalIndex global_index = 3; */ public Builder setGlobalIndex(tech.ydb.proto.table.YdbTable.GlobalIndex value) { if (globalIndexBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { globalIndexBuilder_.setMessage(value); } typeCase_ = 3; return this; } /** * .Ydb.Table.GlobalIndex global_index = 3; */ public Builder setGlobalIndex( tech.ydb.proto.table.YdbTable.GlobalIndex.Builder builderForValue) { if (globalIndexBuilder_ == null) { type_ = builderForValue.build(); onChanged(); } else { globalIndexBuilder_.setMessage(builderForValue.build()); } typeCase_ = 3; return this; } /** * .Ydb.Table.GlobalIndex global_index = 3; */ public Builder mergeGlobalIndex(tech.ydb.proto.table.YdbTable.GlobalIndex value) { if (globalIndexBuilder_ == null) { if (typeCase_ == 3 && type_ != tech.ydb.proto.table.YdbTable.GlobalIndex.getDefaultInstance()) { type_ = tech.ydb.proto.table.YdbTable.GlobalIndex.newBuilder((tech.ydb.proto.table.YdbTable.GlobalIndex) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 3) { globalIndexBuilder_.mergeFrom(value); } else { globalIndexBuilder_.setMessage(value); } } typeCase_ = 3; return this; } /** * .Ydb.Table.GlobalIndex global_index = 3; */ public Builder clearGlobalIndex() { if (globalIndexBuilder_ == null) { if (typeCase_ == 3) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 3) { typeCase_ = 0; type_ = null; } globalIndexBuilder_.clear(); } return this; } /** * .Ydb.Table.GlobalIndex global_index = 3; */ public tech.ydb.proto.table.YdbTable.GlobalIndex.Builder getGlobalIndexBuilder() { return getGlobalIndexFieldBuilder().getBuilder(); } /** * .Ydb.Table.GlobalIndex global_index = 3; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.GlobalIndexOrBuilder getGlobalIndexOrBuilder() { if ((typeCase_ == 3) && (globalIndexBuilder_ != null)) { return globalIndexBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 3) { return (tech.ydb.proto.table.YdbTable.GlobalIndex) type_; } return tech.ydb.proto.table.YdbTable.GlobalIndex.getDefaultInstance(); } } /** * .Ydb.Table.GlobalIndex global_index = 3; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.GlobalIndex, tech.ydb.proto.table.YdbTable.GlobalIndex.Builder, tech.ydb.proto.table.YdbTable.GlobalIndexOrBuilder> getGlobalIndexFieldBuilder() { if (globalIndexBuilder_ == null) { if (!(typeCase_ == 3)) { type_ = tech.ydb.proto.table.YdbTable.GlobalIndex.getDefaultInstance(); } globalIndexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.GlobalIndex, tech.ydb.proto.table.YdbTable.GlobalIndex.Builder, tech.ydb.proto.table.YdbTable.GlobalIndexOrBuilder>( (tech.ydb.proto.table.YdbTable.GlobalIndex) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 3; onChanged(); return globalIndexBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.GlobalAsyncIndex, tech.ydb.proto.table.YdbTable.GlobalAsyncIndex.Builder, tech.ydb.proto.table.YdbTable.GlobalAsyncIndexOrBuilder> globalAsyncIndexBuilder_; /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 5; * @return Whether the globalAsyncIndex field is set. */ @java.lang.Override public boolean hasGlobalAsyncIndex() { return typeCase_ == 5; } /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 5; * @return The globalAsyncIndex. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.GlobalAsyncIndex getGlobalAsyncIndex() { if (globalAsyncIndexBuilder_ == null) { if (typeCase_ == 5) { return (tech.ydb.proto.table.YdbTable.GlobalAsyncIndex) type_; } return tech.ydb.proto.table.YdbTable.GlobalAsyncIndex.getDefaultInstance(); } else { if (typeCase_ == 5) { return globalAsyncIndexBuilder_.getMessage(); } return tech.ydb.proto.table.YdbTable.GlobalAsyncIndex.getDefaultInstance(); } } /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 5; */ public Builder setGlobalAsyncIndex(tech.ydb.proto.table.YdbTable.GlobalAsyncIndex value) { if (globalAsyncIndexBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { globalAsyncIndexBuilder_.setMessage(value); } typeCase_ = 5; return this; } /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 5; */ public Builder setGlobalAsyncIndex( tech.ydb.proto.table.YdbTable.GlobalAsyncIndex.Builder builderForValue) { if (globalAsyncIndexBuilder_ == null) { type_ = builderForValue.build(); onChanged(); } else { globalAsyncIndexBuilder_.setMessage(builderForValue.build()); } typeCase_ = 5; return this; } /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 5; */ public Builder mergeGlobalAsyncIndex(tech.ydb.proto.table.YdbTable.GlobalAsyncIndex value) { if (globalAsyncIndexBuilder_ == null) { if (typeCase_ == 5 && type_ != tech.ydb.proto.table.YdbTable.GlobalAsyncIndex.getDefaultInstance()) { type_ = tech.ydb.proto.table.YdbTable.GlobalAsyncIndex.newBuilder((tech.ydb.proto.table.YdbTable.GlobalAsyncIndex) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 5) { globalAsyncIndexBuilder_.mergeFrom(value); } else { globalAsyncIndexBuilder_.setMessage(value); } } typeCase_ = 5; return this; } /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 5; */ public Builder clearGlobalAsyncIndex() { if (globalAsyncIndexBuilder_ == null) { if (typeCase_ == 5) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 5) { typeCase_ = 0; type_ = null; } globalAsyncIndexBuilder_.clear(); } return this; } /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 5; */ public tech.ydb.proto.table.YdbTable.GlobalAsyncIndex.Builder getGlobalAsyncIndexBuilder() { return getGlobalAsyncIndexFieldBuilder().getBuilder(); } /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 5; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.GlobalAsyncIndexOrBuilder getGlobalAsyncIndexOrBuilder() { if ((typeCase_ == 5) && (globalAsyncIndexBuilder_ != null)) { return globalAsyncIndexBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 5) { return (tech.ydb.proto.table.YdbTable.GlobalAsyncIndex) type_; } return tech.ydb.proto.table.YdbTable.GlobalAsyncIndex.getDefaultInstance(); } } /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 5; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.GlobalAsyncIndex, tech.ydb.proto.table.YdbTable.GlobalAsyncIndex.Builder, tech.ydb.proto.table.YdbTable.GlobalAsyncIndexOrBuilder> getGlobalAsyncIndexFieldBuilder() { if (globalAsyncIndexBuilder_ == null) { if (!(typeCase_ == 5)) { type_ = tech.ydb.proto.table.YdbTable.GlobalAsyncIndex.getDefaultInstance(); } globalAsyncIndexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.GlobalAsyncIndex, tech.ydb.proto.table.YdbTable.GlobalAsyncIndex.Builder, tech.ydb.proto.table.YdbTable.GlobalAsyncIndexOrBuilder>( (tech.ydb.proto.table.YdbTable.GlobalAsyncIndex) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 5; onChanged(); return globalAsyncIndexBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.GlobalUniqueIndex, tech.ydb.proto.table.YdbTable.GlobalUniqueIndex.Builder, tech.ydb.proto.table.YdbTable.GlobalUniqueIndexOrBuilder> globalUniqueIndexBuilder_; /** * .Ydb.Table.GlobalUniqueIndex global_unique_index = 8; * @return Whether the globalUniqueIndex field is set. */ @java.lang.Override public boolean hasGlobalUniqueIndex() { return typeCase_ == 8; } /** * .Ydb.Table.GlobalUniqueIndex global_unique_index = 8; * @return The globalUniqueIndex. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.GlobalUniqueIndex getGlobalUniqueIndex() { if (globalUniqueIndexBuilder_ == null) { if (typeCase_ == 8) { return (tech.ydb.proto.table.YdbTable.GlobalUniqueIndex) type_; } return tech.ydb.proto.table.YdbTable.GlobalUniqueIndex.getDefaultInstance(); } else { if (typeCase_ == 8) { return globalUniqueIndexBuilder_.getMessage(); } return tech.ydb.proto.table.YdbTable.GlobalUniqueIndex.getDefaultInstance(); } } /** * .Ydb.Table.GlobalUniqueIndex global_unique_index = 8; */ public Builder setGlobalUniqueIndex(tech.ydb.proto.table.YdbTable.GlobalUniqueIndex value) { if (globalUniqueIndexBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { globalUniqueIndexBuilder_.setMessage(value); } typeCase_ = 8; return this; } /** * .Ydb.Table.GlobalUniqueIndex global_unique_index = 8; */ public Builder setGlobalUniqueIndex( tech.ydb.proto.table.YdbTable.GlobalUniqueIndex.Builder builderForValue) { if (globalUniqueIndexBuilder_ == null) { type_ = builderForValue.build(); onChanged(); } else { globalUniqueIndexBuilder_.setMessage(builderForValue.build()); } typeCase_ = 8; return this; } /** * .Ydb.Table.GlobalUniqueIndex global_unique_index = 8; */ public Builder mergeGlobalUniqueIndex(tech.ydb.proto.table.YdbTable.GlobalUniqueIndex value) { if (globalUniqueIndexBuilder_ == null) { if (typeCase_ == 8 && type_ != tech.ydb.proto.table.YdbTable.GlobalUniqueIndex.getDefaultInstance()) { type_ = tech.ydb.proto.table.YdbTable.GlobalUniqueIndex.newBuilder((tech.ydb.proto.table.YdbTable.GlobalUniqueIndex) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 8) { globalUniqueIndexBuilder_.mergeFrom(value); } else { globalUniqueIndexBuilder_.setMessage(value); } } typeCase_ = 8; return this; } /** * .Ydb.Table.GlobalUniqueIndex global_unique_index = 8; */ public Builder clearGlobalUniqueIndex() { if (globalUniqueIndexBuilder_ == null) { if (typeCase_ == 8) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 8) { typeCase_ = 0; type_ = null; } globalUniqueIndexBuilder_.clear(); } return this; } /** * .Ydb.Table.GlobalUniqueIndex global_unique_index = 8; */ public tech.ydb.proto.table.YdbTable.GlobalUniqueIndex.Builder getGlobalUniqueIndexBuilder() { return getGlobalUniqueIndexFieldBuilder().getBuilder(); } /** * .Ydb.Table.GlobalUniqueIndex global_unique_index = 8; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.GlobalUniqueIndexOrBuilder getGlobalUniqueIndexOrBuilder() { if ((typeCase_ == 8) && (globalUniqueIndexBuilder_ != null)) { return globalUniqueIndexBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 8) { return (tech.ydb.proto.table.YdbTable.GlobalUniqueIndex) type_; } return tech.ydb.proto.table.YdbTable.GlobalUniqueIndex.getDefaultInstance(); } } /** * .Ydb.Table.GlobalUniqueIndex global_unique_index = 8; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.GlobalUniqueIndex, tech.ydb.proto.table.YdbTable.GlobalUniqueIndex.Builder, tech.ydb.proto.table.YdbTable.GlobalUniqueIndexOrBuilder> getGlobalUniqueIndexFieldBuilder() { if (globalUniqueIndexBuilder_ == null) { if (!(typeCase_ == 8)) { type_ = tech.ydb.proto.table.YdbTable.GlobalUniqueIndex.getDefaultInstance(); } globalUniqueIndexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.GlobalUniqueIndex, tech.ydb.proto.table.YdbTable.GlobalUniqueIndex.Builder, tech.ydb.proto.table.YdbTable.GlobalUniqueIndexOrBuilder>( (tech.ydb.proto.table.YdbTable.GlobalUniqueIndex) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 8; onChanged(); return globalUniqueIndexBuilder_; } private int status_ = 0; /** * .Ydb.Table.TableIndexDescription.Status status = 4; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** * .Ydb.Table.TableIndexDescription.Status status = 4; * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { status_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** * .Ydb.Table.TableIndexDescription.Status status = 4; * @return The status. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TableIndexDescription.Status getStatus() { tech.ydb.proto.table.YdbTable.TableIndexDescription.Status result = tech.ydb.proto.table.YdbTable.TableIndexDescription.Status.forNumber(status_); return result == null ? tech.ydb.proto.table.YdbTable.TableIndexDescription.Status.UNRECOGNIZED : result; } /** * .Ydb.Table.TableIndexDescription.Status status = 4; * @param value The status to set. * @return This builder for chaining. */ public Builder setStatus(tech.ydb.proto.table.YdbTable.TableIndexDescription.Status value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; status_ = value.getNumber(); onChanged(); return this; } /** * .Ydb.Table.TableIndexDescription.Status status = 4; * @return This builder for chaining. */ public Builder clearStatus() { bitField0_ = (bitField0_ & ~0x00000020); status_ = 0; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList dataColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureDataColumnsIsMutable() { if (!dataColumns_.isModifiable()) { dataColumns_ = new com.google.protobuf.LazyStringArrayList(dataColumns_); } bitField0_ |= 0x00000040; } /** *
       * list of columns content to be copied in to index table
       * 
* * repeated string data_columns = 6; * @return A list containing the dataColumns. */ public com.google.protobuf.ProtocolStringList getDataColumnsList() { dataColumns_.makeImmutable(); return dataColumns_; } /** *
       * list of columns content to be copied in to index table
       * 
* * repeated string data_columns = 6; * @return The count of dataColumns. */ public int getDataColumnsCount() { return dataColumns_.size(); } /** *
       * list of columns content to be copied in to index table
       * 
* * repeated string data_columns = 6; * @param index The index of the element to return. * @return The dataColumns at the given index. */ public java.lang.String getDataColumns(int index) { return dataColumns_.get(index); } /** *
       * list of columns content to be copied in to index table
       * 
* * repeated string data_columns = 6; * @param index The index of the value to return. * @return The bytes of the dataColumns at the given index. */ public com.google.protobuf.ByteString getDataColumnsBytes(int index) { return dataColumns_.getByteString(index); } /** *
       * list of columns content to be copied in to index table
       * 
* * repeated string data_columns = 6; * @param index The index to set the value at. * @param value The dataColumns to set. * @return This builder for chaining. */ public Builder setDataColumns( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDataColumnsIsMutable(); dataColumns_.set(index, value); bitField0_ |= 0x00000040; onChanged(); return this; } /** *
       * list of columns content to be copied in to index table
       * 
* * repeated string data_columns = 6; * @param value The dataColumns to add. * @return This builder for chaining. */ public Builder addDataColumns( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDataColumnsIsMutable(); dataColumns_.add(value); bitField0_ |= 0x00000040; onChanged(); return this; } /** *
       * list of columns content to be copied in to index table
       * 
* * repeated string data_columns = 6; * @param values The dataColumns to add. * @return This builder for chaining. */ public Builder addAllDataColumns( java.lang.Iterable values) { ensureDataColumnsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, dataColumns_); bitField0_ |= 0x00000040; onChanged(); return this; } /** *
       * list of columns content to be copied in to index table
       * 
* * repeated string data_columns = 6; * @return This builder for chaining. */ public Builder clearDataColumns() { dataColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000040);; onChanged(); return this; } /** *
       * list of columns content to be copied in to index table
       * 
* * repeated string data_columns = 6; * @param value The bytes of the dataColumns to add. * @return This builder for chaining. */ public Builder addDataColumnsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureDataColumnsIsMutable(); dataColumns_.add(value); bitField0_ |= 0x00000040; onChanged(); return this; } private long sizeBytes_ ; /** *
       * Size of index data in bytes
       * 
* * uint64 size_bytes = 7; * @return The sizeBytes. */ @java.lang.Override public long getSizeBytes() { return sizeBytes_; } /** *
       * Size of index data in bytes
       * 
* * uint64 size_bytes = 7; * @param value The sizeBytes to set. * @return This builder for chaining. */ public Builder setSizeBytes(long value) { sizeBytes_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * Size of index data in bytes
       * 
* * uint64 size_bytes = 7; * @return This builder for chaining. */ public Builder clearSizeBytes() { bitField0_ = (bitField0_ & ~0x00000080); sizeBytes_ = 0L; 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.Table.TableIndexDescription) } // @@protoc_insertion_point(class_scope:Ydb.Table.TableIndexDescription) private static final tech.ydb.proto.table.YdbTable.TableIndexDescription DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.TableIndexDescription(); } public static tech.ydb.proto.table.YdbTable.TableIndexDescription getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TableIndexDescription 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.table.YdbTable.TableIndexDescription getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface IndexBuildStateOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.IndexBuildState) com.google.protobuf.MessageOrBuilder { } /** *
   * State of index building operation
   * 
* * Protobuf type {@code Ydb.Table.IndexBuildState} */ public static final class IndexBuildState extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.IndexBuildState) IndexBuildStateOrBuilder { private static final long serialVersionUID = 0L; // Use IndexBuildState.newBuilder() to construct. private IndexBuildState(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private IndexBuildState() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new IndexBuildState(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_IndexBuildState_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_IndexBuildState_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.IndexBuildState.class, tech.ydb.proto.table.YdbTable.IndexBuildState.Builder.class); } /** * Protobuf enum {@code Ydb.Table.IndexBuildState.State} */ public enum State implements com.google.protobuf.ProtocolMessageEnum { /** * STATE_UNSPECIFIED = 0; */ STATE_UNSPECIFIED(0), /** * STATE_PREPARING = 1; */ STATE_PREPARING(1), /** * STATE_TRANSFERING_DATA = 2; */ STATE_TRANSFERING_DATA(2), /** * STATE_APPLYING = 3; */ STATE_APPLYING(3), /** * STATE_DONE = 4; */ STATE_DONE(4), /** * STATE_CANCELLATION = 5; */ STATE_CANCELLATION(5), /** * STATE_CANCELLED = 6; */ STATE_CANCELLED(6), /** * STATE_REJECTION = 7; */ STATE_REJECTION(7), /** * STATE_REJECTED = 8; */ STATE_REJECTED(8), UNRECOGNIZED(-1), ; /** * STATE_UNSPECIFIED = 0; */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** * STATE_PREPARING = 1; */ public static final int STATE_PREPARING_VALUE = 1; /** * STATE_TRANSFERING_DATA = 2; */ public static final int STATE_TRANSFERING_DATA_VALUE = 2; /** * STATE_APPLYING = 3; */ public static final int STATE_APPLYING_VALUE = 3; /** * STATE_DONE = 4; */ public static final int STATE_DONE_VALUE = 4; /** * STATE_CANCELLATION = 5; */ public static final int STATE_CANCELLATION_VALUE = 5; /** * STATE_CANCELLED = 6; */ public static final int STATE_CANCELLED_VALUE = 6; /** * STATE_REJECTION = 7; */ public static final int STATE_REJECTION_VALUE = 7; /** * STATE_REJECTED = 8; */ public static final int STATE_REJECTED_VALUE = 8; 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 State 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 State forNumber(int value) { switch (value) { case 0: return STATE_UNSPECIFIED; case 1: return STATE_PREPARING; case 2: return STATE_TRANSFERING_DATA; case 3: return STATE_APPLYING; case 4: return STATE_DONE; case 5: return STATE_CANCELLATION; case 6: return STATE_CANCELLED; case 7: return STATE_REJECTION; case 8: return STATE_REJECTED; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< State> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public State findValueByNumber(int number) { return State.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.table.YdbTable.IndexBuildState.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); public static State 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 State(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Ydb.Table.IndexBuildState.State) } 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 { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; 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.table.YdbTable.IndexBuildState)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.IndexBuildState other = (tech.ydb.proto.table.YdbTable.IndexBuildState) obj; 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 = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.IndexBuildState parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.IndexBuildState 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.table.YdbTable.IndexBuildState parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.IndexBuildState 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.table.YdbTable.IndexBuildState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.IndexBuildState parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.IndexBuildState parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.IndexBuildState 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.table.YdbTable.IndexBuildState parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.IndexBuildState 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.table.YdbTable.IndexBuildState parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.IndexBuildState 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.table.YdbTable.IndexBuildState 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; } /** *
     * State of index building operation
     * 
* * Protobuf type {@code Ydb.Table.IndexBuildState} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.IndexBuildState) tech.ydb.proto.table.YdbTable.IndexBuildStateOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_IndexBuildState_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_IndexBuildState_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.IndexBuildState.class, tech.ydb.proto.table.YdbTable.IndexBuildState.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.IndexBuildState.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_IndexBuildState_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.IndexBuildState getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.IndexBuildState.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.IndexBuildState build() { tech.ydb.proto.table.YdbTable.IndexBuildState result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.IndexBuildState buildPartial() { tech.ydb.proto.table.YdbTable.IndexBuildState result = new tech.ydb.proto.table.YdbTable.IndexBuildState(this); onBuilt(); return result; } @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.table.YdbTable.IndexBuildState) { return mergeFrom((tech.ydb.proto.table.YdbTable.IndexBuildState)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.IndexBuildState other) { if (other == tech.ydb.proto.table.YdbTable.IndexBuildState.getDefaultInstance()) return this; 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; 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; } @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.Table.IndexBuildState) } // @@protoc_insertion_point(class_scope:Ydb.Table.IndexBuildState) private static final tech.ydb.proto.table.YdbTable.IndexBuildState DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.IndexBuildState(); } public static tech.ydb.proto.table.YdbTable.IndexBuildState getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public IndexBuildState 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.table.YdbTable.IndexBuildState getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface IndexBuildDescriptionOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.IndexBuildDescription) com.google.protobuf.MessageOrBuilder { /** * string path = 1; * @return The path. */ java.lang.String getPath(); /** * string path = 1; * @return The bytes for path. */ com.google.protobuf.ByteString getPathBytes(); /** * .Ydb.Table.TableIndex index = 2; * @return Whether the index field is set. */ boolean hasIndex(); /** * .Ydb.Table.TableIndex index = 2; * @return The index. */ tech.ydb.proto.table.YdbTable.TableIndex getIndex(); /** * .Ydb.Table.TableIndex index = 2; */ tech.ydb.proto.table.YdbTable.TableIndexOrBuilder getIndexOrBuilder(); } /** *
   * Description of index building operation
   * 
* * Protobuf type {@code Ydb.Table.IndexBuildDescription} */ public static final class IndexBuildDescription extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.IndexBuildDescription) IndexBuildDescriptionOrBuilder { private static final long serialVersionUID = 0L; // Use IndexBuildDescription.newBuilder() to construct. private IndexBuildDescription(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private IndexBuildDescription() { path_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new IndexBuildDescription(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_IndexBuildDescription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_IndexBuildDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.IndexBuildDescription.class, tech.ydb.proto.table.YdbTable.IndexBuildDescription.Builder.class); } private int bitField0_; public static final int PATH_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object path_ = ""; /** * string path = 1; * @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 = 1; * @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 INDEX_FIELD_NUMBER = 2; private tech.ydb.proto.table.YdbTable.TableIndex index_; /** * .Ydb.Table.TableIndex index = 2; * @return Whether the index field is set. */ @java.lang.Override public boolean hasIndex() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.Table.TableIndex index = 2; * @return The index. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TableIndex getIndex() { return index_ == null ? tech.ydb.proto.table.YdbTable.TableIndex.getDefaultInstance() : index_; } /** * .Ydb.Table.TableIndex index = 2; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TableIndexOrBuilder getIndexOrBuilder() { return index_ == null ? tech.ydb.proto.table.YdbTable.TableIndex.getDefaultInstance() : 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(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getIndex()); } 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(path_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getIndex()); } 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.table.YdbTable.IndexBuildDescription)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.IndexBuildDescription other = (tech.ydb.proto.table.YdbTable.IndexBuildDescription) obj; if (!getPath() .equals(other.getPath())) return false; if (hasIndex() != other.hasIndex()) return false; if (hasIndex()) { if (!getIndex() .equals(other.getIndex())) 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) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); if (hasIndex()) { hash = (37 * hash) + INDEX_FIELD_NUMBER; hash = (53 * hash) + getIndex().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.IndexBuildDescription parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.IndexBuildDescription 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.table.YdbTable.IndexBuildDescription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.IndexBuildDescription 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.table.YdbTable.IndexBuildDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.IndexBuildDescription parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.IndexBuildDescription parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.IndexBuildDescription 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.table.YdbTable.IndexBuildDescription parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.IndexBuildDescription 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.table.YdbTable.IndexBuildDescription parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.IndexBuildDescription 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.table.YdbTable.IndexBuildDescription 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; } /** *
     * Description of index building operation
     * 
* * Protobuf type {@code Ydb.Table.IndexBuildDescription} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.IndexBuildDescription) tech.ydb.proto.table.YdbTable.IndexBuildDescriptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_IndexBuildDescription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_IndexBuildDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.IndexBuildDescription.class, tech.ydb.proto.table.YdbTable.IndexBuildDescription.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.IndexBuildDescription.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getIndexFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; path_ = ""; index_ = null; if (indexBuilder_ != null) { indexBuilder_.dispose(); indexBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_IndexBuildDescription_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.IndexBuildDescription getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.IndexBuildDescription.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.IndexBuildDescription build() { tech.ydb.proto.table.YdbTable.IndexBuildDescription result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.IndexBuildDescription buildPartial() { tech.ydb.proto.table.YdbTable.IndexBuildDescription result = new tech.ydb.proto.table.YdbTable.IndexBuildDescription(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.IndexBuildDescription result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.path_ = path_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.index_ = indexBuilder_ == null ? index_ : indexBuilder_.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.table.YdbTable.IndexBuildDescription) { return mergeFrom((tech.ydb.proto.table.YdbTable.IndexBuildDescription)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.IndexBuildDescription other) { if (other == tech.ydb.proto.table.YdbTable.IndexBuildDescription.getDefaultInstance()) return this; if (!other.getPath().isEmpty()) { path_ = other.path_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasIndex()) { mergeIndex(other.getIndex()); } 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: { path_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getIndexFieldBuilder().getBuilder(), extensionRegistry); 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 java.lang.Object path_ = ""; /** * string path = 1; * @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 = 1; * @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 = 1; * @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_ |= 0x00000001; onChanged(); return this; } /** * string path = 1; * @return This builder for chaining. */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * string path = 1; * @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_ |= 0x00000001; onChanged(); return this; } private tech.ydb.proto.table.YdbTable.TableIndex index_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.TableIndex, tech.ydb.proto.table.YdbTable.TableIndex.Builder, tech.ydb.proto.table.YdbTable.TableIndexOrBuilder> indexBuilder_; /** * .Ydb.Table.TableIndex index = 2; * @return Whether the index field is set. */ public boolean hasIndex() { return ((bitField0_ & 0x00000002) != 0); } /** * .Ydb.Table.TableIndex index = 2; * @return The index. */ public tech.ydb.proto.table.YdbTable.TableIndex getIndex() { if (indexBuilder_ == null) { return index_ == null ? tech.ydb.proto.table.YdbTable.TableIndex.getDefaultInstance() : index_; } else { return indexBuilder_.getMessage(); } } /** * .Ydb.Table.TableIndex index = 2; */ public Builder setIndex(tech.ydb.proto.table.YdbTable.TableIndex value) { if (indexBuilder_ == null) { if (value == null) { throw new NullPointerException(); } index_ = value; } else { indexBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * .Ydb.Table.TableIndex index = 2; */ public Builder setIndex( tech.ydb.proto.table.YdbTable.TableIndex.Builder builderForValue) { if (indexBuilder_ == null) { index_ = builderForValue.build(); } else { indexBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * .Ydb.Table.TableIndex index = 2; */ public Builder mergeIndex(tech.ydb.proto.table.YdbTable.TableIndex value) { if (indexBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && index_ != null && index_ != tech.ydb.proto.table.YdbTable.TableIndex.getDefaultInstance()) { getIndexBuilder().mergeFrom(value); } else { index_ = value; } } else { indexBuilder_.mergeFrom(value); } if (index_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** * .Ydb.Table.TableIndex index = 2; */ public Builder clearIndex() { bitField0_ = (bitField0_ & ~0x00000002); index_ = null; if (indexBuilder_ != null) { indexBuilder_.dispose(); indexBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Table.TableIndex index = 2; */ public tech.ydb.proto.table.YdbTable.TableIndex.Builder getIndexBuilder() { bitField0_ |= 0x00000002; onChanged(); return getIndexFieldBuilder().getBuilder(); } /** * .Ydb.Table.TableIndex index = 2; */ public tech.ydb.proto.table.YdbTable.TableIndexOrBuilder getIndexOrBuilder() { if (indexBuilder_ != null) { return indexBuilder_.getMessageOrBuilder(); } else { return index_ == null ? tech.ydb.proto.table.YdbTable.TableIndex.getDefaultInstance() : index_; } } /** * .Ydb.Table.TableIndex index = 2; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.TableIndex, tech.ydb.proto.table.YdbTable.TableIndex.Builder, tech.ydb.proto.table.YdbTable.TableIndexOrBuilder> getIndexFieldBuilder() { if (indexBuilder_ == null) { indexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.TableIndex, tech.ydb.proto.table.YdbTable.TableIndex.Builder, tech.ydb.proto.table.YdbTable.TableIndexOrBuilder>( getIndex(), getParentForChildren(), isClean()); index_ = null; } return indexBuilder_; } @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.Table.IndexBuildDescription) } // @@protoc_insertion_point(class_scope:Ydb.Table.IndexBuildDescription) private static final tech.ydb.proto.table.YdbTable.IndexBuildDescription DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.IndexBuildDescription(); } public static tech.ydb.proto.table.YdbTable.IndexBuildDescription getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public IndexBuildDescription 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.table.YdbTable.IndexBuildDescription getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface IndexBuildMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.IndexBuildMetadata) com.google.protobuf.MessageOrBuilder { /** * .Ydb.Table.IndexBuildDescription description = 1; * @return Whether the description field is set. */ boolean hasDescription(); /** * .Ydb.Table.IndexBuildDescription description = 1; * @return The description. */ tech.ydb.proto.table.YdbTable.IndexBuildDescription getDescription(); /** * .Ydb.Table.IndexBuildDescription description = 1; */ tech.ydb.proto.table.YdbTable.IndexBuildDescriptionOrBuilder getDescriptionOrBuilder(); /** * .Ydb.Table.IndexBuildState.State state = 2; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** * .Ydb.Table.IndexBuildState.State state = 2; * @return The state. */ tech.ydb.proto.table.YdbTable.IndexBuildState.State getState(); /** * float progress = 3; * @return The progress. */ float getProgress(); } /** * Protobuf type {@code Ydb.Table.IndexBuildMetadata} */ public static final class IndexBuildMetadata extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.IndexBuildMetadata) IndexBuildMetadataOrBuilder { private static final long serialVersionUID = 0L; // Use IndexBuildMetadata.newBuilder() to construct. private IndexBuildMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private IndexBuildMetadata() { state_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new IndexBuildMetadata(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_IndexBuildMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_IndexBuildMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.IndexBuildMetadata.class, tech.ydb.proto.table.YdbTable.IndexBuildMetadata.Builder.class); } private int bitField0_; public static final int DESCRIPTION_FIELD_NUMBER = 1; private tech.ydb.proto.table.YdbTable.IndexBuildDescription description_; /** * .Ydb.Table.IndexBuildDescription description = 1; * @return Whether the description field is set. */ @java.lang.Override public boolean hasDescription() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.Table.IndexBuildDescription description = 1; * @return The description. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.IndexBuildDescription getDescription() { return description_ == null ? tech.ydb.proto.table.YdbTable.IndexBuildDescription.getDefaultInstance() : description_; } /** * .Ydb.Table.IndexBuildDescription description = 1; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.IndexBuildDescriptionOrBuilder getDescriptionOrBuilder() { return description_ == null ? tech.ydb.proto.table.YdbTable.IndexBuildDescription.getDefaultInstance() : description_; } public static final int STATE_FIELD_NUMBER = 2; private int state_ = 0; /** * .Ydb.Table.IndexBuildState.State state = 2; * @return The enum numeric value on the wire for state. */ @java.lang.Override public int getStateValue() { return state_; } /** * .Ydb.Table.IndexBuildState.State state = 2; * @return The state. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.IndexBuildState.State getState() { tech.ydb.proto.table.YdbTable.IndexBuildState.State result = tech.ydb.proto.table.YdbTable.IndexBuildState.State.forNumber(state_); return result == null ? tech.ydb.proto.table.YdbTable.IndexBuildState.State.UNRECOGNIZED : result; } public static final int PROGRESS_FIELD_NUMBER = 3; private float progress_ = 0F; /** * float progress = 3; * @return The progress. */ @java.lang.Override public float getProgress() { return progress_; } 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, getDescription()); } if (state_ != tech.ydb.proto.table.YdbTable.IndexBuildState.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(2, state_); } if (java.lang.Float.floatToRawIntBits(progress_) != 0) { output.writeFloat(3, progress_); } 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, getDescription()); } if (state_ != tech.ydb.proto.table.YdbTable.IndexBuildState.State.STATE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, state_); } if (java.lang.Float.floatToRawIntBits(progress_) != 0) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(3, progress_); } 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.table.YdbTable.IndexBuildMetadata)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.IndexBuildMetadata other = (tech.ydb.proto.table.YdbTable.IndexBuildMetadata) obj; if (hasDescription() != other.hasDescription()) return false; if (hasDescription()) { if (!getDescription() .equals(other.getDescription())) return false; } if (state_ != other.state_) return false; if (java.lang.Float.floatToIntBits(getProgress()) != java.lang.Float.floatToIntBits( other.getProgress())) 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 (hasDescription()) { hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); } hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; hash = (37 * hash) + PROGRESS_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getProgress()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.IndexBuildMetadata parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.IndexBuildMetadata 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.table.YdbTable.IndexBuildMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.IndexBuildMetadata 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.table.YdbTable.IndexBuildMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.IndexBuildMetadata parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.IndexBuildMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.IndexBuildMetadata 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.table.YdbTable.IndexBuildMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.IndexBuildMetadata 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.table.YdbTable.IndexBuildMetadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.IndexBuildMetadata 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.table.YdbTable.IndexBuildMetadata 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.Table.IndexBuildMetadata} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.IndexBuildMetadata) tech.ydb.proto.table.YdbTable.IndexBuildMetadataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_IndexBuildMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_IndexBuildMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.IndexBuildMetadata.class, tech.ydb.proto.table.YdbTable.IndexBuildMetadata.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.IndexBuildMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getDescriptionFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; description_ = null; if (descriptionBuilder_ != null) { descriptionBuilder_.dispose(); descriptionBuilder_ = null; } state_ = 0; progress_ = 0F; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_IndexBuildMetadata_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.IndexBuildMetadata getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.IndexBuildMetadata.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.IndexBuildMetadata build() { tech.ydb.proto.table.YdbTable.IndexBuildMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.IndexBuildMetadata buildPartial() { tech.ydb.proto.table.YdbTable.IndexBuildMetadata result = new tech.ydb.proto.table.YdbTable.IndexBuildMetadata(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.IndexBuildMetadata result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.description_ = descriptionBuilder_ == null ? description_ : descriptionBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.state_ = state_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.progress_ = progress_; } 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.table.YdbTable.IndexBuildMetadata) { return mergeFrom((tech.ydb.proto.table.YdbTable.IndexBuildMetadata)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.IndexBuildMetadata other) { if (other == tech.ydb.proto.table.YdbTable.IndexBuildMetadata.getDefaultInstance()) return this; if (other.hasDescription()) { mergeDescription(other.getDescription()); } if (other.state_ != 0) { setStateValue(other.getStateValue()); } if (other.getProgress() != 0F) { setProgress(other.getProgress()); } 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( getDescriptionFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 16: { state_ = input.readEnum(); bitField0_ |= 0x00000002; break; } // case 16 case 29: { progress_ = input.readFloat(); bitField0_ |= 0x00000004; break; } // case 29 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.table.YdbTable.IndexBuildDescription description_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.IndexBuildDescription, tech.ydb.proto.table.YdbTable.IndexBuildDescription.Builder, tech.ydb.proto.table.YdbTable.IndexBuildDescriptionOrBuilder> descriptionBuilder_; /** * .Ydb.Table.IndexBuildDescription description = 1; * @return Whether the description field is set. */ public boolean hasDescription() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.Table.IndexBuildDescription description = 1; * @return The description. */ public tech.ydb.proto.table.YdbTable.IndexBuildDescription getDescription() { if (descriptionBuilder_ == null) { return description_ == null ? tech.ydb.proto.table.YdbTable.IndexBuildDescription.getDefaultInstance() : description_; } else { return descriptionBuilder_.getMessage(); } } /** * .Ydb.Table.IndexBuildDescription description = 1; */ public Builder setDescription(tech.ydb.proto.table.YdbTable.IndexBuildDescription value) { if (descriptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } description_ = value; } else { descriptionBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .Ydb.Table.IndexBuildDescription description = 1; */ public Builder setDescription( tech.ydb.proto.table.YdbTable.IndexBuildDescription.Builder builderForValue) { if (descriptionBuilder_ == null) { description_ = builderForValue.build(); } else { descriptionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .Ydb.Table.IndexBuildDescription description = 1; */ public Builder mergeDescription(tech.ydb.proto.table.YdbTable.IndexBuildDescription value) { if (descriptionBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && description_ != null && description_ != tech.ydb.proto.table.YdbTable.IndexBuildDescription.getDefaultInstance()) { getDescriptionBuilder().mergeFrom(value); } else { description_ = value; } } else { descriptionBuilder_.mergeFrom(value); } if (description_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * .Ydb.Table.IndexBuildDescription description = 1; */ public Builder clearDescription() { bitField0_ = (bitField0_ & ~0x00000001); description_ = null; if (descriptionBuilder_ != null) { descriptionBuilder_.dispose(); descriptionBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Table.IndexBuildDescription description = 1; */ public tech.ydb.proto.table.YdbTable.IndexBuildDescription.Builder getDescriptionBuilder() { bitField0_ |= 0x00000001; onChanged(); return getDescriptionFieldBuilder().getBuilder(); } /** * .Ydb.Table.IndexBuildDescription description = 1; */ public tech.ydb.proto.table.YdbTable.IndexBuildDescriptionOrBuilder getDescriptionOrBuilder() { if (descriptionBuilder_ != null) { return descriptionBuilder_.getMessageOrBuilder(); } else { return description_ == null ? tech.ydb.proto.table.YdbTable.IndexBuildDescription.getDefaultInstance() : description_; } } /** * .Ydb.Table.IndexBuildDescription description = 1; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.IndexBuildDescription, tech.ydb.proto.table.YdbTable.IndexBuildDescription.Builder, tech.ydb.proto.table.YdbTable.IndexBuildDescriptionOrBuilder> getDescriptionFieldBuilder() { if (descriptionBuilder_ == null) { descriptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.IndexBuildDescription, tech.ydb.proto.table.YdbTable.IndexBuildDescription.Builder, tech.ydb.proto.table.YdbTable.IndexBuildDescriptionOrBuilder>( getDescription(), getParentForChildren(), isClean()); description_ = null; } return descriptionBuilder_; } private int state_ = 0; /** * .Ydb.Table.IndexBuildState.State state = 2; * @return The enum numeric value on the wire for state. */ @java.lang.Override public int getStateValue() { return state_; } /** * .Ydb.Table.IndexBuildState.State state = 2; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { state_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * .Ydb.Table.IndexBuildState.State state = 2; * @return The state. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.IndexBuildState.State getState() { tech.ydb.proto.table.YdbTable.IndexBuildState.State result = tech.ydb.proto.table.YdbTable.IndexBuildState.State.forNumber(state_); return result == null ? tech.ydb.proto.table.YdbTable.IndexBuildState.State.UNRECOGNIZED : result; } /** * .Ydb.Table.IndexBuildState.State state = 2; * @param value The state to set. * @return This builder for chaining. */ public Builder setState(tech.ydb.proto.table.YdbTable.IndexBuildState.State value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; state_ = value.getNumber(); onChanged(); return this; } /** * .Ydb.Table.IndexBuildState.State state = 2; * @return This builder for chaining. */ public Builder clearState() { bitField0_ = (bitField0_ & ~0x00000002); state_ = 0; onChanged(); return this; } private float progress_ ; /** * float progress = 3; * @return The progress. */ @java.lang.Override public float getProgress() { return progress_; } /** * float progress = 3; * @param value The progress to set. * @return This builder for chaining. */ public Builder setProgress(float value) { progress_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * float progress = 3; * @return This builder for chaining. */ public Builder clearProgress() { bitField0_ = (bitField0_ & ~0x00000004); progress_ = 0F; 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.Table.IndexBuildMetadata) } // @@protoc_insertion_point(class_scope:Ydb.Table.IndexBuildMetadata) private static final tech.ydb.proto.table.YdbTable.IndexBuildMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.IndexBuildMetadata(); } public static tech.ydb.proto.table.YdbTable.IndexBuildMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public IndexBuildMetadata 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.table.YdbTable.IndexBuildMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ChangefeedModeOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.ChangefeedMode) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code Ydb.Table.ChangefeedMode} */ public static final class ChangefeedMode extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.ChangefeedMode) ChangefeedModeOrBuilder { private static final long serialVersionUID = 0L; // Use ChangefeedMode.newBuilder() to construct. private ChangefeedMode(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ChangefeedMode() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ChangefeedMode(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ChangefeedMode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ChangefeedMode_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ChangefeedMode.class, tech.ydb.proto.table.YdbTable.ChangefeedMode.Builder.class); } /** * Protobuf enum {@code Ydb.Table.ChangefeedMode.Mode} */ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { /** * MODE_UNSPECIFIED = 0; */ MODE_UNSPECIFIED(0), /** *
       * Only the key component of the modified row
       * 
* * MODE_KEYS_ONLY = 1; */ MODE_KEYS_ONLY(1), /** *
       * Updated columns
       * 
* * MODE_UPDATES = 2; */ MODE_UPDATES(2), /** *
       * The entire row, as it appears after it was modified
       * 
* * MODE_NEW_IMAGE = 3; */ MODE_NEW_IMAGE(3), /** *
       * The entire row, as it appeared before it was modified
       * 
* * MODE_OLD_IMAGE = 4; */ MODE_OLD_IMAGE(4), /** *
       * Both new and old images of the row
       * 
* * MODE_NEW_AND_OLD_IMAGES = 5; */ MODE_NEW_AND_OLD_IMAGES(5), UNRECOGNIZED(-1), ; /** * MODE_UNSPECIFIED = 0; */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** *
       * Only the key component of the modified row
       * 
* * MODE_KEYS_ONLY = 1; */ public static final int MODE_KEYS_ONLY_VALUE = 1; /** *
       * Updated columns
       * 
* * MODE_UPDATES = 2; */ public static final int MODE_UPDATES_VALUE = 2; /** *
       * The entire row, as it appears after it was modified
       * 
* * MODE_NEW_IMAGE = 3; */ public static final int MODE_NEW_IMAGE_VALUE = 3; /** *
       * The entire row, as it appeared before it was modified
       * 
* * MODE_OLD_IMAGE = 4; */ public static final int MODE_OLD_IMAGE_VALUE = 4; /** *
       * Both new and old images of the row
       * 
* * MODE_NEW_AND_OLD_IMAGES = 5; */ public static final int MODE_NEW_AND_OLD_IMAGES_VALUE = 5; 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 Mode 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 Mode forNumber(int value) { switch (value) { case 0: return MODE_UNSPECIFIED; case 1: return MODE_KEYS_ONLY; case 2: return MODE_UPDATES; case 3: return MODE_NEW_IMAGE; case 4: return MODE_OLD_IMAGE; case 5: return MODE_NEW_AND_OLD_IMAGES; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Mode> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Mode findValueByNumber(int number) { return Mode.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.table.YdbTable.ChangefeedMode.getDescriptor().getEnumTypes().get(0); } private static final Mode[] VALUES = values(); public static Mode 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 Mode(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Ydb.Table.ChangefeedMode.Mode) } 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 { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; 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.table.YdbTable.ChangefeedMode)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.ChangefeedMode other = (tech.ydb.proto.table.YdbTable.ChangefeedMode) obj; 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 = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.ChangefeedMode parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ChangefeedMode 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.table.YdbTable.ChangefeedMode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ChangefeedMode 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.table.YdbTable.ChangefeedMode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ChangefeedMode parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.ChangefeedMode parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ChangefeedMode 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.table.YdbTable.ChangefeedMode parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ChangefeedMode 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.table.YdbTable.ChangefeedMode parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ChangefeedMode 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.table.YdbTable.ChangefeedMode 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.Table.ChangefeedMode} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.ChangefeedMode) tech.ydb.proto.table.YdbTable.ChangefeedModeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ChangefeedMode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ChangefeedMode_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ChangefeedMode.class, tech.ydb.proto.table.YdbTable.ChangefeedMode.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.ChangefeedMode.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ChangefeedMode_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ChangefeedMode getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.ChangefeedMode.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.ChangefeedMode build() { tech.ydb.proto.table.YdbTable.ChangefeedMode result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ChangefeedMode buildPartial() { tech.ydb.proto.table.YdbTable.ChangefeedMode result = new tech.ydb.proto.table.YdbTable.ChangefeedMode(this); onBuilt(); return result; } @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.table.YdbTable.ChangefeedMode) { return mergeFrom((tech.ydb.proto.table.YdbTable.ChangefeedMode)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.ChangefeedMode other) { if (other == tech.ydb.proto.table.YdbTable.ChangefeedMode.getDefaultInstance()) return this; 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; 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; } @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.Table.ChangefeedMode) } // @@protoc_insertion_point(class_scope:Ydb.Table.ChangefeedMode) private static final tech.ydb.proto.table.YdbTable.ChangefeedMode DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.ChangefeedMode(); } public static tech.ydb.proto.table.YdbTable.ChangefeedMode getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ChangefeedMode 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.table.YdbTable.ChangefeedMode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ChangefeedFormatOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.ChangefeedFormat) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code Ydb.Table.ChangefeedFormat} */ public static final class ChangefeedFormat extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.ChangefeedFormat) ChangefeedFormatOrBuilder { private static final long serialVersionUID = 0L; // Use ChangefeedFormat.newBuilder() to construct. private ChangefeedFormat(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ChangefeedFormat() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ChangefeedFormat(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ChangefeedFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ChangefeedFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ChangefeedFormat.class, tech.ydb.proto.table.YdbTable.ChangefeedFormat.Builder.class); } /** * Protobuf enum {@code Ydb.Table.ChangefeedFormat.Format} */ public enum Format implements com.google.protobuf.ProtocolMessageEnum { /** * FORMAT_UNSPECIFIED = 0; */ FORMAT_UNSPECIFIED(0), /** *
       * Change record in JSON format for common (row oriented) tables
       * 
* * FORMAT_JSON = 1; */ FORMAT_JSON(1), /** *
       * Change record in JSON format for document (DynamoDB-compatible) tables
       * 
* * FORMAT_DYNAMODB_STREAMS_JSON = 2; */ FORMAT_DYNAMODB_STREAMS_JSON(2), /** *
       * Debezium-like change record JSON format for common (row oriented) tables
       * 
* * FORMAT_DEBEZIUM_JSON = 3; */ FORMAT_DEBEZIUM_JSON(3), UNRECOGNIZED(-1), ; /** * FORMAT_UNSPECIFIED = 0; */ public static final int FORMAT_UNSPECIFIED_VALUE = 0; /** *
       * Change record in JSON format for common (row oriented) tables
       * 
* * FORMAT_JSON = 1; */ public static final int FORMAT_JSON_VALUE = 1; /** *
       * Change record in JSON format for document (DynamoDB-compatible) tables
       * 
* * FORMAT_DYNAMODB_STREAMS_JSON = 2; */ public static final int FORMAT_DYNAMODB_STREAMS_JSON_VALUE = 2; /** *
       * Debezium-like change record JSON format for common (row oriented) tables
       * 
* * FORMAT_DEBEZIUM_JSON = 3; */ public static final int FORMAT_DEBEZIUM_JSON_VALUE = 3; 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 Format 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 Format forNumber(int value) { switch (value) { case 0: return FORMAT_UNSPECIFIED; case 1: return FORMAT_JSON; case 2: return FORMAT_DYNAMODB_STREAMS_JSON; case 3: return FORMAT_DEBEZIUM_JSON; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Format> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Format findValueByNumber(int number) { return Format.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.table.YdbTable.ChangefeedFormat.getDescriptor().getEnumTypes().get(0); } private static final Format[] VALUES = values(); public static Format 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 Format(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Ydb.Table.ChangefeedFormat.Format) } 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 { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; 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.table.YdbTable.ChangefeedFormat)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.ChangefeedFormat other = (tech.ydb.proto.table.YdbTable.ChangefeedFormat) obj; 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 = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.ChangefeedFormat parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ChangefeedFormat 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.table.YdbTable.ChangefeedFormat parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ChangefeedFormat 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.table.YdbTable.ChangefeedFormat parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ChangefeedFormat parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.ChangefeedFormat parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ChangefeedFormat 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.table.YdbTable.ChangefeedFormat parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ChangefeedFormat 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.table.YdbTable.ChangefeedFormat parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ChangefeedFormat 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.table.YdbTable.ChangefeedFormat 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.Table.ChangefeedFormat} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.ChangefeedFormat) tech.ydb.proto.table.YdbTable.ChangefeedFormatOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ChangefeedFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ChangefeedFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ChangefeedFormat.class, tech.ydb.proto.table.YdbTable.ChangefeedFormat.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.ChangefeedFormat.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ChangefeedFormat_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ChangefeedFormat getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.ChangefeedFormat.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.ChangefeedFormat build() { tech.ydb.proto.table.YdbTable.ChangefeedFormat result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ChangefeedFormat buildPartial() { tech.ydb.proto.table.YdbTable.ChangefeedFormat result = new tech.ydb.proto.table.YdbTable.ChangefeedFormat(this); onBuilt(); return result; } @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.table.YdbTable.ChangefeedFormat) { return mergeFrom((tech.ydb.proto.table.YdbTable.ChangefeedFormat)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.ChangefeedFormat other) { if (other == tech.ydb.proto.table.YdbTable.ChangefeedFormat.getDefaultInstance()) return this; 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; 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; } @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.Table.ChangefeedFormat) } // @@protoc_insertion_point(class_scope:Ydb.Table.ChangefeedFormat) private static final tech.ydb.proto.table.YdbTable.ChangefeedFormat DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.ChangefeedFormat(); } public static tech.ydb.proto.table.YdbTable.ChangefeedFormat getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ChangefeedFormat 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.table.YdbTable.ChangefeedFormat getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ChangefeedOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.Changefeed) com.google.protobuf.MessageOrBuilder { /** *
     * Name of the feed
     * 
* * string name = 1; * @return The name. */ java.lang.String getName(); /** *
     * Name of the feed
     * 
* * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * Mode specifies the information that will be written to the feed
     * 
* * .Ydb.Table.ChangefeedMode.Mode mode = 2; * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** *
     * Mode specifies the information that will be written to the feed
     * 
* * .Ydb.Table.ChangefeedMode.Mode mode = 2; * @return The mode. */ tech.ydb.proto.table.YdbTable.ChangefeedMode.Mode getMode(); /** *
     * Format of the data
     * 
* * .Ydb.Table.ChangefeedFormat.Format format = 3; * @return The enum numeric value on the wire for format. */ int getFormatValue(); /** *
     * Format of the data
     * 
* * .Ydb.Table.ChangefeedFormat.Format format = 3; * @return The format. */ tech.ydb.proto.table.YdbTable.ChangefeedFormat.Format getFormat(); /** *
     * How long data in changefeed's underlying topic should be stored
     * 
* * .google.protobuf.Duration retention_period = 4; * @return Whether the retentionPeriod field is set. */ boolean hasRetentionPeriod(); /** *
     * How long data in changefeed's underlying topic should be stored
     * 
* * .google.protobuf.Duration retention_period = 4; * @return The retentionPeriod. */ com.google.protobuf.Duration getRetentionPeriod(); /** *
     * How long data in changefeed's underlying topic should be stored
     * 
* * .google.protobuf.Duration retention_period = 4; */ com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder(); /** *
     * Emit virtual timestamps of changes along with data or not
     * 
* * bool virtual_timestamps = 5; * @return The virtualTimestamps. */ boolean getVirtualTimestamps(); /** *
     * Initial scan will output the current state of the table first
     * 
* * bool initial_scan = 6; * @return The initialScan. */ boolean getInitialScan(); /** *
     * Attributes. Total size is limited to 10 KB.
     * 
* * map<string, string> attributes = 7 [(.Ydb.length) = { ... } */ int getAttributesCount(); /** *
     * Attributes. Total size is limited to 10 KB.
     * 
* * map<string, string> attributes = 7 [(.Ydb.length) = { ... } */ boolean containsAttributes( java.lang.String key); /** * Use {@link #getAttributesMap()} instead. */ @java.lang.Deprecated java.util.Map getAttributes(); /** *
     * Attributes. Total size is limited to 10 KB.
     * 
* * map<string, string> attributes = 7 [(.Ydb.length) = { ... } */ java.util.Map getAttributesMap(); /** *
     * Attributes. Total size is limited to 10 KB.
     * 
* * map<string, string> attributes = 7 [(.Ydb.length) = { ... } */ /* nullable */ java.lang.String getAttributesOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** *
     * Attributes. Total size is limited to 10 KB.
     * 
* * map<string, string> attributes = 7 [(.Ydb.length) = { ... } */ java.lang.String getAttributesOrThrow( java.lang.String key); /** *
     * Value that will be emitted in the `awsRegion` field of the record in DYNAMODB_STREAMS_JSON format
     * 
* * string aws_region = 8 [(.Ydb.length) = { ... } * @return The awsRegion. */ java.lang.String getAwsRegion(); /** *
     * Value that will be emitted in the `awsRegion` field of the record in DYNAMODB_STREAMS_JSON format
     * 
* * string aws_region = 8 [(.Ydb.length) = { ... } * @return The bytes for awsRegion. */ com.google.protobuf.ByteString getAwsRegionBytes(); /** *
     * Periodically emit resolved timestamps. If unspecified, resolved timestamps are not emitted.
     * 
* * .google.protobuf.Duration resolved_timestamps_interval = 9; * @return Whether the resolvedTimestampsInterval field is set. */ boolean hasResolvedTimestampsInterval(); /** *
     * Periodically emit resolved timestamps. If unspecified, resolved timestamps are not emitted.
     * 
* * .google.protobuf.Duration resolved_timestamps_interval = 9; * @return The resolvedTimestampsInterval. */ com.google.protobuf.Duration getResolvedTimestampsInterval(); /** *
     * Periodically emit resolved timestamps. If unspecified, resolved timestamps are not emitted.
     * 
* * .google.protobuf.Duration resolved_timestamps_interval = 9; */ com.google.protobuf.DurationOrBuilder getResolvedTimestampsIntervalOrBuilder(); /** *
     * Partitioning settings of underlying topic.
     * 
* * .Ydb.Topic.PartitioningSettings topic_partitioning_settings = 10; * @return Whether the topicPartitioningSettings field is set. */ boolean hasTopicPartitioningSettings(); /** *
     * Partitioning settings of underlying topic.
     * 
* * .Ydb.Topic.PartitioningSettings topic_partitioning_settings = 10; * @return The topicPartitioningSettings. */ tech.ydb.proto.topic.YdbTopic.PartitioningSettings getTopicPartitioningSettings(); /** *
     * Partitioning settings of underlying topic.
     * 
* * .Ydb.Topic.PartitioningSettings topic_partitioning_settings = 10; */ tech.ydb.proto.topic.YdbTopic.PartitioningSettingsOrBuilder getTopicPartitioningSettingsOrBuilder(); } /** * Protobuf type {@code Ydb.Table.Changefeed} */ public static final class Changefeed extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.Changefeed) ChangefeedOrBuilder { private static final long serialVersionUID = 0L; // Use Changefeed.newBuilder() to construct. private Changefeed(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Changefeed() { name_ = ""; mode_ = 0; format_ = 0; awsRegion_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Changefeed(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_Changefeed_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 7: return internalGetAttributes(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_Changefeed_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.Changefeed.class, tech.ydb.proto.table.YdbTable.Changefeed.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** *
     * Name of the feed
     * 
* * 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 the feed
     * 
* * 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 MODE_FIELD_NUMBER = 2; private int mode_ = 0; /** *
     * Mode specifies the information that will be written to the feed
     * 
* * .Ydb.Table.ChangefeedMode.Mode mode = 2; * @return The enum numeric value on the wire for mode. */ @java.lang.Override public int getModeValue() { return mode_; } /** *
     * Mode specifies the information that will be written to the feed
     * 
* * .Ydb.Table.ChangefeedMode.Mode mode = 2; * @return The mode. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ChangefeedMode.Mode getMode() { tech.ydb.proto.table.YdbTable.ChangefeedMode.Mode result = tech.ydb.proto.table.YdbTable.ChangefeedMode.Mode.forNumber(mode_); return result == null ? tech.ydb.proto.table.YdbTable.ChangefeedMode.Mode.UNRECOGNIZED : result; } public static final int FORMAT_FIELD_NUMBER = 3; private int format_ = 0; /** *
     * Format of the data
     * 
* * .Ydb.Table.ChangefeedFormat.Format format = 3; * @return The enum numeric value on the wire for format. */ @java.lang.Override public int getFormatValue() { return format_; } /** *
     * Format of the data
     * 
* * .Ydb.Table.ChangefeedFormat.Format format = 3; * @return The format. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ChangefeedFormat.Format getFormat() { tech.ydb.proto.table.YdbTable.ChangefeedFormat.Format result = tech.ydb.proto.table.YdbTable.ChangefeedFormat.Format.forNumber(format_); return result == null ? tech.ydb.proto.table.YdbTable.ChangefeedFormat.Format.UNRECOGNIZED : result; } public static final int RETENTION_PERIOD_FIELD_NUMBER = 4; private com.google.protobuf.Duration retentionPeriod_; /** *
     * How long data in changefeed's underlying topic should be stored
     * 
* * .google.protobuf.Duration retention_period = 4; * @return Whether the retentionPeriod field is set. */ @java.lang.Override public boolean hasRetentionPeriod() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * How long data in changefeed's underlying topic should be stored
     * 
* * .google.protobuf.Duration retention_period = 4; * @return The retentionPeriod. */ @java.lang.Override public com.google.protobuf.Duration getRetentionPeriod() { return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; } /** *
     * How long data in changefeed's underlying topic should be stored
     * 
* * .google.protobuf.Duration retention_period = 4; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder() { return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; } public static final int VIRTUAL_TIMESTAMPS_FIELD_NUMBER = 5; private boolean virtualTimestamps_ = false; /** *
     * Emit virtual timestamps of changes along with data or not
     * 
* * bool virtual_timestamps = 5; * @return The virtualTimestamps. */ @java.lang.Override public boolean getVirtualTimestamps() { return virtualTimestamps_; } public static final int INITIAL_SCAN_FIELD_NUMBER = 6; private boolean initialScan_ = false; /** *
     * Initial scan will output the current state of the table first
     * 
* * bool initial_scan = 6; * @return The initialScan. */ @java.lang.Override public boolean getInitialScan() { return initialScan_; } public static final int ATTRIBUTES_FIELD_NUMBER = 7; private static final class AttributesDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_Changefeed_AttributesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } @SuppressWarnings("serial") private com.google.protobuf.MapField< java.lang.String, java.lang.String> attributes_; private com.google.protobuf.MapField internalGetAttributes() { if (attributes_ == null) { return com.google.protobuf.MapField.emptyMapField( AttributesDefaultEntryHolder.defaultEntry); } return attributes_; } public int getAttributesCount() { return internalGetAttributes().getMap().size(); } /** *
     * Attributes. Total size is limited to 10 KB.
     * 
* * map<string, string> attributes = 7 [(.Ydb.length) = { ... } */ @java.lang.Override public boolean containsAttributes( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetAttributes().getMap().containsKey(key); } /** * Use {@link #getAttributesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAttributes() { return getAttributesMap(); } /** *
     * Attributes. Total size is limited to 10 KB.
     * 
* * map<string, string> attributes = 7 [(.Ydb.length) = { ... } */ @java.lang.Override public java.util.Map getAttributesMap() { return internalGetAttributes().getMap(); } /** *
     * Attributes. Total size is limited to 10 KB.
     * 
* * map<string, string> attributes = 7 [(.Ydb.length) = { ... } */ @java.lang.Override public /* nullable */ java.lang.String getAttributesOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAttributes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Attributes. Total size is limited to 10 KB.
     * 
* * map<string, string> attributes = 7 [(.Ydb.length) = { ... } */ @java.lang.Override public java.lang.String getAttributesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAttributes().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int AWS_REGION_FIELD_NUMBER = 8; @SuppressWarnings("serial") private volatile java.lang.Object awsRegion_ = ""; /** *
     * Value that will be emitted in the `awsRegion` field of the record in DYNAMODB_STREAMS_JSON format
     * 
* * string aws_region = 8 [(.Ydb.length) = { ... } * @return The awsRegion. */ @java.lang.Override public java.lang.String getAwsRegion() { java.lang.Object ref = awsRegion_; 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(); awsRegion_ = s; return s; } } /** *
     * Value that will be emitted in the `awsRegion` field of the record in DYNAMODB_STREAMS_JSON format
     * 
* * string aws_region = 8 [(.Ydb.length) = { ... } * @return The bytes for awsRegion. */ @java.lang.Override public com.google.protobuf.ByteString getAwsRegionBytes() { java.lang.Object ref = awsRegion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); awsRegion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RESOLVED_TIMESTAMPS_INTERVAL_FIELD_NUMBER = 9; private com.google.protobuf.Duration resolvedTimestampsInterval_; /** *
     * Periodically emit resolved timestamps. If unspecified, resolved timestamps are not emitted.
     * 
* * .google.protobuf.Duration resolved_timestamps_interval = 9; * @return Whether the resolvedTimestampsInterval field is set. */ @java.lang.Override public boolean hasResolvedTimestampsInterval() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Periodically emit resolved timestamps. If unspecified, resolved timestamps are not emitted.
     * 
* * .google.protobuf.Duration resolved_timestamps_interval = 9; * @return The resolvedTimestampsInterval. */ @java.lang.Override public com.google.protobuf.Duration getResolvedTimestampsInterval() { return resolvedTimestampsInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : resolvedTimestampsInterval_; } /** *
     * Periodically emit resolved timestamps. If unspecified, resolved timestamps are not emitted.
     * 
* * .google.protobuf.Duration resolved_timestamps_interval = 9; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getResolvedTimestampsIntervalOrBuilder() { return resolvedTimestampsInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : resolvedTimestampsInterval_; } public static final int TOPIC_PARTITIONING_SETTINGS_FIELD_NUMBER = 10; private tech.ydb.proto.topic.YdbTopic.PartitioningSettings topicPartitioningSettings_; /** *
     * Partitioning settings of underlying topic.
     * 
* * .Ydb.Topic.PartitioningSettings topic_partitioning_settings = 10; * @return Whether the topicPartitioningSettings field is set. */ @java.lang.Override public boolean hasTopicPartitioningSettings() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Partitioning settings of underlying topic.
     * 
* * .Ydb.Topic.PartitioningSettings topic_partitioning_settings = 10; * @return The topicPartitioningSettings. */ @java.lang.Override public tech.ydb.proto.topic.YdbTopic.PartitioningSettings getTopicPartitioningSettings() { return topicPartitioningSettings_ == null ? tech.ydb.proto.topic.YdbTopic.PartitioningSettings.getDefaultInstance() : topicPartitioningSettings_; } /** *
     * Partitioning settings of underlying topic.
     * 
* * .Ydb.Topic.PartitioningSettings topic_partitioning_settings = 10; */ @java.lang.Override public tech.ydb.proto.topic.YdbTopic.PartitioningSettingsOrBuilder getTopicPartitioningSettingsOrBuilder() { return topicPartitioningSettings_ == null ? tech.ydb.proto.topic.YdbTopic.PartitioningSettings.getDefaultInstance() : topicPartitioningSettings_; } 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 (mode_ != tech.ydb.proto.table.YdbTable.ChangefeedMode.Mode.MODE_UNSPECIFIED.getNumber()) { output.writeEnum(2, mode_); } if (format_ != tech.ydb.proto.table.YdbTable.ChangefeedFormat.Format.FORMAT_UNSPECIFIED.getNumber()) { output.writeEnum(3, format_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(4, getRetentionPeriod()); } if (virtualTimestamps_ != false) { output.writeBool(5, virtualTimestamps_); } if (initialScan_ != false) { output.writeBool(6, initialScan_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetAttributes(), AttributesDefaultEntryHolder.defaultEntry, 7); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(awsRegion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, awsRegion_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(9, getResolvedTimestampsInterval()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(10, getTopicPartitioningSettings()); } 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 (mode_ != tech.ydb.proto.table.YdbTable.ChangefeedMode.Mode.MODE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, mode_); } if (format_ != tech.ydb.proto.table.YdbTable.ChangefeedFormat.Format.FORMAT_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, format_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getRetentionPeriod()); } if (virtualTimestamps_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, virtualTimestamps_); } if (initialScan_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(6, initialScan_); } for (java.util.Map.Entry entry : internalGetAttributes().getMap().entrySet()) { com.google.protobuf.MapEntry attributes__ = AttributesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, attributes__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(awsRegion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, awsRegion_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getResolvedTimestampsInterval()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getTopicPartitioningSettings()); } 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.table.YdbTable.Changefeed)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.Changefeed other = (tech.ydb.proto.table.YdbTable.Changefeed) obj; if (!getName() .equals(other.getName())) return false; if (mode_ != other.mode_) return false; if (format_ != other.format_) return false; if (hasRetentionPeriod() != other.hasRetentionPeriod()) return false; if (hasRetentionPeriod()) { if (!getRetentionPeriod() .equals(other.getRetentionPeriod())) return false; } if (getVirtualTimestamps() != other.getVirtualTimestamps()) return false; if (getInitialScan() != other.getInitialScan()) return false; if (!internalGetAttributes().equals( other.internalGetAttributes())) return false; if (!getAwsRegion() .equals(other.getAwsRegion())) return false; if (hasResolvedTimestampsInterval() != other.hasResolvedTimestampsInterval()) return false; if (hasResolvedTimestampsInterval()) { if (!getResolvedTimestampsInterval() .equals(other.getResolvedTimestampsInterval())) return false; } if (hasTopicPartitioningSettings() != other.hasTopicPartitioningSettings()) return false; if (hasTopicPartitioningSettings()) { if (!getTopicPartitioningSettings() .equals(other.getTopicPartitioningSettings())) 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) + MODE_FIELD_NUMBER; hash = (53 * hash) + mode_; hash = (37 * hash) + FORMAT_FIELD_NUMBER; hash = (53 * hash) + format_; if (hasRetentionPeriod()) { hash = (37 * hash) + RETENTION_PERIOD_FIELD_NUMBER; hash = (53 * hash) + getRetentionPeriod().hashCode(); } hash = (37 * hash) + VIRTUAL_TIMESTAMPS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getVirtualTimestamps()); hash = (37 * hash) + INITIAL_SCAN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getInitialScan()); if (!internalGetAttributes().getMap().isEmpty()) { hash = (37 * hash) + ATTRIBUTES_FIELD_NUMBER; hash = (53 * hash) + internalGetAttributes().hashCode(); } hash = (37 * hash) + AWS_REGION_FIELD_NUMBER; hash = (53 * hash) + getAwsRegion().hashCode(); if (hasResolvedTimestampsInterval()) { hash = (37 * hash) + RESOLVED_TIMESTAMPS_INTERVAL_FIELD_NUMBER; hash = (53 * hash) + getResolvedTimestampsInterval().hashCode(); } if (hasTopicPartitioningSettings()) { hash = (37 * hash) + TOPIC_PARTITIONING_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getTopicPartitioningSettings().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.Changefeed parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.Changefeed 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.table.YdbTable.Changefeed parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.Changefeed 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.table.YdbTable.Changefeed parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.Changefeed parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.Changefeed parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.Changefeed 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.table.YdbTable.Changefeed parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.Changefeed 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.table.YdbTable.Changefeed parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.Changefeed 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.table.YdbTable.Changefeed 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.Table.Changefeed} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.Changefeed) tech.ydb.proto.table.YdbTable.ChangefeedOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_Changefeed_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 7: return internalGetAttributes(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 7: return internalGetMutableAttributes(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_Changefeed_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.Changefeed.class, tech.ydb.proto.table.YdbTable.Changefeed.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.Changefeed.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getRetentionPeriodFieldBuilder(); getResolvedTimestampsIntervalFieldBuilder(); getTopicPartitioningSettingsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; mode_ = 0; format_ = 0; retentionPeriod_ = null; if (retentionPeriodBuilder_ != null) { retentionPeriodBuilder_.dispose(); retentionPeriodBuilder_ = null; } virtualTimestamps_ = false; initialScan_ = false; internalGetMutableAttributes().clear(); awsRegion_ = ""; resolvedTimestampsInterval_ = null; if (resolvedTimestampsIntervalBuilder_ != null) { resolvedTimestampsIntervalBuilder_.dispose(); resolvedTimestampsIntervalBuilder_ = null; } topicPartitioningSettings_ = null; if (topicPartitioningSettingsBuilder_ != null) { topicPartitioningSettingsBuilder_.dispose(); topicPartitioningSettingsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_Changefeed_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.Changefeed getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.Changefeed.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.Changefeed build() { tech.ydb.proto.table.YdbTable.Changefeed result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.Changefeed buildPartial() { tech.ydb.proto.table.YdbTable.Changefeed result = new tech.ydb.proto.table.YdbTable.Changefeed(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.Changefeed result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.mode_ = mode_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.format_ = format_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000008) != 0)) { result.retentionPeriod_ = retentionPeriodBuilder_ == null ? retentionPeriod_ : retentionPeriodBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000010) != 0)) { result.virtualTimestamps_ = virtualTimestamps_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.initialScan_ = initialScan_; } if (((from_bitField0_ & 0x00000040) != 0)) { result.attributes_ = internalGetAttributes(); result.attributes_.makeImmutable(); } if (((from_bitField0_ & 0x00000080) != 0)) { result.awsRegion_ = awsRegion_; } if (((from_bitField0_ & 0x00000100) != 0)) { result.resolvedTimestampsInterval_ = resolvedTimestampsIntervalBuilder_ == null ? resolvedTimestampsInterval_ : resolvedTimestampsIntervalBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000200) != 0)) { result.topicPartitioningSettings_ = topicPartitioningSettingsBuilder_ == null ? topicPartitioningSettings_ : topicPartitioningSettingsBuilder_.build(); to_bitField0_ |= 0x00000004; } 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.table.YdbTable.Changefeed) { return mergeFrom((tech.ydb.proto.table.YdbTable.Changefeed)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.Changefeed other) { if (other == tech.ydb.proto.table.YdbTable.Changefeed.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; onChanged(); } if (other.mode_ != 0) { setModeValue(other.getModeValue()); } if (other.format_ != 0) { setFormatValue(other.getFormatValue()); } if (other.hasRetentionPeriod()) { mergeRetentionPeriod(other.getRetentionPeriod()); } if (other.getVirtualTimestamps() != false) { setVirtualTimestamps(other.getVirtualTimestamps()); } if (other.getInitialScan() != false) { setInitialScan(other.getInitialScan()); } internalGetMutableAttributes().mergeFrom( other.internalGetAttributes()); bitField0_ |= 0x00000040; if (!other.getAwsRegion().isEmpty()) { awsRegion_ = other.awsRegion_; bitField0_ |= 0x00000080; onChanged(); } if (other.hasResolvedTimestampsInterval()) { mergeResolvedTimestampsInterval(other.getResolvedTimestampsInterval()); } if (other.hasTopicPartitioningSettings()) { mergeTopicPartitioningSettings(other.getTopicPartitioningSettings()); } 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 16: { mode_ = input.readEnum(); bitField0_ |= 0x00000002; break; } // case 16 case 24: { format_ = input.readEnum(); bitField0_ |= 0x00000004; break; } // case 24 case 34: { input.readMessage( getRetentionPeriodFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 34 case 40: { virtualTimestamps_ = input.readBool(); bitField0_ |= 0x00000010; break; } // case 40 case 48: { initialScan_ = input.readBool(); bitField0_ |= 0x00000020; break; } // case 48 case 58: { com.google.protobuf.MapEntry attributes__ = input.readMessage( AttributesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableAttributes().getMutableMap().put( attributes__.getKey(), attributes__.getValue()); bitField0_ |= 0x00000040; break; } // case 58 case 66: { awsRegion_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000080; break; } // case 66 case 74: { input.readMessage( getResolvedTimestampsIntervalFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000100; break; } // case 74 case 82: { input.readMessage( getTopicPartitioningSettingsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000200; break; } // case 82 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 the feed
       * 
* * 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 the feed
       * 
* * 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 the feed
       * 
* * 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 the feed
       * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Name of the feed
       * 
* * 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 int mode_ = 0; /** *
       * Mode specifies the information that will be written to the feed
       * 
* * .Ydb.Table.ChangefeedMode.Mode mode = 2; * @return The enum numeric value on the wire for mode. */ @java.lang.Override public int getModeValue() { return mode_; } /** *
       * Mode specifies the information that will be written to the feed
       * 
* * .Ydb.Table.ChangefeedMode.Mode mode = 2; * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ public Builder setModeValue(int value) { mode_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Mode specifies the information that will be written to the feed
       * 
* * .Ydb.Table.ChangefeedMode.Mode mode = 2; * @return The mode. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ChangefeedMode.Mode getMode() { tech.ydb.proto.table.YdbTable.ChangefeedMode.Mode result = tech.ydb.proto.table.YdbTable.ChangefeedMode.Mode.forNumber(mode_); return result == null ? tech.ydb.proto.table.YdbTable.ChangefeedMode.Mode.UNRECOGNIZED : result; } /** *
       * Mode specifies the information that will be written to the feed
       * 
* * .Ydb.Table.ChangefeedMode.Mode mode = 2; * @param value The mode to set. * @return This builder for chaining. */ public Builder setMode(tech.ydb.proto.table.YdbTable.ChangefeedMode.Mode value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; mode_ = value.getNumber(); onChanged(); return this; } /** *
       * Mode specifies the information that will be written to the feed
       * 
* * .Ydb.Table.ChangefeedMode.Mode mode = 2; * @return This builder for chaining. */ public Builder clearMode() { bitField0_ = (bitField0_ & ~0x00000002); mode_ = 0; onChanged(); return this; } private int format_ = 0; /** *
       * Format of the data
       * 
* * .Ydb.Table.ChangefeedFormat.Format format = 3; * @return The enum numeric value on the wire for format. */ @java.lang.Override public int getFormatValue() { return format_; } /** *
       * Format of the data
       * 
* * .Ydb.Table.ChangefeedFormat.Format format = 3; * @param value The enum numeric value on the wire for format to set. * @return This builder for chaining. */ public Builder setFormatValue(int value) { format_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * Format of the data
       * 
* * .Ydb.Table.ChangefeedFormat.Format format = 3; * @return The format. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ChangefeedFormat.Format getFormat() { tech.ydb.proto.table.YdbTable.ChangefeedFormat.Format result = tech.ydb.proto.table.YdbTable.ChangefeedFormat.Format.forNumber(format_); return result == null ? tech.ydb.proto.table.YdbTable.ChangefeedFormat.Format.UNRECOGNIZED : result; } /** *
       * Format of the data
       * 
* * .Ydb.Table.ChangefeedFormat.Format format = 3; * @param value The format to set. * @return This builder for chaining. */ public Builder setFormat(tech.ydb.proto.table.YdbTable.ChangefeedFormat.Format value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; format_ = value.getNumber(); onChanged(); return this; } /** *
       * Format of the data
       * 
* * .Ydb.Table.ChangefeedFormat.Format format = 3; * @return This builder for chaining. */ public Builder clearFormat() { bitField0_ = (bitField0_ & ~0x00000004); format_ = 0; onChanged(); return this; } private com.google.protobuf.Duration retentionPeriod_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> retentionPeriodBuilder_; /** *
       * How long data in changefeed's underlying topic should be stored
       * 
* * .google.protobuf.Duration retention_period = 4; * @return Whether the retentionPeriod field is set. */ public boolean hasRetentionPeriod() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * How long data in changefeed's underlying topic should be stored
       * 
* * .google.protobuf.Duration retention_period = 4; * @return The retentionPeriod. */ public com.google.protobuf.Duration getRetentionPeriod() { if (retentionPeriodBuilder_ == null) { return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; } else { return retentionPeriodBuilder_.getMessage(); } } /** *
       * How long data in changefeed's underlying topic should be stored
       * 
* * .google.protobuf.Duration retention_period = 4; */ public Builder setRetentionPeriod(com.google.protobuf.Duration value) { if (retentionPeriodBuilder_ == null) { if (value == null) { throw new NullPointerException(); } retentionPeriod_ = value; } else { retentionPeriodBuilder_.setMessage(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * How long data in changefeed's underlying topic should be stored
       * 
* * .google.protobuf.Duration retention_period = 4; */ public Builder setRetentionPeriod( com.google.protobuf.Duration.Builder builderForValue) { if (retentionPeriodBuilder_ == null) { retentionPeriod_ = builderForValue.build(); } else { retentionPeriodBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * How long data in changefeed's underlying topic should be stored
       * 
* * .google.protobuf.Duration retention_period = 4; */ public Builder mergeRetentionPeriod(com.google.protobuf.Duration value) { if (retentionPeriodBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && retentionPeriod_ != null && retentionPeriod_ != com.google.protobuf.Duration.getDefaultInstance()) { getRetentionPeriodBuilder().mergeFrom(value); } else { retentionPeriod_ = value; } } else { retentionPeriodBuilder_.mergeFrom(value); } if (retentionPeriod_ != null) { bitField0_ |= 0x00000008; onChanged(); } return this; } /** *
       * How long data in changefeed's underlying topic should be stored
       * 
* * .google.protobuf.Duration retention_period = 4; */ public Builder clearRetentionPeriod() { bitField0_ = (bitField0_ & ~0x00000008); retentionPeriod_ = null; if (retentionPeriodBuilder_ != null) { retentionPeriodBuilder_.dispose(); retentionPeriodBuilder_ = null; } onChanged(); return this; } /** *
       * How long data in changefeed's underlying topic should be stored
       * 
* * .google.protobuf.Duration retention_period = 4; */ public com.google.protobuf.Duration.Builder getRetentionPeriodBuilder() { bitField0_ |= 0x00000008; onChanged(); return getRetentionPeriodFieldBuilder().getBuilder(); } /** *
       * How long data in changefeed's underlying topic should be stored
       * 
* * .google.protobuf.Duration retention_period = 4; */ public com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder() { if (retentionPeriodBuilder_ != null) { return retentionPeriodBuilder_.getMessageOrBuilder(); } else { return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; } } /** *
       * How long data in changefeed's underlying topic should be stored
       * 
* * .google.protobuf.Duration retention_period = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getRetentionPeriodFieldBuilder() { if (retentionPeriodBuilder_ == null) { retentionPeriodBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( getRetentionPeriod(), getParentForChildren(), isClean()); retentionPeriod_ = null; } return retentionPeriodBuilder_; } private boolean virtualTimestamps_ ; /** *
       * Emit virtual timestamps of changes along with data or not
       * 
* * bool virtual_timestamps = 5; * @return The virtualTimestamps. */ @java.lang.Override public boolean getVirtualTimestamps() { return virtualTimestamps_; } /** *
       * Emit virtual timestamps of changes along with data or not
       * 
* * bool virtual_timestamps = 5; * @param value The virtualTimestamps to set. * @return This builder for chaining. */ public Builder setVirtualTimestamps(boolean value) { virtualTimestamps_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * Emit virtual timestamps of changes along with data or not
       * 
* * bool virtual_timestamps = 5; * @return This builder for chaining. */ public Builder clearVirtualTimestamps() { bitField0_ = (bitField0_ & ~0x00000010); virtualTimestamps_ = false; onChanged(); return this; } private boolean initialScan_ ; /** *
       * Initial scan will output the current state of the table first
       * 
* * bool initial_scan = 6; * @return The initialScan. */ @java.lang.Override public boolean getInitialScan() { return initialScan_; } /** *
       * Initial scan will output the current state of the table first
       * 
* * bool initial_scan = 6; * @param value The initialScan to set. * @return This builder for chaining. */ public Builder setInitialScan(boolean value) { initialScan_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * Initial scan will output the current state of the table first
       * 
* * bool initial_scan = 6; * @return This builder for chaining. */ public Builder clearInitialScan() { bitField0_ = (bitField0_ & ~0x00000020); initialScan_ = false; onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> attributes_; private com.google.protobuf.MapField internalGetAttributes() { if (attributes_ == null) { return com.google.protobuf.MapField.emptyMapField( AttributesDefaultEntryHolder.defaultEntry); } return attributes_; } private com.google.protobuf.MapField internalGetMutableAttributes() { if (attributes_ == null) { attributes_ = com.google.protobuf.MapField.newMapField( AttributesDefaultEntryHolder.defaultEntry); } if (!attributes_.isMutable()) { attributes_ = attributes_.copy(); } bitField0_ |= 0x00000040; onChanged(); return attributes_; } public int getAttributesCount() { return internalGetAttributes().getMap().size(); } /** *
       * Attributes. Total size is limited to 10 KB.
       * 
* * map<string, string> attributes = 7 [(.Ydb.length) = { ... } */ @java.lang.Override public boolean containsAttributes( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetAttributes().getMap().containsKey(key); } /** * Use {@link #getAttributesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAttributes() { return getAttributesMap(); } /** *
       * Attributes. Total size is limited to 10 KB.
       * 
* * map<string, string> attributes = 7 [(.Ydb.length) = { ... } */ @java.lang.Override public java.util.Map getAttributesMap() { return internalGetAttributes().getMap(); } /** *
       * Attributes. Total size is limited to 10 KB.
       * 
* * map<string, string> attributes = 7 [(.Ydb.length) = { ... } */ @java.lang.Override public /* nullable */ java.lang.String getAttributesOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAttributes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Attributes. Total size is limited to 10 KB.
       * 
* * map<string, string> attributes = 7 [(.Ydb.length) = { ... } */ @java.lang.Override public java.lang.String getAttributesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAttributes().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearAttributes() { bitField0_ = (bitField0_ & ~0x00000040); internalGetMutableAttributes().getMutableMap() .clear(); return this; } /** *
       * Attributes. Total size is limited to 10 KB.
       * 
* * map<string, string> attributes = 7 [(.Ydb.length) = { ... } */ public Builder removeAttributes( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableAttributes().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableAttributes() { bitField0_ |= 0x00000040; return internalGetMutableAttributes().getMutableMap(); } /** *
       * Attributes. Total size is limited to 10 KB.
       * 
* * map<string, string> attributes = 7 [(.Ydb.length) = { ... } */ public Builder putAttributes( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableAttributes().getMutableMap() .put(key, value); bitField0_ |= 0x00000040; return this; } /** *
       * Attributes. Total size is limited to 10 KB.
       * 
* * map<string, string> attributes = 7 [(.Ydb.length) = { ... } */ public Builder putAllAttributes( java.util.Map values) { internalGetMutableAttributes().getMutableMap() .putAll(values); bitField0_ |= 0x00000040; return this; } private java.lang.Object awsRegion_ = ""; /** *
       * Value that will be emitted in the `awsRegion` field of the record in DYNAMODB_STREAMS_JSON format
       * 
* * string aws_region = 8 [(.Ydb.length) = { ... } * @return The awsRegion. */ public java.lang.String getAwsRegion() { java.lang.Object ref = awsRegion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); awsRegion_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Value that will be emitted in the `awsRegion` field of the record in DYNAMODB_STREAMS_JSON format
       * 
* * string aws_region = 8 [(.Ydb.length) = { ... } * @return The bytes for awsRegion. */ public com.google.protobuf.ByteString getAwsRegionBytes() { java.lang.Object ref = awsRegion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); awsRegion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Value that will be emitted in the `awsRegion` field of the record in DYNAMODB_STREAMS_JSON format
       * 
* * string aws_region = 8 [(.Ydb.length) = { ... } * @param value The awsRegion to set. * @return This builder for chaining. */ public Builder setAwsRegion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } awsRegion_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * Value that will be emitted in the `awsRegion` field of the record in DYNAMODB_STREAMS_JSON format
       * 
* * string aws_region = 8 [(.Ydb.length) = { ... } * @return This builder for chaining. */ public Builder clearAwsRegion() { awsRegion_ = getDefaultInstance().getAwsRegion(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); return this; } /** *
       * Value that will be emitted in the `awsRegion` field of the record in DYNAMODB_STREAMS_JSON format
       * 
* * string aws_region = 8 [(.Ydb.length) = { ... } * @param value The bytes for awsRegion to set. * @return This builder for chaining. */ public Builder setAwsRegionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); awsRegion_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } private com.google.protobuf.Duration resolvedTimestampsInterval_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> resolvedTimestampsIntervalBuilder_; /** *
       * Periodically emit resolved timestamps. If unspecified, resolved timestamps are not emitted.
       * 
* * .google.protobuf.Duration resolved_timestamps_interval = 9; * @return Whether the resolvedTimestampsInterval field is set. */ public boolean hasResolvedTimestampsInterval() { return ((bitField0_ & 0x00000100) != 0); } /** *
       * Periodically emit resolved timestamps. If unspecified, resolved timestamps are not emitted.
       * 
* * .google.protobuf.Duration resolved_timestamps_interval = 9; * @return The resolvedTimestampsInterval. */ public com.google.protobuf.Duration getResolvedTimestampsInterval() { if (resolvedTimestampsIntervalBuilder_ == null) { return resolvedTimestampsInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : resolvedTimestampsInterval_; } else { return resolvedTimestampsIntervalBuilder_.getMessage(); } } /** *
       * Periodically emit resolved timestamps. If unspecified, resolved timestamps are not emitted.
       * 
* * .google.protobuf.Duration resolved_timestamps_interval = 9; */ public Builder setResolvedTimestampsInterval(com.google.protobuf.Duration value) { if (resolvedTimestampsIntervalBuilder_ == null) { if (value == null) { throw new NullPointerException(); } resolvedTimestampsInterval_ = value; } else { resolvedTimestampsIntervalBuilder_.setMessage(value); } bitField0_ |= 0x00000100; onChanged(); return this; } /** *
       * Periodically emit resolved timestamps. If unspecified, resolved timestamps are not emitted.
       * 
* * .google.protobuf.Duration resolved_timestamps_interval = 9; */ public Builder setResolvedTimestampsInterval( com.google.protobuf.Duration.Builder builderForValue) { if (resolvedTimestampsIntervalBuilder_ == null) { resolvedTimestampsInterval_ = builderForValue.build(); } else { resolvedTimestampsIntervalBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000100; onChanged(); return this; } /** *
       * Periodically emit resolved timestamps. If unspecified, resolved timestamps are not emitted.
       * 
* * .google.protobuf.Duration resolved_timestamps_interval = 9; */ public Builder mergeResolvedTimestampsInterval(com.google.protobuf.Duration value) { if (resolvedTimestampsIntervalBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0) && resolvedTimestampsInterval_ != null && resolvedTimestampsInterval_ != com.google.protobuf.Duration.getDefaultInstance()) { getResolvedTimestampsIntervalBuilder().mergeFrom(value); } else { resolvedTimestampsInterval_ = value; } } else { resolvedTimestampsIntervalBuilder_.mergeFrom(value); } if (resolvedTimestampsInterval_ != null) { bitField0_ |= 0x00000100; onChanged(); } return this; } /** *
       * Periodically emit resolved timestamps. If unspecified, resolved timestamps are not emitted.
       * 
* * .google.protobuf.Duration resolved_timestamps_interval = 9; */ public Builder clearResolvedTimestampsInterval() { bitField0_ = (bitField0_ & ~0x00000100); resolvedTimestampsInterval_ = null; if (resolvedTimestampsIntervalBuilder_ != null) { resolvedTimestampsIntervalBuilder_.dispose(); resolvedTimestampsIntervalBuilder_ = null; } onChanged(); return this; } /** *
       * Periodically emit resolved timestamps. If unspecified, resolved timestamps are not emitted.
       * 
* * .google.protobuf.Duration resolved_timestamps_interval = 9; */ public com.google.protobuf.Duration.Builder getResolvedTimestampsIntervalBuilder() { bitField0_ |= 0x00000100; onChanged(); return getResolvedTimestampsIntervalFieldBuilder().getBuilder(); } /** *
       * Periodically emit resolved timestamps. If unspecified, resolved timestamps are not emitted.
       * 
* * .google.protobuf.Duration resolved_timestamps_interval = 9; */ public com.google.protobuf.DurationOrBuilder getResolvedTimestampsIntervalOrBuilder() { if (resolvedTimestampsIntervalBuilder_ != null) { return resolvedTimestampsIntervalBuilder_.getMessageOrBuilder(); } else { return resolvedTimestampsInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : resolvedTimestampsInterval_; } } /** *
       * Periodically emit resolved timestamps. If unspecified, resolved timestamps are not emitted.
       * 
* * .google.protobuf.Duration resolved_timestamps_interval = 9; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getResolvedTimestampsIntervalFieldBuilder() { if (resolvedTimestampsIntervalBuilder_ == null) { resolvedTimestampsIntervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( getResolvedTimestampsInterval(), getParentForChildren(), isClean()); resolvedTimestampsInterval_ = null; } return resolvedTimestampsIntervalBuilder_; } private tech.ydb.proto.topic.YdbTopic.PartitioningSettings topicPartitioningSettings_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.topic.YdbTopic.PartitioningSettings, tech.ydb.proto.topic.YdbTopic.PartitioningSettings.Builder, tech.ydb.proto.topic.YdbTopic.PartitioningSettingsOrBuilder> topicPartitioningSettingsBuilder_; /** *
       * Partitioning settings of underlying topic.
       * 
* * .Ydb.Topic.PartitioningSettings topic_partitioning_settings = 10; * @return Whether the topicPartitioningSettings field is set. */ public boolean hasTopicPartitioningSettings() { return ((bitField0_ & 0x00000200) != 0); } /** *
       * Partitioning settings of underlying topic.
       * 
* * .Ydb.Topic.PartitioningSettings topic_partitioning_settings = 10; * @return The topicPartitioningSettings. */ public tech.ydb.proto.topic.YdbTopic.PartitioningSettings getTopicPartitioningSettings() { if (topicPartitioningSettingsBuilder_ == null) { return topicPartitioningSettings_ == null ? tech.ydb.proto.topic.YdbTopic.PartitioningSettings.getDefaultInstance() : topicPartitioningSettings_; } else { return topicPartitioningSettingsBuilder_.getMessage(); } } /** *
       * Partitioning settings of underlying topic.
       * 
* * .Ydb.Topic.PartitioningSettings topic_partitioning_settings = 10; */ public Builder setTopicPartitioningSettings(tech.ydb.proto.topic.YdbTopic.PartitioningSettings value) { if (topicPartitioningSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } topicPartitioningSettings_ = value; } else { topicPartitioningSettingsBuilder_.setMessage(value); } bitField0_ |= 0x00000200; onChanged(); return this; } /** *
       * Partitioning settings of underlying topic.
       * 
* * .Ydb.Topic.PartitioningSettings topic_partitioning_settings = 10; */ public Builder setTopicPartitioningSettings( tech.ydb.proto.topic.YdbTopic.PartitioningSettings.Builder builderForValue) { if (topicPartitioningSettingsBuilder_ == null) { topicPartitioningSettings_ = builderForValue.build(); } else { topicPartitioningSettingsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000200; onChanged(); return this; } /** *
       * Partitioning settings of underlying topic.
       * 
* * .Ydb.Topic.PartitioningSettings topic_partitioning_settings = 10; */ public Builder mergeTopicPartitioningSettings(tech.ydb.proto.topic.YdbTopic.PartitioningSettings value) { if (topicPartitioningSettingsBuilder_ == null) { if (((bitField0_ & 0x00000200) != 0) && topicPartitioningSettings_ != null && topicPartitioningSettings_ != tech.ydb.proto.topic.YdbTopic.PartitioningSettings.getDefaultInstance()) { getTopicPartitioningSettingsBuilder().mergeFrom(value); } else { topicPartitioningSettings_ = value; } } else { topicPartitioningSettingsBuilder_.mergeFrom(value); } if (topicPartitioningSettings_ != null) { bitField0_ |= 0x00000200; onChanged(); } return this; } /** *
       * Partitioning settings of underlying topic.
       * 
* * .Ydb.Topic.PartitioningSettings topic_partitioning_settings = 10; */ public Builder clearTopicPartitioningSettings() { bitField0_ = (bitField0_ & ~0x00000200); topicPartitioningSettings_ = null; if (topicPartitioningSettingsBuilder_ != null) { topicPartitioningSettingsBuilder_.dispose(); topicPartitioningSettingsBuilder_ = null; } onChanged(); return this; } /** *
       * Partitioning settings of underlying topic.
       * 
* * .Ydb.Topic.PartitioningSettings topic_partitioning_settings = 10; */ public tech.ydb.proto.topic.YdbTopic.PartitioningSettings.Builder getTopicPartitioningSettingsBuilder() { bitField0_ |= 0x00000200; onChanged(); return getTopicPartitioningSettingsFieldBuilder().getBuilder(); } /** *
       * Partitioning settings of underlying topic.
       * 
* * .Ydb.Topic.PartitioningSettings topic_partitioning_settings = 10; */ public tech.ydb.proto.topic.YdbTopic.PartitioningSettingsOrBuilder getTopicPartitioningSettingsOrBuilder() { if (topicPartitioningSettingsBuilder_ != null) { return topicPartitioningSettingsBuilder_.getMessageOrBuilder(); } else { return topicPartitioningSettings_ == null ? tech.ydb.proto.topic.YdbTopic.PartitioningSettings.getDefaultInstance() : topicPartitioningSettings_; } } /** *
       * Partitioning settings of underlying topic.
       * 
* * .Ydb.Topic.PartitioningSettings topic_partitioning_settings = 10; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.topic.YdbTopic.PartitioningSettings, tech.ydb.proto.topic.YdbTopic.PartitioningSettings.Builder, tech.ydb.proto.topic.YdbTopic.PartitioningSettingsOrBuilder> getTopicPartitioningSettingsFieldBuilder() { if (topicPartitioningSettingsBuilder_ == null) { topicPartitioningSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.topic.YdbTopic.PartitioningSettings, tech.ydb.proto.topic.YdbTopic.PartitioningSettings.Builder, tech.ydb.proto.topic.YdbTopic.PartitioningSettingsOrBuilder>( getTopicPartitioningSettings(), getParentForChildren(), isClean()); topicPartitioningSettings_ = null; } return topicPartitioningSettingsBuilder_; } @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.Table.Changefeed) } // @@protoc_insertion_point(class_scope:Ydb.Table.Changefeed) private static final tech.ydb.proto.table.YdbTable.Changefeed DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.Changefeed(); } public static tech.ydb.proto.table.YdbTable.Changefeed getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Changefeed 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.table.YdbTable.Changefeed getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ChangefeedDescriptionOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.ChangefeedDescription) com.google.protobuf.MessageOrBuilder { /** *
     * Name of the feed
     * 
* * string name = 1; * @return The name. */ java.lang.String getName(); /** *
     * Name of the feed
     * 
* * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * Mode specifies the information that will be written to the feed
     * 
* * .Ydb.Table.ChangefeedMode.Mode mode = 2; * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** *
     * Mode specifies the information that will be written to the feed
     * 
* * .Ydb.Table.ChangefeedMode.Mode mode = 2; * @return The mode. */ tech.ydb.proto.table.YdbTable.ChangefeedMode.Mode getMode(); /** *
     * Format of the data
     * 
* * .Ydb.Table.ChangefeedFormat.Format format = 3; * @return The enum numeric value on the wire for format. */ int getFormatValue(); /** *
     * Format of the data
     * 
* * .Ydb.Table.ChangefeedFormat.Format format = 3; * @return The format. */ tech.ydb.proto.table.YdbTable.ChangefeedFormat.Format getFormat(); /** *
     * State of the feed
     * 
* * .Ydb.Table.ChangefeedDescription.State state = 4; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** *
     * State of the feed
     * 
* * .Ydb.Table.ChangefeedDescription.State state = 4; * @return The state. */ tech.ydb.proto.table.YdbTable.ChangefeedDescription.State getState(); /** *
     * State of emitting of virtual timestamps along with data
     * 
* * bool virtual_timestamps = 5; * @return The virtualTimestamps. */ boolean getVirtualTimestamps(); /** *
     * Attributes
     * 
* * map<string, string> attributes = 6; */ int getAttributesCount(); /** *
     * Attributes
     * 
* * map<string, string> attributes = 6; */ boolean containsAttributes( java.lang.String key); /** * Use {@link #getAttributesMap()} instead. */ @java.lang.Deprecated java.util.Map getAttributes(); /** *
     * Attributes
     * 
* * map<string, string> attributes = 6; */ java.util.Map getAttributesMap(); /** *
     * Attributes
     * 
* * map<string, string> attributes = 6; */ /* nullable */ java.lang.String getAttributesOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** *
     * Attributes
     * 
* * map<string, string> attributes = 6; */ java.lang.String getAttributesOrThrow( java.lang.String key); /** *
     * Value that will be emitted in the `awsRegion` field of the record in DYNAMODB_STREAMS_JSON format
     * 
* * string aws_region = 7; * @return The awsRegion. */ java.lang.String getAwsRegion(); /** *
     * Value that will be emitted in the `awsRegion` field of the record in DYNAMODB_STREAMS_JSON format
     * 
* * string aws_region = 7; * @return The bytes for awsRegion. */ com.google.protobuf.ByteString getAwsRegionBytes(); /** *
     * Interval of emitting of resolved timestamps. If unspecified, resolved timestamps are not emitted.
     * 
* * .google.protobuf.Duration resolved_timestamps_interval = 8; * @return Whether the resolvedTimestampsInterval field is set. */ boolean hasResolvedTimestampsInterval(); /** *
     * Interval of emitting of resolved timestamps. If unspecified, resolved timestamps are not emitted.
     * 
* * .google.protobuf.Duration resolved_timestamps_interval = 8; * @return The resolvedTimestampsInterval. */ com.google.protobuf.Duration getResolvedTimestampsInterval(); /** *
     * Interval of emitting of resolved timestamps. If unspecified, resolved timestamps are not emitted.
     * 
* * .google.protobuf.Duration resolved_timestamps_interval = 8; */ com.google.protobuf.DurationOrBuilder getResolvedTimestampsIntervalOrBuilder(); } /** * Protobuf type {@code Ydb.Table.ChangefeedDescription} */ public static final class ChangefeedDescription extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.ChangefeedDescription) ChangefeedDescriptionOrBuilder { private static final long serialVersionUID = 0L; // Use ChangefeedDescription.newBuilder() to construct. private ChangefeedDescription(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ChangefeedDescription() { name_ = ""; mode_ = 0; format_ = 0; state_ = 0; awsRegion_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ChangefeedDescription(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ChangefeedDescription_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 6: return internalGetAttributes(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ChangefeedDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ChangefeedDescription.class, tech.ydb.proto.table.YdbTable.ChangefeedDescription.Builder.class); } /** * Protobuf enum {@code Ydb.Table.ChangefeedDescription.State} */ public enum State implements com.google.protobuf.ProtocolMessageEnum { /** * STATE_UNSPECIFIED = 0; */ STATE_UNSPECIFIED(0), /** *
       * Normal state, from this state changefeed can be disabled
       * 
* * STATE_ENABLED = 1; */ STATE_ENABLED(1), /** *
       * No new change records are generated, but the old ones remain available
       * From this state changefeed cannot be switched to any other state
       * 
* * STATE_DISABLED = 2; */ STATE_DISABLED(2), /** *
       * An initial scan is being performed.
       * After its completion changefeed will switch to the normal state
       * 
* * STATE_INITIAL_SCAN = 3; */ STATE_INITIAL_SCAN(3), UNRECOGNIZED(-1), ; /** * STATE_UNSPECIFIED = 0; */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** *
       * Normal state, from this state changefeed can be disabled
       * 
* * STATE_ENABLED = 1; */ public static final int STATE_ENABLED_VALUE = 1; /** *
       * No new change records are generated, but the old ones remain available
       * From this state changefeed cannot be switched to any other state
       * 
* * STATE_DISABLED = 2; */ public static final int STATE_DISABLED_VALUE = 2; /** *
       * An initial scan is being performed.
       * After its completion changefeed will switch to the normal state
       * 
* * STATE_INITIAL_SCAN = 3; */ public static final int STATE_INITIAL_SCAN_VALUE = 3; 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 State 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 State forNumber(int value) { switch (value) { case 0: return STATE_UNSPECIFIED; case 1: return STATE_ENABLED; case 2: return STATE_DISABLED; case 3: return STATE_INITIAL_SCAN; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< State> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public State findValueByNumber(int number) { return State.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.table.YdbTable.ChangefeedDescription.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); public static State 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 State(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Ydb.Table.ChangefeedDescription.State) } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** *
     * Name of the feed
     * 
* * 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 the feed
     * 
* * 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 MODE_FIELD_NUMBER = 2; private int mode_ = 0; /** *
     * Mode specifies the information that will be written to the feed
     * 
* * .Ydb.Table.ChangefeedMode.Mode mode = 2; * @return The enum numeric value on the wire for mode. */ @java.lang.Override public int getModeValue() { return mode_; } /** *
     * Mode specifies the information that will be written to the feed
     * 
* * .Ydb.Table.ChangefeedMode.Mode mode = 2; * @return The mode. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ChangefeedMode.Mode getMode() { tech.ydb.proto.table.YdbTable.ChangefeedMode.Mode result = tech.ydb.proto.table.YdbTable.ChangefeedMode.Mode.forNumber(mode_); return result == null ? tech.ydb.proto.table.YdbTable.ChangefeedMode.Mode.UNRECOGNIZED : result; } public static final int FORMAT_FIELD_NUMBER = 3; private int format_ = 0; /** *
     * Format of the data
     * 
* * .Ydb.Table.ChangefeedFormat.Format format = 3; * @return The enum numeric value on the wire for format. */ @java.lang.Override public int getFormatValue() { return format_; } /** *
     * Format of the data
     * 
* * .Ydb.Table.ChangefeedFormat.Format format = 3; * @return The format. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ChangefeedFormat.Format getFormat() { tech.ydb.proto.table.YdbTable.ChangefeedFormat.Format result = tech.ydb.proto.table.YdbTable.ChangefeedFormat.Format.forNumber(format_); return result == null ? tech.ydb.proto.table.YdbTable.ChangefeedFormat.Format.UNRECOGNIZED : result; } public static final int STATE_FIELD_NUMBER = 4; private int state_ = 0; /** *
     * State of the feed
     * 
* * .Ydb.Table.ChangefeedDescription.State state = 4; * @return The enum numeric value on the wire for state. */ @java.lang.Override public int getStateValue() { return state_; } /** *
     * State of the feed
     * 
* * .Ydb.Table.ChangefeedDescription.State state = 4; * @return The state. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ChangefeedDescription.State getState() { tech.ydb.proto.table.YdbTable.ChangefeedDescription.State result = tech.ydb.proto.table.YdbTable.ChangefeedDescription.State.forNumber(state_); return result == null ? tech.ydb.proto.table.YdbTable.ChangefeedDescription.State.UNRECOGNIZED : result; } public static final int VIRTUAL_TIMESTAMPS_FIELD_NUMBER = 5; private boolean virtualTimestamps_ = false; /** *
     * State of emitting of virtual timestamps along with data
     * 
* * bool virtual_timestamps = 5; * @return The virtualTimestamps. */ @java.lang.Override public boolean getVirtualTimestamps() { return virtualTimestamps_; } public static final int ATTRIBUTES_FIELD_NUMBER = 6; private static final class AttributesDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ChangefeedDescription_AttributesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } @SuppressWarnings("serial") private com.google.protobuf.MapField< java.lang.String, java.lang.String> attributes_; private com.google.protobuf.MapField internalGetAttributes() { if (attributes_ == null) { return com.google.protobuf.MapField.emptyMapField( AttributesDefaultEntryHolder.defaultEntry); } return attributes_; } public int getAttributesCount() { return internalGetAttributes().getMap().size(); } /** *
     * Attributes
     * 
* * map<string, string> attributes = 6; */ @java.lang.Override public boolean containsAttributes( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetAttributes().getMap().containsKey(key); } /** * Use {@link #getAttributesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAttributes() { return getAttributesMap(); } /** *
     * Attributes
     * 
* * map<string, string> attributes = 6; */ @java.lang.Override public java.util.Map getAttributesMap() { return internalGetAttributes().getMap(); } /** *
     * Attributes
     * 
* * map<string, string> attributes = 6; */ @java.lang.Override public /* nullable */ java.lang.String getAttributesOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAttributes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Attributes
     * 
* * map<string, string> attributes = 6; */ @java.lang.Override public java.lang.String getAttributesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAttributes().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int AWS_REGION_FIELD_NUMBER = 7; @SuppressWarnings("serial") private volatile java.lang.Object awsRegion_ = ""; /** *
     * Value that will be emitted in the `awsRegion` field of the record in DYNAMODB_STREAMS_JSON format
     * 
* * string aws_region = 7; * @return The awsRegion. */ @java.lang.Override public java.lang.String getAwsRegion() { java.lang.Object ref = awsRegion_; 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(); awsRegion_ = s; return s; } } /** *
     * Value that will be emitted in the `awsRegion` field of the record in DYNAMODB_STREAMS_JSON format
     * 
* * string aws_region = 7; * @return The bytes for awsRegion. */ @java.lang.Override public com.google.protobuf.ByteString getAwsRegionBytes() { java.lang.Object ref = awsRegion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); awsRegion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RESOLVED_TIMESTAMPS_INTERVAL_FIELD_NUMBER = 8; private com.google.protobuf.Duration resolvedTimestampsInterval_; /** *
     * Interval of emitting of resolved timestamps. If unspecified, resolved timestamps are not emitted.
     * 
* * .google.protobuf.Duration resolved_timestamps_interval = 8; * @return Whether the resolvedTimestampsInterval field is set. */ @java.lang.Override public boolean hasResolvedTimestampsInterval() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Interval of emitting of resolved timestamps. If unspecified, resolved timestamps are not emitted.
     * 
* * .google.protobuf.Duration resolved_timestamps_interval = 8; * @return The resolvedTimestampsInterval. */ @java.lang.Override public com.google.protobuf.Duration getResolvedTimestampsInterval() { return resolvedTimestampsInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : resolvedTimestampsInterval_; } /** *
     * Interval of emitting of resolved timestamps. If unspecified, resolved timestamps are not emitted.
     * 
* * .google.protobuf.Duration resolved_timestamps_interval = 8; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getResolvedTimestampsIntervalOrBuilder() { return resolvedTimestampsInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : resolvedTimestampsInterval_; } 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 (mode_ != tech.ydb.proto.table.YdbTable.ChangefeedMode.Mode.MODE_UNSPECIFIED.getNumber()) { output.writeEnum(2, mode_); } if (format_ != tech.ydb.proto.table.YdbTable.ChangefeedFormat.Format.FORMAT_UNSPECIFIED.getNumber()) { output.writeEnum(3, format_); } if (state_ != tech.ydb.proto.table.YdbTable.ChangefeedDescription.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(4, state_); } if (virtualTimestamps_ != false) { output.writeBool(5, virtualTimestamps_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetAttributes(), AttributesDefaultEntryHolder.defaultEntry, 6); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(awsRegion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, awsRegion_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(8, getResolvedTimestampsInterval()); } 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 (mode_ != tech.ydb.proto.table.YdbTable.ChangefeedMode.Mode.MODE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, mode_); } if (format_ != tech.ydb.proto.table.YdbTable.ChangefeedFormat.Format.FORMAT_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, format_); } if (state_ != tech.ydb.proto.table.YdbTable.ChangefeedDescription.State.STATE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, state_); } if (virtualTimestamps_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, virtualTimestamps_); } for (java.util.Map.Entry entry : internalGetAttributes().getMap().entrySet()) { com.google.protobuf.MapEntry attributes__ = AttributesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, attributes__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(awsRegion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, awsRegion_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getResolvedTimestampsInterval()); } 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.table.YdbTable.ChangefeedDescription)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.ChangefeedDescription other = (tech.ydb.proto.table.YdbTable.ChangefeedDescription) obj; if (!getName() .equals(other.getName())) return false; if (mode_ != other.mode_) return false; if (format_ != other.format_) return false; if (state_ != other.state_) return false; if (getVirtualTimestamps() != other.getVirtualTimestamps()) return false; if (!internalGetAttributes().equals( other.internalGetAttributes())) return false; if (!getAwsRegion() .equals(other.getAwsRegion())) return false; if (hasResolvedTimestampsInterval() != other.hasResolvedTimestampsInterval()) return false; if (hasResolvedTimestampsInterval()) { if (!getResolvedTimestampsInterval() .equals(other.getResolvedTimestampsInterval())) 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) + MODE_FIELD_NUMBER; hash = (53 * hash) + mode_; hash = (37 * hash) + FORMAT_FIELD_NUMBER; hash = (53 * hash) + format_; hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; hash = (37 * hash) + VIRTUAL_TIMESTAMPS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getVirtualTimestamps()); if (!internalGetAttributes().getMap().isEmpty()) { hash = (37 * hash) + ATTRIBUTES_FIELD_NUMBER; hash = (53 * hash) + internalGetAttributes().hashCode(); } hash = (37 * hash) + AWS_REGION_FIELD_NUMBER; hash = (53 * hash) + getAwsRegion().hashCode(); if (hasResolvedTimestampsInterval()) { hash = (37 * hash) + RESOLVED_TIMESTAMPS_INTERVAL_FIELD_NUMBER; hash = (53 * hash) + getResolvedTimestampsInterval().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.ChangefeedDescription parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ChangefeedDescription 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.table.YdbTable.ChangefeedDescription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ChangefeedDescription 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.table.YdbTable.ChangefeedDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ChangefeedDescription parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.ChangefeedDescription parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ChangefeedDescription 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.table.YdbTable.ChangefeedDescription parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ChangefeedDescription 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.table.YdbTable.ChangefeedDescription parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ChangefeedDescription 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.table.YdbTable.ChangefeedDescription 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.Table.ChangefeedDescription} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.ChangefeedDescription) tech.ydb.proto.table.YdbTable.ChangefeedDescriptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ChangefeedDescription_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 6: return internalGetAttributes(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 6: return internalGetMutableAttributes(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ChangefeedDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ChangefeedDescription.class, tech.ydb.proto.table.YdbTable.ChangefeedDescription.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.ChangefeedDescription.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getResolvedTimestampsIntervalFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; mode_ = 0; format_ = 0; state_ = 0; virtualTimestamps_ = false; internalGetMutableAttributes().clear(); awsRegion_ = ""; resolvedTimestampsInterval_ = null; if (resolvedTimestampsIntervalBuilder_ != null) { resolvedTimestampsIntervalBuilder_.dispose(); resolvedTimestampsIntervalBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ChangefeedDescription_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ChangefeedDescription getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.ChangefeedDescription.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.ChangefeedDescription build() { tech.ydb.proto.table.YdbTable.ChangefeedDescription result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ChangefeedDescription buildPartial() { tech.ydb.proto.table.YdbTable.ChangefeedDescription result = new tech.ydb.proto.table.YdbTable.ChangefeedDescription(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.ChangefeedDescription result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.mode_ = mode_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.format_ = format_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.state_ = state_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.virtualTimestamps_ = virtualTimestamps_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.attributes_ = internalGetAttributes(); result.attributes_.makeImmutable(); } if (((from_bitField0_ & 0x00000040) != 0)) { result.awsRegion_ = awsRegion_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000080) != 0)) { result.resolvedTimestampsInterval_ = resolvedTimestampsIntervalBuilder_ == null ? resolvedTimestampsInterval_ : resolvedTimestampsIntervalBuilder_.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.table.YdbTable.ChangefeedDescription) { return mergeFrom((tech.ydb.proto.table.YdbTable.ChangefeedDescription)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.ChangefeedDescription other) { if (other == tech.ydb.proto.table.YdbTable.ChangefeedDescription.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; onChanged(); } if (other.mode_ != 0) { setModeValue(other.getModeValue()); } if (other.format_ != 0) { setFormatValue(other.getFormatValue()); } if (other.state_ != 0) { setStateValue(other.getStateValue()); } if (other.getVirtualTimestamps() != false) { setVirtualTimestamps(other.getVirtualTimestamps()); } internalGetMutableAttributes().mergeFrom( other.internalGetAttributes()); bitField0_ |= 0x00000020; if (!other.getAwsRegion().isEmpty()) { awsRegion_ = other.awsRegion_; bitField0_ |= 0x00000040; onChanged(); } if (other.hasResolvedTimestampsInterval()) { mergeResolvedTimestampsInterval(other.getResolvedTimestampsInterval()); } 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 16: { mode_ = input.readEnum(); bitField0_ |= 0x00000002; break; } // case 16 case 24: { format_ = input.readEnum(); bitField0_ |= 0x00000004; break; } // case 24 case 32: { state_ = input.readEnum(); bitField0_ |= 0x00000008; break; } // case 32 case 40: { virtualTimestamps_ = input.readBool(); bitField0_ |= 0x00000010; break; } // case 40 case 50: { com.google.protobuf.MapEntry attributes__ = input.readMessage( AttributesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableAttributes().getMutableMap().put( attributes__.getKey(), attributes__.getValue()); bitField0_ |= 0x00000020; break; } // case 50 case 58: { awsRegion_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000040; break; } // case 58 case 66: { input.readMessage( getResolvedTimestampsIntervalFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000080; break; } // case 66 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 the feed
       * 
* * 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 the feed
       * 
* * 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 the feed
       * 
* * 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 the feed
       * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Name of the feed
       * 
* * 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 int mode_ = 0; /** *
       * Mode specifies the information that will be written to the feed
       * 
* * .Ydb.Table.ChangefeedMode.Mode mode = 2; * @return The enum numeric value on the wire for mode. */ @java.lang.Override public int getModeValue() { return mode_; } /** *
       * Mode specifies the information that will be written to the feed
       * 
* * .Ydb.Table.ChangefeedMode.Mode mode = 2; * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ public Builder setModeValue(int value) { mode_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Mode specifies the information that will be written to the feed
       * 
* * .Ydb.Table.ChangefeedMode.Mode mode = 2; * @return The mode. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ChangefeedMode.Mode getMode() { tech.ydb.proto.table.YdbTable.ChangefeedMode.Mode result = tech.ydb.proto.table.YdbTable.ChangefeedMode.Mode.forNumber(mode_); return result == null ? tech.ydb.proto.table.YdbTable.ChangefeedMode.Mode.UNRECOGNIZED : result; } /** *
       * Mode specifies the information that will be written to the feed
       * 
* * .Ydb.Table.ChangefeedMode.Mode mode = 2; * @param value The mode to set. * @return This builder for chaining. */ public Builder setMode(tech.ydb.proto.table.YdbTable.ChangefeedMode.Mode value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; mode_ = value.getNumber(); onChanged(); return this; } /** *
       * Mode specifies the information that will be written to the feed
       * 
* * .Ydb.Table.ChangefeedMode.Mode mode = 2; * @return This builder for chaining. */ public Builder clearMode() { bitField0_ = (bitField0_ & ~0x00000002); mode_ = 0; onChanged(); return this; } private int format_ = 0; /** *
       * Format of the data
       * 
* * .Ydb.Table.ChangefeedFormat.Format format = 3; * @return The enum numeric value on the wire for format. */ @java.lang.Override public int getFormatValue() { return format_; } /** *
       * Format of the data
       * 
* * .Ydb.Table.ChangefeedFormat.Format format = 3; * @param value The enum numeric value on the wire for format to set. * @return This builder for chaining. */ public Builder setFormatValue(int value) { format_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * Format of the data
       * 
* * .Ydb.Table.ChangefeedFormat.Format format = 3; * @return The format. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ChangefeedFormat.Format getFormat() { tech.ydb.proto.table.YdbTable.ChangefeedFormat.Format result = tech.ydb.proto.table.YdbTable.ChangefeedFormat.Format.forNumber(format_); return result == null ? tech.ydb.proto.table.YdbTable.ChangefeedFormat.Format.UNRECOGNIZED : result; } /** *
       * Format of the data
       * 
* * .Ydb.Table.ChangefeedFormat.Format format = 3; * @param value The format to set. * @return This builder for chaining. */ public Builder setFormat(tech.ydb.proto.table.YdbTable.ChangefeedFormat.Format value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; format_ = value.getNumber(); onChanged(); return this; } /** *
       * Format of the data
       * 
* * .Ydb.Table.ChangefeedFormat.Format format = 3; * @return This builder for chaining. */ public Builder clearFormat() { bitField0_ = (bitField0_ & ~0x00000004); format_ = 0; onChanged(); return this; } private int state_ = 0; /** *
       * State of the feed
       * 
* * .Ydb.Table.ChangefeedDescription.State state = 4; * @return The enum numeric value on the wire for state. */ @java.lang.Override public int getStateValue() { return state_; } /** *
       * State of the feed
       * 
* * .Ydb.Table.ChangefeedDescription.State state = 4; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { state_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * State of the feed
       * 
* * .Ydb.Table.ChangefeedDescription.State state = 4; * @return The state. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ChangefeedDescription.State getState() { tech.ydb.proto.table.YdbTable.ChangefeedDescription.State result = tech.ydb.proto.table.YdbTable.ChangefeedDescription.State.forNumber(state_); return result == null ? tech.ydb.proto.table.YdbTable.ChangefeedDescription.State.UNRECOGNIZED : result; } /** *
       * State of the feed
       * 
* * .Ydb.Table.ChangefeedDescription.State state = 4; * @param value The state to set. * @return This builder for chaining. */ public Builder setState(tech.ydb.proto.table.YdbTable.ChangefeedDescription.State value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; state_ = value.getNumber(); onChanged(); return this; } /** *
       * State of the feed
       * 
* * .Ydb.Table.ChangefeedDescription.State state = 4; * @return This builder for chaining. */ public Builder clearState() { bitField0_ = (bitField0_ & ~0x00000008); state_ = 0; onChanged(); return this; } private boolean virtualTimestamps_ ; /** *
       * State of emitting of virtual timestamps along with data
       * 
* * bool virtual_timestamps = 5; * @return The virtualTimestamps. */ @java.lang.Override public boolean getVirtualTimestamps() { return virtualTimestamps_; } /** *
       * State of emitting of virtual timestamps along with data
       * 
* * bool virtual_timestamps = 5; * @param value The virtualTimestamps to set. * @return This builder for chaining. */ public Builder setVirtualTimestamps(boolean value) { virtualTimestamps_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * State of emitting of virtual timestamps along with data
       * 
* * bool virtual_timestamps = 5; * @return This builder for chaining. */ public Builder clearVirtualTimestamps() { bitField0_ = (bitField0_ & ~0x00000010); virtualTimestamps_ = false; onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> attributes_; private com.google.protobuf.MapField internalGetAttributes() { if (attributes_ == null) { return com.google.protobuf.MapField.emptyMapField( AttributesDefaultEntryHolder.defaultEntry); } return attributes_; } private com.google.protobuf.MapField internalGetMutableAttributes() { if (attributes_ == null) { attributes_ = com.google.protobuf.MapField.newMapField( AttributesDefaultEntryHolder.defaultEntry); } if (!attributes_.isMutable()) { attributes_ = attributes_.copy(); } bitField0_ |= 0x00000020; onChanged(); return attributes_; } public int getAttributesCount() { return internalGetAttributes().getMap().size(); } /** *
       * Attributes
       * 
* * map<string, string> attributes = 6; */ @java.lang.Override public boolean containsAttributes( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetAttributes().getMap().containsKey(key); } /** * Use {@link #getAttributesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAttributes() { return getAttributesMap(); } /** *
       * Attributes
       * 
* * map<string, string> attributes = 6; */ @java.lang.Override public java.util.Map getAttributesMap() { return internalGetAttributes().getMap(); } /** *
       * Attributes
       * 
* * map<string, string> attributes = 6; */ @java.lang.Override public /* nullable */ java.lang.String getAttributesOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAttributes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Attributes
       * 
* * map<string, string> attributes = 6; */ @java.lang.Override public java.lang.String getAttributesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAttributes().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearAttributes() { bitField0_ = (bitField0_ & ~0x00000020); internalGetMutableAttributes().getMutableMap() .clear(); return this; } /** *
       * Attributes
       * 
* * map<string, string> attributes = 6; */ public Builder removeAttributes( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableAttributes().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableAttributes() { bitField0_ |= 0x00000020; return internalGetMutableAttributes().getMutableMap(); } /** *
       * Attributes
       * 
* * map<string, string> attributes = 6; */ public Builder putAttributes( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableAttributes().getMutableMap() .put(key, value); bitField0_ |= 0x00000020; return this; } /** *
       * Attributes
       * 
* * map<string, string> attributes = 6; */ public Builder putAllAttributes( java.util.Map values) { internalGetMutableAttributes().getMutableMap() .putAll(values); bitField0_ |= 0x00000020; return this; } private java.lang.Object awsRegion_ = ""; /** *
       * Value that will be emitted in the `awsRegion` field of the record in DYNAMODB_STREAMS_JSON format
       * 
* * string aws_region = 7; * @return The awsRegion. */ public java.lang.String getAwsRegion() { java.lang.Object ref = awsRegion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); awsRegion_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Value that will be emitted in the `awsRegion` field of the record in DYNAMODB_STREAMS_JSON format
       * 
* * string aws_region = 7; * @return The bytes for awsRegion. */ public com.google.protobuf.ByteString getAwsRegionBytes() { java.lang.Object ref = awsRegion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); awsRegion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Value that will be emitted in the `awsRegion` field of the record in DYNAMODB_STREAMS_JSON format
       * 
* * string aws_region = 7; * @param value The awsRegion to set. * @return This builder for chaining. */ public Builder setAwsRegion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } awsRegion_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** *
       * Value that will be emitted in the `awsRegion` field of the record in DYNAMODB_STREAMS_JSON format
       * 
* * string aws_region = 7; * @return This builder for chaining. */ public Builder clearAwsRegion() { awsRegion_ = getDefaultInstance().getAwsRegion(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } /** *
       * Value that will be emitted in the `awsRegion` field of the record in DYNAMODB_STREAMS_JSON format
       * 
* * string aws_region = 7; * @param value The bytes for awsRegion to set. * @return This builder for chaining. */ public Builder setAwsRegionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); awsRegion_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } private com.google.protobuf.Duration resolvedTimestampsInterval_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> resolvedTimestampsIntervalBuilder_; /** *
       * Interval of emitting of resolved timestamps. If unspecified, resolved timestamps are not emitted.
       * 
* * .google.protobuf.Duration resolved_timestamps_interval = 8; * @return Whether the resolvedTimestampsInterval field is set. */ public boolean hasResolvedTimestampsInterval() { return ((bitField0_ & 0x00000080) != 0); } /** *
       * Interval of emitting of resolved timestamps. If unspecified, resolved timestamps are not emitted.
       * 
* * .google.protobuf.Duration resolved_timestamps_interval = 8; * @return The resolvedTimestampsInterval. */ public com.google.protobuf.Duration getResolvedTimestampsInterval() { if (resolvedTimestampsIntervalBuilder_ == null) { return resolvedTimestampsInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : resolvedTimestampsInterval_; } else { return resolvedTimestampsIntervalBuilder_.getMessage(); } } /** *
       * Interval of emitting of resolved timestamps. If unspecified, resolved timestamps are not emitted.
       * 
* * .google.protobuf.Duration resolved_timestamps_interval = 8; */ public Builder setResolvedTimestampsInterval(com.google.protobuf.Duration value) { if (resolvedTimestampsIntervalBuilder_ == null) { if (value == null) { throw new NullPointerException(); } resolvedTimestampsInterval_ = value; } else { resolvedTimestampsIntervalBuilder_.setMessage(value); } bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * Interval of emitting of resolved timestamps. If unspecified, resolved timestamps are not emitted.
       * 
* * .google.protobuf.Duration resolved_timestamps_interval = 8; */ public Builder setResolvedTimestampsInterval( com.google.protobuf.Duration.Builder builderForValue) { if (resolvedTimestampsIntervalBuilder_ == null) { resolvedTimestampsInterval_ = builderForValue.build(); } else { resolvedTimestampsIntervalBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * Interval of emitting of resolved timestamps. If unspecified, resolved timestamps are not emitted.
       * 
* * .google.protobuf.Duration resolved_timestamps_interval = 8; */ public Builder mergeResolvedTimestampsInterval(com.google.protobuf.Duration value) { if (resolvedTimestampsIntervalBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0) && resolvedTimestampsInterval_ != null && resolvedTimestampsInterval_ != com.google.protobuf.Duration.getDefaultInstance()) { getResolvedTimestampsIntervalBuilder().mergeFrom(value); } else { resolvedTimestampsInterval_ = value; } } else { resolvedTimestampsIntervalBuilder_.mergeFrom(value); } if (resolvedTimestampsInterval_ != null) { bitField0_ |= 0x00000080; onChanged(); } return this; } /** *
       * Interval of emitting of resolved timestamps. If unspecified, resolved timestamps are not emitted.
       * 
* * .google.protobuf.Duration resolved_timestamps_interval = 8; */ public Builder clearResolvedTimestampsInterval() { bitField0_ = (bitField0_ & ~0x00000080); resolvedTimestampsInterval_ = null; if (resolvedTimestampsIntervalBuilder_ != null) { resolvedTimestampsIntervalBuilder_.dispose(); resolvedTimestampsIntervalBuilder_ = null; } onChanged(); return this; } /** *
       * Interval of emitting of resolved timestamps. If unspecified, resolved timestamps are not emitted.
       * 
* * .google.protobuf.Duration resolved_timestamps_interval = 8; */ public com.google.protobuf.Duration.Builder getResolvedTimestampsIntervalBuilder() { bitField0_ |= 0x00000080; onChanged(); return getResolvedTimestampsIntervalFieldBuilder().getBuilder(); } /** *
       * Interval of emitting of resolved timestamps. If unspecified, resolved timestamps are not emitted.
       * 
* * .google.protobuf.Duration resolved_timestamps_interval = 8; */ public com.google.protobuf.DurationOrBuilder getResolvedTimestampsIntervalOrBuilder() { if (resolvedTimestampsIntervalBuilder_ != null) { return resolvedTimestampsIntervalBuilder_.getMessageOrBuilder(); } else { return resolvedTimestampsInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : resolvedTimestampsInterval_; } } /** *
       * Interval of emitting of resolved timestamps. If unspecified, resolved timestamps are not emitted.
       * 
* * .google.protobuf.Duration resolved_timestamps_interval = 8; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getResolvedTimestampsIntervalFieldBuilder() { if (resolvedTimestampsIntervalBuilder_ == null) { resolvedTimestampsIntervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( getResolvedTimestampsInterval(), getParentForChildren(), isClean()); resolvedTimestampsInterval_ = null; } return resolvedTimestampsIntervalBuilder_; } @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.Table.ChangefeedDescription) } // @@protoc_insertion_point(class_scope:Ydb.Table.ChangefeedDescription) private static final tech.ydb.proto.table.YdbTable.ChangefeedDescription DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.ChangefeedDescription(); } public static tech.ydb.proto.table.YdbTable.ChangefeedDescription getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ChangefeedDescription 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.table.YdbTable.ChangefeedDescription getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StoragePoolOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.StoragePool) com.google.protobuf.MessageOrBuilder { /** * string media = 1; * @return The media. */ java.lang.String getMedia(); /** * string media = 1; * @return The bytes for media. */ com.google.protobuf.ByteString getMediaBytes(); } /** * Protobuf type {@code Ydb.Table.StoragePool} */ public static final class StoragePool extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.StoragePool) StoragePoolOrBuilder { private static final long serialVersionUID = 0L; // Use StoragePool.newBuilder() to construct. private StoragePool(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StoragePool() { media_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new StoragePool(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_StoragePool_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_StoragePool_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.StoragePool.class, tech.ydb.proto.table.YdbTable.StoragePool.Builder.class); } public static final int MEDIA_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object media_ = ""; /** * string media = 1; * @return The media. */ @java.lang.Override public java.lang.String getMedia() { java.lang.Object ref = media_; 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(); media_ = s; return s; } } /** * string media = 1; * @return The bytes for media. */ @java.lang.Override public com.google.protobuf.ByteString getMediaBytes() { java.lang.Object ref = media_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); media_ = 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(media_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, media_); } 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(media_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, media_); } 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.table.YdbTable.StoragePool)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.StoragePool other = (tech.ydb.proto.table.YdbTable.StoragePool) obj; if (!getMedia() .equals(other.getMedia())) 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) + MEDIA_FIELD_NUMBER; hash = (53 * hash) + getMedia().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.StoragePool parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.StoragePool 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.table.YdbTable.StoragePool parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.StoragePool 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.table.YdbTable.StoragePool parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.StoragePool parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.StoragePool parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.StoragePool 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.table.YdbTable.StoragePool parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.StoragePool 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.table.YdbTable.StoragePool parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.StoragePool 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.table.YdbTable.StoragePool 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.Table.StoragePool} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.StoragePool) tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_StoragePool_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_StoragePool_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.StoragePool.class, tech.ydb.proto.table.YdbTable.StoragePool.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.StoragePool.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; media_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_StoragePool_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.StoragePool getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.StoragePool build() { tech.ydb.proto.table.YdbTable.StoragePool result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.StoragePool buildPartial() { tech.ydb.proto.table.YdbTable.StoragePool result = new tech.ydb.proto.table.YdbTable.StoragePool(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.StoragePool result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.media_ = media_; } } @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.table.YdbTable.StoragePool) { return mergeFrom((tech.ydb.proto.table.YdbTable.StoragePool)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.StoragePool other) { if (other == tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance()) return this; if (!other.getMedia().isEmpty()) { media_ = other.media_; bitField0_ |= 0x00000001; 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: { media_ = input.readStringRequireUtf8(); 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 java.lang.Object media_ = ""; /** * string media = 1; * @return The media. */ public java.lang.String getMedia() { java.lang.Object ref = media_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); media_ = s; return s; } else { return (java.lang.String) ref; } } /** * string media = 1; * @return The bytes for media. */ public com.google.protobuf.ByteString getMediaBytes() { java.lang.Object ref = media_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); media_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string media = 1; * @param value The media to set. * @return This builder for chaining. */ public Builder setMedia( java.lang.String value) { if (value == null) { throw new NullPointerException(); } media_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * string media = 1; * @return This builder for chaining. */ public Builder clearMedia() { media_ = getDefaultInstance().getMedia(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * string media = 1; * @param value The bytes for media to set. * @return This builder for chaining. */ public Builder setMediaBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); media_ = value; bitField0_ |= 0x00000001; 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.Table.StoragePool) } // @@protoc_insertion_point(class_scope:Ydb.Table.StoragePool) private static final tech.ydb.proto.table.YdbTable.StoragePool DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.StoragePool(); } public static tech.ydb.proto.table.YdbTable.StoragePool getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public StoragePool 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.table.YdbTable.StoragePool getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StoragePolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.StoragePolicy) com.google.protobuf.MessageOrBuilder { /** * string preset_name = 1; * @return The presetName. */ java.lang.String getPresetName(); /** * string preset_name = 1; * @return The bytes for presetName. */ com.google.protobuf.ByteString getPresetNameBytes(); /** * .Ydb.Table.StoragePool syslog = 2; * @return Whether the syslog field is set. */ boolean hasSyslog(); /** * .Ydb.Table.StoragePool syslog = 2; * @return The syslog. */ tech.ydb.proto.table.YdbTable.StoragePool getSyslog(); /** * .Ydb.Table.StoragePool syslog = 2; */ tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder getSyslogOrBuilder(); /** * .Ydb.Table.StoragePool log = 3; * @return Whether the log field is set. */ boolean hasLog(); /** * .Ydb.Table.StoragePool log = 3; * @return The log. */ tech.ydb.proto.table.YdbTable.StoragePool getLog(); /** * .Ydb.Table.StoragePool log = 3; */ tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder getLogOrBuilder(); /** * .Ydb.Table.StoragePool data = 4; * @return Whether the data field is set. */ boolean hasData(); /** * .Ydb.Table.StoragePool data = 4; * @return The data. */ tech.ydb.proto.table.YdbTable.StoragePool getData(); /** * .Ydb.Table.StoragePool data = 4; */ tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder getDataOrBuilder(); /** * .Ydb.Table.StoragePool external = 5; * @return Whether the external field is set. */ boolean hasExternal(); /** * .Ydb.Table.StoragePool external = 5; * @return The external. */ tech.ydb.proto.table.YdbTable.StoragePool getExternal(); /** * .Ydb.Table.StoragePool external = 5; */ tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder getExternalOrBuilder(); /** * .Ydb.FeatureFlag.Status keep_in_memory = 6; * @return The enum numeric value on the wire for keepInMemory. */ int getKeepInMemoryValue(); /** * .Ydb.FeatureFlag.Status keep_in_memory = 6; * @return The keepInMemory. */ tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getKeepInMemory(); /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ java.util.List getColumnFamiliesList(); /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy getColumnFamilies(int index); /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ int getColumnFamiliesCount(); /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ java.util.List getColumnFamiliesOrBuilderList(); /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ tech.ydb.proto.table.YdbTable.ColumnFamilyPolicyOrBuilder getColumnFamiliesOrBuilder( int index); } /** * Protobuf type {@code Ydb.Table.StoragePolicy} */ public static final class StoragePolicy extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.StoragePolicy) StoragePolicyOrBuilder { private static final long serialVersionUID = 0L; // Use StoragePolicy.newBuilder() to construct. private StoragePolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StoragePolicy() { presetName_ = ""; keepInMemory_ = 0; columnFamilies_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new StoragePolicy(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_StoragePolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_StoragePolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.StoragePolicy.class, tech.ydb.proto.table.YdbTable.StoragePolicy.Builder.class); } private int bitField0_; public static final int PRESET_NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object presetName_ = ""; /** * string preset_name = 1; * @return The presetName. */ @java.lang.Override public java.lang.String getPresetName() { java.lang.Object ref = presetName_; 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(); presetName_ = s; return s; } } /** * string preset_name = 1; * @return The bytes for presetName. */ @java.lang.Override public com.google.protobuf.ByteString getPresetNameBytes() { java.lang.Object ref = presetName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); presetName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SYSLOG_FIELD_NUMBER = 2; private tech.ydb.proto.table.YdbTable.StoragePool syslog_; /** * .Ydb.Table.StoragePool syslog = 2; * @return Whether the syslog field is set. */ @java.lang.Override public boolean hasSyslog() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.Table.StoragePool syslog = 2; * @return The syslog. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StoragePool getSyslog() { return syslog_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : syslog_; } /** * .Ydb.Table.StoragePool syslog = 2; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder getSyslogOrBuilder() { return syslog_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : syslog_; } public static final int LOG_FIELD_NUMBER = 3; private tech.ydb.proto.table.YdbTable.StoragePool log_; /** * .Ydb.Table.StoragePool log = 3; * @return Whether the log field is set. */ @java.lang.Override public boolean hasLog() { return ((bitField0_ & 0x00000002) != 0); } /** * .Ydb.Table.StoragePool log = 3; * @return The log. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StoragePool getLog() { return log_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : log_; } /** * .Ydb.Table.StoragePool log = 3; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder getLogOrBuilder() { return log_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : log_; } public static final int DATA_FIELD_NUMBER = 4; private tech.ydb.proto.table.YdbTable.StoragePool data_; /** * .Ydb.Table.StoragePool data = 4; * @return Whether the data field is set. */ @java.lang.Override public boolean hasData() { return ((bitField0_ & 0x00000004) != 0); } /** * .Ydb.Table.StoragePool data = 4; * @return The data. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StoragePool getData() { return data_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : data_; } /** * .Ydb.Table.StoragePool data = 4; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder getDataOrBuilder() { return data_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : data_; } public static final int EXTERNAL_FIELD_NUMBER = 5; private tech.ydb.proto.table.YdbTable.StoragePool external_; /** * .Ydb.Table.StoragePool external = 5; * @return Whether the external field is set. */ @java.lang.Override public boolean hasExternal() { return ((bitField0_ & 0x00000008) != 0); } /** * .Ydb.Table.StoragePool external = 5; * @return The external. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StoragePool getExternal() { return external_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : external_; } /** * .Ydb.Table.StoragePool external = 5; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder getExternalOrBuilder() { return external_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : external_; } public static final int KEEP_IN_MEMORY_FIELD_NUMBER = 6; private int keepInMemory_ = 0; /** * .Ydb.FeatureFlag.Status keep_in_memory = 6; * @return The enum numeric value on the wire for keepInMemory. */ @java.lang.Override public int getKeepInMemoryValue() { return keepInMemory_; } /** * .Ydb.FeatureFlag.Status keep_in_memory = 6; * @return The keepInMemory. */ @java.lang.Override public tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getKeepInMemory() { tech.ydb.proto.common.CommonProtos.FeatureFlag.Status result = tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.forNumber(keepInMemory_); return result == null ? tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } public static final int COLUMN_FAMILIES_FIELD_NUMBER = 7; @SuppressWarnings("serial") private java.util.List columnFamilies_; /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ @java.lang.Override public java.util.List getColumnFamiliesList() { return columnFamilies_; } /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ @java.lang.Override public java.util.List getColumnFamiliesOrBuilderList() { return columnFamilies_; } /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ @java.lang.Override public int getColumnFamiliesCount() { return columnFamilies_.size(); } /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy getColumnFamilies(int index) { return columnFamilies_.get(index); } /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ColumnFamilyPolicyOrBuilder getColumnFamiliesOrBuilder( int index) { return columnFamilies_.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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(presetName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, presetName_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getSyslog()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getLog()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(4, getData()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(5, getExternal()); } if (keepInMemory_ != tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(6, keepInMemory_); } for (int i = 0; i < columnFamilies_.size(); i++) { output.writeMessage(7, columnFamilies_.get(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(presetName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, presetName_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getSyslog()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getLog()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getData()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getExternal()); } if (keepInMemory_ != tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(6, keepInMemory_); } for (int i = 0; i < columnFamilies_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, columnFamilies_.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.table.YdbTable.StoragePolicy)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.StoragePolicy other = (tech.ydb.proto.table.YdbTable.StoragePolicy) obj; if (!getPresetName() .equals(other.getPresetName())) return false; if (hasSyslog() != other.hasSyslog()) return false; if (hasSyslog()) { if (!getSyslog() .equals(other.getSyslog())) return false; } if (hasLog() != other.hasLog()) return false; if (hasLog()) { if (!getLog() .equals(other.getLog())) return false; } if (hasData() != other.hasData()) return false; if (hasData()) { if (!getData() .equals(other.getData())) return false; } if (hasExternal() != other.hasExternal()) return false; if (hasExternal()) { if (!getExternal() .equals(other.getExternal())) return false; } if (keepInMemory_ != other.keepInMemory_) return false; if (!getColumnFamiliesList() .equals(other.getColumnFamiliesList())) 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) + PRESET_NAME_FIELD_NUMBER; hash = (53 * hash) + getPresetName().hashCode(); if (hasSyslog()) { hash = (37 * hash) + SYSLOG_FIELD_NUMBER; hash = (53 * hash) + getSyslog().hashCode(); } if (hasLog()) { hash = (37 * hash) + LOG_FIELD_NUMBER; hash = (53 * hash) + getLog().hashCode(); } if (hasData()) { hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); } if (hasExternal()) { hash = (37 * hash) + EXTERNAL_FIELD_NUMBER; hash = (53 * hash) + getExternal().hashCode(); } hash = (37 * hash) + KEEP_IN_MEMORY_FIELD_NUMBER; hash = (53 * hash) + keepInMemory_; if (getColumnFamiliesCount() > 0) { hash = (37 * hash) + COLUMN_FAMILIES_FIELD_NUMBER; hash = (53 * hash) + getColumnFamiliesList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.StoragePolicy parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.StoragePolicy 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.table.YdbTable.StoragePolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.StoragePolicy 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.table.YdbTable.StoragePolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.StoragePolicy parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.StoragePolicy parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.StoragePolicy 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.table.YdbTable.StoragePolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.StoragePolicy 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.table.YdbTable.StoragePolicy parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.StoragePolicy 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.table.YdbTable.StoragePolicy 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.Table.StoragePolicy} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.StoragePolicy) tech.ydb.proto.table.YdbTable.StoragePolicyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_StoragePolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_StoragePolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.StoragePolicy.class, tech.ydb.proto.table.YdbTable.StoragePolicy.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.StoragePolicy.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getSyslogFieldBuilder(); getLogFieldBuilder(); getDataFieldBuilder(); getExternalFieldBuilder(); getColumnFamiliesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; presetName_ = ""; syslog_ = null; if (syslogBuilder_ != null) { syslogBuilder_.dispose(); syslogBuilder_ = null; } log_ = null; if (logBuilder_ != null) { logBuilder_.dispose(); logBuilder_ = null; } data_ = null; if (dataBuilder_ != null) { dataBuilder_.dispose(); dataBuilder_ = null; } external_ = null; if (externalBuilder_ != null) { externalBuilder_.dispose(); externalBuilder_ = null; } keepInMemory_ = 0; if (columnFamiliesBuilder_ == null) { columnFamilies_ = java.util.Collections.emptyList(); } else { columnFamilies_ = null; columnFamiliesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_StoragePolicy_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.StoragePolicy getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.StoragePolicy.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.StoragePolicy build() { tech.ydb.proto.table.YdbTable.StoragePolicy result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.StoragePolicy buildPartial() { tech.ydb.proto.table.YdbTable.StoragePolicy result = new tech.ydb.proto.table.YdbTable.StoragePolicy(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(tech.ydb.proto.table.YdbTable.StoragePolicy result) { if (columnFamiliesBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0)) { columnFamilies_ = java.util.Collections.unmodifiableList(columnFamilies_); bitField0_ = (bitField0_ & ~0x00000040); } result.columnFamilies_ = columnFamilies_; } else { result.columnFamilies_ = columnFamiliesBuilder_.build(); } } private void buildPartial0(tech.ydb.proto.table.YdbTable.StoragePolicy result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.presetName_ = presetName_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.syslog_ = syslogBuilder_ == null ? syslog_ : syslogBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.log_ = logBuilder_ == null ? log_ : logBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { result.data_ = dataBuilder_ == null ? data_ : dataBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000010) != 0)) { result.external_ = externalBuilder_ == null ? external_ : externalBuilder_.build(); to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000020) != 0)) { result.keepInMemory_ = keepInMemory_; } 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.table.YdbTable.StoragePolicy) { return mergeFrom((tech.ydb.proto.table.YdbTable.StoragePolicy)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.StoragePolicy other) { if (other == tech.ydb.proto.table.YdbTable.StoragePolicy.getDefaultInstance()) return this; if (!other.getPresetName().isEmpty()) { presetName_ = other.presetName_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasSyslog()) { mergeSyslog(other.getSyslog()); } if (other.hasLog()) { mergeLog(other.getLog()); } if (other.hasData()) { mergeData(other.getData()); } if (other.hasExternal()) { mergeExternal(other.getExternal()); } if (other.keepInMemory_ != 0) { setKeepInMemoryValue(other.getKeepInMemoryValue()); } if (columnFamiliesBuilder_ == null) { if (!other.columnFamilies_.isEmpty()) { if (columnFamilies_.isEmpty()) { columnFamilies_ = other.columnFamilies_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureColumnFamiliesIsMutable(); columnFamilies_.addAll(other.columnFamilies_); } onChanged(); } } else { if (!other.columnFamilies_.isEmpty()) { if (columnFamiliesBuilder_.isEmpty()) { columnFamiliesBuilder_.dispose(); columnFamiliesBuilder_ = null; columnFamilies_ = other.columnFamilies_; bitField0_ = (bitField0_ & ~0x00000040); columnFamiliesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getColumnFamiliesFieldBuilder() : null; } else { columnFamiliesBuilder_.addAllMessages(other.columnFamilies_); } } } 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: { presetName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getSyslogFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage( getLogFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 34: { input.readMessage( getDataFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 34 case 42: { input.readMessage( getExternalFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 42 case 48: { keepInMemory_ = input.readEnum(); bitField0_ |= 0x00000020; break; } // case 48 case 58: { tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy m = input.readMessage( tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy.parser(), extensionRegistry); if (columnFamiliesBuilder_ == null) { ensureColumnFamiliesIsMutable(); columnFamilies_.add(m); } else { columnFamiliesBuilder_.addMessage(m); } break; } // case 58 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 presetName_ = ""; /** * string preset_name = 1; * @return The presetName. */ public java.lang.String getPresetName() { java.lang.Object ref = presetName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); presetName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string preset_name = 1; * @return The bytes for presetName. */ public com.google.protobuf.ByteString getPresetNameBytes() { java.lang.Object ref = presetName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); presetName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string preset_name = 1; * @param value The presetName to set. * @return This builder for chaining. */ public Builder setPresetName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } presetName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * string preset_name = 1; * @return This builder for chaining. */ public Builder clearPresetName() { presetName_ = getDefaultInstance().getPresetName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * string preset_name = 1; * @param value The bytes for presetName to set. * @return This builder for chaining. */ public Builder setPresetNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); presetName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private tech.ydb.proto.table.YdbTable.StoragePool syslog_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePool, tech.ydb.proto.table.YdbTable.StoragePool.Builder, tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder> syslogBuilder_; /** * .Ydb.Table.StoragePool syslog = 2; * @return Whether the syslog field is set. */ public boolean hasSyslog() { return ((bitField0_ & 0x00000002) != 0); } /** * .Ydb.Table.StoragePool syslog = 2; * @return The syslog. */ public tech.ydb.proto.table.YdbTable.StoragePool getSyslog() { if (syslogBuilder_ == null) { return syslog_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : syslog_; } else { return syslogBuilder_.getMessage(); } } /** * .Ydb.Table.StoragePool syslog = 2; */ public Builder setSyslog(tech.ydb.proto.table.YdbTable.StoragePool value) { if (syslogBuilder_ == null) { if (value == null) { throw new NullPointerException(); } syslog_ = value; } else { syslogBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * .Ydb.Table.StoragePool syslog = 2; */ public Builder setSyslog( tech.ydb.proto.table.YdbTable.StoragePool.Builder builderForValue) { if (syslogBuilder_ == null) { syslog_ = builderForValue.build(); } else { syslogBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * .Ydb.Table.StoragePool syslog = 2; */ public Builder mergeSyslog(tech.ydb.proto.table.YdbTable.StoragePool value) { if (syslogBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && syslog_ != null && syslog_ != tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance()) { getSyslogBuilder().mergeFrom(value); } else { syslog_ = value; } } else { syslogBuilder_.mergeFrom(value); } if (syslog_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** * .Ydb.Table.StoragePool syslog = 2; */ public Builder clearSyslog() { bitField0_ = (bitField0_ & ~0x00000002); syslog_ = null; if (syslogBuilder_ != null) { syslogBuilder_.dispose(); syslogBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Table.StoragePool syslog = 2; */ public tech.ydb.proto.table.YdbTable.StoragePool.Builder getSyslogBuilder() { bitField0_ |= 0x00000002; onChanged(); return getSyslogFieldBuilder().getBuilder(); } /** * .Ydb.Table.StoragePool syslog = 2; */ public tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder getSyslogOrBuilder() { if (syslogBuilder_ != null) { return syslogBuilder_.getMessageOrBuilder(); } else { return syslog_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : syslog_; } } /** * .Ydb.Table.StoragePool syslog = 2; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePool, tech.ydb.proto.table.YdbTable.StoragePool.Builder, tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder> getSyslogFieldBuilder() { if (syslogBuilder_ == null) { syslogBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePool, tech.ydb.proto.table.YdbTable.StoragePool.Builder, tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder>( getSyslog(), getParentForChildren(), isClean()); syslog_ = null; } return syslogBuilder_; } private tech.ydb.proto.table.YdbTable.StoragePool log_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePool, tech.ydb.proto.table.YdbTable.StoragePool.Builder, tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder> logBuilder_; /** * .Ydb.Table.StoragePool log = 3; * @return Whether the log field is set. */ public boolean hasLog() { return ((bitField0_ & 0x00000004) != 0); } /** * .Ydb.Table.StoragePool log = 3; * @return The log. */ public tech.ydb.proto.table.YdbTable.StoragePool getLog() { if (logBuilder_ == null) { return log_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : log_; } else { return logBuilder_.getMessage(); } } /** * .Ydb.Table.StoragePool log = 3; */ public Builder setLog(tech.ydb.proto.table.YdbTable.StoragePool value) { if (logBuilder_ == null) { if (value == null) { throw new NullPointerException(); } log_ = value; } else { logBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * .Ydb.Table.StoragePool log = 3; */ public Builder setLog( tech.ydb.proto.table.YdbTable.StoragePool.Builder builderForValue) { if (logBuilder_ == null) { log_ = builderForValue.build(); } else { logBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * .Ydb.Table.StoragePool log = 3; */ public Builder mergeLog(tech.ydb.proto.table.YdbTable.StoragePool value) { if (logBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && log_ != null && log_ != tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance()) { getLogBuilder().mergeFrom(value); } else { log_ = value; } } else { logBuilder_.mergeFrom(value); } if (log_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * .Ydb.Table.StoragePool log = 3; */ public Builder clearLog() { bitField0_ = (bitField0_ & ~0x00000004); log_ = null; if (logBuilder_ != null) { logBuilder_.dispose(); logBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Table.StoragePool log = 3; */ public tech.ydb.proto.table.YdbTable.StoragePool.Builder getLogBuilder() { bitField0_ |= 0x00000004; onChanged(); return getLogFieldBuilder().getBuilder(); } /** * .Ydb.Table.StoragePool log = 3; */ public tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder getLogOrBuilder() { if (logBuilder_ != null) { return logBuilder_.getMessageOrBuilder(); } else { return log_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : log_; } } /** * .Ydb.Table.StoragePool log = 3; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePool, tech.ydb.proto.table.YdbTable.StoragePool.Builder, tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder> getLogFieldBuilder() { if (logBuilder_ == null) { logBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePool, tech.ydb.proto.table.YdbTable.StoragePool.Builder, tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder>( getLog(), getParentForChildren(), isClean()); log_ = null; } return logBuilder_; } private tech.ydb.proto.table.YdbTable.StoragePool data_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePool, tech.ydb.proto.table.YdbTable.StoragePool.Builder, tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder> dataBuilder_; /** * .Ydb.Table.StoragePool data = 4; * @return Whether the data field is set. */ public boolean hasData() { return ((bitField0_ & 0x00000008) != 0); } /** * .Ydb.Table.StoragePool data = 4; * @return The data. */ public tech.ydb.proto.table.YdbTable.StoragePool getData() { if (dataBuilder_ == null) { return data_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : data_; } else { return dataBuilder_.getMessage(); } } /** * .Ydb.Table.StoragePool data = 4; */ public Builder setData(tech.ydb.proto.table.YdbTable.StoragePool value) { if (dataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; } else { dataBuilder_.setMessage(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** * .Ydb.Table.StoragePool data = 4; */ public Builder setData( tech.ydb.proto.table.YdbTable.StoragePool.Builder builderForValue) { if (dataBuilder_ == null) { data_ = builderForValue.build(); } else { dataBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; onChanged(); return this; } /** * .Ydb.Table.StoragePool data = 4; */ public Builder mergeData(tech.ydb.proto.table.YdbTable.StoragePool value) { if (dataBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && data_ != null && data_ != tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance()) { getDataBuilder().mergeFrom(value); } else { data_ = value; } } else { dataBuilder_.mergeFrom(value); } if (data_ != null) { bitField0_ |= 0x00000008; onChanged(); } return this; } /** * .Ydb.Table.StoragePool data = 4; */ public Builder clearData() { bitField0_ = (bitField0_ & ~0x00000008); data_ = null; if (dataBuilder_ != null) { dataBuilder_.dispose(); dataBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Table.StoragePool data = 4; */ public tech.ydb.proto.table.YdbTable.StoragePool.Builder getDataBuilder() { bitField0_ |= 0x00000008; onChanged(); return getDataFieldBuilder().getBuilder(); } /** * .Ydb.Table.StoragePool data = 4; */ public tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder getDataOrBuilder() { if (dataBuilder_ != null) { return dataBuilder_.getMessageOrBuilder(); } else { return data_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : data_; } } /** * .Ydb.Table.StoragePool data = 4; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePool, tech.ydb.proto.table.YdbTable.StoragePool.Builder, tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder> getDataFieldBuilder() { if (dataBuilder_ == null) { dataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePool, tech.ydb.proto.table.YdbTable.StoragePool.Builder, tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder>( getData(), getParentForChildren(), isClean()); data_ = null; } return dataBuilder_; } private tech.ydb.proto.table.YdbTable.StoragePool external_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePool, tech.ydb.proto.table.YdbTable.StoragePool.Builder, tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder> externalBuilder_; /** * .Ydb.Table.StoragePool external = 5; * @return Whether the external field is set. */ public boolean hasExternal() { return ((bitField0_ & 0x00000010) != 0); } /** * .Ydb.Table.StoragePool external = 5; * @return The external. */ public tech.ydb.proto.table.YdbTable.StoragePool getExternal() { if (externalBuilder_ == null) { return external_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : external_; } else { return externalBuilder_.getMessage(); } } /** * .Ydb.Table.StoragePool external = 5; */ public Builder setExternal(tech.ydb.proto.table.YdbTable.StoragePool value) { if (externalBuilder_ == null) { if (value == null) { throw new NullPointerException(); } external_ = value; } else { externalBuilder_.setMessage(value); } bitField0_ |= 0x00000010; onChanged(); return this; } /** * .Ydb.Table.StoragePool external = 5; */ public Builder setExternal( tech.ydb.proto.table.YdbTable.StoragePool.Builder builderForValue) { if (externalBuilder_ == null) { external_ = builderForValue.build(); } else { externalBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; onChanged(); return this; } /** * .Ydb.Table.StoragePool external = 5; */ public Builder mergeExternal(tech.ydb.proto.table.YdbTable.StoragePool value) { if (externalBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && external_ != null && external_ != tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance()) { getExternalBuilder().mergeFrom(value); } else { external_ = value; } } else { externalBuilder_.mergeFrom(value); } if (external_ != null) { bitField0_ |= 0x00000010; onChanged(); } return this; } /** * .Ydb.Table.StoragePool external = 5; */ public Builder clearExternal() { bitField0_ = (bitField0_ & ~0x00000010); external_ = null; if (externalBuilder_ != null) { externalBuilder_.dispose(); externalBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Table.StoragePool external = 5; */ public tech.ydb.proto.table.YdbTable.StoragePool.Builder getExternalBuilder() { bitField0_ |= 0x00000010; onChanged(); return getExternalFieldBuilder().getBuilder(); } /** * .Ydb.Table.StoragePool external = 5; */ public tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder getExternalOrBuilder() { if (externalBuilder_ != null) { return externalBuilder_.getMessageOrBuilder(); } else { return external_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : external_; } } /** * .Ydb.Table.StoragePool external = 5; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePool, tech.ydb.proto.table.YdbTable.StoragePool.Builder, tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder> getExternalFieldBuilder() { if (externalBuilder_ == null) { externalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePool, tech.ydb.proto.table.YdbTable.StoragePool.Builder, tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder>( getExternal(), getParentForChildren(), isClean()); external_ = null; } return externalBuilder_; } private int keepInMemory_ = 0; /** * .Ydb.FeatureFlag.Status keep_in_memory = 6; * @return The enum numeric value on the wire for keepInMemory. */ @java.lang.Override public int getKeepInMemoryValue() { return keepInMemory_; } /** * .Ydb.FeatureFlag.Status keep_in_memory = 6; * @param value The enum numeric value on the wire for keepInMemory to set. * @return This builder for chaining. */ public Builder setKeepInMemoryValue(int value) { keepInMemory_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** * .Ydb.FeatureFlag.Status keep_in_memory = 6; * @return The keepInMemory. */ @java.lang.Override public tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getKeepInMemory() { tech.ydb.proto.common.CommonProtos.FeatureFlag.Status result = tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.forNumber(keepInMemory_); return result == null ? tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } /** * .Ydb.FeatureFlag.Status keep_in_memory = 6; * @param value The keepInMemory to set. * @return This builder for chaining. */ public Builder setKeepInMemory(tech.ydb.proto.common.CommonProtos.FeatureFlag.Status value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; keepInMemory_ = value.getNumber(); onChanged(); return this; } /** * .Ydb.FeatureFlag.Status keep_in_memory = 6; * @return This builder for chaining. */ public Builder clearKeepInMemory() { bitField0_ = (bitField0_ & ~0x00000020); keepInMemory_ = 0; onChanged(); return this; } private java.util.List columnFamilies_ = java.util.Collections.emptyList(); private void ensureColumnFamiliesIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { columnFamilies_ = new java.util.ArrayList(columnFamilies_); bitField0_ |= 0x00000040; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy, tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy.Builder, tech.ydb.proto.table.YdbTable.ColumnFamilyPolicyOrBuilder> columnFamiliesBuilder_; /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ public java.util.List getColumnFamiliesList() { if (columnFamiliesBuilder_ == null) { return java.util.Collections.unmodifiableList(columnFamilies_); } else { return columnFamiliesBuilder_.getMessageList(); } } /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ public int getColumnFamiliesCount() { if (columnFamiliesBuilder_ == null) { return columnFamilies_.size(); } else { return columnFamiliesBuilder_.getCount(); } } /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ public tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy getColumnFamilies(int index) { if (columnFamiliesBuilder_ == null) { return columnFamilies_.get(index); } else { return columnFamiliesBuilder_.getMessage(index); } } /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ public Builder setColumnFamilies( int index, tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy value) { if (columnFamiliesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnFamiliesIsMutable(); columnFamilies_.set(index, value); onChanged(); } else { columnFamiliesBuilder_.setMessage(index, value); } return this; } /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ public Builder setColumnFamilies( int index, tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy.Builder builderForValue) { if (columnFamiliesBuilder_ == null) { ensureColumnFamiliesIsMutable(); columnFamilies_.set(index, builderForValue.build()); onChanged(); } else { columnFamiliesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ public Builder addColumnFamilies(tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy value) { if (columnFamiliesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnFamiliesIsMutable(); columnFamilies_.add(value); onChanged(); } else { columnFamiliesBuilder_.addMessage(value); } return this; } /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ public Builder addColumnFamilies( int index, tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy value) { if (columnFamiliesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnFamiliesIsMutable(); columnFamilies_.add(index, value); onChanged(); } else { columnFamiliesBuilder_.addMessage(index, value); } return this; } /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ public Builder addColumnFamilies( tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy.Builder builderForValue) { if (columnFamiliesBuilder_ == null) { ensureColumnFamiliesIsMutable(); columnFamilies_.add(builderForValue.build()); onChanged(); } else { columnFamiliesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ public Builder addColumnFamilies( int index, tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy.Builder builderForValue) { if (columnFamiliesBuilder_ == null) { ensureColumnFamiliesIsMutable(); columnFamilies_.add(index, builderForValue.build()); onChanged(); } else { columnFamiliesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ public Builder addAllColumnFamilies( java.lang.Iterable values) { if (columnFamiliesBuilder_ == null) { ensureColumnFamiliesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, columnFamilies_); onChanged(); } else { columnFamiliesBuilder_.addAllMessages(values); } return this; } /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ public Builder clearColumnFamilies() { if (columnFamiliesBuilder_ == null) { columnFamilies_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); } else { columnFamiliesBuilder_.clear(); } return this; } /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ public Builder removeColumnFamilies(int index) { if (columnFamiliesBuilder_ == null) { ensureColumnFamiliesIsMutable(); columnFamilies_.remove(index); onChanged(); } else { columnFamiliesBuilder_.remove(index); } return this; } /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ public tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy.Builder getColumnFamiliesBuilder( int index) { return getColumnFamiliesFieldBuilder().getBuilder(index); } /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ public tech.ydb.proto.table.YdbTable.ColumnFamilyPolicyOrBuilder getColumnFamiliesOrBuilder( int index) { if (columnFamiliesBuilder_ == null) { return columnFamilies_.get(index); } else { return columnFamiliesBuilder_.getMessageOrBuilder(index); } } /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ public java.util.List getColumnFamiliesOrBuilderList() { if (columnFamiliesBuilder_ != null) { return columnFamiliesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(columnFamilies_); } } /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ public tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy.Builder addColumnFamiliesBuilder() { return getColumnFamiliesFieldBuilder().addBuilder( tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy.getDefaultInstance()); } /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ public tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy.Builder addColumnFamiliesBuilder( int index) { return getColumnFamiliesFieldBuilder().addBuilder( index, tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy.getDefaultInstance()); } /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ public java.util.List getColumnFamiliesBuilderList() { return getColumnFamiliesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy, tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy.Builder, tech.ydb.proto.table.YdbTable.ColumnFamilyPolicyOrBuilder> getColumnFamiliesFieldBuilder() { if (columnFamiliesBuilder_ == null) { columnFamiliesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy, tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy.Builder, tech.ydb.proto.table.YdbTable.ColumnFamilyPolicyOrBuilder>( columnFamilies_, ((bitField0_ & 0x00000040) != 0), getParentForChildren(), isClean()); columnFamilies_ = null; } return columnFamiliesBuilder_; } @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.Table.StoragePolicy) } // @@protoc_insertion_point(class_scope:Ydb.Table.StoragePolicy) private static final tech.ydb.proto.table.YdbTable.StoragePolicy DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.StoragePolicy(); } public static tech.ydb.proto.table.YdbTable.StoragePolicy getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public StoragePolicy 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.table.YdbTable.StoragePolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ColumnFamilyPolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.ColumnFamilyPolicy) com.google.protobuf.MessageOrBuilder { /** *
     * Name of the column family, the name "default" must be used for the
     * primary column family that contains as least primary key columns
     * 
* * string name = 1; * @return The name. */ java.lang.String getName(); /** *
     * Name of the column family, the name "default" must be used for the
     * primary column family that contains as least primary key columns
     * 
* * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * Storage settings for the column group (default to values in storage policy)
     * 
* * .Ydb.Table.StoragePool data = 2; * @return Whether the data field is set. */ boolean hasData(); /** *
     * Storage settings for the column group (default to values in storage policy)
     * 
* * .Ydb.Table.StoragePool data = 2; * @return The data. */ tech.ydb.proto.table.YdbTable.StoragePool getData(); /** *
     * Storage settings for the column group (default to values in storage policy)
     * 
* * .Ydb.Table.StoragePool data = 2; */ tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder getDataOrBuilder(); /** * .Ydb.Table.StoragePool external = 3; * @return Whether the external field is set. */ boolean hasExternal(); /** * .Ydb.Table.StoragePool external = 3; * @return The external. */ tech.ydb.proto.table.YdbTable.StoragePool getExternal(); /** * .Ydb.Table.StoragePool external = 3; */ tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder getExternalOrBuilder(); /** *
     * When enabled table data will be kept in memory
     * WARNING: DO NOT USE
     * 
* * .Ydb.FeatureFlag.Status keep_in_memory = 4; * @return The enum numeric value on the wire for keepInMemory. */ int getKeepInMemoryValue(); /** *
     * When enabled table data will be kept in memory
     * WARNING: DO NOT USE
     * 
* * .Ydb.FeatureFlag.Status keep_in_memory = 4; * @return The keepInMemory. */ tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getKeepInMemory(); /** *
     * Optionally specify whether data should be compressed
     * 
* * .Ydb.Table.ColumnFamilyPolicy.Compression compression = 5; * @return The enum numeric value on the wire for compression. */ int getCompressionValue(); /** *
     * Optionally specify whether data should be compressed
     * 
* * .Ydb.Table.ColumnFamilyPolicy.Compression compression = 5; * @return The compression. */ tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy.Compression getCompression(); } /** * Protobuf type {@code Ydb.Table.ColumnFamilyPolicy} */ public static final class ColumnFamilyPolicy extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.ColumnFamilyPolicy) ColumnFamilyPolicyOrBuilder { private static final long serialVersionUID = 0L; // Use ColumnFamilyPolicy.newBuilder() to construct. private ColumnFamilyPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ColumnFamilyPolicy() { name_ = ""; keepInMemory_ = 0; compression_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ColumnFamilyPolicy(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ColumnFamilyPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ColumnFamilyPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy.class, tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy.Builder.class); } /** * Protobuf enum {@code Ydb.Table.ColumnFamilyPolicy.Compression} */ public enum Compression implements com.google.protobuf.ProtocolMessageEnum { /** * COMPRESSION_UNSPECIFIED = 0; */ COMPRESSION_UNSPECIFIED(0), /** * UNCOMPRESSED = 1; */ UNCOMPRESSED(1), /** * COMPRESSED = 2; */ COMPRESSED(2), UNRECOGNIZED(-1), ; /** * COMPRESSION_UNSPECIFIED = 0; */ public static final int COMPRESSION_UNSPECIFIED_VALUE = 0; /** * UNCOMPRESSED = 1; */ public static final int UNCOMPRESSED_VALUE = 1; /** * COMPRESSED = 2; */ public static final int COMPRESSED_VALUE = 2; 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 Compression 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 Compression forNumber(int value) { switch (value) { case 0: return COMPRESSION_UNSPECIFIED; case 1: return UNCOMPRESSED; case 2: return COMPRESSED; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Compression> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Compression findValueByNumber(int number) { return Compression.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.table.YdbTable.ColumnFamilyPolicy.getDescriptor().getEnumTypes().get(0); } private static final Compression[] VALUES = values(); public static Compression 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 Compression(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Ydb.Table.ColumnFamilyPolicy.Compression) } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** *
     * Name of the column family, the name "default" must be used for the
     * primary column family that contains as least primary key columns
     * 
* * 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 the column family, the name "default" must be used for the
     * primary column family that contains as least primary key columns
     * 
* * 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 DATA_FIELD_NUMBER = 2; private tech.ydb.proto.table.YdbTable.StoragePool data_; /** *
     * Storage settings for the column group (default to values in storage policy)
     * 
* * .Ydb.Table.StoragePool data = 2; * @return Whether the data field is set. */ @java.lang.Override public boolean hasData() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Storage settings for the column group (default to values in storage policy)
     * 
* * .Ydb.Table.StoragePool data = 2; * @return The data. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StoragePool getData() { return data_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : data_; } /** *
     * Storage settings for the column group (default to values in storage policy)
     * 
* * .Ydb.Table.StoragePool data = 2; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder getDataOrBuilder() { return data_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : data_; } public static final int EXTERNAL_FIELD_NUMBER = 3; private tech.ydb.proto.table.YdbTable.StoragePool external_; /** * .Ydb.Table.StoragePool external = 3; * @return Whether the external field is set. */ @java.lang.Override public boolean hasExternal() { return ((bitField0_ & 0x00000002) != 0); } /** * .Ydb.Table.StoragePool external = 3; * @return The external. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StoragePool getExternal() { return external_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : external_; } /** * .Ydb.Table.StoragePool external = 3; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder getExternalOrBuilder() { return external_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : external_; } public static final int KEEP_IN_MEMORY_FIELD_NUMBER = 4; private int keepInMemory_ = 0; /** *
     * When enabled table data will be kept in memory
     * WARNING: DO NOT USE
     * 
* * .Ydb.FeatureFlag.Status keep_in_memory = 4; * @return The enum numeric value on the wire for keepInMemory. */ @java.lang.Override public int getKeepInMemoryValue() { return keepInMemory_; } /** *
     * When enabled table data will be kept in memory
     * WARNING: DO NOT USE
     * 
* * .Ydb.FeatureFlag.Status keep_in_memory = 4; * @return The keepInMemory. */ @java.lang.Override public tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getKeepInMemory() { tech.ydb.proto.common.CommonProtos.FeatureFlag.Status result = tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.forNumber(keepInMemory_); return result == null ? tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } public static final int COMPRESSION_FIELD_NUMBER = 5; private int compression_ = 0; /** *
     * Optionally specify whether data should be compressed
     * 
* * .Ydb.Table.ColumnFamilyPolicy.Compression compression = 5; * @return The enum numeric value on the wire for compression. */ @java.lang.Override public int getCompressionValue() { return compression_; } /** *
     * Optionally specify whether data should be compressed
     * 
* * .Ydb.Table.ColumnFamilyPolicy.Compression compression = 5; * @return The compression. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy.Compression getCompression() { tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy.Compression result = tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy.Compression.forNumber(compression_); return result == null ? tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy.Compression.UNRECOGNIZED : result; } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getData()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getExternal()); } if (keepInMemory_ != tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(4, keepInMemory_); } if (compression_ != tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy.Compression.COMPRESSION_UNSPECIFIED.getNumber()) { output.writeEnum(5, compression_); } 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 (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getData()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getExternal()); } if (keepInMemory_ != tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, keepInMemory_); } if (compression_ != tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy.Compression.COMPRESSION_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, compression_); } 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.table.YdbTable.ColumnFamilyPolicy)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy other = (tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy) obj; if (!getName() .equals(other.getName())) return false; if (hasData() != other.hasData()) return false; if (hasData()) { if (!getData() .equals(other.getData())) return false; } if (hasExternal() != other.hasExternal()) return false; if (hasExternal()) { if (!getExternal() .equals(other.getExternal())) return false; } if (keepInMemory_ != other.keepInMemory_) return false; if (compression_ != other.compression_) 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(); if (hasData()) { hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); } if (hasExternal()) { hash = (37 * hash) + EXTERNAL_FIELD_NUMBER; hash = (53 * hash) + getExternal().hashCode(); } hash = (37 * hash) + KEEP_IN_MEMORY_FIELD_NUMBER; hash = (53 * hash) + keepInMemory_; hash = (37 * hash) + COMPRESSION_FIELD_NUMBER; hash = (53 * hash) + compression_; hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy 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.table.YdbTable.ColumnFamilyPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy 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.table.YdbTable.ColumnFamilyPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy 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.table.YdbTable.ColumnFamilyPolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy 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.table.YdbTable.ColumnFamilyPolicy parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy 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.table.YdbTable.ColumnFamilyPolicy 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.Table.ColumnFamilyPolicy} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.ColumnFamilyPolicy) tech.ydb.proto.table.YdbTable.ColumnFamilyPolicyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ColumnFamilyPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ColumnFamilyPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy.class, tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getDataFieldBuilder(); getExternalFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; data_ = null; if (dataBuilder_ != null) { dataBuilder_.dispose(); dataBuilder_ = null; } external_ = null; if (externalBuilder_ != null) { externalBuilder_.dispose(); externalBuilder_ = null; } keepInMemory_ = 0; compression_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ColumnFamilyPolicy_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy build() { tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy buildPartial() { tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy result = new tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.data_ = dataBuilder_ == null ? data_ : dataBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.external_ = externalBuilder_ == null ? external_ : externalBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { result.keepInMemory_ = keepInMemory_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.compression_ = compression_; } 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.table.YdbTable.ColumnFamilyPolicy) { return mergeFrom((tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy other) { if (other == tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasData()) { mergeData(other.getData()); } if (other.hasExternal()) { mergeExternal(other.getExternal()); } if (other.keepInMemory_ != 0) { setKeepInMemoryValue(other.getKeepInMemoryValue()); } if (other.compression_ != 0) { setCompressionValue(other.getCompressionValue()); } 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: { input.readMessage( getDataFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage( getExternalFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 32: { keepInMemory_ = input.readEnum(); bitField0_ |= 0x00000008; break; } // case 32 case 40: { compression_ = input.readEnum(); bitField0_ |= 0x00000010; 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 bitField0_; private java.lang.Object name_ = ""; /** *
       * Name of the column family, the name "default" must be used for the
       * primary column family that contains as least primary key columns
       * 
* * 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 the column family, the name "default" must be used for the
       * primary column family that contains as least primary key columns
       * 
* * 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 the column family, the name "default" must be used for the
       * primary column family that contains as least primary key columns
       * 
* * 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 the column family, the name "default" must be used for the
       * primary column family that contains as least primary key columns
       * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Name of the column family, the name "default" must be used for the
       * primary column family that contains as least primary key columns
       * 
* * 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 tech.ydb.proto.table.YdbTable.StoragePool data_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePool, tech.ydb.proto.table.YdbTable.StoragePool.Builder, tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder> dataBuilder_; /** *
       * Storage settings for the column group (default to values in storage policy)
       * 
* * .Ydb.Table.StoragePool data = 2; * @return Whether the data field is set. */ public boolean hasData() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Storage settings for the column group (default to values in storage policy)
       * 
* * .Ydb.Table.StoragePool data = 2; * @return The data. */ public tech.ydb.proto.table.YdbTable.StoragePool getData() { if (dataBuilder_ == null) { return data_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : data_; } else { return dataBuilder_.getMessage(); } } /** *
       * Storage settings for the column group (default to values in storage policy)
       * 
* * .Ydb.Table.StoragePool data = 2; */ public Builder setData(tech.ydb.proto.table.YdbTable.StoragePool value) { if (dataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; } else { dataBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Storage settings for the column group (default to values in storage policy)
       * 
* * .Ydb.Table.StoragePool data = 2; */ public Builder setData( tech.ydb.proto.table.YdbTable.StoragePool.Builder builderForValue) { if (dataBuilder_ == null) { data_ = builderForValue.build(); } else { dataBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Storage settings for the column group (default to values in storage policy)
       * 
* * .Ydb.Table.StoragePool data = 2; */ public Builder mergeData(tech.ydb.proto.table.YdbTable.StoragePool value) { if (dataBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && data_ != null && data_ != tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance()) { getDataBuilder().mergeFrom(value); } else { data_ = value; } } else { dataBuilder_.mergeFrom(value); } if (data_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** *
       * Storage settings for the column group (default to values in storage policy)
       * 
* * .Ydb.Table.StoragePool data = 2; */ public Builder clearData() { bitField0_ = (bitField0_ & ~0x00000002); data_ = null; if (dataBuilder_ != null) { dataBuilder_.dispose(); dataBuilder_ = null; } onChanged(); return this; } /** *
       * Storage settings for the column group (default to values in storage policy)
       * 
* * .Ydb.Table.StoragePool data = 2; */ public tech.ydb.proto.table.YdbTable.StoragePool.Builder getDataBuilder() { bitField0_ |= 0x00000002; onChanged(); return getDataFieldBuilder().getBuilder(); } /** *
       * Storage settings for the column group (default to values in storage policy)
       * 
* * .Ydb.Table.StoragePool data = 2; */ public tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder getDataOrBuilder() { if (dataBuilder_ != null) { return dataBuilder_.getMessageOrBuilder(); } else { return data_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : data_; } } /** *
       * Storage settings for the column group (default to values in storage policy)
       * 
* * .Ydb.Table.StoragePool data = 2; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePool, tech.ydb.proto.table.YdbTable.StoragePool.Builder, tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder> getDataFieldBuilder() { if (dataBuilder_ == null) { dataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePool, tech.ydb.proto.table.YdbTable.StoragePool.Builder, tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder>( getData(), getParentForChildren(), isClean()); data_ = null; } return dataBuilder_; } private tech.ydb.proto.table.YdbTable.StoragePool external_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePool, tech.ydb.proto.table.YdbTable.StoragePool.Builder, tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder> externalBuilder_; /** * .Ydb.Table.StoragePool external = 3; * @return Whether the external field is set. */ public boolean hasExternal() { return ((bitField0_ & 0x00000004) != 0); } /** * .Ydb.Table.StoragePool external = 3; * @return The external. */ public tech.ydb.proto.table.YdbTable.StoragePool getExternal() { if (externalBuilder_ == null) { return external_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : external_; } else { return externalBuilder_.getMessage(); } } /** * .Ydb.Table.StoragePool external = 3; */ public Builder setExternal(tech.ydb.proto.table.YdbTable.StoragePool value) { if (externalBuilder_ == null) { if (value == null) { throw new NullPointerException(); } external_ = value; } else { externalBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * .Ydb.Table.StoragePool external = 3; */ public Builder setExternal( tech.ydb.proto.table.YdbTable.StoragePool.Builder builderForValue) { if (externalBuilder_ == null) { external_ = builderForValue.build(); } else { externalBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * .Ydb.Table.StoragePool external = 3; */ public Builder mergeExternal(tech.ydb.proto.table.YdbTable.StoragePool value) { if (externalBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && external_ != null && external_ != tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance()) { getExternalBuilder().mergeFrom(value); } else { external_ = value; } } else { externalBuilder_.mergeFrom(value); } if (external_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * .Ydb.Table.StoragePool external = 3; */ public Builder clearExternal() { bitField0_ = (bitField0_ & ~0x00000004); external_ = null; if (externalBuilder_ != null) { externalBuilder_.dispose(); externalBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Table.StoragePool external = 3; */ public tech.ydb.proto.table.YdbTable.StoragePool.Builder getExternalBuilder() { bitField0_ |= 0x00000004; onChanged(); return getExternalFieldBuilder().getBuilder(); } /** * .Ydb.Table.StoragePool external = 3; */ public tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder getExternalOrBuilder() { if (externalBuilder_ != null) { return externalBuilder_.getMessageOrBuilder(); } else { return external_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : external_; } } /** * .Ydb.Table.StoragePool external = 3; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePool, tech.ydb.proto.table.YdbTable.StoragePool.Builder, tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder> getExternalFieldBuilder() { if (externalBuilder_ == null) { externalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePool, tech.ydb.proto.table.YdbTable.StoragePool.Builder, tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder>( getExternal(), getParentForChildren(), isClean()); external_ = null; } return externalBuilder_; } private int keepInMemory_ = 0; /** *
       * When enabled table data will be kept in memory
       * WARNING: DO NOT USE
       * 
* * .Ydb.FeatureFlag.Status keep_in_memory = 4; * @return The enum numeric value on the wire for keepInMemory. */ @java.lang.Override public int getKeepInMemoryValue() { return keepInMemory_; } /** *
       * When enabled table data will be kept in memory
       * WARNING: DO NOT USE
       * 
* * .Ydb.FeatureFlag.Status keep_in_memory = 4; * @param value The enum numeric value on the wire for keepInMemory to set. * @return This builder for chaining. */ public Builder setKeepInMemoryValue(int value) { keepInMemory_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * When enabled table data will be kept in memory
       * WARNING: DO NOT USE
       * 
* * .Ydb.FeatureFlag.Status keep_in_memory = 4; * @return The keepInMemory. */ @java.lang.Override public tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getKeepInMemory() { tech.ydb.proto.common.CommonProtos.FeatureFlag.Status result = tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.forNumber(keepInMemory_); return result == null ? tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } /** *
       * When enabled table data will be kept in memory
       * WARNING: DO NOT USE
       * 
* * .Ydb.FeatureFlag.Status keep_in_memory = 4; * @param value The keepInMemory to set. * @return This builder for chaining. */ public Builder setKeepInMemory(tech.ydb.proto.common.CommonProtos.FeatureFlag.Status value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; keepInMemory_ = value.getNumber(); onChanged(); return this; } /** *
       * When enabled table data will be kept in memory
       * WARNING: DO NOT USE
       * 
* * .Ydb.FeatureFlag.Status keep_in_memory = 4; * @return This builder for chaining. */ public Builder clearKeepInMemory() { bitField0_ = (bitField0_ & ~0x00000008); keepInMemory_ = 0; onChanged(); return this; } private int compression_ = 0; /** *
       * Optionally specify whether data should be compressed
       * 
* * .Ydb.Table.ColumnFamilyPolicy.Compression compression = 5; * @return The enum numeric value on the wire for compression. */ @java.lang.Override public int getCompressionValue() { return compression_; } /** *
       * Optionally specify whether data should be compressed
       * 
* * .Ydb.Table.ColumnFamilyPolicy.Compression compression = 5; * @param value The enum numeric value on the wire for compression to set. * @return This builder for chaining. */ public Builder setCompressionValue(int value) { compression_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * Optionally specify whether data should be compressed
       * 
* * .Ydb.Table.ColumnFamilyPolicy.Compression compression = 5; * @return The compression. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy.Compression getCompression() { tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy.Compression result = tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy.Compression.forNumber(compression_); return result == null ? tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy.Compression.UNRECOGNIZED : result; } /** *
       * Optionally specify whether data should be compressed
       * 
* * .Ydb.Table.ColumnFamilyPolicy.Compression compression = 5; * @param value The compression to set. * @return This builder for chaining. */ public Builder setCompression(tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy.Compression value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; compression_ = value.getNumber(); onChanged(); return this; } /** *
       * Optionally specify whether data should be compressed
       * 
* * .Ydb.Table.ColumnFamilyPolicy.Compression compression = 5; * @return This builder for chaining. */ public Builder clearCompression() { bitField0_ = (bitField0_ & ~0x00000010); compression_ = 0; 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.Table.ColumnFamilyPolicy) } // @@protoc_insertion_point(class_scope:Ydb.Table.ColumnFamilyPolicy) private static final tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy(); } public static tech.ydb.proto.table.YdbTable.ColumnFamilyPolicy getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ColumnFamilyPolicy 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.table.YdbTable.ColumnFamilyPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CompactionPolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.CompactionPolicy) com.google.protobuf.MessageOrBuilder { /** * string preset_name = 1; * @return The presetName. */ java.lang.String getPresetName(); /** * string preset_name = 1; * @return The bytes for presetName. */ com.google.protobuf.ByteString getPresetNameBytes(); } /** * Protobuf type {@code Ydb.Table.CompactionPolicy} */ public static final class CompactionPolicy extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.CompactionPolicy) CompactionPolicyOrBuilder { private static final long serialVersionUID = 0L; // Use CompactionPolicy.newBuilder() to construct. private CompactionPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CompactionPolicy() { presetName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CompactionPolicy(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CompactionPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CompactionPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CompactionPolicy.class, tech.ydb.proto.table.YdbTable.CompactionPolicy.Builder.class); } public static final int PRESET_NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object presetName_ = ""; /** * string preset_name = 1; * @return The presetName. */ @java.lang.Override public java.lang.String getPresetName() { java.lang.Object ref = presetName_; 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(); presetName_ = s; return s; } } /** * string preset_name = 1; * @return The bytes for presetName. */ @java.lang.Override public com.google.protobuf.ByteString getPresetNameBytes() { java.lang.Object ref = presetName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); presetName_ = 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(presetName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, presetName_); } 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(presetName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, presetName_); } 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.table.YdbTable.CompactionPolicy)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.CompactionPolicy other = (tech.ydb.proto.table.YdbTable.CompactionPolicy) obj; if (!getPresetName() .equals(other.getPresetName())) 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) + PRESET_NAME_FIELD_NUMBER; hash = (53 * hash) + getPresetName().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.CompactionPolicy parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CompactionPolicy 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.table.YdbTable.CompactionPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CompactionPolicy 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.table.YdbTable.CompactionPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CompactionPolicy parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.CompactionPolicy parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CompactionPolicy 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.table.YdbTable.CompactionPolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CompactionPolicy 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.table.YdbTable.CompactionPolicy parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CompactionPolicy 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.table.YdbTable.CompactionPolicy 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.Table.CompactionPolicy} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.CompactionPolicy) tech.ydb.proto.table.YdbTable.CompactionPolicyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CompactionPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CompactionPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CompactionPolicy.class, tech.ydb.proto.table.YdbTable.CompactionPolicy.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.CompactionPolicy.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; presetName_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CompactionPolicy_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CompactionPolicy getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.CompactionPolicy.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.CompactionPolicy build() { tech.ydb.proto.table.YdbTable.CompactionPolicy result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CompactionPolicy buildPartial() { tech.ydb.proto.table.YdbTable.CompactionPolicy result = new tech.ydb.proto.table.YdbTable.CompactionPolicy(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.CompactionPolicy result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.presetName_ = presetName_; } } @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.table.YdbTable.CompactionPolicy) { return mergeFrom((tech.ydb.proto.table.YdbTable.CompactionPolicy)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.CompactionPolicy other) { if (other == tech.ydb.proto.table.YdbTable.CompactionPolicy.getDefaultInstance()) return this; if (!other.getPresetName().isEmpty()) { presetName_ = other.presetName_; bitField0_ |= 0x00000001; 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: { presetName_ = input.readStringRequireUtf8(); 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 java.lang.Object presetName_ = ""; /** * string preset_name = 1; * @return The presetName. */ public java.lang.String getPresetName() { java.lang.Object ref = presetName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); presetName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string preset_name = 1; * @return The bytes for presetName. */ public com.google.protobuf.ByteString getPresetNameBytes() { java.lang.Object ref = presetName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); presetName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string preset_name = 1; * @param value The presetName to set. * @return This builder for chaining. */ public Builder setPresetName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } presetName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * string preset_name = 1; * @return This builder for chaining. */ public Builder clearPresetName() { presetName_ = getDefaultInstance().getPresetName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * string preset_name = 1; * @param value The bytes for presetName to set. * @return This builder for chaining. */ public Builder setPresetNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); presetName_ = value; bitField0_ |= 0x00000001; 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.Table.CompactionPolicy) } // @@protoc_insertion_point(class_scope:Ydb.Table.CompactionPolicy) private static final tech.ydb.proto.table.YdbTable.CompactionPolicy DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.CompactionPolicy(); } public static tech.ydb.proto.table.YdbTable.CompactionPolicy getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CompactionPolicy 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.table.YdbTable.CompactionPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExplicitPartitionsOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.ExplicitPartitions) com.google.protobuf.MessageOrBuilder { /** *
     * Specify key values used to split table into partitions.
     * Each value becomes the first key of a new partition.
     * Key values should go in ascending order.
     * Total number of created partitions is number of specified
     * keys + 1.
     * 
* * repeated .Ydb.TypedValue split_points = 1; */ java.util.List getSplitPointsList(); /** *
     * Specify key values used to split table into partitions.
     * Each value becomes the first key of a new partition.
     * Key values should go in ascending order.
     * Total number of created partitions is number of specified
     * keys + 1.
     * 
* * repeated .Ydb.TypedValue split_points = 1; */ tech.ydb.proto.ValueProtos.TypedValue getSplitPoints(int index); /** *
     * Specify key values used to split table into partitions.
     * Each value becomes the first key of a new partition.
     * Key values should go in ascending order.
     * Total number of created partitions is number of specified
     * keys + 1.
     * 
* * repeated .Ydb.TypedValue split_points = 1; */ int getSplitPointsCount(); /** *
     * Specify key values used to split table into partitions.
     * Each value becomes the first key of a new partition.
     * Key values should go in ascending order.
     * Total number of created partitions is number of specified
     * keys + 1.
     * 
* * repeated .Ydb.TypedValue split_points = 1; */ java.util.List getSplitPointsOrBuilderList(); /** *
     * Specify key values used to split table into partitions.
     * Each value becomes the first key of a new partition.
     * Key values should go in ascending order.
     * Total number of created partitions is number of specified
     * keys + 1.
     * 
* * repeated .Ydb.TypedValue split_points = 1; */ tech.ydb.proto.ValueProtos.TypedValueOrBuilder getSplitPointsOrBuilder( int index); } /** * Protobuf type {@code Ydb.Table.ExplicitPartitions} */ public static final class ExplicitPartitions extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.ExplicitPartitions) ExplicitPartitionsOrBuilder { private static final long serialVersionUID = 0L; // Use ExplicitPartitions.newBuilder() to construct. private ExplicitPartitions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExplicitPartitions() { splitPoints_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExplicitPartitions(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExplicitPartitions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExplicitPartitions_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ExplicitPartitions.class, tech.ydb.proto.table.YdbTable.ExplicitPartitions.Builder.class); } public static final int SPLIT_POINTS_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List splitPoints_; /** *
     * Specify key values used to split table into partitions.
     * Each value becomes the first key of a new partition.
     * Key values should go in ascending order.
     * Total number of created partitions is number of specified
     * keys + 1.
     * 
* * repeated .Ydb.TypedValue split_points = 1; */ @java.lang.Override public java.util.List getSplitPointsList() { return splitPoints_; } /** *
     * Specify key values used to split table into partitions.
     * Each value becomes the first key of a new partition.
     * Key values should go in ascending order.
     * Total number of created partitions is number of specified
     * keys + 1.
     * 
* * repeated .Ydb.TypedValue split_points = 1; */ @java.lang.Override public java.util.List getSplitPointsOrBuilderList() { return splitPoints_; } /** *
     * Specify key values used to split table into partitions.
     * Each value becomes the first key of a new partition.
     * Key values should go in ascending order.
     * Total number of created partitions is number of specified
     * keys + 1.
     * 
* * repeated .Ydb.TypedValue split_points = 1; */ @java.lang.Override public int getSplitPointsCount() { return splitPoints_.size(); } /** *
     * Specify key values used to split table into partitions.
     * Each value becomes the first key of a new partition.
     * Key values should go in ascending order.
     * Total number of created partitions is number of specified
     * keys + 1.
     * 
* * repeated .Ydb.TypedValue split_points = 1; */ @java.lang.Override public tech.ydb.proto.ValueProtos.TypedValue getSplitPoints(int index) { return splitPoints_.get(index); } /** *
     * Specify key values used to split table into partitions.
     * Each value becomes the first key of a new partition.
     * Key values should go in ascending order.
     * Total number of created partitions is number of specified
     * keys + 1.
     * 
* * repeated .Ydb.TypedValue split_points = 1; */ @java.lang.Override public tech.ydb.proto.ValueProtos.TypedValueOrBuilder getSplitPointsOrBuilder( int index) { return splitPoints_.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 { for (int i = 0; i < splitPoints_.size(); i++) { output.writeMessage(1, splitPoints_.get(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < splitPoints_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, splitPoints_.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.table.YdbTable.ExplicitPartitions)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.ExplicitPartitions other = (tech.ydb.proto.table.YdbTable.ExplicitPartitions) obj; if (!getSplitPointsList() .equals(other.getSplitPointsList())) 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 (getSplitPointsCount() > 0) { hash = (37 * hash) + SPLIT_POINTS_FIELD_NUMBER; hash = (53 * hash) + getSplitPointsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.ExplicitPartitions parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExplicitPartitions 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.table.YdbTable.ExplicitPartitions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExplicitPartitions 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.table.YdbTable.ExplicitPartitions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExplicitPartitions parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.ExplicitPartitions parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExplicitPartitions 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.table.YdbTable.ExplicitPartitions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExplicitPartitions 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.table.YdbTable.ExplicitPartitions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExplicitPartitions 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.table.YdbTable.ExplicitPartitions 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.Table.ExplicitPartitions} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.ExplicitPartitions) tech.ydb.proto.table.YdbTable.ExplicitPartitionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExplicitPartitions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExplicitPartitions_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ExplicitPartitions.class, tech.ydb.proto.table.YdbTable.ExplicitPartitions.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.ExplicitPartitions.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (splitPointsBuilder_ == null) { splitPoints_ = java.util.Collections.emptyList(); } else { splitPoints_ = null; splitPointsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExplicitPartitions_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExplicitPartitions getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.ExplicitPartitions.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExplicitPartitions build() { tech.ydb.proto.table.YdbTable.ExplicitPartitions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExplicitPartitions buildPartial() { tech.ydb.proto.table.YdbTable.ExplicitPartitions result = new tech.ydb.proto.table.YdbTable.ExplicitPartitions(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(tech.ydb.proto.table.YdbTable.ExplicitPartitions result) { if (splitPointsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { splitPoints_ = java.util.Collections.unmodifiableList(splitPoints_); bitField0_ = (bitField0_ & ~0x00000001); } result.splitPoints_ = splitPoints_; } else { result.splitPoints_ = splitPointsBuilder_.build(); } } private void buildPartial0(tech.ydb.proto.table.YdbTable.ExplicitPartitions result) { int from_bitField0_ = 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.table.YdbTable.ExplicitPartitions) { return mergeFrom((tech.ydb.proto.table.YdbTable.ExplicitPartitions)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.ExplicitPartitions other) { if (other == tech.ydb.proto.table.YdbTable.ExplicitPartitions.getDefaultInstance()) return this; if (splitPointsBuilder_ == null) { if (!other.splitPoints_.isEmpty()) { if (splitPoints_.isEmpty()) { splitPoints_ = other.splitPoints_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSplitPointsIsMutable(); splitPoints_.addAll(other.splitPoints_); } onChanged(); } } else { if (!other.splitPoints_.isEmpty()) { if (splitPointsBuilder_.isEmpty()) { splitPointsBuilder_.dispose(); splitPointsBuilder_ = null; splitPoints_ = other.splitPoints_; bitField0_ = (bitField0_ & ~0x00000001); splitPointsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSplitPointsFieldBuilder() : null; } else { splitPointsBuilder_.addAllMessages(other.splitPoints_); } } } 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: { tech.ydb.proto.ValueProtos.TypedValue m = input.readMessage( tech.ydb.proto.ValueProtos.TypedValue.parser(), extensionRegistry); if (splitPointsBuilder_ == null) { ensureSplitPointsIsMutable(); splitPoints_.add(m); } else { splitPointsBuilder_.addMessage(m); } 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 java.util.List splitPoints_ = java.util.Collections.emptyList(); private void ensureSplitPointsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { splitPoints_ = new java.util.ArrayList(splitPoints_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.ValueProtos.TypedValue, tech.ydb.proto.ValueProtos.TypedValue.Builder, tech.ydb.proto.ValueProtos.TypedValueOrBuilder> splitPointsBuilder_; /** *
       * Specify key values used to split table into partitions.
       * Each value becomes the first key of a new partition.
       * Key values should go in ascending order.
       * Total number of created partitions is number of specified
       * keys + 1.
       * 
* * repeated .Ydb.TypedValue split_points = 1; */ public java.util.List getSplitPointsList() { if (splitPointsBuilder_ == null) { return java.util.Collections.unmodifiableList(splitPoints_); } else { return splitPointsBuilder_.getMessageList(); } } /** *
       * Specify key values used to split table into partitions.
       * Each value becomes the first key of a new partition.
       * Key values should go in ascending order.
       * Total number of created partitions is number of specified
       * keys + 1.
       * 
* * repeated .Ydb.TypedValue split_points = 1; */ public int getSplitPointsCount() { if (splitPointsBuilder_ == null) { return splitPoints_.size(); } else { return splitPointsBuilder_.getCount(); } } /** *
       * Specify key values used to split table into partitions.
       * Each value becomes the first key of a new partition.
       * Key values should go in ascending order.
       * Total number of created partitions is number of specified
       * keys + 1.
       * 
* * repeated .Ydb.TypedValue split_points = 1; */ public tech.ydb.proto.ValueProtos.TypedValue getSplitPoints(int index) { if (splitPointsBuilder_ == null) { return splitPoints_.get(index); } else { return splitPointsBuilder_.getMessage(index); } } /** *
       * Specify key values used to split table into partitions.
       * Each value becomes the first key of a new partition.
       * Key values should go in ascending order.
       * Total number of created partitions is number of specified
       * keys + 1.
       * 
* * repeated .Ydb.TypedValue split_points = 1; */ public Builder setSplitPoints( int index, tech.ydb.proto.ValueProtos.TypedValue value) { if (splitPointsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSplitPointsIsMutable(); splitPoints_.set(index, value); onChanged(); } else { splitPointsBuilder_.setMessage(index, value); } return this; } /** *
       * Specify key values used to split table into partitions.
       * Each value becomes the first key of a new partition.
       * Key values should go in ascending order.
       * Total number of created partitions is number of specified
       * keys + 1.
       * 
* * repeated .Ydb.TypedValue split_points = 1; */ public Builder setSplitPoints( int index, tech.ydb.proto.ValueProtos.TypedValue.Builder builderForValue) { if (splitPointsBuilder_ == null) { ensureSplitPointsIsMutable(); splitPoints_.set(index, builderForValue.build()); onChanged(); } else { splitPointsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Specify key values used to split table into partitions.
       * Each value becomes the first key of a new partition.
       * Key values should go in ascending order.
       * Total number of created partitions is number of specified
       * keys + 1.
       * 
* * repeated .Ydb.TypedValue split_points = 1; */ public Builder addSplitPoints(tech.ydb.proto.ValueProtos.TypedValue value) { if (splitPointsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSplitPointsIsMutable(); splitPoints_.add(value); onChanged(); } else { splitPointsBuilder_.addMessage(value); } return this; } /** *
       * Specify key values used to split table into partitions.
       * Each value becomes the first key of a new partition.
       * Key values should go in ascending order.
       * Total number of created partitions is number of specified
       * keys + 1.
       * 
* * repeated .Ydb.TypedValue split_points = 1; */ public Builder addSplitPoints( int index, tech.ydb.proto.ValueProtos.TypedValue value) { if (splitPointsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSplitPointsIsMutable(); splitPoints_.add(index, value); onChanged(); } else { splitPointsBuilder_.addMessage(index, value); } return this; } /** *
       * Specify key values used to split table into partitions.
       * Each value becomes the first key of a new partition.
       * Key values should go in ascending order.
       * Total number of created partitions is number of specified
       * keys + 1.
       * 
* * repeated .Ydb.TypedValue split_points = 1; */ public Builder addSplitPoints( tech.ydb.proto.ValueProtos.TypedValue.Builder builderForValue) { if (splitPointsBuilder_ == null) { ensureSplitPointsIsMutable(); splitPoints_.add(builderForValue.build()); onChanged(); } else { splitPointsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Specify key values used to split table into partitions.
       * Each value becomes the first key of a new partition.
       * Key values should go in ascending order.
       * Total number of created partitions is number of specified
       * keys + 1.
       * 
* * repeated .Ydb.TypedValue split_points = 1; */ public Builder addSplitPoints( int index, tech.ydb.proto.ValueProtos.TypedValue.Builder builderForValue) { if (splitPointsBuilder_ == null) { ensureSplitPointsIsMutable(); splitPoints_.add(index, builderForValue.build()); onChanged(); } else { splitPointsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Specify key values used to split table into partitions.
       * Each value becomes the first key of a new partition.
       * Key values should go in ascending order.
       * Total number of created partitions is number of specified
       * keys + 1.
       * 
* * repeated .Ydb.TypedValue split_points = 1; */ public Builder addAllSplitPoints( java.lang.Iterable values) { if (splitPointsBuilder_ == null) { ensureSplitPointsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, splitPoints_); onChanged(); } else { splitPointsBuilder_.addAllMessages(values); } return this; } /** *
       * Specify key values used to split table into partitions.
       * Each value becomes the first key of a new partition.
       * Key values should go in ascending order.
       * Total number of created partitions is number of specified
       * keys + 1.
       * 
* * repeated .Ydb.TypedValue split_points = 1; */ public Builder clearSplitPoints() { if (splitPointsBuilder_ == null) { splitPoints_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { splitPointsBuilder_.clear(); } return this; } /** *
       * Specify key values used to split table into partitions.
       * Each value becomes the first key of a new partition.
       * Key values should go in ascending order.
       * Total number of created partitions is number of specified
       * keys + 1.
       * 
* * repeated .Ydb.TypedValue split_points = 1; */ public Builder removeSplitPoints(int index) { if (splitPointsBuilder_ == null) { ensureSplitPointsIsMutable(); splitPoints_.remove(index); onChanged(); } else { splitPointsBuilder_.remove(index); } return this; } /** *
       * Specify key values used to split table into partitions.
       * Each value becomes the first key of a new partition.
       * Key values should go in ascending order.
       * Total number of created partitions is number of specified
       * keys + 1.
       * 
* * repeated .Ydb.TypedValue split_points = 1; */ public tech.ydb.proto.ValueProtos.TypedValue.Builder getSplitPointsBuilder( int index) { return getSplitPointsFieldBuilder().getBuilder(index); } /** *
       * Specify key values used to split table into partitions.
       * Each value becomes the first key of a new partition.
       * Key values should go in ascending order.
       * Total number of created partitions is number of specified
       * keys + 1.
       * 
* * repeated .Ydb.TypedValue split_points = 1; */ public tech.ydb.proto.ValueProtos.TypedValueOrBuilder getSplitPointsOrBuilder( int index) { if (splitPointsBuilder_ == null) { return splitPoints_.get(index); } else { return splitPointsBuilder_.getMessageOrBuilder(index); } } /** *
       * Specify key values used to split table into partitions.
       * Each value becomes the first key of a new partition.
       * Key values should go in ascending order.
       * Total number of created partitions is number of specified
       * keys + 1.
       * 
* * repeated .Ydb.TypedValue split_points = 1; */ public java.util.List getSplitPointsOrBuilderList() { if (splitPointsBuilder_ != null) { return splitPointsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(splitPoints_); } } /** *
       * Specify key values used to split table into partitions.
       * Each value becomes the first key of a new partition.
       * Key values should go in ascending order.
       * Total number of created partitions is number of specified
       * keys + 1.
       * 
* * repeated .Ydb.TypedValue split_points = 1; */ public tech.ydb.proto.ValueProtos.TypedValue.Builder addSplitPointsBuilder() { return getSplitPointsFieldBuilder().addBuilder( tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance()); } /** *
       * Specify key values used to split table into partitions.
       * Each value becomes the first key of a new partition.
       * Key values should go in ascending order.
       * Total number of created partitions is number of specified
       * keys + 1.
       * 
* * repeated .Ydb.TypedValue split_points = 1; */ public tech.ydb.proto.ValueProtos.TypedValue.Builder addSplitPointsBuilder( int index) { return getSplitPointsFieldBuilder().addBuilder( index, tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance()); } /** *
       * Specify key values used to split table into partitions.
       * Each value becomes the first key of a new partition.
       * Key values should go in ascending order.
       * Total number of created partitions is number of specified
       * keys + 1.
       * 
* * repeated .Ydb.TypedValue split_points = 1; */ public java.util.List getSplitPointsBuilderList() { return getSplitPointsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.ValueProtos.TypedValue, tech.ydb.proto.ValueProtos.TypedValue.Builder, tech.ydb.proto.ValueProtos.TypedValueOrBuilder> getSplitPointsFieldBuilder() { if (splitPointsBuilder_ == null) { splitPointsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.ValueProtos.TypedValue, tech.ydb.proto.ValueProtos.TypedValue.Builder, tech.ydb.proto.ValueProtos.TypedValueOrBuilder>( splitPoints_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); splitPoints_ = null; } return splitPointsBuilder_; } @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.Table.ExplicitPartitions) } // @@protoc_insertion_point(class_scope:Ydb.Table.ExplicitPartitions) private static final tech.ydb.proto.table.YdbTable.ExplicitPartitions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.ExplicitPartitions(); } public static tech.ydb.proto.table.YdbTable.ExplicitPartitions getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExplicitPartitions 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.table.YdbTable.ExplicitPartitions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PartitionStatsOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.PartitionStats) com.google.protobuf.MessageOrBuilder { /** *
     * Approximate number of rows in shard
     * 
* * uint64 rows_estimate = 1; * @return The rowsEstimate. */ long getRowsEstimate(); /** *
     * Approximate size of shard (bytes)
     * 
* * uint64 store_size = 2; * @return The storeSize. */ long getStoreSize(); } /** * Protobuf type {@code Ydb.Table.PartitionStats} */ public static final class PartitionStats extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.PartitionStats) PartitionStatsOrBuilder { private static final long serialVersionUID = 0L; // Use PartitionStats.newBuilder() to construct. private PartitionStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PartitionStats() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PartitionStats(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PartitionStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PartitionStats_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.PartitionStats.class, tech.ydb.proto.table.YdbTable.PartitionStats.Builder.class); } public static final int ROWS_ESTIMATE_FIELD_NUMBER = 1; private long rowsEstimate_ = 0L; /** *
     * Approximate number of rows in shard
     * 
* * uint64 rows_estimate = 1; * @return The rowsEstimate. */ @java.lang.Override public long getRowsEstimate() { return rowsEstimate_; } public static final int STORE_SIZE_FIELD_NUMBER = 2; private long storeSize_ = 0L; /** *
     * Approximate size of shard (bytes)
     * 
* * uint64 store_size = 2; * @return The storeSize. */ @java.lang.Override public long getStoreSize() { return storeSize_; } 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 (rowsEstimate_ != 0L) { output.writeUInt64(1, rowsEstimate_); } if (storeSize_ != 0L) { output.writeUInt64(2, storeSize_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (rowsEstimate_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, rowsEstimate_); } if (storeSize_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, storeSize_); } 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.table.YdbTable.PartitionStats)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.PartitionStats other = (tech.ydb.proto.table.YdbTable.PartitionStats) obj; if (getRowsEstimate() != other.getRowsEstimate()) return false; if (getStoreSize() != other.getStoreSize()) 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) + ROWS_ESTIMATE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getRowsEstimate()); hash = (37 * hash) + STORE_SIZE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getStoreSize()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.PartitionStats parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.PartitionStats 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.table.YdbTable.PartitionStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.PartitionStats 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.table.YdbTable.PartitionStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.PartitionStats parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.PartitionStats parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.PartitionStats 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.table.YdbTable.PartitionStats parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.PartitionStats 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.table.YdbTable.PartitionStats parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.PartitionStats 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.table.YdbTable.PartitionStats 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.Table.PartitionStats} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.PartitionStats) tech.ydb.proto.table.YdbTable.PartitionStatsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PartitionStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PartitionStats_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.PartitionStats.class, tech.ydb.proto.table.YdbTable.PartitionStats.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.PartitionStats.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; rowsEstimate_ = 0L; storeSize_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PartitionStats_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.PartitionStats getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.PartitionStats.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.PartitionStats build() { tech.ydb.proto.table.YdbTable.PartitionStats result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.PartitionStats buildPartial() { tech.ydb.proto.table.YdbTable.PartitionStats result = new tech.ydb.proto.table.YdbTable.PartitionStats(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.PartitionStats result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.rowsEstimate_ = rowsEstimate_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.storeSize_ = storeSize_; } } @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.table.YdbTable.PartitionStats) { return mergeFrom((tech.ydb.proto.table.YdbTable.PartitionStats)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.PartitionStats other) { if (other == tech.ydb.proto.table.YdbTable.PartitionStats.getDefaultInstance()) return this; if (other.getRowsEstimate() != 0L) { setRowsEstimate(other.getRowsEstimate()); } if (other.getStoreSize() != 0L) { setStoreSize(other.getStoreSize()); } 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 8: { rowsEstimate_ = input.readUInt64(); bitField0_ |= 0x00000001; break; } // case 8 case 16: { storeSize_ = input.readUInt64(); bitField0_ |= 0x00000002; break; } // case 16 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 long rowsEstimate_ ; /** *
       * Approximate number of rows in shard
       * 
* * uint64 rows_estimate = 1; * @return The rowsEstimate. */ @java.lang.Override public long getRowsEstimate() { return rowsEstimate_; } /** *
       * Approximate number of rows in shard
       * 
* * uint64 rows_estimate = 1; * @param value The rowsEstimate to set. * @return This builder for chaining. */ public Builder setRowsEstimate(long value) { rowsEstimate_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Approximate number of rows in shard
       * 
* * uint64 rows_estimate = 1; * @return This builder for chaining. */ public Builder clearRowsEstimate() { bitField0_ = (bitField0_ & ~0x00000001); rowsEstimate_ = 0L; onChanged(); return this; } private long storeSize_ ; /** *
       * Approximate size of shard (bytes)
       * 
* * uint64 store_size = 2; * @return The storeSize. */ @java.lang.Override public long getStoreSize() { return storeSize_; } /** *
       * Approximate size of shard (bytes)
       * 
* * uint64 store_size = 2; * @param value The storeSize to set. * @return This builder for chaining. */ public Builder setStoreSize(long value) { storeSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Approximate size of shard (bytes)
       * 
* * uint64 store_size = 2; * @return This builder for chaining. */ public Builder clearStoreSize() { bitField0_ = (bitField0_ & ~0x00000002); storeSize_ = 0L; 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.Table.PartitionStats) } // @@protoc_insertion_point(class_scope:Ydb.Table.PartitionStats) private static final tech.ydb.proto.table.YdbTable.PartitionStats DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.PartitionStats(); } public static tech.ydb.proto.table.YdbTable.PartitionStats getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PartitionStats 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.table.YdbTable.PartitionStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TableStatsOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.TableStats) com.google.protobuf.MessageOrBuilder { /** *
     * Stats for each partition
     * 
* * repeated .Ydb.Table.PartitionStats partition_stats = 1; */ java.util.List getPartitionStatsList(); /** *
     * Stats for each partition
     * 
* * repeated .Ydb.Table.PartitionStats partition_stats = 1; */ tech.ydb.proto.table.YdbTable.PartitionStats getPartitionStats(int index); /** *
     * Stats for each partition
     * 
* * repeated .Ydb.Table.PartitionStats partition_stats = 1; */ int getPartitionStatsCount(); /** *
     * Stats for each partition
     * 
* * repeated .Ydb.Table.PartitionStats partition_stats = 1; */ java.util.List getPartitionStatsOrBuilderList(); /** *
     * Stats for each partition
     * 
* * repeated .Ydb.Table.PartitionStats partition_stats = 1; */ tech.ydb.proto.table.YdbTable.PartitionStatsOrBuilder getPartitionStatsOrBuilder( int index); /** *
     * Approximate number of rows in table
     * 
* * uint64 rows_estimate = 2; * @return The rowsEstimate. */ long getRowsEstimate(); /** *
     * Approximate size of table (bytes)
     * 
* * uint64 store_size = 3; * @return The storeSize. */ long getStoreSize(); /** *
     * Number of partitions in table
     * 
* * uint64 partitions = 4; * @return The partitions. */ long getPartitions(); /** *
     * Timestamp of table creation
     * 
* * .google.protobuf.Timestamp creation_time = 5; * @return Whether the creationTime field is set. */ boolean hasCreationTime(); /** *
     * Timestamp of table creation
     * 
* * .google.protobuf.Timestamp creation_time = 5; * @return The creationTime. */ com.google.protobuf.Timestamp getCreationTime(); /** *
     * Timestamp of table creation
     * 
* * .google.protobuf.Timestamp creation_time = 5; */ com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder(); /** *
     * Timestamp of last modification
     * 
* * .google.protobuf.Timestamp modification_time = 6; * @return Whether the modificationTime field is set. */ boolean hasModificationTime(); /** *
     * Timestamp of last modification
     * 
* * .google.protobuf.Timestamp modification_time = 6; * @return The modificationTime. */ com.google.protobuf.Timestamp getModificationTime(); /** *
     * Timestamp of last modification
     * 
* * .google.protobuf.Timestamp modification_time = 6; */ com.google.protobuf.TimestampOrBuilder getModificationTimeOrBuilder(); } /** * Protobuf type {@code Ydb.Table.TableStats} */ public static final class TableStats extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.TableStats) TableStatsOrBuilder { private static final long serialVersionUID = 0L; // Use TableStats.newBuilder() to construct. private TableStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TableStats() { partitionStats_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TableStats(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TableStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TableStats_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.TableStats.class, tech.ydb.proto.table.YdbTable.TableStats.Builder.class); } private int bitField0_; public static final int PARTITION_STATS_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List partitionStats_; /** *
     * Stats for each partition
     * 
* * repeated .Ydb.Table.PartitionStats partition_stats = 1; */ @java.lang.Override public java.util.List getPartitionStatsList() { return partitionStats_; } /** *
     * Stats for each partition
     * 
* * repeated .Ydb.Table.PartitionStats partition_stats = 1; */ @java.lang.Override public java.util.List getPartitionStatsOrBuilderList() { return partitionStats_; } /** *
     * Stats for each partition
     * 
* * repeated .Ydb.Table.PartitionStats partition_stats = 1; */ @java.lang.Override public int getPartitionStatsCount() { return partitionStats_.size(); } /** *
     * Stats for each partition
     * 
* * repeated .Ydb.Table.PartitionStats partition_stats = 1; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.PartitionStats getPartitionStats(int index) { return partitionStats_.get(index); } /** *
     * Stats for each partition
     * 
* * repeated .Ydb.Table.PartitionStats partition_stats = 1; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.PartitionStatsOrBuilder getPartitionStatsOrBuilder( int index) { return partitionStats_.get(index); } public static final int ROWS_ESTIMATE_FIELD_NUMBER = 2; private long rowsEstimate_ = 0L; /** *
     * Approximate number of rows in table
     * 
* * uint64 rows_estimate = 2; * @return The rowsEstimate. */ @java.lang.Override public long getRowsEstimate() { return rowsEstimate_; } public static final int STORE_SIZE_FIELD_NUMBER = 3; private long storeSize_ = 0L; /** *
     * Approximate size of table (bytes)
     * 
* * uint64 store_size = 3; * @return The storeSize. */ @java.lang.Override public long getStoreSize() { return storeSize_; } public static final int PARTITIONS_FIELD_NUMBER = 4; private long partitions_ = 0L; /** *
     * Number of partitions in table
     * 
* * uint64 partitions = 4; * @return The partitions. */ @java.lang.Override public long getPartitions() { return partitions_; } public static final int CREATION_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp creationTime_; /** *
     * Timestamp of table creation
     * 
* * .google.protobuf.Timestamp creation_time = 5; * @return Whether the creationTime field is set. */ @java.lang.Override public boolean hasCreationTime() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Timestamp of table creation
     * 
* * .google.protobuf.Timestamp creation_time = 5; * @return The creationTime. */ @java.lang.Override public com.google.protobuf.Timestamp getCreationTime() { return creationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : creationTime_; } /** *
     * Timestamp of table creation
     * 
* * .google.protobuf.Timestamp creation_time = 5; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder() { return creationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : creationTime_; } public static final int MODIFICATION_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp modificationTime_; /** *
     * Timestamp of last modification
     * 
* * .google.protobuf.Timestamp modification_time = 6; * @return Whether the modificationTime field is set. */ @java.lang.Override public boolean hasModificationTime() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Timestamp of last modification
     * 
* * .google.protobuf.Timestamp modification_time = 6; * @return The modificationTime. */ @java.lang.Override public com.google.protobuf.Timestamp getModificationTime() { return modificationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : modificationTime_; } /** *
     * Timestamp of last modification
     * 
* * .google.protobuf.Timestamp modification_time = 6; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getModificationTimeOrBuilder() { return modificationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : modificationTime_; } 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 { for (int i = 0; i < partitionStats_.size(); i++) { output.writeMessage(1, partitionStats_.get(i)); } if (rowsEstimate_ != 0L) { output.writeUInt64(2, rowsEstimate_); } if (storeSize_ != 0L) { output.writeUInt64(3, storeSize_); } if (partitions_ != 0L) { output.writeUInt64(4, partitions_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(5, getCreationTime()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(6, getModificationTime()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < partitionStats_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, partitionStats_.get(i)); } if (rowsEstimate_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, rowsEstimate_); } if (storeSize_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, storeSize_); } if (partitions_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(4, partitions_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getCreationTime()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getModificationTime()); } 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.table.YdbTable.TableStats)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.TableStats other = (tech.ydb.proto.table.YdbTable.TableStats) obj; if (!getPartitionStatsList() .equals(other.getPartitionStatsList())) return false; if (getRowsEstimate() != other.getRowsEstimate()) return false; if (getStoreSize() != other.getStoreSize()) return false; if (getPartitions() != other.getPartitions()) return false; if (hasCreationTime() != other.hasCreationTime()) return false; if (hasCreationTime()) { if (!getCreationTime() .equals(other.getCreationTime())) return false; } if (hasModificationTime() != other.hasModificationTime()) return false; if (hasModificationTime()) { if (!getModificationTime() .equals(other.getModificationTime())) 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 (getPartitionStatsCount() > 0) { hash = (37 * hash) + PARTITION_STATS_FIELD_NUMBER; hash = (53 * hash) + getPartitionStatsList().hashCode(); } hash = (37 * hash) + ROWS_ESTIMATE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getRowsEstimate()); hash = (37 * hash) + STORE_SIZE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getStoreSize()); hash = (37 * hash) + PARTITIONS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPartitions()); if (hasCreationTime()) { hash = (37 * hash) + CREATION_TIME_FIELD_NUMBER; hash = (53 * hash) + getCreationTime().hashCode(); } if (hasModificationTime()) { hash = (37 * hash) + MODIFICATION_TIME_FIELD_NUMBER; hash = (53 * hash) + getModificationTime().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.TableStats parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.TableStats 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.table.YdbTable.TableStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.TableStats 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.table.YdbTable.TableStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.TableStats parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.TableStats parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.TableStats 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.table.YdbTable.TableStats parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.TableStats 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.table.YdbTable.TableStats parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.TableStats 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.table.YdbTable.TableStats 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.Table.TableStats} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.TableStats) tech.ydb.proto.table.YdbTable.TableStatsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TableStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TableStats_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.TableStats.class, tech.ydb.proto.table.YdbTable.TableStats.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.TableStats.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getPartitionStatsFieldBuilder(); getCreationTimeFieldBuilder(); getModificationTimeFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (partitionStatsBuilder_ == null) { partitionStats_ = java.util.Collections.emptyList(); } else { partitionStats_ = null; partitionStatsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); rowsEstimate_ = 0L; storeSize_ = 0L; partitions_ = 0L; creationTime_ = null; if (creationTimeBuilder_ != null) { creationTimeBuilder_.dispose(); creationTimeBuilder_ = null; } modificationTime_ = null; if (modificationTimeBuilder_ != null) { modificationTimeBuilder_.dispose(); modificationTimeBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TableStats_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.TableStats getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.TableStats.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.TableStats build() { tech.ydb.proto.table.YdbTable.TableStats result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.TableStats buildPartial() { tech.ydb.proto.table.YdbTable.TableStats result = new tech.ydb.proto.table.YdbTable.TableStats(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(tech.ydb.proto.table.YdbTable.TableStats result) { if (partitionStatsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { partitionStats_ = java.util.Collections.unmodifiableList(partitionStats_); bitField0_ = (bitField0_ & ~0x00000001); } result.partitionStats_ = partitionStats_; } else { result.partitionStats_ = partitionStatsBuilder_.build(); } } private void buildPartial0(tech.ydb.proto.table.YdbTable.TableStats result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.rowsEstimate_ = rowsEstimate_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.storeSize_ = storeSize_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.partitions_ = partitions_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000010) != 0)) { result.creationTime_ = creationTimeBuilder_ == null ? creationTime_ : creationTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000020) != 0)) { result.modificationTime_ = modificationTimeBuilder_ == null ? modificationTime_ : modificationTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } 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.table.YdbTable.TableStats) { return mergeFrom((tech.ydb.proto.table.YdbTable.TableStats)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.TableStats other) { if (other == tech.ydb.proto.table.YdbTable.TableStats.getDefaultInstance()) return this; if (partitionStatsBuilder_ == null) { if (!other.partitionStats_.isEmpty()) { if (partitionStats_.isEmpty()) { partitionStats_ = other.partitionStats_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensurePartitionStatsIsMutable(); partitionStats_.addAll(other.partitionStats_); } onChanged(); } } else { if (!other.partitionStats_.isEmpty()) { if (partitionStatsBuilder_.isEmpty()) { partitionStatsBuilder_.dispose(); partitionStatsBuilder_ = null; partitionStats_ = other.partitionStats_; bitField0_ = (bitField0_ & ~0x00000001); partitionStatsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPartitionStatsFieldBuilder() : null; } else { partitionStatsBuilder_.addAllMessages(other.partitionStats_); } } } if (other.getRowsEstimate() != 0L) { setRowsEstimate(other.getRowsEstimate()); } if (other.getStoreSize() != 0L) { setStoreSize(other.getStoreSize()); } if (other.getPartitions() != 0L) { setPartitions(other.getPartitions()); } if (other.hasCreationTime()) { mergeCreationTime(other.getCreationTime()); } if (other.hasModificationTime()) { mergeModificationTime(other.getModificationTime()); } 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: { tech.ydb.proto.table.YdbTable.PartitionStats m = input.readMessage( tech.ydb.proto.table.YdbTable.PartitionStats.parser(), extensionRegistry); if (partitionStatsBuilder_ == null) { ensurePartitionStatsIsMutable(); partitionStats_.add(m); } else { partitionStatsBuilder_.addMessage(m); } break; } // case 10 case 16: { rowsEstimate_ = input.readUInt64(); bitField0_ |= 0x00000002; break; } // case 16 case 24: { storeSize_ = input.readUInt64(); bitField0_ |= 0x00000004; break; } // case 24 case 32: { partitions_ = input.readUInt64(); bitField0_ |= 0x00000008; break; } // case 32 case 42: { input.readMessage( getCreationTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 42 case 50: { input.readMessage( getModificationTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000020; break; } // case 50 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.util.List partitionStats_ = java.util.Collections.emptyList(); private void ensurePartitionStatsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { partitionStats_ = new java.util.ArrayList(partitionStats_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.PartitionStats, tech.ydb.proto.table.YdbTable.PartitionStats.Builder, tech.ydb.proto.table.YdbTable.PartitionStatsOrBuilder> partitionStatsBuilder_; /** *
       * Stats for each partition
       * 
* * repeated .Ydb.Table.PartitionStats partition_stats = 1; */ public java.util.List getPartitionStatsList() { if (partitionStatsBuilder_ == null) { return java.util.Collections.unmodifiableList(partitionStats_); } else { return partitionStatsBuilder_.getMessageList(); } } /** *
       * Stats for each partition
       * 
* * repeated .Ydb.Table.PartitionStats partition_stats = 1; */ public int getPartitionStatsCount() { if (partitionStatsBuilder_ == null) { return partitionStats_.size(); } else { return partitionStatsBuilder_.getCount(); } } /** *
       * Stats for each partition
       * 
* * repeated .Ydb.Table.PartitionStats partition_stats = 1; */ public tech.ydb.proto.table.YdbTable.PartitionStats getPartitionStats(int index) { if (partitionStatsBuilder_ == null) { return partitionStats_.get(index); } else { return partitionStatsBuilder_.getMessage(index); } } /** *
       * Stats for each partition
       * 
* * repeated .Ydb.Table.PartitionStats partition_stats = 1; */ public Builder setPartitionStats( int index, tech.ydb.proto.table.YdbTable.PartitionStats value) { if (partitionStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePartitionStatsIsMutable(); partitionStats_.set(index, value); onChanged(); } else { partitionStatsBuilder_.setMessage(index, value); } return this; } /** *
       * Stats for each partition
       * 
* * repeated .Ydb.Table.PartitionStats partition_stats = 1; */ public Builder setPartitionStats( int index, tech.ydb.proto.table.YdbTable.PartitionStats.Builder builderForValue) { if (partitionStatsBuilder_ == null) { ensurePartitionStatsIsMutable(); partitionStats_.set(index, builderForValue.build()); onChanged(); } else { partitionStatsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Stats for each partition
       * 
* * repeated .Ydb.Table.PartitionStats partition_stats = 1; */ public Builder addPartitionStats(tech.ydb.proto.table.YdbTable.PartitionStats value) { if (partitionStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePartitionStatsIsMutable(); partitionStats_.add(value); onChanged(); } else { partitionStatsBuilder_.addMessage(value); } return this; } /** *
       * Stats for each partition
       * 
* * repeated .Ydb.Table.PartitionStats partition_stats = 1; */ public Builder addPartitionStats( int index, tech.ydb.proto.table.YdbTable.PartitionStats value) { if (partitionStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePartitionStatsIsMutable(); partitionStats_.add(index, value); onChanged(); } else { partitionStatsBuilder_.addMessage(index, value); } return this; } /** *
       * Stats for each partition
       * 
* * repeated .Ydb.Table.PartitionStats partition_stats = 1; */ public Builder addPartitionStats( tech.ydb.proto.table.YdbTable.PartitionStats.Builder builderForValue) { if (partitionStatsBuilder_ == null) { ensurePartitionStatsIsMutable(); partitionStats_.add(builderForValue.build()); onChanged(); } else { partitionStatsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Stats for each partition
       * 
* * repeated .Ydb.Table.PartitionStats partition_stats = 1; */ public Builder addPartitionStats( int index, tech.ydb.proto.table.YdbTable.PartitionStats.Builder builderForValue) { if (partitionStatsBuilder_ == null) { ensurePartitionStatsIsMutable(); partitionStats_.add(index, builderForValue.build()); onChanged(); } else { partitionStatsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Stats for each partition
       * 
* * repeated .Ydb.Table.PartitionStats partition_stats = 1; */ public Builder addAllPartitionStats( java.lang.Iterable values) { if (partitionStatsBuilder_ == null) { ensurePartitionStatsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, partitionStats_); onChanged(); } else { partitionStatsBuilder_.addAllMessages(values); } return this; } /** *
       * Stats for each partition
       * 
* * repeated .Ydb.Table.PartitionStats partition_stats = 1; */ public Builder clearPartitionStats() { if (partitionStatsBuilder_ == null) { partitionStats_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { partitionStatsBuilder_.clear(); } return this; } /** *
       * Stats for each partition
       * 
* * repeated .Ydb.Table.PartitionStats partition_stats = 1; */ public Builder removePartitionStats(int index) { if (partitionStatsBuilder_ == null) { ensurePartitionStatsIsMutable(); partitionStats_.remove(index); onChanged(); } else { partitionStatsBuilder_.remove(index); } return this; } /** *
       * Stats for each partition
       * 
* * repeated .Ydb.Table.PartitionStats partition_stats = 1; */ public tech.ydb.proto.table.YdbTable.PartitionStats.Builder getPartitionStatsBuilder( int index) { return getPartitionStatsFieldBuilder().getBuilder(index); } /** *
       * Stats for each partition
       * 
* * repeated .Ydb.Table.PartitionStats partition_stats = 1; */ public tech.ydb.proto.table.YdbTable.PartitionStatsOrBuilder getPartitionStatsOrBuilder( int index) { if (partitionStatsBuilder_ == null) { return partitionStats_.get(index); } else { return partitionStatsBuilder_.getMessageOrBuilder(index); } } /** *
       * Stats for each partition
       * 
* * repeated .Ydb.Table.PartitionStats partition_stats = 1; */ public java.util.List getPartitionStatsOrBuilderList() { if (partitionStatsBuilder_ != null) { return partitionStatsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(partitionStats_); } } /** *
       * Stats for each partition
       * 
* * repeated .Ydb.Table.PartitionStats partition_stats = 1; */ public tech.ydb.proto.table.YdbTable.PartitionStats.Builder addPartitionStatsBuilder() { return getPartitionStatsFieldBuilder().addBuilder( tech.ydb.proto.table.YdbTable.PartitionStats.getDefaultInstance()); } /** *
       * Stats for each partition
       * 
* * repeated .Ydb.Table.PartitionStats partition_stats = 1; */ public tech.ydb.proto.table.YdbTable.PartitionStats.Builder addPartitionStatsBuilder( int index) { return getPartitionStatsFieldBuilder().addBuilder( index, tech.ydb.proto.table.YdbTable.PartitionStats.getDefaultInstance()); } /** *
       * Stats for each partition
       * 
* * repeated .Ydb.Table.PartitionStats partition_stats = 1; */ public java.util.List getPartitionStatsBuilderList() { return getPartitionStatsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.PartitionStats, tech.ydb.proto.table.YdbTable.PartitionStats.Builder, tech.ydb.proto.table.YdbTable.PartitionStatsOrBuilder> getPartitionStatsFieldBuilder() { if (partitionStatsBuilder_ == null) { partitionStatsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.PartitionStats, tech.ydb.proto.table.YdbTable.PartitionStats.Builder, tech.ydb.proto.table.YdbTable.PartitionStatsOrBuilder>( partitionStats_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); partitionStats_ = null; } return partitionStatsBuilder_; } private long rowsEstimate_ ; /** *
       * Approximate number of rows in table
       * 
* * uint64 rows_estimate = 2; * @return The rowsEstimate. */ @java.lang.Override public long getRowsEstimate() { return rowsEstimate_; } /** *
       * Approximate number of rows in table
       * 
* * uint64 rows_estimate = 2; * @param value The rowsEstimate to set. * @return This builder for chaining. */ public Builder setRowsEstimate(long value) { rowsEstimate_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Approximate number of rows in table
       * 
* * uint64 rows_estimate = 2; * @return This builder for chaining. */ public Builder clearRowsEstimate() { bitField0_ = (bitField0_ & ~0x00000002); rowsEstimate_ = 0L; onChanged(); return this; } private long storeSize_ ; /** *
       * Approximate size of table (bytes)
       * 
* * uint64 store_size = 3; * @return The storeSize. */ @java.lang.Override public long getStoreSize() { return storeSize_; } /** *
       * Approximate size of table (bytes)
       * 
* * uint64 store_size = 3; * @param value The storeSize to set. * @return This builder for chaining. */ public Builder setStoreSize(long value) { storeSize_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * Approximate size of table (bytes)
       * 
* * uint64 store_size = 3; * @return This builder for chaining. */ public Builder clearStoreSize() { bitField0_ = (bitField0_ & ~0x00000004); storeSize_ = 0L; onChanged(); return this; } private long partitions_ ; /** *
       * Number of partitions in table
       * 
* * uint64 partitions = 4; * @return The partitions. */ @java.lang.Override public long getPartitions() { return partitions_; } /** *
       * Number of partitions in table
       * 
* * uint64 partitions = 4; * @param value The partitions to set. * @return This builder for chaining. */ public Builder setPartitions(long value) { partitions_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * Number of partitions in table
       * 
* * uint64 partitions = 4; * @return This builder for chaining. */ public Builder clearPartitions() { bitField0_ = (bitField0_ & ~0x00000008); partitions_ = 0L; onChanged(); return this; } private com.google.protobuf.Timestamp creationTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> creationTimeBuilder_; /** *
       * Timestamp of table creation
       * 
* * .google.protobuf.Timestamp creation_time = 5; * @return Whether the creationTime field is set. */ public boolean hasCreationTime() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * Timestamp of table creation
       * 
* * .google.protobuf.Timestamp creation_time = 5; * @return The creationTime. */ public com.google.protobuf.Timestamp getCreationTime() { if (creationTimeBuilder_ == null) { return creationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : creationTime_; } else { return creationTimeBuilder_.getMessage(); } } /** *
       * Timestamp of table creation
       * 
* * .google.protobuf.Timestamp creation_time = 5; */ public Builder setCreationTime(com.google.protobuf.Timestamp value) { if (creationTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } creationTime_ = value; } else { creationTimeBuilder_.setMessage(value); } bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * Timestamp of table creation
       * 
* * .google.protobuf.Timestamp creation_time = 5; */ public Builder setCreationTime( com.google.protobuf.Timestamp.Builder builderForValue) { if (creationTimeBuilder_ == null) { creationTime_ = builderForValue.build(); } else { creationTimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * Timestamp of table creation
       * 
* * .google.protobuf.Timestamp creation_time = 5; */ public Builder mergeCreationTime(com.google.protobuf.Timestamp value) { if (creationTimeBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && creationTime_ != null && creationTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreationTimeBuilder().mergeFrom(value); } else { creationTime_ = value; } } else { creationTimeBuilder_.mergeFrom(value); } if (creationTime_ != null) { bitField0_ |= 0x00000010; onChanged(); } return this; } /** *
       * Timestamp of table creation
       * 
* * .google.protobuf.Timestamp creation_time = 5; */ public Builder clearCreationTime() { bitField0_ = (bitField0_ & ~0x00000010); creationTime_ = null; if (creationTimeBuilder_ != null) { creationTimeBuilder_.dispose(); creationTimeBuilder_ = null; } onChanged(); return this; } /** *
       * Timestamp of table creation
       * 
* * .google.protobuf.Timestamp creation_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreationTimeBuilder() { bitField0_ |= 0x00000010; onChanged(); return getCreationTimeFieldBuilder().getBuilder(); } /** *
       * Timestamp of table creation
       * 
* * .google.protobuf.Timestamp creation_time = 5; */ public com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder() { if (creationTimeBuilder_ != null) { return creationTimeBuilder_.getMessageOrBuilder(); } else { return creationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : creationTime_; } } /** *
       * Timestamp of table creation
       * 
* * .google.protobuf.Timestamp creation_time = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreationTimeFieldBuilder() { if (creationTimeBuilder_ == null) { creationTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getCreationTime(), getParentForChildren(), isClean()); creationTime_ = null; } return creationTimeBuilder_; } private com.google.protobuf.Timestamp modificationTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> modificationTimeBuilder_; /** *
       * Timestamp of last modification
       * 
* * .google.protobuf.Timestamp modification_time = 6; * @return Whether the modificationTime field is set. */ public boolean hasModificationTime() { return ((bitField0_ & 0x00000020) != 0); } /** *
       * Timestamp of last modification
       * 
* * .google.protobuf.Timestamp modification_time = 6; * @return The modificationTime. */ public com.google.protobuf.Timestamp getModificationTime() { if (modificationTimeBuilder_ == null) { return modificationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : modificationTime_; } else { return modificationTimeBuilder_.getMessage(); } } /** *
       * Timestamp of last modification
       * 
* * .google.protobuf.Timestamp modification_time = 6; */ public Builder setModificationTime(com.google.protobuf.Timestamp value) { if (modificationTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } modificationTime_ = value; } else { modificationTimeBuilder_.setMessage(value); } bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * Timestamp of last modification
       * 
* * .google.protobuf.Timestamp modification_time = 6; */ public Builder setModificationTime( com.google.protobuf.Timestamp.Builder builderForValue) { if (modificationTimeBuilder_ == null) { modificationTime_ = builderForValue.build(); } else { modificationTimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * Timestamp of last modification
       * 
* * .google.protobuf.Timestamp modification_time = 6; */ public Builder mergeModificationTime(com.google.protobuf.Timestamp value) { if (modificationTimeBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && modificationTime_ != null && modificationTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getModificationTimeBuilder().mergeFrom(value); } else { modificationTime_ = value; } } else { modificationTimeBuilder_.mergeFrom(value); } if (modificationTime_ != null) { bitField0_ |= 0x00000020; onChanged(); } return this; } /** *
       * Timestamp of last modification
       * 
* * .google.protobuf.Timestamp modification_time = 6; */ public Builder clearModificationTime() { bitField0_ = (bitField0_ & ~0x00000020); modificationTime_ = null; if (modificationTimeBuilder_ != null) { modificationTimeBuilder_.dispose(); modificationTimeBuilder_ = null; } onChanged(); return this; } /** *
       * Timestamp of last modification
       * 
* * .google.protobuf.Timestamp modification_time = 6; */ public com.google.protobuf.Timestamp.Builder getModificationTimeBuilder() { bitField0_ |= 0x00000020; onChanged(); return getModificationTimeFieldBuilder().getBuilder(); } /** *
       * Timestamp of last modification
       * 
* * .google.protobuf.Timestamp modification_time = 6; */ public com.google.protobuf.TimestampOrBuilder getModificationTimeOrBuilder() { if (modificationTimeBuilder_ != null) { return modificationTimeBuilder_.getMessageOrBuilder(); } else { return modificationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : modificationTime_; } } /** *
       * Timestamp of last modification
       * 
* * .google.protobuf.Timestamp modification_time = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getModificationTimeFieldBuilder() { if (modificationTimeBuilder_ == null) { modificationTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getModificationTime(), getParentForChildren(), isClean()); modificationTime_ = null; } return modificationTimeBuilder_; } @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.Table.TableStats) } // @@protoc_insertion_point(class_scope:Ydb.Table.TableStats) private static final tech.ydb.proto.table.YdbTable.TableStats DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.TableStats(); } public static tech.ydb.proto.table.YdbTable.TableStats getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TableStats 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.table.YdbTable.TableStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PartitioningPolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.PartitioningPolicy) com.google.protobuf.MessageOrBuilder { /** * string preset_name = 1; * @return The presetName. */ java.lang.String getPresetName(); /** * string preset_name = 1; * @return The bytes for presetName. */ com.google.protobuf.ByteString getPresetNameBytes(); /** * .Ydb.Table.PartitioningPolicy.AutoPartitioningPolicy auto_partitioning = 2; * @return The enum numeric value on the wire for autoPartitioning. */ int getAutoPartitioningValue(); /** * .Ydb.Table.PartitioningPolicy.AutoPartitioningPolicy auto_partitioning = 2; * @return The autoPartitioning. */ tech.ydb.proto.table.YdbTable.PartitioningPolicy.AutoPartitioningPolicy getAutoPartitioning(); /** *
     * Allows to enable uniform sharding using given shards number.
     * The first components of primary key must have Uint32/Uint64 type.
     * 
* * uint64 uniform_partitions = 3; * @return Whether the uniformPartitions field is set. */ boolean hasUniformPartitions(); /** *
     * Allows to enable uniform sharding using given shards number.
     * The first components of primary key must have Uint32/Uint64 type.
     * 
* * uint64 uniform_partitions = 3; * @return The uniformPartitions. */ long getUniformPartitions(); /** *
     * Explicitly specify key values which are used as borders for
     * created partitions.
     * 
* * .Ydb.Table.ExplicitPartitions explicit_partitions = 4; * @return Whether the explicitPartitions field is set. */ boolean hasExplicitPartitions(); /** *
     * Explicitly specify key values which are used as borders for
     * created partitions.
     * 
* * .Ydb.Table.ExplicitPartitions explicit_partitions = 4; * @return The explicitPartitions. */ tech.ydb.proto.table.YdbTable.ExplicitPartitions getExplicitPartitions(); /** *
     * Explicitly specify key values which are used as borders for
     * created partitions.
     * 
* * .Ydb.Table.ExplicitPartitions explicit_partitions = 4; */ tech.ydb.proto.table.YdbTable.ExplicitPartitionsOrBuilder getExplicitPartitionsOrBuilder(); tech.ydb.proto.table.YdbTable.PartitioningPolicy.PartitionsCase getPartitionsCase(); } /** * Protobuf type {@code Ydb.Table.PartitioningPolicy} */ public static final class PartitioningPolicy extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.PartitioningPolicy) PartitioningPolicyOrBuilder { private static final long serialVersionUID = 0L; // Use PartitioningPolicy.newBuilder() to construct. private PartitioningPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PartitioningPolicy() { presetName_ = ""; autoPartitioning_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PartitioningPolicy(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PartitioningPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PartitioningPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.PartitioningPolicy.class, tech.ydb.proto.table.YdbTable.PartitioningPolicy.Builder.class); } /** * Protobuf enum {@code Ydb.Table.PartitioningPolicy.AutoPartitioningPolicy} */ public enum AutoPartitioningPolicy implements com.google.protobuf.ProtocolMessageEnum { /** * AUTO_PARTITIONING_POLICY_UNSPECIFIED = 0; */ AUTO_PARTITIONING_POLICY_UNSPECIFIED(0), /** * DISABLED = 1; */ DISABLED(1), /** * AUTO_SPLIT = 2; */ AUTO_SPLIT(2), /** * AUTO_SPLIT_MERGE = 3; */ AUTO_SPLIT_MERGE(3), UNRECOGNIZED(-1), ; /** * AUTO_PARTITIONING_POLICY_UNSPECIFIED = 0; */ public static final int AUTO_PARTITIONING_POLICY_UNSPECIFIED_VALUE = 0; /** * DISABLED = 1; */ public static final int DISABLED_VALUE = 1; /** * AUTO_SPLIT = 2; */ public static final int AUTO_SPLIT_VALUE = 2; /** * AUTO_SPLIT_MERGE = 3; */ public static final int AUTO_SPLIT_MERGE_VALUE = 3; 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 AutoPartitioningPolicy 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 AutoPartitioningPolicy forNumber(int value) { switch (value) { case 0: return AUTO_PARTITIONING_POLICY_UNSPECIFIED; case 1: return DISABLED; case 2: return AUTO_SPLIT; case 3: return AUTO_SPLIT_MERGE; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< AutoPartitioningPolicy> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public AutoPartitioningPolicy findValueByNumber(int number) { return AutoPartitioningPolicy.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.table.YdbTable.PartitioningPolicy.getDescriptor().getEnumTypes().get(0); } private static final AutoPartitioningPolicy[] VALUES = values(); public static AutoPartitioningPolicy 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 AutoPartitioningPolicy(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Ydb.Table.PartitioningPolicy.AutoPartitioningPolicy) } private int partitionsCase_ = 0; @SuppressWarnings("serial") private java.lang.Object partitions_; public enum PartitionsCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { UNIFORM_PARTITIONS(3), EXPLICIT_PARTITIONS(4), PARTITIONS_NOT_SET(0); private final int value; private PartitionsCase(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 PartitionsCase valueOf(int value) { return forNumber(value); } public static PartitionsCase forNumber(int value) { switch (value) { case 3: return UNIFORM_PARTITIONS; case 4: return EXPLICIT_PARTITIONS; case 0: return PARTITIONS_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public PartitionsCase getPartitionsCase() { return PartitionsCase.forNumber( partitionsCase_); } public static final int PRESET_NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object presetName_ = ""; /** * string preset_name = 1; * @return The presetName. */ @java.lang.Override public java.lang.String getPresetName() { java.lang.Object ref = presetName_; 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(); presetName_ = s; return s; } } /** * string preset_name = 1; * @return The bytes for presetName. */ @java.lang.Override public com.google.protobuf.ByteString getPresetNameBytes() { java.lang.Object ref = presetName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); presetName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int AUTO_PARTITIONING_FIELD_NUMBER = 2; private int autoPartitioning_ = 0; /** * .Ydb.Table.PartitioningPolicy.AutoPartitioningPolicy auto_partitioning = 2; * @return The enum numeric value on the wire for autoPartitioning. */ @java.lang.Override public int getAutoPartitioningValue() { return autoPartitioning_; } /** * .Ydb.Table.PartitioningPolicy.AutoPartitioningPolicy auto_partitioning = 2; * @return The autoPartitioning. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.PartitioningPolicy.AutoPartitioningPolicy getAutoPartitioning() { tech.ydb.proto.table.YdbTable.PartitioningPolicy.AutoPartitioningPolicy result = tech.ydb.proto.table.YdbTable.PartitioningPolicy.AutoPartitioningPolicy.forNumber(autoPartitioning_); return result == null ? tech.ydb.proto.table.YdbTable.PartitioningPolicy.AutoPartitioningPolicy.UNRECOGNIZED : result; } public static final int UNIFORM_PARTITIONS_FIELD_NUMBER = 3; /** *
     * Allows to enable uniform sharding using given shards number.
     * The first components of primary key must have Uint32/Uint64 type.
     * 
* * uint64 uniform_partitions = 3; * @return Whether the uniformPartitions field is set. */ @java.lang.Override public boolean hasUniformPartitions() { return partitionsCase_ == 3; } /** *
     * Allows to enable uniform sharding using given shards number.
     * The first components of primary key must have Uint32/Uint64 type.
     * 
* * uint64 uniform_partitions = 3; * @return The uniformPartitions. */ @java.lang.Override public long getUniformPartitions() { if (partitionsCase_ == 3) { return (java.lang.Long) partitions_; } return 0L; } public static final int EXPLICIT_PARTITIONS_FIELD_NUMBER = 4; /** *
     * Explicitly specify key values which are used as borders for
     * created partitions.
     * 
* * .Ydb.Table.ExplicitPartitions explicit_partitions = 4; * @return Whether the explicitPartitions field is set. */ @java.lang.Override public boolean hasExplicitPartitions() { return partitionsCase_ == 4; } /** *
     * Explicitly specify key values which are used as borders for
     * created partitions.
     * 
* * .Ydb.Table.ExplicitPartitions explicit_partitions = 4; * @return The explicitPartitions. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ExplicitPartitions getExplicitPartitions() { if (partitionsCase_ == 4) { return (tech.ydb.proto.table.YdbTable.ExplicitPartitions) partitions_; } return tech.ydb.proto.table.YdbTable.ExplicitPartitions.getDefaultInstance(); } /** *
     * Explicitly specify key values which are used as borders for
     * created partitions.
     * 
* * .Ydb.Table.ExplicitPartitions explicit_partitions = 4; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ExplicitPartitionsOrBuilder getExplicitPartitionsOrBuilder() { if (partitionsCase_ == 4) { return (tech.ydb.proto.table.YdbTable.ExplicitPartitions) partitions_; } return tech.ydb.proto.table.YdbTable.ExplicitPartitions.getDefaultInstance(); } 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(presetName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, presetName_); } if (autoPartitioning_ != tech.ydb.proto.table.YdbTable.PartitioningPolicy.AutoPartitioningPolicy.AUTO_PARTITIONING_POLICY_UNSPECIFIED.getNumber()) { output.writeEnum(2, autoPartitioning_); } if (partitionsCase_ == 3) { output.writeUInt64( 3, (long)((java.lang.Long) partitions_)); } if (partitionsCase_ == 4) { output.writeMessage(4, (tech.ydb.proto.table.YdbTable.ExplicitPartitions) partitions_); } 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(presetName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, presetName_); } if (autoPartitioning_ != tech.ydb.proto.table.YdbTable.PartitioningPolicy.AutoPartitioningPolicy.AUTO_PARTITIONING_POLICY_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, autoPartitioning_); } if (partitionsCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size( 3, (long)((java.lang.Long) partitions_)); } if (partitionsCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, (tech.ydb.proto.table.YdbTable.ExplicitPartitions) partitions_); } 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.table.YdbTable.PartitioningPolicy)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.PartitioningPolicy other = (tech.ydb.proto.table.YdbTable.PartitioningPolicy) obj; if (!getPresetName() .equals(other.getPresetName())) return false; if (autoPartitioning_ != other.autoPartitioning_) return false; if (!getPartitionsCase().equals(other.getPartitionsCase())) return false; switch (partitionsCase_) { case 3: if (getUniformPartitions() != other.getUniformPartitions()) return false; break; case 4: if (!getExplicitPartitions() .equals(other.getExplicitPartitions())) 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(); hash = (37 * hash) + PRESET_NAME_FIELD_NUMBER; hash = (53 * hash) + getPresetName().hashCode(); hash = (37 * hash) + AUTO_PARTITIONING_FIELD_NUMBER; hash = (53 * hash) + autoPartitioning_; switch (partitionsCase_) { case 3: hash = (37 * hash) + UNIFORM_PARTITIONS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getUniformPartitions()); break; case 4: hash = (37 * hash) + EXPLICIT_PARTITIONS_FIELD_NUMBER; hash = (53 * hash) + getExplicitPartitions().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.PartitioningPolicy parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.PartitioningPolicy 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.table.YdbTable.PartitioningPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.PartitioningPolicy 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.table.YdbTable.PartitioningPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.PartitioningPolicy parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.PartitioningPolicy parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.PartitioningPolicy 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.table.YdbTable.PartitioningPolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.PartitioningPolicy 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.table.YdbTable.PartitioningPolicy parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.PartitioningPolicy 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.table.YdbTable.PartitioningPolicy 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.Table.PartitioningPolicy} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.PartitioningPolicy) tech.ydb.proto.table.YdbTable.PartitioningPolicyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PartitioningPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PartitioningPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.PartitioningPolicy.class, tech.ydb.proto.table.YdbTable.PartitioningPolicy.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.PartitioningPolicy.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; presetName_ = ""; autoPartitioning_ = 0; if (explicitPartitionsBuilder_ != null) { explicitPartitionsBuilder_.clear(); } partitionsCase_ = 0; partitions_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PartitioningPolicy_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.PartitioningPolicy getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.PartitioningPolicy.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.PartitioningPolicy build() { tech.ydb.proto.table.YdbTable.PartitioningPolicy result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.PartitioningPolicy buildPartial() { tech.ydb.proto.table.YdbTable.PartitioningPolicy result = new tech.ydb.proto.table.YdbTable.PartitioningPolicy(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.PartitioningPolicy result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.presetName_ = presetName_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.autoPartitioning_ = autoPartitioning_; } } private void buildPartialOneofs(tech.ydb.proto.table.YdbTable.PartitioningPolicy result) { result.partitionsCase_ = partitionsCase_; result.partitions_ = this.partitions_; if (partitionsCase_ == 4 && explicitPartitionsBuilder_ != null) { result.partitions_ = explicitPartitionsBuilder_.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.table.YdbTable.PartitioningPolicy) { return mergeFrom((tech.ydb.proto.table.YdbTable.PartitioningPolicy)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.PartitioningPolicy other) { if (other == tech.ydb.proto.table.YdbTable.PartitioningPolicy.getDefaultInstance()) return this; if (!other.getPresetName().isEmpty()) { presetName_ = other.presetName_; bitField0_ |= 0x00000001; onChanged(); } if (other.autoPartitioning_ != 0) { setAutoPartitioningValue(other.getAutoPartitioningValue()); } switch (other.getPartitionsCase()) { case UNIFORM_PARTITIONS: { setUniformPartitions(other.getUniformPartitions()); break; } case EXPLICIT_PARTITIONS: { mergeExplicitPartitions(other.getExplicitPartitions()); break; } case PARTITIONS_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: { presetName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 16: { autoPartitioning_ = input.readEnum(); bitField0_ |= 0x00000002; break; } // case 16 case 24: { partitions_ = input.readUInt64(); partitionsCase_ = 3; break; } // case 24 case 34: { input.readMessage( getExplicitPartitionsFieldBuilder().getBuilder(), extensionRegistry); partitionsCase_ = 4; 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 partitionsCase_ = 0; private java.lang.Object partitions_; public PartitionsCase getPartitionsCase() { return PartitionsCase.forNumber( partitionsCase_); } public Builder clearPartitions() { partitionsCase_ = 0; partitions_ = null; onChanged(); return this; } private int bitField0_; private java.lang.Object presetName_ = ""; /** * string preset_name = 1; * @return The presetName. */ public java.lang.String getPresetName() { java.lang.Object ref = presetName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); presetName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string preset_name = 1; * @return The bytes for presetName. */ public com.google.protobuf.ByteString getPresetNameBytes() { java.lang.Object ref = presetName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); presetName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string preset_name = 1; * @param value The presetName to set. * @return This builder for chaining. */ public Builder setPresetName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } presetName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * string preset_name = 1; * @return This builder for chaining. */ public Builder clearPresetName() { presetName_ = getDefaultInstance().getPresetName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * string preset_name = 1; * @param value The bytes for presetName to set. * @return This builder for chaining. */ public Builder setPresetNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); presetName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private int autoPartitioning_ = 0; /** * .Ydb.Table.PartitioningPolicy.AutoPartitioningPolicy auto_partitioning = 2; * @return The enum numeric value on the wire for autoPartitioning. */ @java.lang.Override public int getAutoPartitioningValue() { return autoPartitioning_; } /** * .Ydb.Table.PartitioningPolicy.AutoPartitioningPolicy auto_partitioning = 2; * @param value The enum numeric value on the wire for autoPartitioning to set. * @return This builder for chaining. */ public Builder setAutoPartitioningValue(int value) { autoPartitioning_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * .Ydb.Table.PartitioningPolicy.AutoPartitioningPolicy auto_partitioning = 2; * @return The autoPartitioning. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.PartitioningPolicy.AutoPartitioningPolicy getAutoPartitioning() { tech.ydb.proto.table.YdbTable.PartitioningPolicy.AutoPartitioningPolicy result = tech.ydb.proto.table.YdbTable.PartitioningPolicy.AutoPartitioningPolicy.forNumber(autoPartitioning_); return result == null ? tech.ydb.proto.table.YdbTable.PartitioningPolicy.AutoPartitioningPolicy.UNRECOGNIZED : result; } /** * .Ydb.Table.PartitioningPolicy.AutoPartitioningPolicy auto_partitioning = 2; * @param value The autoPartitioning to set. * @return This builder for chaining. */ public Builder setAutoPartitioning(tech.ydb.proto.table.YdbTable.PartitioningPolicy.AutoPartitioningPolicy value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; autoPartitioning_ = value.getNumber(); onChanged(); return this; } /** * .Ydb.Table.PartitioningPolicy.AutoPartitioningPolicy auto_partitioning = 2; * @return This builder for chaining. */ public Builder clearAutoPartitioning() { bitField0_ = (bitField0_ & ~0x00000002); autoPartitioning_ = 0; onChanged(); return this; } /** *
       * Allows to enable uniform sharding using given shards number.
       * The first components of primary key must have Uint32/Uint64 type.
       * 
* * uint64 uniform_partitions = 3; * @return Whether the uniformPartitions field is set. */ public boolean hasUniformPartitions() { return partitionsCase_ == 3; } /** *
       * Allows to enable uniform sharding using given shards number.
       * The first components of primary key must have Uint32/Uint64 type.
       * 
* * uint64 uniform_partitions = 3; * @return The uniformPartitions. */ public long getUniformPartitions() { if (partitionsCase_ == 3) { return (java.lang.Long) partitions_; } return 0L; } /** *
       * Allows to enable uniform sharding using given shards number.
       * The first components of primary key must have Uint32/Uint64 type.
       * 
* * uint64 uniform_partitions = 3; * @param value The uniformPartitions to set. * @return This builder for chaining. */ public Builder setUniformPartitions(long value) { partitionsCase_ = 3; partitions_ = value; onChanged(); return this; } /** *
       * Allows to enable uniform sharding using given shards number.
       * The first components of primary key must have Uint32/Uint64 type.
       * 
* * uint64 uniform_partitions = 3; * @return This builder for chaining. */ public Builder clearUniformPartitions() { if (partitionsCase_ == 3) { partitionsCase_ = 0; partitions_ = null; onChanged(); } return this; } private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.ExplicitPartitions, tech.ydb.proto.table.YdbTable.ExplicitPartitions.Builder, tech.ydb.proto.table.YdbTable.ExplicitPartitionsOrBuilder> explicitPartitionsBuilder_; /** *
       * Explicitly specify key values which are used as borders for
       * created partitions.
       * 
* * .Ydb.Table.ExplicitPartitions explicit_partitions = 4; * @return Whether the explicitPartitions field is set. */ @java.lang.Override public boolean hasExplicitPartitions() { return partitionsCase_ == 4; } /** *
       * Explicitly specify key values which are used as borders for
       * created partitions.
       * 
* * .Ydb.Table.ExplicitPartitions explicit_partitions = 4; * @return The explicitPartitions. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ExplicitPartitions getExplicitPartitions() { if (explicitPartitionsBuilder_ == null) { if (partitionsCase_ == 4) { return (tech.ydb.proto.table.YdbTable.ExplicitPartitions) partitions_; } return tech.ydb.proto.table.YdbTable.ExplicitPartitions.getDefaultInstance(); } else { if (partitionsCase_ == 4) { return explicitPartitionsBuilder_.getMessage(); } return tech.ydb.proto.table.YdbTable.ExplicitPartitions.getDefaultInstance(); } } /** *
       * Explicitly specify key values which are used as borders for
       * created partitions.
       * 
* * .Ydb.Table.ExplicitPartitions explicit_partitions = 4; */ public Builder setExplicitPartitions(tech.ydb.proto.table.YdbTable.ExplicitPartitions value) { if (explicitPartitionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } partitions_ = value; onChanged(); } else { explicitPartitionsBuilder_.setMessage(value); } partitionsCase_ = 4; return this; } /** *
       * Explicitly specify key values which are used as borders for
       * created partitions.
       * 
* * .Ydb.Table.ExplicitPartitions explicit_partitions = 4; */ public Builder setExplicitPartitions( tech.ydb.proto.table.YdbTable.ExplicitPartitions.Builder builderForValue) { if (explicitPartitionsBuilder_ == null) { partitions_ = builderForValue.build(); onChanged(); } else { explicitPartitionsBuilder_.setMessage(builderForValue.build()); } partitionsCase_ = 4; return this; } /** *
       * Explicitly specify key values which are used as borders for
       * created partitions.
       * 
* * .Ydb.Table.ExplicitPartitions explicit_partitions = 4; */ public Builder mergeExplicitPartitions(tech.ydb.proto.table.YdbTable.ExplicitPartitions value) { if (explicitPartitionsBuilder_ == null) { if (partitionsCase_ == 4 && partitions_ != tech.ydb.proto.table.YdbTable.ExplicitPartitions.getDefaultInstance()) { partitions_ = tech.ydb.proto.table.YdbTable.ExplicitPartitions.newBuilder((tech.ydb.proto.table.YdbTable.ExplicitPartitions) partitions_) .mergeFrom(value).buildPartial(); } else { partitions_ = value; } onChanged(); } else { if (partitionsCase_ == 4) { explicitPartitionsBuilder_.mergeFrom(value); } else { explicitPartitionsBuilder_.setMessage(value); } } partitionsCase_ = 4; return this; } /** *
       * Explicitly specify key values which are used as borders for
       * created partitions.
       * 
* * .Ydb.Table.ExplicitPartitions explicit_partitions = 4; */ public Builder clearExplicitPartitions() { if (explicitPartitionsBuilder_ == null) { if (partitionsCase_ == 4) { partitionsCase_ = 0; partitions_ = null; onChanged(); } } else { if (partitionsCase_ == 4) { partitionsCase_ = 0; partitions_ = null; } explicitPartitionsBuilder_.clear(); } return this; } /** *
       * Explicitly specify key values which are used as borders for
       * created partitions.
       * 
* * .Ydb.Table.ExplicitPartitions explicit_partitions = 4; */ public tech.ydb.proto.table.YdbTable.ExplicitPartitions.Builder getExplicitPartitionsBuilder() { return getExplicitPartitionsFieldBuilder().getBuilder(); } /** *
       * Explicitly specify key values which are used as borders for
       * created partitions.
       * 
* * .Ydb.Table.ExplicitPartitions explicit_partitions = 4; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ExplicitPartitionsOrBuilder getExplicitPartitionsOrBuilder() { if ((partitionsCase_ == 4) && (explicitPartitionsBuilder_ != null)) { return explicitPartitionsBuilder_.getMessageOrBuilder(); } else { if (partitionsCase_ == 4) { return (tech.ydb.proto.table.YdbTable.ExplicitPartitions) partitions_; } return tech.ydb.proto.table.YdbTable.ExplicitPartitions.getDefaultInstance(); } } /** *
       * Explicitly specify key values which are used as borders for
       * created partitions.
       * 
* * .Ydb.Table.ExplicitPartitions explicit_partitions = 4; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.ExplicitPartitions, tech.ydb.proto.table.YdbTable.ExplicitPartitions.Builder, tech.ydb.proto.table.YdbTable.ExplicitPartitionsOrBuilder> getExplicitPartitionsFieldBuilder() { if (explicitPartitionsBuilder_ == null) { if (!(partitionsCase_ == 4)) { partitions_ = tech.ydb.proto.table.YdbTable.ExplicitPartitions.getDefaultInstance(); } explicitPartitionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.ExplicitPartitions, tech.ydb.proto.table.YdbTable.ExplicitPartitions.Builder, tech.ydb.proto.table.YdbTable.ExplicitPartitionsOrBuilder>( (tech.ydb.proto.table.YdbTable.ExplicitPartitions) partitions_, getParentForChildren(), isClean()); partitions_ = null; } partitionsCase_ = 4; onChanged(); return explicitPartitionsBuilder_; } @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.Table.PartitioningPolicy) } // @@protoc_insertion_point(class_scope:Ydb.Table.PartitioningPolicy) private static final tech.ydb.proto.table.YdbTable.PartitioningPolicy DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.PartitioningPolicy(); } public static tech.ydb.proto.table.YdbTable.PartitioningPolicy getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PartitioningPolicy 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.table.YdbTable.PartitioningPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExecutionPolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.ExecutionPolicy) com.google.protobuf.MessageOrBuilder { /** * string preset_name = 1; * @return The presetName. */ java.lang.String getPresetName(); /** * string preset_name = 1; * @return The bytes for presetName. */ com.google.protobuf.ByteString getPresetNameBytes(); } /** * Protobuf type {@code Ydb.Table.ExecutionPolicy} */ public static final class ExecutionPolicy extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.ExecutionPolicy) ExecutionPolicyOrBuilder { private static final long serialVersionUID = 0L; // Use ExecutionPolicy.newBuilder() to construct. private ExecutionPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExecutionPolicy() { presetName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExecutionPolicy(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecutionPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecutionPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ExecutionPolicy.class, tech.ydb.proto.table.YdbTable.ExecutionPolicy.Builder.class); } public static final int PRESET_NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object presetName_ = ""; /** * string preset_name = 1; * @return The presetName. */ @java.lang.Override public java.lang.String getPresetName() { java.lang.Object ref = presetName_; 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(); presetName_ = s; return s; } } /** * string preset_name = 1; * @return The bytes for presetName. */ @java.lang.Override public com.google.protobuf.ByteString getPresetNameBytes() { java.lang.Object ref = presetName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); presetName_ = 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(presetName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, presetName_); } 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(presetName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, presetName_); } 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.table.YdbTable.ExecutionPolicy)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.ExecutionPolicy other = (tech.ydb.proto.table.YdbTable.ExecutionPolicy) obj; if (!getPresetName() .equals(other.getPresetName())) 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) + PRESET_NAME_FIELD_NUMBER; hash = (53 * hash) + getPresetName().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.ExecutionPolicy parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExecutionPolicy 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.table.YdbTable.ExecutionPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExecutionPolicy 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.table.YdbTable.ExecutionPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExecutionPolicy parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.ExecutionPolicy parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExecutionPolicy 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.table.YdbTable.ExecutionPolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExecutionPolicy 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.table.YdbTable.ExecutionPolicy parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExecutionPolicy 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.table.YdbTable.ExecutionPolicy 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.Table.ExecutionPolicy} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.ExecutionPolicy) tech.ydb.proto.table.YdbTable.ExecutionPolicyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecutionPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecutionPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ExecutionPolicy.class, tech.ydb.proto.table.YdbTable.ExecutionPolicy.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.ExecutionPolicy.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; presetName_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecutionPolicy_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecutionPolicy getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.ExecutionPolicy.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecutionPolicy build() { tech.ydb.proto.table.YdbTable.ExecutionPolicy result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecutionPolicy buildPartial() { tech.ydb.proto.table.YdbTable.ExecutionPolicy result = new tech.ydb.proto.table.YdbTable.ExecutionPolicy(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.ExecutionPolicy result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.presetName_ = presetName_; } } @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.table.YdbTable.ExecutionPolicy) { return mergeFrom((tech.ydb.proto.table.YdbTable.ExecutionPolicy)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.ExecutionPolicy other) { if (other == tech.ydb.proto.table.YdbTable.ExecutionPolicy.getDefaultInstance()) return this; if (!other.getPresetName().isEmpty()) { presetName_ = other.presetName_; bitField0_ |= 0x00000001; 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: { presetName_ = input.readStringRequireUtf8(); 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 java.lang.Object presetName_ = ""; /** * string preset_name = 1; * @return The presetName. */ public java.lang.String getPresetName() { java.lang.Object ref = presetName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); presetName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string preset_name = 1; * @return The bytes for presetName. */ public com.google.protobuf.ByteString getPresetNameBytes() { java.lang.Object ref = presetName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); presetName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string preset_name = 1; * @param value The presetName to set. * @return This builder for chaining. */ public Builder setPresetName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } presetName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * string preset_name = 1; * @return This builder for chaining. */ public Builder clearPresetName() { presetName_ = getDefaultInstance().getPresetName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * string preset_name = 1; * @param value The bytes for presetName to set. * @return This builder for chaining. */ public Builder setPresetNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); presetName_ = value; bitField0_ |= 0x00000001; 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.Table.ExecutionPolicy) } // @@protoc_insertion_point(class_scope:Ydb.Table.ExecutionPolicy) private static final tech.ydb.proto.table.YdbTable.ExecutionPolicy DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.ExecutionPolicy(); } public static tech.ydb.proto.table.YdbTable.ExecutionPolicy getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExecutionPolicy 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.table.YdbTable.ExecutionPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ReplicationPolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.ReplicationPolicy) com.google.protobuf.MessageOrBuilder { /** * string preset_name = 1; * @return The presetName. */ java.lang.String getPresetName(); /** * string preset_name = 1; * @return The bytes for presetName. */ com.google.protobuf.ByteString getPresetNameBytes(); /** *
     * If value is non-zero then it specifies a number of read-only
     * replicas to create for a table. Zero value means preset
     * setting usage.
     * 
* * uint32 replicas_count = 2; * @return The replicasCount. */ int getReplicasCount(); /** *
     * If this feature in enabled then requested number of replicas
     * will be created in each availability zone.
     * 
* * .Ydb.FeatureFlag.Status create_per_availability_zone = 3; * @return The enum numeric value on the wire for createPerAvailabilityZone. */ int getCreatePerAvailabilityZoneValue(); /** *
     * If this feature in enabled then requested number of replicas
     * will be created in each availability zone.
     * 
* * .Ydb.FeatureFlag.Status create_per_availability_zone = 3; * @return The createPerAvailabilityZone. */ tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getCreatePerAvailabilityZone(); /** *
     * If this feature in enabled then read-only replicas can be promoted
     * to leader.
     * 
* * .Ydb.FeatureFlag.Status allow_promotion = 4; * @return The enum numeric value on the wire for allowPromotion. */ int getAllowPromotionValue(); /** *
     * If this feature in enabled then read-only replicas can be promoted
     * to leader.
     * 
* * .Ydb.FeatureFlag.Status allow_promotion = 4; * @return The allowPromotion. */ tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getAllowPromotion(); } /** * Protobuf type {@code Ydb.Table.ReplicationPolicy} */ public static final class ReplicationPolicy extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.ReplicationPolicy) ReplicationPolicyOrBuilder { private static final long serialVersionUID = 0L; // Use ReplicationPolicy.newBuilder() to construct. private ReplicationPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ReplicationPolicy() { presetName_ = ""; createPerAvailabilityZone_ = 0; allowPromotion_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ReplicationPolicy(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReplicationPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReplicationPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ReplicationPolicy.class, tech.ydb.proto.table.YdbTable.ReplicationPolicy.Builder.class); } public static final int PRESET_NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object presetName_ = ""; /** * string preset_name = 1; * @return The presetName. */ @java.lang.Override public java.lang.String getPresetName() { java.lang.Object ref = presetName_; 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(); presetName_ = s; return s; } } /** * string preset_name = 1; * @return The bytes for presetName. */ @java.lang.Override public com.google.protobuf.ByteString getPresetNameBytes() { java.lang.Object ref = presetName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); presetName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int REPLICAS_COUNT_FIELD_NUMBER = 2; private int replicasCount_ = 0; /** *
     * If value is non-zero then it specifies a number of read-only
     * replicas to create for a table. Zero value means preset
     * setting usage.
     * 
* * uint32 replicas_count = 2; * @return The replicasCount. */ @java.lang.Override public int getReplicasCount() { return replicasCount_; } public static final int CREATE_PER_AVAILABILITY_ZONE_FIELD_NUMBER = 3; private int createPerAvailabilityZone_ = 0; /** *
     * If this feature in enabled then requested number of replicas
     * will be created in each availability zone.
     * 
* * .Ydb.FeatureFlag.Status create_per_availability_zone = 3; * @return The enum numeric value on the wire for createPerAvailabilityZone. */ @java.lang.Override public int getCreatePerAvailabilityZoneValue() { return createPerAvailabilityZone_; } /** *
     * If this feature in enabled then requested number of replicas
     * will be created in each availability zone.
     * 
* * .Ydb.FeatureFlag.Status create_per_availability_zone = 3; * @return The createPerAvailabilityZone. */ @java.lang.Override public tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getCreatePerAvailabilityZone() { tech.ydb.proto.common.CommonProtos.FeatureFlag.Status result = tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.forNumber(createPerAvailabilityZone_); return result == null ? tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } public static final int ALLOW_PROMOTION_FIELD_NUMBER = 4; private int allowPromotion_ = 0; /** *
     * If this feature in enabled then read-only replicas can be promoted
     * to leader.
     * 
* * .Ydb.FeatureFlag.Status allow_promotion = 4; * @return The enum numeric value on the wire for allowPromotion. */ @java.lang.Override public int getAllowPromotionValue() { return allowPromotion_; } /** *
     * If this feature in enabled then read-only replicas can be promoted
     * to leader.
     * 
* * .Ydb.FeatureFlag.Status allow_promotion = 4; * @return The allowPromotion. */ @java.lang.Override public tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getAllowPromotion() { tech.ydb.proto.common.CommonProtos.FeatureFlag.Status result = tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.forNumber(allowPromotion_); return result == null ? tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } 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(presetName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, presetName_); } if (replicasCount_ != 0) { output.writeUInt32(2, replicasCount_); } if (createPerAvailabilityZone_ != tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(3, createPerAvailabilityZone_); } if (allowPromotion_ != tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(4, allowPromotion_); } 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(presetName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, presetName_); } if (replicasCount_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, replicasCount_); } if (createPerAvailabilityZone_ != tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, createPerAvailabilityZone_); } if (allowPromotion_ != tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, allowPromotion_); } 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.table.YdbTable.ReplicationPolicy)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.ReplicationPolicy other = (tech.ydb.proto.table.YdbTable.ReplicationPolicy) obj; if (!getPresetName() .equals(other.getPresetName())) return false; if (getReplicasCount() != other.getReplicasCount()) return false; if (createPerAvailabilityZone_ != other.createPerAvailabilityZone_) return false; if (allowPromotion_ != other.allowPromotion_) 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) + PRESET_NAME_FIELD_NUMBER; hash = (53 * hash) + getPresetName().hashCode(); hash = (37 * hash) + REPLICAS_COUNT_FIELD_NUMBER; hash = (53 * hash) + getReplicasCount(); hash = (37 * hash) + CREATE_PER_AVAILABILITY_ZONE_FIELD_NUMBER; hash = (53 * hash) + createPerAvailabilityZone_; hash = (37 * hash) + ALLOW_PROMOTION_FIELD_NUMBER; hash = (53 * hash) + allowPromotion_; hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.ReplicationPolicy parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ReplicationPolicy 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.table.YdbTable.ReplicationPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ReplicationPolicy 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.table.YdbTable.ReplicationPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ReplicationPolicy parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.ReplicationPolicy parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ReplicationPolicy 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.table.YdbTable.ReplicationPolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ReplicationPolicy 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.table.YdbTable.ReplicationPolicy parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ReplicationPolicy 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.table.YdbTable.ReplicationPolicy 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.Table.ReplicationPolicy} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.ReplicationPolicy) tech.ydb.proto.table.YdbTable.ReplicationPolicyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReplicationPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReplicationPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ReplicationPolicy.class, tech.ydb.proto.table.YdbTable.ReplicationPolicy.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.ReplicationPolicy.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; presetName_ = ""; replicasCount_ = 0; createPerAvailabilityZone_ = 0; allowPromotion_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReplicationPolicy_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ReplicationPolicy getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.ReplicationPolicy.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.ReplicationPolicy build() { tech.ydb.proto.table.YdbTable.ReplicationPolicy result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ReplicationPolicy buildPartial() { tech.ydb.proto.table.YdbTable.ReplicationPolicy result = new tech.ydb.proto.table.YdbTable.ReplicationPolicy(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.ReplicationPolicy result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.presetName_ = presetName_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.replicasCount_ = replicasCount_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.createPerAvailabilityZone_ = createPerAvailabilityZone_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.allowPromotion_ = allowPromotion_; } } @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.table.YdbTable.ReplicationPolicy) { return mergeFrom((tech.ydb.proto.table.YdbTable.ReplicationPolicy)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.ReplicationPolicy other) { if (other == tech.ydb.proto.table.YdbTable.ReplicationPolicy.getDefaultInstance()) return this; if (!other.getPresetName().isEmpty()) { presetName_ = other.presetName_; bitField0_ |= 0x00000001; onChanged(); } if (other.getReplicasCount() != 0) { setReplicasCount(other.getReplicasCount()); } if (other.createPerAvailabilityZone_ != 0) { setCreatePerAvailabilityZoneValue(other.getCreatePerAvailabilityZoneValue()); } if (other.allowPromotion_ != 0) { setAllowPromotionValue(other.getAllowPromotionValue()); } 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: { presetName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 16: { replicasCount_ = input.readUInt32(); bitField0_ |= 0x00000002; break; } // case 16 case 24: { createPerAvailabilityZone_ = input.readEnum(); bitField0_ |= 0x00000004; break; } // case 24 case 32: { allowPromotion_ = input.readEnum(); bitField0_ |= 0x00000008; break; } // case 32 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 presetName_ = ""; /** * string preset_name = 1; * @return The presetName. */ public java.lang.String getPresetName() { java.lang.Object ref = presetName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); presetName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string preset_name = 1; * @return The bytes for presetName. */ public com.google.protobuf.ByteString getPresetNameBytes() { java.lang.Object ref = presetName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); presetName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string preset_name = 1; * @param value The presetName to set. * @return This builder for chaining. */ public Builder setPresetName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } presetName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * string preset_name = 1; * @return This builder for chaining. */ public Builder clearPresetName() { presetName_ = getDefaultInstance().getPresetName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * string preset_name = 1; * @param value The bytes for presetName to set. * @return This builder for chaining. */ public Builder setPresetNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); presetName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private int replicasCount_ ; /** *
       * If value is non-zero then it specifies a number of read-only
       * replicas to create for a table. Zero value means preset
       * setting usage.
       * 
* * uint32 replicas_count = 2; * @return The replicasCount. */ @java.lang.Override public int getReplicasCount() { return replicasCount_; } /** *
       * If value is non-zero then it specifies a number of read-only
       * replicas to create for a table. Zero value means preset
       * setting usage.
       * 
* * uint32 replicas_count = 2; * @param value The replicasCount to set. * @return This builder for chaining. */ public Builder setReplicasCount(int value) { replicasCount_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * If value is non-zero then it specifies a number of read-only
       * replicas to create for a table. Zero value means preset
       * setting usage.
       * 
* * uint32 replicas_count = 2; * @return This builder for chaining. */ public Builder clearReplicasCount() { bitField0_ = (bitField0_ & ~0x00000002); replicasCount_ = 0; onChanged(); return this; } private int createPerAvailabilityZone_ = 0; /** *
       * If this feature in enabled then requested number of replicas
       * will be created in each availability zone.
       * 
* * .Ydb.FeatureFlag.Status create_per_availability_zone = 3; * @return The enum numeric value on the wire for createPerAvailabilityZone. */ @java.lang.Override public int getCreatePerAvailabilityZoneValue() { return createPerAvailabilityZone_; } /** *
       * If this feature in enabled then requested number of replicas
       * will be created in each availability zone.
       * 
* * .Ydb.FeatureFlag.Status create_per_availability_zone = 3; * @param value The enum numeric value on the wire for createPerAvailabilityZone to set. * @return This builder for chaining. */ public Builder setCreatePerAvailabilityZoneValue(int value) { createPerAvailabilityZone_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * If this feature in enabled then requested number of replicas
       * will be created in each availability zone.
       * 
* * .Ydb.FeatureFlag.Status create_per_availability_zone = 3; * @return The createPerAvailabilityZone. */ @java.lang.Override public tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getCreatePerAvailabilityZone() { tech.ydb.proto.common.CommonProtos.FeatureFlag.Status result = tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.forNumber(createPerAvailabilityZone_); return result == null ? tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } /** *
       * If this feature in enabled then requested number of replicas
       * will be created in each availability zone.
       * 
* * .Ydb.FeatureFlag.Status create_per_availability_zone = 3; * @param value The createPerAvailabilityZone to set. * @return This builder for chaining. */ public Builder setCreatePerAvailabilityZone(tech.ydb.proto.common.CommonProtos.FeatureFlag.Status value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; createPerAvailabilityZone_ = value.getNumber(); onChanged(); return this; } /** *
       * If this feature in enabled then requested number of replicas
       * will be created in each availability zone.
       * 
* * .Ydb.FeatureFlag.Status create_per_availability_zone = 3; * @return This builder for chaining. */ public Builder clearCreatePerAvailabilityZone() { bitField0_ = (bitField0_ & ~0x00000004); createPerAvailabilityZone_ = 0; onChanged(); return this; } private int allowPromotion_ = 0; /** *
       * If this feature in enabled then read-only replicas can be promoted
       * to leader.
       * 
* * .Ydb.FeatureFlag.Status allow_promotion = 4; * @return The enum numeric value on the wire for allowPromotion. */ @java.lang.Override public int getAllowPromotionValue() { return allowPromotion_; } /** *
       * If this feature in enabled then read-only replicas can be promoted
       * to leader.
       * 
* * .Ydb.FeatureFlag.Status allow_promotion = 4; * @param value The enum numeric value on the wire for allowPromotion to set. * @return This builder for chaining. */ public Builder setAllowPromotionValue(int value) { allowPromotion_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * If this feature in enabled then read-only replicas can be promoted
       * to leader.
       * 
* * .Ydb.FeatureFlag.Status allow_promotion = 4; * @return The allowPromotion. */ @java.lang.Override public tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getAllowPromotion() { tech.ydb.proto.common.CommonProtos.FeatureFlag.Status result = tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.forNumber(allowPromotion_); return result == null ? tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } /** *
       * If this feature in enabled then read-only replicas can be promoted
       * to leader.
       * 
* * .Ydb.FeatureFlag.Status allow_promotion = 4; * @param value The allowPromotion to set. * @return This builder for chaining. */ public Builder setAllowPromotion(tech.ydb.proto.common.CommonProtos.FeatureFlag.Status value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; allowPromotion_ = value.getNumber(); onChanged(); return this; } /** *
       * If this feature in enabled then read-only replicas can be promoted
       * to leader.
       * 
* * .Ydb.FeatureFlag.Status allow_promotion = 4; * @return This builder for chaining. */ public Builder clearAllowPromotion() { bitField0_ = (bitField0_ & ~0x00000008); allowPromotion_ = 0; 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.Table.ReplicationPolicy) } // @@protoc_insertion_point(class_scope:Ydb.Table.ReplicationPolicy) private static final tech.ydb.proto.table.YdbTable.ReplicationPolicy DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.ReplicationPolicy(); } public static tech.ydb.proto.table.YdbTable.ReplicationPolicy getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ReplicationPolicy 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.table.YdbTable.ReplicationPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CachingPolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.CachingPolicy) com.google.protobuf.MessageOrBuilder { /** * string preset_name = 1; * @return The presetName. */ java.lang.String getPresetName(); /** * string preset_name = 1; * @return The bytes for presetName. */ com.google.protobuf.ByteString getPresetNameBytes(); } /** * Protobuf type {@code Ydb.Table.CachingPolicy} */ public static final class CachingPolicy extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.CachingPolicy) CachingPolicyOrBuilder { private static final long serialVersionUID = 0L; // Use CachingPolicy.newBuilder() to construct. private CachingPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CachingPolicy() { presetName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CachingPolicy(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CachingPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CachingPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CachingPolicy.class, tech.ydb.proto.table.YdbTable.CachingPolicy.Builder.class); } public static final int PRESET_NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object presetName_ = ""; /** * string preset_name = 1; * @return The presetName. */ @java.lang.Override public java.lang.String getPresetName() { java.lang.Object ref = presetName_; 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(); presetName_ = s; return s; } } /** * string preset_name = 1; * @return The bytes for presetName. */ @java.lang.Override public com.google.protobuf.ByteString getPresetNameBytes() { java.lang.Object ref = presetName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); presetName_ = 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(presetName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, presetName_); } 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(presetName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, presetName_); } 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.table.YdbTable.CachingPolicy)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.CachingPolicy other = (tech.ydb.proto.table.YdbTable.CachingPolicy) obj; if (!getPresetName() .equals(other.getPresetName())) 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) + PRESET_NAME_FIELD_NUMBER; hash = (53 * hash) + getPresetName().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.CachingPolicy parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CachingPolicy 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.table.YdbTable.CachingPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CachingPolicy 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.table.YdbTable.CachingPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CachingPolicy parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.CachingPolicy parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CachingPolicy 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.table.YdbTable.CachingPolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CachingPolicy 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.table.YdbTable.CachingPolicy parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CachingPolicy 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.table.YdbTable.CachingPolicy 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.Table.CachingPolicy} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.CachingPolicy) tech.ydb.proto.table.YdbTable.CachingPolicyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CachingPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CachingPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CachingPolicy.class, tech.ydb.proto.table.YdbTable.CachingPolicy.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.CachingPolicy.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; presetName_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CachingPolicy_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CachingPolicy getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.CachingPolicy.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.CachingPolicy build() { tech.ydb.proto.table.YdbTable.CachingPolicy result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CachingPolicy buildPartial() { tech.ydb.proto.table.YdbTable.CachingPolicy result = new tech.ydb.proto.table.YdbTable.CachingPolicy(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.CachingPolicy result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.presetName_ = presetName_; } } @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.table.YdbTable.CachingPolicy) { return mergeFrom((tech.ydb.proto.table.YdbTable.CachingPolicy)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.CachingPolicy other) { if (other == tech.ydb.proto.table.YdbTable.CachingPolicy.getDefaultInstance()) return this; if (!other.getPresetName().isEmpty()) { presetName_ = other.presetName_; bitField0_ |= 0x00000001; 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: { presetName_ = input.readStringRequireUtf8(); 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 java.lang.Object presetName_ = ""; /** * string preset_name = 1; * @return The presetName. */ public java.lang.String getPresetName() { java.lang.Object ref = presetName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); presetName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string preset_name = 1; * @return The bytes for presetName. */ public com.google.protobuf.ByteString getPresetNameBytes() { java.lang.Object ref = presetName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); presetName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string preset_name = 1; * @param value The presetName to set. * @return This builder for chaining. */ public Builder setPresetName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } presetName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * string preset_name = 1; * @return This builder for chaining. */ public Builder clearPresetName() { presetName_ = getDefaultInstance().getPresetName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * string preset_name = 1; * @param value The bytes for presetName to set. * @return This builder for chaining. */ public Builder setPresetNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); presetName_ = value; bitField0_ |= 0x00000001; 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.Table.CachingPolicy) } // @@protoc_insertion_point(class_scope:Ydb.Table.CachingPolicy) private static final tech.ydb.proto.table.YdbTable.CachingPolicy DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.CachingPolicy(); } public static tech.ydb.proto.table.YdbTable.CachingPolicy getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CachingPolicy 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.table.YdbTable.CachingPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TableProfileOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.TableProfile) com.google.protobuf.MessageOrBuilder { /** * string preset_name = 1; * @return The presetName. */ java.lang.String getPresetName(); /** * string preset_name = 1; * @return The bytes for presetName. */ com.google.protobuf.ByteString getPresetNameBytes(); /** * .Ydb.Table.StoragePolicy storage_policy = 2; * @return Whether the storagePolicy field is set. */ boolean hasStoragePolicy(); /** * .Ydb.Table.StoragePolicy storage_policy = 2; * @return The storagePolicy. */ tech.ydb.proto.table.YdbTable.StoragePolicy getStoragePolicy(); /** * .Ydb.Table.StoragePolicy storage_policy = 2; */ tech.ydb.proto.table.YdbTable.StoragePolicyOrBuilder getStoragePolicyOrBuilder(); /** * .Ydb.Table.CompactionPolicy compaction_policy = 3; * @return Whether the compactionPolicy field is set. */ boolean hasCompactionPolicy(); /** * .Ydb.Table.CompactionPolicy compaction_policy = 3; * @return The compactionPolicy. */ tech.ydb.proto.table.YdbTable.CompactionPolicy getCompactionPolicy(); /** * .Ydb.Table.CompactionPolicy compaction_policy = 3; */ tech.ydb.proto.table.YdbTable.CompactionPolicyOrBuilder getCompactionPolicyOrBuilder(); /** * .Ydb.Table.PartitioningPolicy partitioning_policy = 4; * @return Whether the partitioningPolicy field is set. */ boolean hasPartitioningPolicy(); /** * .Ydb.Table.PartitioningPolicy partitioning_policy = 4; * @return The partitioningPolicy. */ tech.ydb.proto.table.YdbTable.PartitioningPolicy getPartitioningPolicy(); /** * .Ydb.Table.PartitioningPolicy partitioning_policy = 4; */ tech.ydb.proto.table.YdbTable.PartitioningPolicyOrBuilder getPartitioningPolicyOrBuilder(); /** * .Ydb.Table.ExecutionPolicy execution_policy = 5; * @return Whether the executionPolicy field is set. */ boolean hasExecutionPolicy(); /** * .Ydb.Table.ExecutionPolicy execution_policy = 5; * @return The executionPolicy. */ tech.ydb.proto.table.YdbTable.ExecutionPolicy getExecutionPolicy(); /** * .Ydb.Table.ExecutionPolicy execution_policy = 5; */ tech.ydb.proto.table.YdbTable.ExecutionPolicyOrBuilder getExecutionPolicyOrBuilder(); /** * .Ydb.Table.ReplicationPolicy replication_policy = 6; * @return Whether the replicationPolicy field is set. */ boolean hasReplicationPolicy(); /** * .Ydb.Table.ReplicationPolicy replication_policy = 6; * @return The replicationPolicy. */ tech.ydb.proto.table.YdbTable.ReplicationPolicy getReplicationPolicy(); /** * .Ydb.Table.ReplicationPolicy replication_policy = 6; */ tech.ydb.proto.table.YdbTable.ReplicationPolicyOrBuilder getReplicationPolicyOrBuilder(); /** * .Ydb.Table.CachingPolicy caching_policy = 7; * @return Whether the cachingPolicy field is set. */ boolean hasCachingPolicy(); /** * .Ydb.Table.CachingPolicy caching_policy = 7; * @return The cachingPolicy. */ tech.ydb.proto.table.YdbTable.CachingPolicy getCachingPolicy(); /** * .Ydb.Table.CachingPolicy caching_policy = 7; */ tech.ydb.proto.table.YdbTable.CachingPolicyOrBuilder getCachingPolicyOrBuilder(); } /** * Protobuf type {@code Ydb.Table.TableProfile} */ public static final class TableProfile extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.TableProfile) TableProfileOrBuilder { private static final long serialVersionUID = 0L; // Use TableProfile.newBuilder() to construct. private TableProfile(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TableProfile() { presetName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TableProfile(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TableProfile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TableProfile_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.TableProfile.class, tech.ydb.proto.table.YdbTable.TableProfile.Builder.class); } private int bitField0_; public static final int PRESET_NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object presetName_ = ""; /** * string preset_name = 1; * @return The presetName. */ @java.lang.Override public java.lang.String getPresetName() { java.lang.Object ref = presetName_; 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(); presetName_ = s; return s; } } /** * string preset_name = 1; * @return The bytes for presetName. */ @java.lang.Override public com.google.protobuf.ByteString getPresetNameBytes() { java.lang.Object ref = presetName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); presetName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STORAGE_POLICY_FIELD_NUMBER = 2; private tech.ydb.proto.table.YdbTable.StoragePolicy storagePolicy_; /** * .Ydb.Table.StoragePolicy storage_policy = 2; * @return Whether the storagePolicy field is set. */ @java.lang.Override public boolean hasStoragePolicy() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.Table.StoragePolicy storage_policy = 2; * @return The storagePolicy. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StoragePolicy getStoragePolicy() { return storagePolicy_ == null ? tech.ydb.proto.table.YdbTable.StoragePolicy.getDefaultInstance() : storagePolicy_; } /** * .Ydb.Table.StoragePolicy storage_policy = 2; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StoragePolicyOrBuilder getStoragePolicyOrBuilder() { return storagePolicy_ == null ? tech.ydb.proto.table.YdbTable.StoragePolicy.getDefaultInstance() : storagePolicy_; } public static final int COMPACTION_POLICY_FIELD_NUMBER = 3; private tech.ydb.proto.table.YdbTable.CompactionPolicy compactionPolicy_; /** * .Ydb.Table.CompactionPolicy compaction_policy = 3; * @return Whether the compactionPolicy field is set. */ @java.lang.Override public boolean hasCompactionPolicy() { return ((bitField0_ & 0x00000002) != 0); } /** * .Ydb.Table.CompactionPolicy compaction_policy = 3; * @return The compactionPolicy. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.CompactionPolicy getCompactionPolicy() { return compactionPolicy_ == null ? tech.ydb.proto.table.YdbTable.CompactionPolicy.getDefaultInstance() : compactionPolicy_; } /** * .Ydb.Table.CompactionPolicy compaction_policy = 3; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.CompactionPolicyOrBuilder getCompactionPolicyOrBuilder() { return compactionPolicy_ == null ? tech.ydb.proto.table.YdbTable.CompactionPolicy.getDefaultInstance() : compactionPolicy_; } public static final int PARTITIONING_POLICY_FIELD_NUMBER = 4; private tech.ydb.proto.table.YdbTable.PartitioningPolicy partitioningPolicy_; /** * .Ydb.Table.PartitioningPolicy partitioning_policy = 4; * @return Whether the partitioningPolicy field is set. */ @java.lang.Override public boolean hasPartitioningPolicy() { return ((bitField0_ & 0x00000004) != 0); } /** * .Ydb.Table.PartitioningPolicy partitioning_policy = 4; * @return The partitioningPolicy. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.PartitioningPolicy getPartitioningPolicy() { return partitioningPolicy_ == null ? tech.ydb.proto.table.YdbTable.PartitioningPolicy.getDefaultInstance() : partitioningPolicy_; } /** * .Ydb.Table.PartitioningPolicy partitioning_policy = 4; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.PartitioningPolicyOrBuilder getPartitioningPolicyOrBuilder() { return partitioningPolicy_ == null ? tech.ydb.proto.table.YdbTable.PartitioningPolicy.getDefaultInstance() : partitioningPolicy_; } public static final int EXECUTION_POLICY_FIELD_NUMBER = 5; private tech.ydb.proto.table.YdbTable.ExecutionPolicy executionPolicy_; /** * .Ydb.Table.ExecutionPolicy execution_policy = 5; * @return Whether the executionPolicy field is set. */ @java.lang.Override public boolean hasExecutionPolicy() { return ((bitField0_ & 0x00000008) != 0); } /** * .Ydb.Table.ExecutionPolicy execution_policy = 5; * @return The executionPolicy. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecutionPolicy getExecutionPolicy() { return executionPolicy_ == null ? tech.ydb.proto.table.YdbTable.ExecutionPolicy.getDefaultInstance() : executionPolicy_; } /** * .Ydb.Table.ExecutionPolicy execution_policy = 5; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecutionPolicyOrBuilder getExecutionPolicyOrBuilder() { return executionPolicy_ == null ? tech.ydb.proto.table.YdbTable.ExecutionPolicy.getDefaultInstance() : executionPolicy_; } public static final int REPLICATION_POLICY_FIELD_NUMBER = 6; private tech.ydb.proto.table.YdbTable.ReplicationPolicy replicationPolicy_; /** * .Ydb.Table.ReplicationPolicy replication_policy = 6; * @return Whether the replicationPolicy field is set. */ @java.lang.Override public boolean hasReplicationPolicy() { return ((bitField0_ & 0x00000010) != 0); } /** * .Ydb.Table.ReplicationPolicy replication_policy = 6; * @return The replicationPolicy. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ReplicationPolicy getReplicationPolicy() { return replicationPolicy_ == null ? tech.ydb.proto.table.YdbTable.ReplicationPolicy.getDefaultInstance() : replicationPolicy_; } /** * .Ydb.Table.ReplicationPolicy replication_policy = 6; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ReplicationPolicyOrBuilder getReplicationPolicyOrBuilder() { return replicationPolicy_ == null ? tech.ydb.proto.table.YdbTable.ReplicationPolicy.getDefaultInstance() : replicationPolicy_; } public static final int CACHING_POLICY_FIELD_NUMBER = 7; private tech.ydb.proto.table.YdbTable.CachingPolicy cachingPolicy_; /** * .Ydb.Table.CachingPolicy caching_policy = 7; * @return Whether the cachingPolicy field is set. */ @java.lang.Override public boolean hasCachingPolicy() { return ((bitField0_ & 0x00000020) != 0); } /** * .Ydb.Table.CachingPolicy caching_policy = 7; * @return The cachingPolicy. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.CachingPolicy getCachingPolicy() { return cachingPolicy_ == null ? tech.ydb.proto.table.YdbTable.CachingPolicy.getDefaultInstance() : cachingPolicy_; } /** * .Ydb.Table.CachingPolicy caching_policy = 7; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.CachingPolicyOrBuilder getCachingPolicyOrBuilder() { return cachingPolicy_ == null ? tech.ydb.proto.table.YdbTable.CachingPolicy.getDefaultInstance() : cachingPolicy_; } 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(presetName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, presetName_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getStoragePolicy()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getCompactionPolicy()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(4, getPartitioningPolicy()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(5, getExecutionPolicy()); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(6, getReplicationPolicy()); } if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(7, getCachingPolicy()); } 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(presetName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, presetName_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getStoragePolicy()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getCompactionPolicy()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getPartitioningPolicy()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getExecutionPolicy()); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getReplicationPolicy()); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getCachingPolicy()); } 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.table.YdbTable.TableProfile)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.TableProfile other = (tech.ydb.proto.table.YdbTable.TableProfile) obj; if (!getPresetName() .equals(other.getPresetName())) return false; if (hasStoragePolicy() != other.hasStoragePolicy()) return false; if (hasStoragePolicy()) { if (!getStoragePolicy() .equals(other.getStoragePolicy())) return false; } if (hasCompactionPolicy() != other.hasCompactionPolicy()) return false; if (hasCompactionPolicy()) { if (!getCompactionPolicy() .equals(other.getCompactionPolicy())) return false; } if (hasPartitioningPolicy() != other.hasPartitioningPolicy()) return false; if (hasPartitioningPolicy()) { if (!getPartitioningPolicy() .equals(other.getPartitioningPolicy())) return false; } if (hasExecutionPolicy() != other.hasExecutionPolicy()) return false; if (hasExecutionPolicy()) { if (!getExecutionPolicy() .equals(other.getExecutionPolicy())) return false; } if (hasReplicationPolicy() != other.hasReplicationPolicy()) return false; if (hasReplicationPolicy()) { if (!getReplicationPolicy() .equals(other.getReplicationPolicy())) return false; } if (hasCachingPolicy() != other.hasCachingPolicy()) return false; if (hasCachingPolicy()) { if (!getCachingPolicy() .equals(other.getCachingPolicy())) 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) + PRESET_NAME_FIELD_NUMBER; hash = (53 * hash) + getPresetName().hashCode(); if (hasStoragePolicy()) { hash = (37 * hash) + STORAGE_POLICY_FIELD_NUMBER; hash = (53 * hash) + getStoragePolicy().hashCode(); } if (hasCompactionPolicy()) { hash = (37 * hash) + COMPACTION_POLICY_FIELD_NUMBER; hash = (53 * hash) + getCompactionPolicy().hashCode(); } if (hasPartitioningPolicy()) { hash = (37 * hash) + PARTITIONING_POLICY_FIELD_NUMBER; hash = (53 * hash) + getPartitioningPolicy().hashCode(); } if (hasExecutionPolicy()) { hash = (37 * hash) + EXECUTION_POLICY_FIELD_NUMBER; hash = (53 * hash) + getExecutionPolicy().hashCode(); } if (hasReplicationPolicy()) { hash = (37 * hash) + REPLICATION_POLICY_FIELD_NUMBER; hash = (53 * hash) + getReplicationPolicy().hashCode(); } if (hasCachingPolicy()) { hash = (37 * hash) + CACHING_POLICY_FIELD_NUMBER; hash = (53 * hash) + getCachingPolicy().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.TableProfile parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.TableProfile 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.table.YdbTable.TableProfile parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.TableProfile 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.table.YdbTable.TableProfile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.TableProfile parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.TableProfile parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.TableProfile 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.table.YdbTable.TableProfile parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.TableProfile 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.table.YdbTable.TableProfile parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.TableProfile 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.table.YdbTable.TableProfile 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.Table.TableProfile} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.TableProfile) tech.ydb.proto.table.YdbTable.TableProfileOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TableProfile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TableProfile_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.TableProfile.class, tech.ydb.proto.table.YdbTable.TableProfile.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.TableProfile.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getStoragePolicyFieldBuilder(); getCompactionPolicyFieldBuilder(); getPartitioningPolicyFieldBuilder(); getExecutionPolicyFieldBuilder(); getReplicationPolicyFieldBuilder(); getCachingPolicyFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; presetName_ = ""; storagePolicy_ = null; if (storagePolicyBuilder_ != null) { storagePolicyBuilder_.dispose(); storagePolicyBuilder_ = null; } compactionPolicy_ = null; if (compactionPolicyBuilder_ != null) { compactionPolicyBuilder_.dispose(); compactionPolicyBuilder_ = null; } partitioningPolicy_ = null; if (partitioningPolicyBuilder_ != null) { partitioningPolicyBuilder_.dispose(); partitioningPolicyBuilder_ = null; } executionPolicy_ = null; if (executionPolicyBuilder_ != null) { executionPolicyBuilder_.dispose(); executionPolicyBuilder_ = null; } replicationPolicy_ = null; if (replicationPolicyBuilder_ != null) { replicationPolicyBuilder_.dispose(); replicationPolicyBuilder_ = null; } cachingPolicy_ = null; if (cachingPolicyBuilder_ != null) { cachingPolicyBuilder_.dispose(); cachingPolicyBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TableProfile_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.TableProfile getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.TableProfile.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.TableProfile build() { tech.ydb.proto.table.YdbTable.TableProfile result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.TableProfile buildPartial() { tech.ydb.proto.table.YdbTable.TableProfile result = new tech.ydb.proto.table.YdbTable.TableProfile(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.TableProfile result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.presetName_ = presetName_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.storagePolicy_ = storagePolicyBuilder_ == null ? storagePolicy_ : storagePolicyBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.compactionPolicy_ = compactionPolicyBuilder_ == null ? compactionPolicy_ : compactionPolicyBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { result.partitioningPolicy_ = partitioningPolicyBuilder_ == null ? partitioningPolicy_ : partitioningPolicyBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000010) != 0)) { result.executionPolicy_ = executionPolicyBuilder_ == null ? executionPolicy_ : executionPolicyBuilder_.build(); to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000020) != 0)) { result.replicationPolicy_ = replicationPolicyBuilder_ == null ? replicationPolicy_ : replicationPolicyBuilder_.build(); to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000040) != 0)) { result.cachingPolicy_ = cachingPolicyBuilder_ == null ? cachingPolicy_ : cachingPolicyBuilder_.build(); to_bitField0_ |= 0x00000020; } 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.table.YdbTable.TableProfile) { return mergeFrom((tech.ydb.proto.table.YdbTable.TableProfile)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.TableProfile other) { if (other == tech.ydb.proto.table.YdbTable.TableProfile.getDefaultInstance()) return this; if (!other.getPresetName().isEmpty()) { presetName_ = other.presetName_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasStoragePolicy()) { mergeStoragePolicy(other.getStoragePolicy()); } if (other.hasCompactionPolicy()) { mergeCompactionPolicy(other.getCompactionPolicy()); } if (other.hasPartitioningPolicy()) { mergePartitioningPolicy(other.getPartitioningPolicy()); } if (other.hasExecutionPolicy()) { mergeExecutionPolicy(other.getExecutionPolicy()); } if (other.hasReplicationPolicy()) { mergeReplicationPolicy(other.getReplicationPolicy()); } if (other.hasCachingPolicy()) { mergeCachingPolicy(other.getCachingPolicy()); } 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: { presetName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getStoragePolicyFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage( getCompactionPolicyFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 34: { input.readMessage( getPartitioningPolicyFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 34 case 42: { input.readMessage( getExecutionPolicyFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 42 case 50: { input.readMessage( getReplicationPolicyFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000020; break; } // case 50 case 58: { input.readMessage( getCachingPolicyFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000040; break; } // case 58 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 presetName_ = ""; /** * string preset_name = 1; * @return The presetName. */ public java.lang.String getPresetName() { java.lang.Object ref = presetName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); presetName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string preset_name = 1; * @return The bytes for presetName. */ public com.google.protobuf.ByteString getPresetNameBytes() { java.lang.Object ref = presetName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); presetName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string preset_name = 1; * @param value The presetName to set. * @return This builder for chaining. */ public Builder setPresetName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } presetName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * string preset_name = 1; * @return This builder for chaining. */ public Builder clearPresetName() { presetName_ = getDefaultInstance().getPresetName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * string preset_name = 1; * @param value The bytes for presetName to set. * @return This builder for chaining. */ public Builder setPresetNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); presetName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private tech.ydb.proto.table.YdbTable.StoragePolicy storagePolicy_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePolicy, tech.ydb.proto.table.YdbTable.StoragePolicy.Builder, tech.ydb.proto.table.YdbTable.StoragePolicyOrBuilder> storagePolicyBuilder_; /** * .Ydb.Table.StoragePolicy storage_policy = 2; * @return Whether the storagePolicy field is set. */ public boolean hasStoragePolicy() { return ((bitField0_ & 0x00000002) != 0); } /** * .Ydb.Table.StoragePolicy storage_policy = 2; * @return The storagePolicy. */ public tech.ydb.proto.table.YdbTable.StoragePolicy getStoragePolicy() { if (storagePolicyBuilder_ == null) { return storagePolicy_ == null ? tech.ydb.proto.table.YdbTable.StoragePolicy.getDefaultInstance() : storagePolicy_; } else { return storagePolicyBuilder_.getMessage(); } } /** * .Ydb.Table.StoragePolicy storage_policy = 2; */ public Builder setStoragePolicy(tech.ydb.proto.table.YdbTable.StoragePolicy value) { if (storagePolicyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } storagePolicy_ = value; } else { storagePolicyBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * .Ydb.Table.StoragePolicy storage_policy = 2; */ public Builder setStoragePolicy( tech.ydb.proto.table.YdbTable.StoragePolicy.Builder builderForValue) { if (storagePolicyBuilder_ == null) { storagePolicy_ = builderForValue.build(); } else { storagePolicyBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * .Ydb.Table.StoragePolicy storage_policy = 2; */ public Builder mergeStoragePolicy(tech.ydb.proto.table.YdbTable.StoragePolicy value) { if (storagePolicyBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && storagePolicy_ != null && storagePolicy_ != tech.ydb.proto.table.YdbTable.StoragePolicy.getDefaultInstance()) { getStoragePolicyBuilder().mergeFrom(value); } else { storagePolicy_ = value; } } else { storagePolicyBuilder_.mergeFrom(value); } if (storagePolicy_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** * .Ydb.Table.StoragePolicy storage_policy = 2; */ public Builder clearStoragePolicy() { bitField0_ = (bitField0_ & ~0x00000002); storagePolicy_ = null; if (storagePolicyBuilder_ != null) { storagePolicyBuilder_.dispose(); storagePolicyBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Table.StoragePolicy storage_policy = 2; */ public tech.ydb.proto.table.YdbTable.StoragePolicy.Builder getStoragePolicyBuilder() { bitField0_ |= 0x00000002; onChanged(); return getStoragePolicyFieldBuilder().getBuilder(); } /** * .Ydb.Table.StoragePolicy storage_policy = 2; */ public tech.ydb.proto.table.YdbTable.StoragePolicyOrBuilder getStoragePolicyOrBuilder() { if (storagePolicyBuilder_ != null) { return storagePolicyBuilder_.getMessageOrBuilder(); } else { return storagePolicy_ == null ? tech.ydb.proto.table.YdbTable.StoragePolicy.getDefaultInstance() : storagePolicy_; } } /** * .Ydb.Table.StoragePolicy storage_policy = 2; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePolicy, tech.ydb.proto.table.YdbTable.StoragePolicy.Builder, tech.ydb.proto.table.YdbTable.StoragePolicyOrBuilder> getStoragePolicyFieldBuilder() { if (storagePolicyBuilder_ == null) { storagePolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePolicy, tech.ydb.proto.table.YdbTable.StoragePolicy.Builder, tech.ydb.proto.table.YdbTable.StoragePolicyOrBuilder>( getStoragePolicy(), getParentForChildren(), isClean()); storagePolicy_ = null; } return storagePolicyBuilder_; } private tech.ydb.proto.table.YdbTable.CompactionPolicy compactionPolicy_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.CompactionPolicy, tech.ydb.proto.table.YdbTable.CompactionPolicy.Builder, tech.ydb.proto.table.YdbTable.CompactionPolicyOrBuilder> compactionPolicyBuilder_; /** * .Ydb.Table.CompactionPolicy compaction_policy = 3; * @return Whether the compactionPolicy field is set. */ public boolean hasCompactionPolicy() { return ((bitField0_ & 0x00000004) != 0); } /** * .Ydb.Table.CompactionPolicy compaction_policy = 3; * @return The compactionPolicy. */ public tech.ydb.proto.table.YdbTable.CompactionPolicy getCompactionPolicy() { if (compactionPolicyBuilder_ == null) { return compactionPolicy_ == null ? tech.ydb.proto.table.YdbTable.CompactionPolicy.getDefaultInstance() : compactionPolicy_; } else { return compactionPolicyBuilder_.getMessage(); } } /** * .Ydb.Table.CompactionPolicy compaction_policy = 3; */ public Builder setCompactionPolicy(tech.ydb.proto.table.YdbTable.CompactionPolicy value) { if (compactionPolicyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } compactionPolicy_ = value; } else { compactionPolicyBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * .Ydb.Table.CompactionPolicy compaction_policy = 3; */ public Builder setCompactionPolicy( tech.ydb.proto.table.YdbTable.CompactionPolicy.Builder builderForValue) { if (compactionPolicyBuilder_ == null) { compactionPolicy_ = builderForValue.build(); } else { compactionPolicyBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * .Ydb.Table.CompactionPolicy compaction_policy = 3; */ public Builder mergeCompactionPolicy(tech.ydb.proto.table.YdbTable.CompactionPolicy value) { if (compactionPolicyBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && compactionPolicy_ != null && compactionPolicy_ != tech.ydb.proto.table.YdbTable.CompactionPolicy.getDefaultInstance()) { getCompactionPolicyBuilder().mergeFrom(value); } else { compactionPolicy_ = value; } } else { compactionPolicyBuilder_.mergeFrom(value); } if (compactionPolicy_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * .Ydb.Table.CompactionPolicy compaction_policy = 3; */ public Builder clearCompactionPolicy() { bitField0_ = (bitField0_ & ~0x00000004); compactionPolicy_ = null; if (compactionPolicyBuilder_ != null) { compactionPolicyBuilder_.dispose(); compactionPolicyBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Table.CompactionPolicy compaction_policy = 3; */ public tech.ydb.proto.table.YdbTable.CompactionPolicy.Builder getCompactionPolicyBuilder() { bitField0_ |= 0x00000004; onChanged(); return getCompactionPolicyFieldBuilder().getBuilder(); } /** * .Ydb.Table.CompactionPolicy compaction_policy = 3; */ public tech.ydb.proto.table.YdbTable.CompactionPolicyOrBuilder getCompactionPolicyOrBuilder() { if (compactionPolicyBuilder_ != null) { return compactionPolicyBuilder_.getMessageOrBuilder(); } else { return compactionPolicy_ == null ? tech.ydb.proto.table.YdbTable.CompactionPolicy.getDefaultInstance() : compactionPolicy_; } } /** * .Ydb.Table.CompactionPolicy compaction_policy = 3; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.CompactionPolicy, tech.ydb.proto.table.YdbTable.CompactionPolicy.Builder, tech.ydb.proto.table.YdbTable.CompactionPolicyOrBuilder> getCompactionPolicyFieldBuilder() { if (compactionPolicyBuilder_ == null) { compactionPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.CompactionPolicy, tech.ydb.proto.table.YdbTable.CompactionPolicy.Builder, tech.ydb.proto.table.YdbTable.CompactionPolicyOrBuilder>( getCompactionPolicy(), getParentForChildren(), isClean()); compactionPolicy_ = null; } return compactionPolicyBuilder_; } private tech.ydb.proto.table.YdbTable.PartitioningPolicy partitioningPolicy_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.PartitioningPolicy, tech.ydb.proto.table.YdbTable.PartitioningPolicy.Builder, tech.ydb.proto.table.YdbTable.PartitioningPolicyOrBuilder> partitioningPolicyBuilder_; /** * .Ydb.Table.PartitioningPolicy partitioning_policy = 4; * @return Whether the partitioningPolicy field is set. */ public boolean hasPartitioningPolicy() { return ((bitField0_ & 0x00000008) != 0); } /** * .Ydb.Table.PartitioningPolicy partitioning_policy = 4; * @return The partitioningPolicy. */ public tech.ydb.proto.table.YdbTable.PartitioningPolicy getPartitioningPolicy() { if (partitioningPolicyBuilder_ == null) { return partitioningPolicy_ == null ? tech.ydb.proto.table.YdbTable.PartitioningPolicy.getDefaultInstance() : partitioningPolicy_; } else { return partitioningPolicyBuilder_.getMessage(); } } /** * .Ydb.Table.PartitioningPolicy partitioning_policy = 4; */ public Builder setPartitioningPolicy(tech.ydb.proto.table.YdbTable.PartitioningPolicy value) { if (partitioningPolicyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } partitioningPolicy_ = value; } else { partitioningPolicyBuilder_.setMessage(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** * .Ydb.Table.PartitioningPolicy partitioning_policy = 4; */ public Builder setPartitioningPolicy( tech.ydb.proto.table.YdbTable.PartitioningPolicy.Builder builderForValue) { if (partitioningPolicyBuilder_ == null) { partitioningPolicy_ = builderForValue.build(); } else { partitioningPolicyBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; onChanged(); return this; } /** * .Ydb.Table.PartitioningPolicy partitioning_policy = 4; */ public Builder mergePartitioningPolicy(tech.ydb.proto.table.YdbTable.PartitioningPolicy value) { if (partitioningPolicyBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && partitioningPolicy_ != null && partitioningPolicy_ != tech.ydb.proto.table.YdbTable.PartitioningPolicy.getDefaultInstance()) { getPartitioningPolicyBuilder().mergeFrom(value); } else { partitioningPolicy_ = value; } } else { partitioningPolicyBuilder_.mergeFrom(value); } if (partitioningPolicy_ != null) { bitField0_ |= 0x00000008; onChanged(); } return this; } /** * .Ydb.Table.PartitioningPolicy partitioning_policy = 4; */ public Builder clearPartitioningPolicy() { bitField0_ = (bitField0_ & ~0x00000008); partitioningPolicy_ = null; if (partitioningPolicyBuilder_ != null) { partitioningPolicyBuilder_.dispose(); partitioningPolicyBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Table.PartitioningPolicy partitioning_policy = 4; */ public tech.ydb.proto.table.YdbTable.PartitioningPolicy.Builder getPartitioningPolicyBuilder() { bitField0_ |= 0x00000008; onChanged(); return getPartitioningPolicyFieldBuilder().getBuilder(); } /** * .Ydb.Table.PartitioningPolicy partitioning_policy = 4; */ public tech.ydb.proto.table.YdbTable.PartitioningPolicyOrBuilder getPartitioningPolicyOrBuilder() { if (partitioningPolicyBuilder_ != null) { return partitioningPolicyBuilder_.getMessageOrBuilder(); } else { return partitioningPolicy_ == null ? tech.ydb.proto.table.YdbTable.PartitioningPolicy.getDefaultInstance() : partitioningPolicy_; } } /** * .Ydb.Table.PartitioningPolicy partitioning_policy = 4; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.PartitioningPolicy, tech.ydb.proto.table.YdbTable.PartitioningPolicy.Builder, tech.ydb.proto.table.YdbTable.PartitioningPolicyOrBuilder> getPartitioningPolicyFieldBuilder() { if (partitioningPolicyBuilder_ == null) { partitioningPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.PartitioningPolicy, tech.ydb.proto.table.YdbTable.PartitioningPolicy.Builder, tech.ydb.proto.table.YdbTable.PartitioningPolicyOrBuilder>( getPartitioningPolicy(), getParentForChildren(), isClean()); partitioningPolicy_ = null; } return partitioningPolicyBuilder_; } private tech.ydb.proto.table.YdbTable.ExecutionPolicy executionPolicy_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.ExecutionPolicy, tech.ydb.proto.table.YdbTable.ExecutionPolicy.Builder, tech.ydb.proto.table.YdbTable.ExecutionPolicyOrBuilder> executionPolicyBuilder_; /** * .Ydb.Table.ExecutionPolicy execution_policy = 5; * @return Whether the executionPolicy field is set. */ public boolean hasExecutionPolicy() { return ((bitField0_ & 0x00000010) != 0); } /** * .Ydb.Table.ExecutionPolicy execution_policy = 5; * @return The executionPolicy. */ public tech.ydb.proto.table.YdbTable.ExecutionPolicy getExecutionPolicy() { if (executionPolicyBuilder_ == null) { return executionPolicy_ == null ? tech.ydb.proto.table.YdbTable.ExecutionPolicy.getDefaultInstance() : executionPolicy_; } else { return executionPolicyBuilder_.getMessage(); } } /** * .Ydb.Table.ExecutionPolicy execution_policy = 5; */ public Builder setExecutionPolicy(tech.ydb.proto.table.YdbTable.ExecutionPolicy value) { if (executionPolicyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } executionPolicy_ = value; } else { executionPolicyBuilder_.setMessage(value); } bitField0_ |= 0x00000010; onChanged(); return this; } /** * .Ydb.Table.ExecutionPolicy execution_policy = 5; */ public Builder setExecutionPolicy( tech.ydb.proto.table.YdbTable.ExecutionPolicy.Builder builderForValue) { if (executionPolicyBuilder_ == null) { executionPolicy_ = builderForValue.build(); } else { executionPolicyBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; onChanged(); return this; } /** * .Ydb.Table.ExecutionPolicy execution_policy = 5; */ public Builder mergeExecutionPolicy(tech.ydb.proto.table.YdbTable.ExecutionPolicy value) { if (executionPolicyBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && executionPolicy_ != null && executionPolicy_ != tech.ydb.proto.table.YdbTable.ExecutionPolicy.getDefaultInstance()) { getExecutionPolicyBuilder().mergeFrom(value); } else { executionPolicy_ = value; } } else { executionPolicyBuilder_.mergeFrom(value); } if (executionPolicy_ != null) { bitField0_ |= 0x00000010; onChanged(); } return this; } /** * .Ydb.Table.ExecutionPolicy execution_policy = 5; */ public Builder clearExecutionPolicy() { bitField0_ = (bitField0_ & ~0x00000010); executionPolicy_ = null; if (executionPolicyBuilder_ != null) { executionPolicyBuilder_.dispose(); executionPolicyBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Table.ExecutionPolicy execution_policy = 5; */ public tech.ydb.proto.table.YdbTable.ExecutionPolicy.Builder getExecutionPolicyBuilder() { bitField0_ |= 0x00000010; onChanged(); return getExecutionPolicyFieldBuilder().getBuilder(); } /** * .Ydb.Table.ExecutionPolicy execution_policy = 5; */ public tech.ydb.proto.table.YdbTable.ExecutionPolicyOrBuilder getExecutionPolicyOrBuilder() { if (executionPolicyBuilder_ != null) { return executionPolicyBuilder_.getMessageOrBuilder(); } else { return executionPolicy_ == null ? tech.ydb.proto.table.YdbTable.ExecutionPolicy.getDefaultInstance() : executionPolicy_; } } /** * .Ydb.Table.ExecutionPolicy execution_policy = 5; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.ExecutionPolicy, tech.ydb.proto.table.YdbTable.ExecutionPolicy.Builder, tech.ydb.proto.table.YdbTable.ExecutionPolicyOrBuilder> getExecutionPolicyFieldBuilder() { if (executionPolicyBuilder_ == null) { executionPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.ExecutionPolicy, tech.ydb.proto.table.YdbTable.ExecutionPolicy.Builder, tech.ydb.proto.table.YdbTable.ExecutionPolicyOrBuilder>( getExecutionPolicy(), getParentForChildren(), isClean()); executionPolicy_ = null; } return executionPolicyBuilder_; } private tech.ydb.proto.table.YdbTable.ReplicationPolicy replicationPolicy_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.ReplicationPolicy, tech.ydb.proto.table.YdbTable.ReplicationPolicy.Builder, tech.ydb.proto.table.YdbTable.ReplicationPolicyOrBuilder> replicationPolicyBuilder_; /** * .Ydb.Table.ReplicationPolicy replication_policy = 6; * @return Whether the replicationPolicy field is set. */ public boolean hasReplicationPolicy() { return ((bitField0_ & 0x00000020) != 0); } /** * .Ydb.Table.ReplicationPolicy replication_policy = 6; * @return The replicationPolicy. */ public tech.ydb.proto.table.YdbTable.ReplicationPolicy getReplicationPolicy() { if (replicationPolicyBuilder_ == null) { return replicationPolicy_ == null ? tech.ydb.proto.table.YdbTable.ReplicationPolicy.getDefaultInstance() : replicationPolicy_; } else { return replicationPolicyBuilder_.getMessage(); } } /** * .Ydb.Table.ReplicationPolicy replication_policy = 6; */ public Builder setReplicationPolicy(tech.ydb.proto.table.YdbTable.ReplicationPolicy value) { if (replicationPolicyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } replicationPolicy_ = value; } else { replicationPolicyBuilder_.setMessage(value); } bitField0_ |= 0x00000020; onChanged(); return this; } /** * .Ydb.Table.ReplicationPolicy replication_policy = 6; */ public Builder setReplicationPolicy( tech.ydb.proto.table.YdbTable.ReplicationPolicy.Builder builderForValue) { if (replicationPolicyBuilder_ == null) { replicationPolicy_ = builderForValue.build(); } else { replicationPolicyBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; onChanged(); return this; } /** * .Ydb.Table.ReplicationPolicy replication_policy = 6; */ public Builder mergeReplicationPolicy(tech.ydb.proto.table.YdbTable.ReplicationPolicy value) { if (replicationPolicyBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && replicationPolicy_ != null && replicationPolicy_ != tech.ydb.proto.table.YdbTable.ReplicationPolicy.getDefaultInstance()) { getReplicationPolicyBuilder().mergeFrom(value); } else { replicationPolicy_ = value; } } else { replicationPolicyBuilder_.mergeFrom(value); } if (replicationPolicy_ != null) { bitField0_ |= 0x00000020; onChanged(); } return this; } /** * .Ydb.Table.ReplicationPolicy replication_policy = 6; */ public Builder clearReplicationPolicy() { bitField0_ = (bitField0_ & ~0x00000020); replicationPolicy_ = null; if (replicationPolicyBuilder_ != null) { replicationPolicyBuilder_.dispose(); replicationPolicyBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Table.ReplicationPolicy replication_policy = 6; */ public tech.ydb.proto.table.YdbTable.ReplicationPolicy.Builder getReplicationPolicyBuilder() { bitField0_ |= 0x00000020; onChanged(); return getReplicationPolicyFieldBuilder().getBuilder(); } /** * .Ydb.Table.ReplicationPolicy replication_policy = 6; */ public tech.ydb.proto.table.YdbTable.ReplicationPolicyOrBuilder getReplicationPolicyOrBuilder() { if (replicationPolicyBuilder_ != null) { return replicationPolicyBuilder_.getMessageOrBuilder(); } else { return replicationPolicy_ == null ? tech.ydb.proto.table.YdbTable.ReplicationPolicy.getDefaultInstance() : replicationPolicy_; } } /** * .Ydb.Table.ReplicationPolicy replication_policy = 6; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.ReplicationPolicy, tech.ydb.proto.table.YdbTable.ReplicationPolicy.Builder, tech.ydb.proto.table.YdbTable.ReplicationPolicyOrBuilder> getReplicationPolicyFieldBuilder() { if (replicationPolicyBuilder_ == null) { replicationPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.ReplicationPolicy, tech.ydb.proto.table.YdbTable.ReplicationPolicy.Builder, tech.ydb.proto.table.YdbTable.ReplicationPolicyOrBuilder>( getReplicationPolicy(), getParentForChildren(), isClean()); replicationPolicy_ = null; } return replicationPolicyBuilder_; } private tech.ydb.proto.table.YdbTable.CachingPolicy cachingPolicy_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.CachingPolicy, tech.ydb.proto.table.YdbTable.CachingPolicy.Builder, tech.ydb.proto.table.YdbTable.CachingPolicyOrBuilder> cachingPolicyBuilder_; /** * .Ydb.Table.CachingPolicy caching_policy = 7; * @return Whether the cachingPolicy field is set. */ public boolean hasCachingPolicy() { return ((bitField0_ & 0x00000040) != 0); } /** * .Ydb.Table.CachingPolicy caching_policy = 7; * @return The cachingPolicy. */ public tech.ydb.proto.table.YdbTable.CachingPolicy getCachingPolicy() { if (cachingPolicyBuilder_ == null) { return cachingPolicy_ == null ? tech.ydb.proto.table.YdbTable.CachingPolicy.getDefaultInstance() : cachingPolicy_; } else { return cachingPolicyBuilder_.getMessage(); } } /** * .Ydb.Table.CachingPolicy caching_policy = 7; */ public Builder setCachingPolicy(tech.ydb.proto.table.YdbTable.CachingPolicy value) { if (cachingPolicyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } cachingPolicy_ = value; } else { cachingPolicyBuilder_.setMessage(value); } bitField0_ |= 0x00000040; onChanged(); return this; } /** * .Ydb.Table.CachingPolicy caching_policy = 7; */ public Builder setCachingPolicy( tech.ydb.proto.table.YdbTable.CachingPolicy.Builder builderForValue) { if (cachingPolicyBuilder_ == null) { cachingPolicy_ = builderForValue.build(); } else { cachingPolicyBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; onChanged(); return this; } /** * .Ydb.Table.CachingPolicy caching_policy = 7; */ public Builder mergeCachingPolicy(tech.ydb.proto.table.YdbTable.CachingPolicy value) { if (cachingPolicyBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0) && cachingPolicy_ != null && cachingPolicy_ != tech.ydb.proto.table.YdbTable.CachingPolicy.getDefaultInstance()) { getCachingPolicyBuilder().mergeFrom(value); } else { cachingPolicy_ = value; } } else { cachingPolicyBuilder_.mergeFrom(value); } if (cachingPolicy_ != null) { bitField0_ |= 0x00000040; onChanged(); } return this; } /** * .Ydb.Table.CachingPolicy caching_policy = 7; */ public Builder clearCachingPolicy() { bitField0_ = (bitField0_ & ~0x00000040); cachingPolicy_ = null; if (cachingPolicyBuilder_ != null) { cachingPolicyBuilder_.dispose(); cachingPolicyBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Table.CachingPolicy caching_policy = 7; */ public tech.ydb.proto.table.YdbTable.CachingPolicy.Builder getCachingPolicyBuilder() { bitField0_ |= 0x00000040; onChanged(); return getCachingPolicyFieldBuilder().getBuilder(); } /** * .Ydb.Table.CachingPolicy caching_policy = 7; */ public tech.ydb.proto.table.YdbTable.CachingPolicyOrBuilder getCachingPolicyOrBuilder() { if (cachingPolicyBuilder_ != null) { return cachingPolicyBuilder_.getMessageOrBuilder(); } else { return cachingPolicy_ == null ? tech.ydb.proto.table.YdbTable.CachingPolicy.getDefaultInstance() : cachingPolicy_; } } /** * .Ydb.Table.CachingPolicy caching_policy = 7; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.CachingPolicy, tech.ydb.proto.table.YdbTable.CachingPolicy.Builder, tech.ydb.proto.table.YdbTable.CachingPolicyOrBuilder> getCachingPolicyFieldBuilder() { if (cachingPolicyBuilder_ == null) { cachingPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.CachingPolicy, tech.ydb.proto.table.YdbTable.CachingPolicy.Builder, tech.ydb.proto.table.YdbTable.CachingPolicyOrBuilder>( getCachingPolicy(), getParentForChildren(), isClean()); cachingPolicy_ = null; } return cachingPolicyBuilder_; } @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.Table.TableProfile) } // @@protoc_insertion_point(class_scope:Ydb.Table.TableProfile) private static final tech.ydb.proto.table.YdbTable.TableProfile DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.TableProfile(); } public static tech.ydb.proto.table.YdbTable.TableProfile getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TableProfile 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.table.YdbTable.TableProfile getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SequenceDescriptionOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.SequenceDescription) com.google.protobuf.MessageOrBuilder { /** *
     * mandatorys
     * 
* * optional string name = 1; * @return Whether the name field is set. */ boolean hasName(); /** *
     * mandatorys
     * 
* * optional string name = 1; * @return The name. */ java.lang.String getName(); /** *
     * mandatorys
     * 
* * optional string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * minimum value, defaults to 1 or Min<i64>
     * 
* * optional sint64 min_value = 2; * @return Whether the minValue field is set. */ boolean hasMinValue(); /** *
     * minimum value, defaults to 1 or Min<i64>
     * 
* * optional sint64 min_value = 2; * @return The minValue. */ long getMinValue(); /** *
     * maximum value, defaults to Max<i64> or -1
     * 
* * optional sint64 max_value = 3; * @return Whether the maxValue field is set. */ boolean hasMaxValue(); /** *
     * maximum value, defaults to Max<i64> or -1
     * 
* * optional sint64 max_value = 3; * @return The maxValue. */ long getMaxValue(); /** *
     * start value, defaults to min_value
     * 
* * optional sint64 start_value = 4; * @return Whether the startValue field is set. */ boolean hasStartValue(); /** *
     * start value, defaults to min_value
     * 
* * optional sint64 start_value = 4; * @return The startValue. */ long getStartValue(); /** *
     * number of items to cache, defaults to 1
     * 
* * optional uint64 cache = 5; * @return Whether the cache field is set. */ boolean hasCache(); /** *
     * number of items to cache, defaults to 1
     * 
* * optional uint64 cache = 5; * @return The cache. */ long getCache(); /** *
     * increment at each call, defaults to 1
     * 
* * optional sint64 increment = 6; * @return Whether the increment field is set. */ boolean hasIncrement(); /** *
     * increment at each call, defaults to 1
     * 
* * optional sint64 increment = 6; * @return The increment. */ long getIncrement(); /** *
     * true when cycle on overflow is allowed
     * 
* * optional bool cycle = 7; * @return Whether the cycle field is set. */ boolean hasCycle(); /** *
     * true when cycle on overflow is allowed
     * 
* * optional bool cycle = 7; * @return The cycle. */ boolean getCycle(); /** *
     * set_val(next_value, next_used) is executed atomically when creating
     * 
* * optional .Ydb.Table.SequenceDescription.SetVal set_val = 8; * @return Whether the setVal field is set. */ boolean hasSetVal(); /** *
     * set_val(next_value, next_used) is executed atomically when creating
     * 
* * optional .Ydb.Table.SequenceDescription.SetVal set_val = 8; * @return The setVal. */ tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal getSetVal(); /** *
     * set_val(next_value, next_used) is executed atomically when creating
     * 
* * optional .Ydb.Table.SequenceDescription.SetVal set_val = 8; */ tech.ydb.proto.table.YdbTable.SequenceDescription.SetValOrBuilder getSetValOrBuilder(); } /** * Protobuf type {@code Ydb.Table.SequenceDescription} */ public static final class SequenceDescription extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.SequenceDescription) SequenceDescriptionOrBuilder { private static final long serialVersionUID = 0L; // Use SequenceDescription.newBuilder() to construct. private SequenceDescription(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SequenceDescription() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SequenceDescription(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_SequenceDescription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_SequenceDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.SequenceDescription.class, tech.ydb.proto.table.YdbTable.SequenceDescription.Builder.class); } public interface SetValOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.SequenceDescription.SetVal) com.google.protobuf.MessageOrBuilder { /** * optional sint64 next_value = 1; * @return Whether the nextValue field is set. */ boolean hasNextValue(); /** * optional sint64 next_value = 1; * @return The nextValue. */ long getNextValue(); /** * optional bool next_used = 2; * @return Whether the nextUsed field is set. */ boolean hasNextUsed(); /** * optional bool next_used = 2; * @return The nextUsed. */ boolean getNextUsed(); } /** * Protobuf type {@code Ydb.Table.SequenceDescription.SetVal} */ public static final class SetVal extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.SequenceDescription.SetVal) SetValOrBuilder { private static final long serialVersionUID = 0L; // Use SetVal.newBuilder() to construct. private SetVal(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SetVal() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SetVal(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_SequenceDescription_SetVal_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_SequenceDescription_SetVal_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal.class, tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal.Builder.class); } private int bitField0_; public static final int NEXT_VALUE_FIELD_NUMBER = 1; private long nextValue_ = 0L; /** * optional sint64 next_value = 1; * @return Whether the nextValue field is set. */ @java.lang.Override public boolean hasNextValue() { return ((bitField0_ & 0x00000001) != 0); } /** * optional sint64 next_value = 1; * @return The nextValue. */ @java.lang.Override public long getNextValue() { return nextValue_; } public static final int NEXT_USED_FIELD_NUMBER = 2; private boolean nextUsed_ = false; /** * optional bool next_used = 2; * @return Whether the nextUsed field is set. */ @java.lang.Override public boolean hasNextUsed() { return ((bitField0_ & 0x00000002) != 0); } /** * optional bool next_used = 2; * @return The nextUsed. */ @java.lang.Override public boolean getNextUsed() { return nextUsed_; } 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.writeSInt64(1, nextValue_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeBool(2, nextUsed_); } 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 .computeSInt64Size(1, nextValue_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, nextUsed_); } 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.table.YdbTable.SequenceDescription.SetVal)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal other = (tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal) obj; if (hasNextValue() != other.hasNextValue()) return false; if (hasNextValue()) { if (getNextValue() != other.getNextValue()) return false; } if (hasNextUsed() != other.hasNextUsed()) return false; if (hasNextUsed()) { if (getNextUsed() != other.getNextUsed()) 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 (hasNextValue()) { hash = (37 * hash) + NEXT_VALUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getNextValue()); } if (hasNextUsed()) { hash = (37 * hash) + NEXT_USED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getNextUsed()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal 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.table.YdbTable.SequenceDescription.SetVal parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal 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.table.YdbTable.SequenceDescription.SetVal parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal 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.table.YdbTable.SequenceDescription.SetVal parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal 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.table.YdbTable.SequenceDescription.SetVal parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal 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.table.YdbTable.SequenceDescription.SetVal 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.Table.SequenceDescription.SetVal} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.SequenceDescription.SetVal) tech.ydb.proto.table.YdbTable.SequenceDescription.SetValOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_SequenceDescription_SetVal_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_SequenceDescription_SetVal_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal.class, tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; nextValue_ = 0L; nextUsed_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_SequenceDescription_SetVal_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal build() { tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal buildPartial() { tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal result = new tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.nextValue_ = nextValue_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.nextUsed_ = nextUsed_; to_bitField0_ |= 0x00000002; } 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.table.YdbTable.SequenceDescription.SetVal) { return mergeFrom((tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal other) { if (other == tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal.getDefaultInstance()) return this; if (other.hasNextValue()) { setNextValue(other.getNextValue()); } if (other.hasNextUsed()) { setNextUsed(other.getNextUsed()); } 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 8: { nextValue_ = input.readSInt64(); bitField0_ |= 0x00000001; break; } // case 8 case 16: { nextUsed_ = input.readBool(); bitField0_ |= 0x00000002; break; } // case 16 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 long nextValue_ ; /** * optional sint64 next_value = 1; * @return Whether the nextValue field is set. */ @java.lang.Override public boolean hasNextValue() { return ((bitField0_ & 0x00000001) != 0); } /** * optional sint64 next_value = 1; * @return The nextValue. */ @java.lang.Override public long getNextValue() { return nextValue_; } /** * optional sint64 next_value = 1; * @param value The nextValue to set. * @return This builder for chaining. */ public Builder setNextValue(long value) { nextValue_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * optional sint64 next_value = 1; * @return This builder for chaining. */ public Builder clearNextValue() { bitField0_ = (bitField0_ & ~0x00000001); nextValue_ = 0L; onChanged(); return this; } private boolean nextUsed_ ; /** * optional bool next_used = 2; * @return Whether the nextUsed field is set. */ @java.lang.Override public boolean hasNextUsed() { return ((bitField0_ & 0x00000002) != 0); } /** * optional bool next_used = 2; * @return The nextUsed. */ @java.lang.Override public boolean getNextUsed() { return nextUsed_; } /** * optional bool next_used = 2; * @param value The nextUsed to set. * @return This builder for chaining. */ public Builder setNextUsed(boolean value) { nextUsed_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * optional bool next_used = 2; * @return This builder for chaining. */ public Builder clearNextUsed() { bitField0_ = (bitField0_ & ~0x00000002); nextUsed_ = false; 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.Table.SequenceDescription.SetVal) } // @@protoc_insertion_point(class_scope:Ydb.Table.SequenceDescription.SetVal) private static final tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal(); } public static tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SetVal 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.table.YdbTable.SequenceDescription.SetVal getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** *
     * mandatorys
     * 
* * optional string name = 1; * @return Whether the name field is set. */ @java.lang.Override public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * mandatorys
     * 
* * optional 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; } } /** *
     * mandatorys
     * 
* * optional 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 MIN_VALUE_FIELD_NUMBER = 2; private long minValue_ = 0L; /** *
     * minimum value, defaults to 1 or Min<i64>
     * 
* * optional sint64 min_value = 2; * @return Whether the minValue field is set. */ @java.lang.Override public boolean hasMinValue() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * minimum value, defaults to 1 or Min<i64>
     * 
* * optional sint64 min_value = 2; * @return The minValue. */ @java.lang.Override public long getMinValue() { return minValue_; } public static final int MAX_VALUE_FIELD_NUMBER = 3; private long maxValue_ = 0L; /** *
     * maximum value, defaults to Max<i64> or -1
     * 
* * optional sint64 max_value = 3; * @return Whether the maxValue field is set. */ @java.lang.Override public boolean hasMaxValue() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * maximum value, defaults to Max<i64> or -1
     * 
* * optional sint64 max_value = 3; * @return The maxValue. */ @java.lang.Override public long getMaxValue() { return maxValue_; } public static final int START_VALUE_FIELD_NUMBER = 4; private long startValue_ = 0L; /** *
     * start value, defaults to min_value
     * 
* * optional sint64 start_value = 4; * @return Whether the startValue field is set. */ @java.lang.Override public boolean hasStartValue() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * start value, defaults to min_value
     * 
* * optional sint64 start_value = 4; * @return The startValue. */ @java.lang.Override public long getStartValue() { return startValue_; } public static final int CACHE_FIELD_NUMBER = 5; private long cache_ = 0L; /** *
     * number of items to cache, defaults to 1
     * 
* * optional uint64 cache = 5; * @return Whether the cache field is set. */ @java.lang.Override public boolean hasCache() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * number of items to cache, defaults to 1
     * 
* * optional uint64 cache = 5; * @return The cache. */ @java.lang.Override public long getCache() { return cache_; } public static final int INCREMENT_FIELD_NUMBER = 6; private long increment_ = 0L; /** *
     * increment at each call, defaults to 1
     * 
* * optional sint64 increment = 6; * @return Whether the increment field is set. */ @java.lang.Override public boolean hasIncrement() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * increment at each call, defaults to 1
     * 
* * optional sint64 increment = 6; * @return The increment. */ @java.lang.Override public long getIncrement() { return increment_; } public static final int CYCLE_FIELD_NUMBER = 7; private boolean cycle_ = false; /** *
     * true when cycle on overflow is allowed
     * 
* * optional bool cycle = 7; * @return Whether the cycle field is set. */ @java.lang.Override public boolean hasCycle() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * true when cycle on overflow is allowed
     * 
* * optional bool cycle = 7; * @return The cycle. */ @java.lang.Override public boolean getCycle() { return cycle_; } public static final int SET_VAL_FIELD_NUMBER = 8; private tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal setVal_; /** *
     * set_val(next_value, next_used) is executed atomically when creating
     * 
* * optional .Ydb.Table.SequenceDescription.SetVal set_val = 8; * @return Whether the setVal field is set. */ @java.lang.Override public boolean hasSetVal() { return ((bitField0_ & 0x00000080) != 0); } /** *
     * set_val(next_value, next_used) is executed atomically when creating
     * 
* * optional .Ydb.Table.SequenceDescription.SetVal set_val = 8; * @return The setVal. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal getSetVal() { return setVal_ == null ? tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal.getDefaultInstance() : setVal_; } /** *
     * set_val(next_value, next_used) is executed atomically when creating
     * 
* * optional .Ydb.Table.SequenceDescription.SetVal set_val = 8; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.SequenceDescription.SetValOrBuilder getSetValOrBuilder() { return setVal_ == null ? tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal.getDefaultInstance() : setVal_; } 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)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeSInt64(2, minValue_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeSInt64(3, maxValue_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeSInt64(4, startValue_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeUInt64(5, cache_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeSInt64(6, increment_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeBool(7, cycle_); } if (((bitField0_ & 0x00000080) != 0)) { output.writeMessage(8, getSetVal()); } 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.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeSInt64Size(2, minValue_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeSInt64Size(3, maxValue_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeSInt64Size(4, startValue_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(5, cache_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeSInt64Size(6, increment_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(7, cycle_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getSetVal()); } 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.table.YdbTable.SequenceDescription)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.SequenceDescription other = (tech.ydb.proto.table.YdbTable.SequenceDescription) obj; if (hasName() != other.hasName()) return false; if (hasName()) { if (!getName() .equals(other.getName())) return false; } if (hasMinValue() != other.hasMinValue()) return false; if (hasMinValue()) { if (getMinValue() != other.getMinValue()) return false; } if (hasMaxValue() != other.hasMaxValue()) return false; if (hasMaxValue()) { if (getMaxValue() != other.getMaxValue()) return false; } if (hasStartValue() != other.hasStartValue()) return false; if (hasStartValue()) { if (getStartValue() != other.getStartValue()) return false; } if (hasCache() != other.hasCache()) return false; if (hasCache()) { if (getCache() != other.getCache()) return false; } if (hasIncrement() != other.hasIncrement()) return false; if (hasIncrement()) { if (getIncrement() != other.getIncrement()) return false; } if (hasCycle() != other.hasCycle()) return false; if (hasCycle()) { if (getCycle() != other.getCycle()) return false; } if (hasSetVal() != other.hasSetVal()) return false; if (hasSetVal()) { if (!getSetVal() .equals(other.getSetVal())) 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 (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasMinValue()) { hash = (37 * hash) + MIN_VALUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMinValue()); } if (hasMaxValue()) { hash = (37 * hash) + MAX_VALUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMaxValue()); } if (hasStartValue()) { hash = (37 * hash) + START_VALUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getStartValue()); } if (hasCache()) { hash = (37 * hash) + CACHE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCache()); } if (hasIncrement()) { hash = (37 * hash) + INCREMENT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getIncrement()); } if (hasCycle()) { hash = (37 * hash) + CYCLE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getCycle()); } if (hasSetVal()) { hash = (37 * hash) + SET_VAL_FIELD_NUMBER; hash = (53 * hash) + getSetVal().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.SequenceDescription parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.SequenceDescription 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.table.YdbTable.SequenceDescription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.SequenceDescription 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.table.YdbTable.SequenceDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.SequenceDescription parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.SequenceDescription parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.SequenceDescription 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.table.YdbTable.SequenceDescription parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.SequenceDescription 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.table.YdbTable.SequenceDescription parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.SequenceDescription 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.table.YdbTable.SequenceDescription 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.Table.SequenceDescription} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.SequenceDescription) tech.ydb.proto.table.YdbTable.SequenceDescriptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_SequenceDescription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_SequenceDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.SequenceDescription.class, tech.ydb.proto.table.YdbTable.SequenceDescription.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.SequenceDescription.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getSetValFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; minValue_ = 0L; maxValue_ = 0L; startValue_ = 0L; cache_ = 0L; increment_ = 0L; cycle_ = false; setVal_ = null; if (setValBuilder_ != null) { setValBuilder_.dispose(); setValBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_SequenceDescription_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.SequenceDescription getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.SequenceDescription.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.SequenceDescription build() { tech.ydb.proto.table.YdbTable.SequenceDescription result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.SequenceDescription buildPartial() { tech.ydb.proto.table.YdbTable.SequenceDescription result = new tech.ydb.proto.table.YdbTable.SequenceDescription(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.SequenceDescription result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.minValue_ = minValue_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.maxValue_ = maxValue_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.startValue_ = startValue_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.cache_ = cache_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { result.increment_ = increment_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { result.cycle_ = cycle_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { result.setVal_ = setValBuilder_ == null ? setVal_ : setValBuilder_.build(); to_bitField0_ |= 0x00000080; } 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.table.YdbTable.SequenceDescription) { return mergeFrom((tech.ydb.proto.table.YdbTable.SequenceDescription)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.SequenceDescription other) { if (other == tech.ydb.proto.table.YdbTable.SequenceDescription.getDefaultInstance()) return this; if (other.hasName()) { name_ = other.name_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasMinValue()) { setMinValue(other.getMinValue()); } if (other.hasMaxValue()) { setMaxValue(other.getMaxValue()); } if (other.hasStartValue()) { setStartValue(other.getStartValue()); } if (other.hasCache()) { setCache(other.getCache()); } if (other.hasIncrement()) { setIncrement(other.getIncrement()); } if (other.hasCycle()) { setCycle(other.getCycle()); } if (other.hasSetVal()) { mergeSetVal(other.getSetVal()); } 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 16: { minValue_ = input.readSInt64(); bitField0_ |= 0x00000002; break; } // case 16 case 24: { maxValue_ = input.readSInt64(); bitField0_ |= 0x00000004; break; } // case 24 case 32: { startValue_ = input.readSInt64(); bitField0_ |= 0x00000008; break; } // case 32 case 40: { cache_ = input.readUInt64(); bitField0_ |= 0x00000010; break; } // case 40 case 48: { increment_ = input.readSInt64(); bitField0_ |= 0x00000020; break; } // case 48 case 56: { cycle_ = input.readBool(); bitField0_ |= 0x00000040; break; } // case 56 case 66: { input.readMessage( getSetValFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000080; break; } // case 66 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_ = ""; /** *
       * mandatorys
       * 
* * optional string name = 1; * @return Whether the name field is set. */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * mandatorys
       * 
* * optional 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; } } /** *
       * mandatorys
       * 
* * optional 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; } } /** *
       * mandatorys
       * 
* * optional 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; } /** *
       * mandatorys
       * 
* * optional string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * mandatorys
       * 
* * optional 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 long minValue_ ; /** *
       * minimum value, defaults to 1 or Min<i64>
       * 
* * optional sint64 min_value = 2; * @return Whether the minValue field is set. */ @java.lang.Override public boolean hasMinValue() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * minimum value, defaults to 1 or Min<i64>
       * 
* * optional sint64 min_value = 2; * @return The minValue. */ @java.lang.Override public long getMinValue() { return minValue_; } /** *
       * minimum value, defaults to 1 or Min<i64>
       * 
* * optional sint64 min_value = 2; * @param value The minValue to set. * @return This builder for chaining. */ public Builder setMinValue(long value) { minValue_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * minimum value, defaults to 1 or Min<i64>
       * 
* * optional sint64 min_value = 2; * @return This builder for chaining. */ public Builder clearMinValue() { bitField0_ = (bitField0_ & ~0x00000002); minValue_ = 0L; onChanged(); return this; } private long maxValue_ ; /** *
       * maximum value, defaults to Max<i64> or -1
       * 
* * optional sint64 max_value = 3; * @return Whether the maxValue field is set. */ @java.lang.Override public boolean hasMaxValue() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * maximum value, defaults to Max<i64> or -1
       * 
* * optional sint64 max_value = 3; * @return The maxValue. */ @java.lang.Override public long getMaxValue() { return maxValue_; } /** *
       * maximum value, defaults to Max<i64> or -1
       * 
* * optional sint64 max_value = 3; * @param value The maxValue to set. * @return This builder for chaining. */ public Builder setMaxValue(long value) { maxValue_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * maximum value, defaults to Max<i64> or -1
       * 
* * optional sint64 max_value = 3; * @return This builder for chaining. */ public Builder clearMaxValue() { bitField0_ = (bitField0_ & ~0x00000004); maxValue_ = 0L; onChanged(); return this; } private long startValue_ ; /** *
       * start value, defaults to min_value
       * 
* * optional sint64 start_value = 4; * @return Whether the startValue field is set. */ @java.lang.Override public boolean hasStartValue() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * start value, defaults to min_value
       * 
* * optional sint64 start_value = 4; * @return The startValue. */ @java.lang.Override public long getStartValue() { return startValue_; } /** *
       * start value, defaults to min_value
       * 
* * optional sint64 start_value = 4; * @param value The startValue to set. * @return This builder for chaining. */ public Builder setStartValue(long value) { startValue_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * start value, defaults to min_value
       * 
* * optional sint64 start_value = 4; * @return This builder for chaining. */ public Builder clearStartValue() { bitField0_ = (bitField0_ & ~0x00000008); startValue_ = 0L; onChanged(); return this; } private long cache_ ; /** *
       * number of items to cache, defaults to 1
       * 
* * optional uint64 cache = 5; * @return Whether the cache field is set. */ @java.lang.Override public boolean hasCache() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * number of items to cache, defaults to 1
       * 
* * optional uint64 cache = 5; * @return The cache. */ @java.lang.Override public long getCache() { return cache_; } /** *
       * number of items to cache, defaults to 1
       * 
* * optional uint64 cache = 5; * @param value The cache to set. * @return This builder for chaining. */ public Builder setCache(long value) { cache_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * number of items to cache, defaults to 1
       * 
* * optional uint64 cache = 5; * @return This builder for chaining. */ public Builder clearCache() { bitField0_ = (bitField0_ & ~0x00000010); cache_ = 0L; onChanged(); return this; } private long increment_ ; /** *
       * increment at each call, defaults to 1
       * 
* * optional sint64 increment = 6; * @return Whether the increment field is set. */ @java.lang.Override public boolean hasIncrement() { return ((bitField0_ & 0x00000020) != 0); } /** *
       * increment at each call, defaults to 1
       * 
* * optional sint64 increment = 6; * @return The increment. */ @java.lang.Override public long getIncrement() { return increment_; } /** *
       * increment at each call, defaults to 1
       * 
* * optional sint64 increment = 6; * @param value The increment to set. * @return This builder for chaining. */ public Builder setIncrement(long value) { increment_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * increment at each call, defaults to 1
       * 
* * optional sint64 increment = 6; * @return This builder for chaining. */ public Builder clearIncrement() { bitField0_ = (bitField0_ & ~0x00000020); increment_ = 0L; onChanged(); return this; } private boolean cycle_ ; /** *
       * true when cycle on overflow is allowed
       * 
* * optional bool cycle = 7; * @return Whether the cycle field is set. */ @java.lang.Override public boolean hasCycle() { return ((bitField0_ & 0x00000040) != 0); } /** *
       * true when cycle on overflow is allowed
       * 
* * optional bool cycle = 7; * @return The cycle. */ @java.lang.Override public boolean getCycle() { return cycle_; } /** *
       * true when cycle on overflow is allowed
       * 
* * optional bool cycle = 7; * @param value The cycle to set. * @return This builder for chaining. */ public Builder setCycle(boolean value) { cycle_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** *
       * true when cycle on overflow is allowed
       * 
* * optional bool cycle = 7; * @return This builder for chaining. */ public Builder clearCycle() { bitField0_ = (bitField0_ & ~0x00000040); cycle_ = false; onChanged(); return this; } private tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal setVal_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal, tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal.Builder, tech.ydb.proto.table.YdbTable.SequenceDescription.SetValOrBuilder> setValBuilder_; /** *
       * set_val(next_value, next_used) is executed atomically when creating
       * 
* * optional .Ydb.Table.SequenceDescription.SetVal set_val = 8; * @return Whether the setVal field is set. */ public boolean hasSetVal() { return ((bitField0_ & 0x00000080) != 0); } /** *
       * set_val(next_value, next_used) is executed atomically when creating
       * 
* * optional .Ydb.Table.SequenceDescription.SetVal set_val = 8; * @return The setVal. */ public tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal getSetVal() { if (setValBuilder_ == null) { return setVal_ == null ? tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal.getDefaultInstance() : setVal_; } else { return setValBuilder_.getMessage(); } } /** *
       * set_val(next_value, next_used) is executed atomically when creating
       * 
* * optional .Ydb.Table.SequenceDescription.SetVal set_val = 8; */ public Builder setSetVal(tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal value) { if (setValBuilder_ == null) { if (value == null) { throw new NullPointerException(); } setVal_ = value; } else { setValBuilder_.setMessage(value); } bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * set_val(next_value, next_used) is executed atomically when creating
       * 
* * optional .Ydb.Table.SequenceDescription.SetVal set_val = 8; */ public Builder setSetVal( tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal.Builder builderForValue) { if (setValBuilder_ == null) { setVal_ = builderForValue.build(); } else { setValBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * set_val(next_value, next_used) is executed atomically when creating
       * 
* * optional .Ydb.Table.SequenceDescription.SetVal set_val = 8; */ public Builder mergeSetVal(tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal value) { if (setValBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0) && setVal_ != null && setVal_ != tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal.getDefaultInstance()) { getSetValBuilder().mergeFrom(value); } else { setVal_ = value; } } else { setValBuilder_.mergeFrom(value); } if (setVal_ != null) { bitField0_ |= 0x00000080; onChanged(); } return this; } /** *
       * set_val(next_value, next_used) is executed atomically when creating
       * 
* * optional .Ydb.Table.SequenceDescription.SetVal set_val = 8; */ public Builder clearSetVal() { bitField0_ = (bitField0_ & ~0x00000080); setVal_ = null; if (setValBuilder_ != null) { setValBuilder_.dispose(); setValBuilder_ = null; } onChanged(); return this; } /** *
       * set_val(next_value, next_used) is executed atomically when creating
       * 
* * optional .Ydb.Table.SequenceDescription.SetVal set_val = 8; */ public tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal.Builder getSetValBuilder() { bitField0_ |= 0x00000080; onChanged(); return getSetValFieldBuilder().getBuilder(); } /** *
       * set_val(next_value, next_used) is executed atomically when creating
       * 
* * optional .Ydb.Table.SequenceDescription.SetVal set_val = 8; */ public tech.ydb.proto.table.YdbTable.SequenceDescription.SetValOrBuilder getSetValOrBuilder() { if (setValBuilder_ != null) { return setValBuilder_.getMessageOrBuilder(); } else { return setVal_ == null ? tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal.getDefaultInstance() : setVal_; } } /** *
       * set_val(next_value, next_used) is executed atomically when creating
       * 
* * optional .Ydb.Table.SequenceDescription.SetVal set_val = 8; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal, tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal.Builder, tech.ydb.proto.table.YdbTable.SequenceDescription.SetValOrBuilder> getSetValFieldBuilder() { if (setValBuilder_ == null) { setValBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal, tech.ydb.proto.table.YdbTable.SequenceDescription.SetVal.Builder, tech.ydb.proto.table.YdbTable.SequenceDescription.SetValOrBuilder>( getSetVal(), getParentForChildren(), isClean()); setVal_ = null; } return setValBuilder_; } @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.Table.SequenceDescription) } // @@protoc_insertion_point(class_scope:Ydb.Table.SequenceDescription) private static final tech.ydb.proto.table.YdbTable.SequenceDescription DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.SequenceDescription(); } public static tech.ydb.proto.table.YdbTable.SequenceDescription getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SequenceDescription 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.table.YdbTable.SequenceDescription getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ColumnMetaOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.ColumnMeta) com.google.protobuf.MessageOrBuilder { /** *
     * Name of column
     * 
* * string name = 1; * @return The name. */ java.lang.String getName(); /** *
     * Name of column
     * 
* * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * Type of column
     * 
* * .Ydb.Type type = 2; * @return Whether the type field is set. */ boolean hasType(); /** *
     * Type of column
     * 
* * .Ydb.Type type = 2; * @return The type. */ tech.ydb.proto.ValueProtos.Type getType(); /** *
     * Type of column
     * 
* * .Ydb.Type type = 2; */ tech.ydb.proto.ValueProtos.TypeOrBuilder getTypeOrBuilder(); /** *
     * Column family name of the column
     * 
* * string family = 3; * @return The family. */ java.lang.String getFamily(); /** *
     * Column family name of the column
     * 
* * string family = 3; * @return The bytes for family. */ com.google.protobuf.ByteString getFamilyBytes(); /** *
     * Column nullability
     * 
* * optional bool not_null = 4; * @return Whether the notNull field is set. */ boolean hasNotNull(); /** *
     * Column nullability
     * 
* * optional bool not_null = 4; * @return The notNull. */ boolean getNotNull(); /** * .Ydb.TypedValue from_literal = 5; * @return Whether the fromLiteral field is set. */ boolean hasFromLiteral(); /** * .Ydb.TypedValue from_literal = 5; * @return The fromLiteral. */ tech.ydb.proto.ValueProtos.TypedValue getFromLiteral(); /** * .Ydb.TypedValue from_literal = 5; */ tech.ydb.proto.ValueProtos.TypedValueOrBuilder getFromLiteralOrBuilder(); /** * .Ydb.Table.SequenceDescription from_sequence = 6; * @return Whether the fromSequence field is set. */ boolean hasFromSequence(); /** * .Ydb.Table.SequenceDescription from_sequence = 6; * @return The fromSequence. */ tech.ydb.proto.table.YdbTable.SequenceDescription getFromSequence(); /** * .Ydb.Table.SequenceDescription from_sequence = 6; */ tech.ydb.proto.table.YdbTable.SequenceDescriptionOrBuilder getFromSequenceOrBuilder(); tech.ydb.proto.table.YdbTable.ColumnMeta.DefaultValueCase getDefaultValueCase(); } /** * Protobuf type {@code Ydb.Table.ColumnMeta} */ public static final class ColumnMeta extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.ColumnMeta) ColumnMetaOrBuilder { private static final long serialVersionUID = 0L; // Use ColumnMeta.newBuilder() to construct. private ColumnMeta(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ColumnMeta() { name_ = ""; family_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ColumnMeta(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ColumnMeta_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ColumnMeta_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ColumnMeta.class, tech.ydb.proto.table.YdbTable.ColumnMeta.Builder.class); } private int bitField0_; private int defaultValueCase_ = 0; @SuppressWarnings("serial") private java.lang.Object defaultValue_; public enum DefaultValueCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { FROM_LITERAL(5), FROM_SEQUENCE(6), DEFAULTVALUE_NOT_SET(0); private final int value; private DefaultValueCase(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 DefaultValueCase valueOf(int value) { return forNumber(value); } public static DefaultValueCase forNumber(int value) { switch (value) { case 5: return FROM_LITERAL; case 6: return FROM_SEQUENCE; case 0: return DEFAULTVALUE_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public DefaultValueCase getDefaultValueCase() { return DefaultValueCase.forNumber( defaultValueCase_); } public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** *
     * Name of column
     * 
* * 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 column
     * 
* * 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 TYPE_FIELD_NUMBER = 2; private tech.ydb.proto.ValueProtos.Type type_; /** *
     * Type of column
     * 
* * .Ydb.Type type = 2; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Type of column
     * 
* * .Ydb.Type type = 2; * @return The type. */ @java.lang.Override public tech.ydb.proto.ValueProtos.Type getType() { return type_ == null ? tech.ydb.proto.ValueProtos.Type.getDefaultInstance() : type_; } /** *
     * Type of column
     * 
* * .Ydb.Type type = 2; */ @java.lang.Override public tech.ydb.proto.ValueProtos.TypeOrBuilder getTypeOrBuilder() { return type_ == null ? tech.ydb.proto.ValueProtos.Type.getDefaultInstance() : type_; } public static final int FAMILY_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object family_ = ""; /** *
     * Column family name of the column
     * 
* * string family = 3; * @return The family. */ @java.lang.Override public java.lang.String getFamily() { java.lang.Object ref = family_; 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(); family_ = s; return s; } } /** *
     * Column family name of the column
     * 
* * string family = 3; * @return The bytes for family. */ @java.lang.Override public com.google.protobuf.ByteString getFamilyBytes() { java.lang.Object ref = family_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); family_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NOT_NULL_FIELD_NUMBER = 4; private boolean notNull_ = false; /** *
     * Column nullability
     * 
* * optional bool not_null = 4; * @return Whether the notNull field is set. */ @java.lang.Override public boolean hasNotNull() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Column nullability
     * 
* * optional bool not_null = 4; * @return The notNull. */ @java.lang.Override public boolean getNotNull() { return notNull_; } public static final int FROM_LITERAL_FIELD_NUMBER = 5; /** * .Ydb.TypedValue from_literal = 5; * @return Whether the fromLiteral field is set. */ @java.lang.Override public boolean hasFromLiteral() { return defaultValueCase_ == 5; } /** * .Ydb.TypedValue from_literal = 5; * @return The fromLiteral. */ @java.lang.Override public tech.ydb.proto.ValueProtos.TypedValue getFromLiteral() { if (defaultValueCase_ == 5) { return (tech.ydb.proto.ValueProtos.TypedValue) defaultValue_; } return tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance(); } /** * .Ydb.TypedValue from_literal = 5; */ @java.lang.Override public tech.ydb.proto.ValueProtos.TypedValueOrBuilder getFromLiteralOrBuilder() { if (defaultValueCase_ == 5) { return (tech.ydb.proto.ValueProtos.TypedValue) defaultValue_; } return tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance(); } public static final int FROM_SEQUENCE_FIELD_NUMBER = 6; /** * .Ydb.Table.SequenceDescription from_sequence = 6; * @return Whether the fromSequence field is set. */ @java.lang.Override public boolean hasFromSequence() { return defaultValueCase_ == 6; } /** * .Ydb.Table.SequenceDescription from_sequence = 6; * @return The fromSequence. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.SequenceDescription getFromSequence() { if (defaultValueCase_ == 6) { return (tech.ydb.proto.table.YdbTable.SequenceDescription) defaultValue_; } return tech.ydb.proto.table.YdbTable.SequenceDescription.getDefaultInstance(); } /** * .Ydb.Table.SequenceDescription from_sequence = 6; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.SequenceDescriptionOrBuilder getFromSequenceOrBuilder() { if (defaultValueCase_ == 6) { return (tech.ydb.proto.table.YdbTable.SequenceDescription) defaultValue_; } return tech.ydb.proto.table.YdbTable.SequenceDescription.getDefaultInstance(); } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getType()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(family_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, family_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeBool(4, notNull_); } if (defaultValueCase_ == 5) { output.writeMessage(5, (tech.ydb.proto.ValueProtos.TypedValue) defaultValue_); } if (defaultValueCase_ == 6) { output.writeMessage(6, (tech.ydb.proto.table.YdbTable.SequenceDescription) defaultValue_); } 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 (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getType()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(family_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, family_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, notNull_); } if (defaultValueCase_ == 5) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, (tech.ydb.proto.ValueProtos.TypedValue) defaultValue_); } if (defaultValueCase_ == 6) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, (tech.ydb.proto.table.YdbTable.SequenceDescription) defaultValue_); } 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.table.YdbTable.ColumnMeta)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.ColumnMeta other = (tech.ydb.proto.table.YdbTable.ColumnMeta) obj; if (!getName() .equals(other.getName())) return false; if (hasType() != other.hasType()) return false; if (hasType()) { if (!getType() .equals(other.getType())) return false; } if (!getFamily() .equals(other.getFamily())) return false; if (hasNotNull() != other.hasNotNull()) return false; if (hasNotNull()) { if (getNotNull() != other.getNotNull()) return false; } if (!getDefaultValueCase().equals(other.getDefaultValueCase())) return false; switch (defaultValueCase_) { case 5: if (!getFromLiteral() .equals(other.getFromLiteral())) return false; break; case 6: if (!getFromSequence() .equals(other.getFromSequence())) 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(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); if (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType().hashCode(); } hash = (37 * hash) + FAMILY_FIELD_NUMBER; hash = (53 * hash) + getFamily().hashCode(); if (hasNotNull()) { hash = (37 * hash) + NOT_NULL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getNotNull()); } switch (defaultValueCase_) { case 5: hash = (37 * hash) + FROM_LITERAL_FIELD_NUMBER; hash = (53 * hash) + getFromLiteral().hashCode(); break; case 6: hash = (37 * hash) + FROM_SEQUENCE_FIELD_NUMBER; hash = (53 * hash) + getFromSequence().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.ColumnMeta parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ColumnMeta 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.table.YdbTable.ColumnMeta parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ColumnMeta 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.table.YdbTable.ColumnMeta parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ColumnMeta parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.ColumnMeta parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ColumnMeta 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.table.YdbTable.ColumnMeta parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ColumnMeta 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.table.YdbTable.ColumnMeta parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ColumnMeta 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.table.YdbTable.ColumnMeta 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.Table.ColumnMeta} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.ColumnMeta) tech.ydb.proto.table.YdbTable.ColumnMetaOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ColumnMeta_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ColumnMeta_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ColumnMeta.class, tech.ydb.proto.table.YdbTable.ColumnMeta.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.ColumnMeta.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTypeFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; type_ = null; if (typeBuilder_ != null) { typeBuilder_.dispose(); typeBuilder_ = null; } family_ = ""; notNull_ = false; if (fromLiteralBuilder_ != null) { fromLiteralBuilder_.clear(); } if (fromSequenceBuilder_ != null) { fromSequenceBuilder_.clear(); } defaultValueCase_ = 0; defaultValue_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ColumnMeta_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ColumnMeta getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.ColumnMeta.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.ColumnMeta build() { tech.ydb.proto.table.YdbTable.ColumnMeta result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ColumnMeta buildPartial() { tech.ydb.proto.table.YdbTable.ColumnMeta result = new tech.ydb.proto.table.YdbTable.ColumnMeta(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.ColumnMeta result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.type_ = typeBuilder_ == null ? type_ : typeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.family_ = family_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.notNull_ = notNull_; to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } private void buildPartialOneofs(tech.ydb.proto.table.YdbTable.ColumnMeta result) { result.defaultValueCase_ = defaultValueCase_; result.defaultValue_ = this.defaultValue_; if (defaultValueCase_ == 5 && fromLiteralBuilder_ != null) { result.defaultValue_ = fromLiteralBuilder_.build(); } if (defaultValueCase_ == 6 && fromSequenceBuilder_ != null) { result.defaultValue_ = fromSequenceBuilder_.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.table.YdbTable.ColumnMeta) { return mergeFrom((tech.ydb.proto.table.YdbTable.ColumnMeta)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.ColumnMeta other) { if (other == tech.ydb.proto.table.YdbTable.ColumnMeta.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasType()) { mergeType(other.getType()); } if (!other.getFamily().isEmpty()) { family_ = other.family_; bitField0_ |= 0x00000004; onChanged(); } if (other.hasNotNull()) { setNotNull(other.getNotNull()); } switch (other.getDefaultValueCase()) { case FROM_LITERAL: { mergeFromLiteral(other.getFromLiteral()); break; } case FROM_SEQUENCE: { mergeFromSequence(other.getFromSequence()); break; } case DEFAULTVALUE_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: { name_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getTypeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 26: { family_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 case 32: { notNull_ = input.readBool(); bitField0_ |= 0x00000008; break; } // case 32 case 42: { input.readMessage( getFromLiteralFieldBuilder().getBuilder(), extensionRegistry); defaultValueCase_ = 5; break; } // case 42 case 50: { input.readMessage( getFromSequenceFieldBuilder().getBuilder(), extensionRegistry); defaultValueCase_ = 6; break; } // case 50 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 defaultValueCase_ = 0; private java.lang.Object defaultValue_; public DefaultValueCase getDefaultValueCase() { return DefaultValueCase.forNumber( defaultValueCase_); } public Builder clearDefaultValue() { defaultValueCase_ = 0; defaultValue_ = null; onChanged(); return this; } private int bitField0_; private java.lang.Object name_ = ""; /** *
       * Name of column
       * 
* * 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 column
       * 
* * 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 column
       * 
* * 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 column
       * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Name of column
       * 
* * 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 tech.ydb.proto.ValueProtos.Type type_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.ValueProtos.Type, tech.ydb.proto.ValueProtos.Type.Builder, tech.ydb.proto.ValueProtos.TypeOrBuilder> typeBuilder_; /** *
       * Type of column
       * 
* * .Ydb.Type type = 2; * @return Whether the type field is set. */ public boolean hasType() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Type of column
       * 
* * .Ydb.Type type = 2; * @return The type. */ public tech.ydb.proto.ValueProtos.Type getType() { if (typeBuilder_ == null) { return type_ == null ? tech.ydb.proto.ValueProtos.Type.getDefaultInstance() : type_; } else { return typeBuilder_.getMessage(); } } /** *
       * Type of column
       * 
* * .Ydb.Type type = 2; */ public Builder setType(tech.ydb.proto.ValueProtos.Type value) { if (typeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; } else { typeBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Type of column
       * 
* * .Ydb.Type type = 2; */ public Builder setType( tech.ydb.proto.ValueProtos.Type.Builder builderForValue) { if (typeBuilder_ == null) { type_ = builderForValue.build(); } else { typeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Type of column
       * 
* * .Ydb.Type type = 2; */ public Builder mergeType(tech.ydb.proto.ValueProtos.Type value) { if (typeBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && type_ != null && type_ != tech.ydb.proto.ValueProtos.Type.getDefaultInstance()) { getTypeBuilder().mergeFrom(value); } else { type_ = value; } } else { typeBuilder_.mergeFrom(value); } if (type_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** *
       * Type of column
       * 
* * .Ydb.Type type = 2; */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000002); type_ = null; if (typeBuilder_ != null) { typeBuilder_.dispose(); typeBuilder_ = null; } onChanged(); return this; } /** *
       * Type of column
       * 
* * .Ydb.Type type = 2; */ public tech.ydb.proto.ValueProtos.Type.Builder getTypeBuilder() { bitField0_ |= 0x00000002; onChanged(); return getTypeFieldBuilder().getBuilder(); } /** *
       * Type of column
       * 
* * .Ydb.Type type = 2; */ public tech.ydb.proto.ValueProtos.TypeOrBuilder getTypeOrBuilder() { if (typeBuilder_ != null) { return typeBuilder_.getMessageOrBuilder(); } else { return type_ == null ? tech.ydb.proto.ValueProtos.Type.getDefaultInstance() : type_; } } /** *
       * Type of column
       * 
* * .Ydb.Type type = 2; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.ValueProtos.Type, tech.ydb.proto.ValueProtos.Type.Builder, tech.ydb.proto.ValueProtos.TypeOrBuilder> getTypeFieldBuilder() { if (typeBuilder_ == null) { typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.ValueProtos.Type, tech.ydb.proto.ValueProtos.Type.Builder, tech.ydb.proto.ValueProtos.TypeOrBuilder>( getType(), getParentForChildren(), isClean()); type_ = null; } return typeBuilder_; } private java.lang.Object family_ = ""; /** *
       * Column family name of the column
       * 
* * string family = 3; * @return The family. */ public java.lang.String getFamily() { java.lang.Object ref = family_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); family_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Column family name of the column
       * 
* * string family = 3; * @return The bytes for family. */ public com.google.protobuf.ByteString getFamilyBytes() { java.lang.Object ref = family_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); family_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Column family name of the column
       * 
* * string family = 3; * @param value The family to set. * @return This builder for chaining. */ public Builder setFamily( java.lang.String value) { if (value == null) { throw new NullPointerException(); } family_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * Column family name of the column
       * 
* * string family = 3; * @return This builder for chaining. */ public Builder clearFamily() { family_ = getDefaultInstance().getFamily(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** *
       * Column family name of the column
       * 
* * string family = 3; * @param value The bytes for family to set. * @return This builder for chaining. */ public Builder setFamilyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); family_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private boolean notNull_ ; /** *
       * Column nullability
       * 
* * optional bool not_null = 4; * @return Whether the notNull field is set. */ @java.lang.Override public boolean hasNotNull() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Column nullability
       * 
* * optional bool not_null = 4; * @return The notNull. */ @java.lang.Override public boolean getNotNull() { return notNull_; } /** *
       * Column nullability
       * 
* * optional bool not_null = 4; * @param value The notNull to set. * @return This builder for chaining. */ public Builder setNotNull(boolean value) { notNull_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * Column nullability
       * 
* * optional bool not_null = 4; * @return This builder for chaining. */ public Builder clearNotNull() { bitField0_ = (bitField0_ & ~0x00000008); notNull_ = false; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.ValueProtos.TypedValue, tech.ydb.proto.ValueProtos.TypedValue.Builder, tech.ydb.proto.ValueProtos.TypedValueOrBuilder> fromLiteralBuilder_; /** * .Ydb.TypedValue from_literal = 5; * @return Whether the fromLiteral field is set. */ @java.lang.Override public boolean hasFromLiteral() { return defaultValueCase_ == 5; } /** * .Ydb.TypedValue from_literal = 5; * @return The fromLiteral. */ @java.lang.Override public tech.ydb.proto.ValueProtos.TypedValue getFromLiteral() { if (fromLiteralBuilder_ == null) { if (defaultValueCase_ == 5) { return (tech.ydb.proto.ValueProtos.TypedValue) defaultValue_; } return tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance(); } else { if (defaultValueCase_ == 5) { return fromLiteralBuilder_.getMessage(); } return tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance(); } } /** * .Ydb.TypedValue from_literal = 5; */ public Builder setFromLiteral(tech.ydb.proto.ValueProtos.TypedValue value) { if (fromLiteralBuilder_ == null) { if (value == null) { throw new NullPointerException(); } defaultValue_ = value; onChanged(); } else { fromLiteralBuilder_.setMessage(value); } defaultValueCase_ = 5; return this; } /** * .Ydb.TypedValue from_literal = 5; */ public Builder setFromLiteral( tech.ydb.proto.ValueProtos.TypedValue.Builder builderForValue) { if (fromLiteralBuilder_ == null) { defaultValue_ = builderForValue.build(); onChanged(); } else { fromLiteralBuilder_.setMessage(builderForValue.build()); } defaultValueCase_ = 5; return this; } /** * .Ydb.TypedValue from_literal = 5; */ public Builder mergeFromLiteral(tech.ydb.proto.ValueProtos.TypedValue value) { if (fromLiteralBuilder_ == null) { if (defaultValueCase_ == 5 && defaultValue_ != tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance()) { defaultValue_ = tech.ydb.proto.ValueProtos.TypedValue.newBuilder((tech.ydb.proto.ValueProtos.TypedValue) defaultValue_) .mergeFrom(value).buildPartial(); } else { defaultValue_ = value; } onChanged(); } else { if (defaultValueCase_ == 5) { fromLiteralBuilder_.mergeFrom(value); } else { fromLiteralBuilder_.setMessage(value); } } defaultValueCase_ = 5; return this; } /** * .Ydb.TypedValue from_literal = 5; */ public Builder clearFromLiteral() { if (fromLiteralBuilder_ == null) { if (defaultValueCase_ == 5) { defaultValueCase_ = 0; defaultValue_ = null; onChanged(); } } else { if (defaultValueCase_ == 5) { defaultValueCase_ = 0; defaultValue_ = null; } fromLiteralBuilder_.clear(); } return this; } /** * .Ydb.TypedValue from_literal = 5; */ public tech.ydb.proto.ValueProtos.TypedValue.Builder getFromLiteralBuilder() { return getFromLiteralFieldBuilder().getBuilder(); } /** * .Ydb.TypedValue from_literal = 5; */ @java.lang.Override public tech.ydb.proto.ValueProtos.TypedValueOrBuilder getFromLiteralOrBuilder() { if ((defaultValueCase_ == 5) && (fromLiteralBuilder_ != null)) { return fromLiteralBuilder_.getMessageOrBuilder(); } else { if (defaultValueCase_ == 5) { return (tech.ydb.proto.ValueProtos.TypedValue) defaultValue_; } return tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance(); } } /** * .Ydb.TypedValue from_literal = 5; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.ValueProtos.TypedValue, tech.ydb.proto.ValueProtos.TypedValue.Builder, tech.ydb.proto.ValueProtos.TypedValueOrBuilder> getFromLiteralFieldBuilder() { if (fromLiteralBuilder_ == null) { if (!(defaultValueCase_ == 5)) { defaultValue_ = tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance(); } fromLiteralBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.ValueProtos.TypedValue, tech.ydb.proto.ValueProtos.TypedValue.Builder, tech.ydb.proto.ValueProtos.TypedValueOrBuilder>( (tech.ydb.proto.ValueProtos.TypedValue) defaultValue_, getParentForChildren(), isClean()); defaultValue_ = null; } defaultValueCase_ = 5; onChanged(); return fromLiteralBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.SequenceDescription, tech.ydb.proto.table.YdbTable.SequenceDescription.Builder, tech.ydb.proto.table.YdbTable.SequenceDescriptionOrBuilder> fromSequenceBuilder_; /** * .Ydb.Table.SequenceDescription from_sequence = 6; * @return Whether the fromSequence field is set. */ @java.lang.Override public boolean hasFromSequence() { return defaultValueCase_ == 6; } /** * .Ydb.Table.SequenceDescription from_sequence = 6; * @return The fromSequence. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.SequenceDescription getFromSequence() { if (fromSequenceBuilder_ == null) { if (defaultValueCase_ == 6) { return (tech.ydb.proto.table.YdbTable.SequenceDescription) defaultValue_; } return tech.ydb.proto.table.YdbTable.SequenceDescription.getDefaultInstance(); } else { if (defaultValueCase_ == 6) { return fromSequenceBuilder_.getMessage(); } return tech.ydb.proto.table.YdbTable.SequenceDescription.getDefaultInstance(); } } /** * .Ydb.Table.SequenceDescription from_sequence = 6; */ public Builder setFromSequence(tech.ydb.proto.table.YdbTable.SequenceDescription value) { if (fromSequenceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } defaultValue_ = value; onChanged(); } else { fromSequenceBuilder_.setMessage(value); } defaultValueCase_ = 6; return this; } /** * .Ydb.Table.SequenceDescription from_sequence = 6; */ public Builder setFromSequence( tech.ydb.proto.table.YdbTable.SequenceDescription.Builder builderForValue) { if (fromSequenceBuilder_ == null) { defaultValue_ = builderForValue.build(); onChanged(); } else { fromSequenceBuilder_.setMessage(builderForValue.build()); } defaultValueCase_ = 6; return this; } /** * .Ydb.Table.SequenceDescription from_sequence = 6; */ public Builder mergeFromSequence(tech.ydb.proto.table.YdbTable.SequenceDescription value) { if (fromSequenceBuilder_ == null) { if (defaultValueCase_ == 6 && defaultValue_ != tech.ydb.proto.table.YdbTable.SequenceDescription.getDefaultInstance()) { defaultValue_ = tech.ydb.proto.table.YdbTable.SequenceDescription.newBuilder((tech.ydb.proto.table.YdbTable.SequenceDescription) defaultValue_) .mergeFrom(value).buildPartial(); } else { defaultValue_ = value; } onChanged(); } else { if (defaultValueCase_ == 6) { fromSequenceBuilder_.mergeFrom(value); } else { fromSequenceBuilder_.setMessage(value); } } defaultValueCase_ = 6; return this; } /** * .Ydb.Table.SequenceDescription from_sequence = 6; */ public Builder clearFromSequence() { if (fromSequenceBuilder_ == null) { if (defaultValueCase_ == 6) { defaultValueCase_ = 0; defaultValue_ = null; onChanged(); } } else { if (defaultValueCase_ == 6) { defaultValueCase_ = 0; defaultValue_ = null; } fromSequenceBuilder_.clear(); } return this; } /** * .Ydb.Table.SequenceDescription from_sequence = 6; */ public tech.ydb.proto.table.YdbTable.SequenceDescription.Builder getFromSequenceBuilder() { return getFromSequenceFieldBuilder().getBuilder(); } /** * .Ydb.Table.SequenceDescription from_sequence = 6; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.SequenceDescriptionOrBuilder getFromSequenceOrBuilder() { if ((defaultValueCase_ == 6) && (fromSequenceBuilder_ != null)) { return fromSequenceBuilder_.getMessageOrBuilder(); } else { if (defaultValueCase_ == 6) { return (tech.ydb.proto.table.YdbTable.SequenceDescription) defaultValue_; } return tech.ydb.proto.table.YdbTable.SequenceDescription.getDefaultInstance(); } } /** * .Ydb.Table.SequenceDescription from_sequence = 6; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.SequenceDescription, tech.ydb.proto.table.YdbTable.SequenceDescription.Builder, tech.ydb.proto.table.YdbTable.SequenceDescriptionOrBuilder> getFromSequenceFieldBuilder() { if (fromSequenceBuilder_ == null) { if (!(defaultValueCase_ == 6)) { defaultValue_ = tech.ydb.proto.table.YdbTable.SequenceDescription.getDefaultInstance(); } fromSequenceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.SequenceDescription, tech.ydb.proto.table.YdbTable.SequenceDescription.Builder, tech.ydb.proto.table.YdbTable.SequenceDescriptionOrBuilder>( (tech.ydb.proto.table.YdbTable.SequenceDescription) defaultValue_, getParentForChildren(), isClean()); defaultValue_ = null; } defaultValueCase_ = 6; onChanged(); return fromSequenceBuilder_; } @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.Table.ColumnMeta) } // @@protoc_insertion_point(class_scope:Ydb.Table.ColumnMeta) private static final tech.ydb.proto.table.YdbTable.ColumnMeta DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.ColumnMeta(); } public static tech.ydb.proto.table.YdbTable.ColumnMeta getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ColumnMeta 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.table.YdbTable.ColumnMeta getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DateTypeColumnModeSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.DateTypeColumnModeSettings) com.google.protobuf.MessageOrBuilder { /** *
     * The column type must be a date type
     * 
* * string column_name = 1; * @return The columnName. */ java.lang.String getColumnName(); /** *
     * The column type must be a date type
     * 
* * string column_name = 1; * @return The bytes for columnName. */ com.google.protobuf.ByteString getColumnNameBytes(); /** * uint32 expire_after_seconds = 2; * @return The expireAfterSeconds. */ int getExpireAfterSeconds(); } /** *
   * The row will be considered as expired at the moment of time, when the value
   * stored in <column_name> is less than or equal to the current time (in epoch
   * time format), and <expire_after_seconds> has passed since that moment;
   * i.e. the expiration threshold is the value of <column_name> plus <expire_after_seconds>.
   * 
* * Protobuf type {@code Ydb.Table.DateTypeColumnModeSettings} */ public static final class DateTypeColumnModeSettings extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.DateTypeColumnModeSettings) DateTypeColumnModeSettingsOrBuilder { private static final long serialVersionUID = 0L; // Use DateTypeColumnModeSettings.newBuilder() to construct. private DateTypeColumnModeSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DateTypeColumnModeSettings() { columnName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DateTypeColumnModeSettings(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DateTypeColumnModeSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DateTypeColumnModeSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings.class, tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings.Builder.class); } public static final int COLUMN_NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object columnName_ = ""; /** *
     * The column type must be a date type
     * 
* * string column_name = 1; * @return The columnName. */ @java.lang.Override public java.lang.String getColumnName() { java.lang.Object ref = columnName_; 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(); columnName_ = s; return s; } } /** *
     * The column type must be a date type
     * 
* * string column_name = 1; * @return The bytes for columnName. */ @java.lang.Override public com.google.protobuf.ByteString getColumnNameBytes() { java.lang.Object ref = columnName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); columnName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EXPIRE_AFTER_SECONDS_FIELD_NUMBER = 2; private int expireAfterSeconds_ = 0; /** * uint32 expire_after_seconds = 2; * @return The expireAfterSeconds. */ @java.lang.Override public int getExpireAfterSeconds() { return expireAfterSeconds_; } 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(columnName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, columnName_); } if (expireAfterSeconds_ != 0) { output.writeUInt32(2, expireAfterSeconds_); } 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(columnName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, columnName_); } if (expireAfterSeconds_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, expireAfterSeconds_); } 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.table.YdbTable.DateTypeColumnModeSettings)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings other = (tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings) obj; if (!getColumnName() .equals(other.getColumnName())) return false; if (getExpireAfterSeconds() != other.getExpireAfterSeconds()) 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) + COLUMN_NAME_FIELD_NUMBER; hash = (53 * hash) + getColumnName().hashCode(); hash = (37 * hash) + EXPIRE_AFTER_SECONDS_FIELD_NUMBER; hash = (53 * hash) + getExpireAfterSeconds(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings 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.table.YdbTable.DateTypeColumnModeSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings 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.table.YdbTable.DateTypeColumnModeSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings 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.table.YdbTable.DateTypeColumnModeSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings 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.table.YdbTable.DateTypeColumnModeSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings 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.table.YdbTable.DateTypeColumnModeSettings 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; } /** *
     * The row will be considered as expired at the moment of time, when the value
     * stored in <column_name> is less than or equal to the current time (in epoch
     * time format), and <expire_after_seconds> has passed since that moment;
     * i.e. the expiration threshold is the value of <column_name> plus <expire_after_seconds>.
     * 
* * Protobuf type {@code Ydb.Table.DateTypeColumnModeSettings} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.DateTypeColumnModeSettings) tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DateTypeColumnModeSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DateTypeColumnModeSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings.class, tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; columnName_ = ""; expireAfterSeconds_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DateTypeColumnModeSettings_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings build() { tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings buildPartial() { tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings result = new tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.columnName_ = columnName_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.expireAfterSeconds_ = expireAfterSeconds_; } } @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.table.YdbTable.DateTypeColumnModeSettings) { return mergeFrom((tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings other) { if (other == tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings.getDefaultInstance()) return this; if (!other.getColumnName().isEmpty()) { columnName_ = other.columnName_; bitField0_ |= 0x00000001; onChanged(); } if (other.getExpireAfterSeconds() != 0) { setExpireAfterSeconds(other.getExpireAfterSeconds()); } 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: { columnName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 16: { expireAfterSeconds_ = input.readUInt32(); bitField0_ |= 0x00000002; break; } // case 16 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 columnName_ = ""; /** *
       * The column type must be a date type
       * 
* * string column_name = 1; * @return The columnName. */ public java.lang.String getColumnName() { java.lang.Object ref = columnName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); columnName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The column type must be a date type
       * 
* * string column_name = 1; * @return The bytes for columnName. */ public com.google.protobuf.ByteString getColumnNameBytes() { java.lang.Object ref = columnName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); columnName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The column type must be a date type
       * 
* * string column_name = 1; * @param value The columnName to set. * @return This builder for chaining. */ public Builder setColumnName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } columnName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * The column type must be a date type
       * 
* * string column_name = 1; * @return This builder for chaining. */ public Builder clearColumnName() { columnName_ = getDefaultInstance().getColumnName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * The column type must be a date type
       * 
* * string column_name = 1; * @param value The bytes for columnName to set. * @return This builder for chaining. */ public Builder setColumnNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); columnName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private int expireAfterSeconds_ ; /** * uint32 expire_after_seconds = 2; * @return The expireAfterSeconds. */ @java.lang.Override public int getExpireAfterSeconds() { return expireAfterSeconds_; } /** * uint32 expire_after_seconds = 2; * @param value The expireAfterSeconds to set. * @return This builder for chaining. */ public Builder setExpireAfterSeconds(int value) { expireAfterSeconds_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * uint32 expire_after_seconds = 2; * @return This builder for chaining. */ public Builder clearExpireAfterSeconds() { bitField0_ = (bitField0_ & ~0x00000002); expireAfterSeconds_ = 0; 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.Table.DateTypeColumnModeSettings) } // @@protoc_insertion_point(class_scope:Ydb.Table.DateTypeColumnModeSettings) private static final tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings(); } public static tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DateTypeColumnModeSettings 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.table.YdbTable.DateTypeColumnModeSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ValueSinceUnixEpochModeSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.ValueSinceUnixEpochModeSettings) com.google.protobuf.MessageOrBuilder { /** *
     * The column type must be one of:
     * - Uint32
     * - Uint64
     * - DyNumber
     * 
* * string column_name = 1; * @return The columnName. */ java.lang.String getColumnName(); /** *
     * The column type must be one of:
     * - Uint32
     * - Uint64
     * - DyNumber
     * 
* * string column_name = 1; * @return The bytes for columnName. */ com.google.protobuf.ByteString getColumnNameBytes(); /** *
     * Interpretation of the value stored in <column_name>
     * 
* * .Ydb.Table.ValueSinceUnixEpochModeSettings.Unit column_unit = 2; * @return The enum numeric value on the wire for columnUnit. */ int getColumnUnitValue(); /** *
     * Interpretation of the value stored in <column_name>
     * 
* * .Ydb.Table.ValueSinceUnixEpochModeSettings.Unit column_unit = 2; * @return The columnUnit. */ tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings.Unit getColumnUnit(); /** *
     * This option is always interpreted as seconds regardless of the
     * <column_unit> value.
     * 
* * uint32 expire_after_seconds = 3; * @return The expireAfterSeconds. */ int getExpireAfterSeconds(); } /** *
   * Same as DateTypeColumnModeSettings (above), but useful when type of the
   * value stored in <column_name> is not a date type.
   * 
* * Protobuf type {@code Ydb.Table.ValueSinceUnixEpochModeSettings} */ public static final class ValueSinceUnixEpochModeSettings extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.ValueSinceUnixEpochModeSettings) ValueSinceUnixEpochModeSettingsOrBuilder { private static final long serialVersionUID = 0L; // Use ValueSinceUnixEpochModeSettings.newBuilder() to construct. private ValueSinceUnixEpochModeSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ValueSinceUnixEpochModeSettings() { columnName_ = ""; columnUnit_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ValueSinceUnixEpochModeSettings(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ValueSinceUnixEpochModeSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ValueSinceUnixEpochModeSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings.class, tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings.Builder.class); } /** * Protobuf enum {@code Ydb.Table.ValueSinceUnixEpochModeSettings.Unit} */ public enum Unit implements com.google.protobuf.ProtocolMessageEnum { /** * UNIT_UNSPECIFIED = 0; */ UNIT_UNSPECIFIED(0), /** * UNIT_SECONDS = 1; */ UNIT_SECONDS(1), /** * UNIT_MILLISECONDS = 2; */ UNIT_MILLISECONDS(2), /** * UNIT_MICROSECONDS = 3; */ UNIT_MICROSECONDS(3), /** * UNIT_NANOSECONDS = 4; */ UNIT_NANOSECONDS(4), UNRECOGNIZED(-1), ; /** * UNIT_UNSPECIFIED = 0; */ public static final int UNIT_UNSPECIFIED_VALUE = 0; /** * UNIT_SECONDS = 1; */ public static final int UNIT_SECONDS_VALUE = 1; /** * UNIT_MILLISECONDS = 2; */ public static final int UNIT_MILLISECONDS_VALUE = 2; /** * UNIT_MICROSECONDS = 3; */ public static final int UNIT_MICROSECONDS_VALUE = 3; /** * UNIT_NANOSECONDS = 4; */ public static final int UNIT_NANOSECONDS_VALUE = 4; 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 Unit 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 Unit forNumber(int value) { switch (value) { case 0: return UNIT_UNSPECIFIED; case 1: return UNIT_SECONDS; case 2: return UNIT_MILLISECONDS; case 3: return UNIT_MICROSECONDS; case 4: return UNIT_NANOSECONDS; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Unit> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Unit findValueByNumber(int number) { return Unit.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.table.YdbTable.ValueSinceUnixEpochModeSettings.getDescriptor().getEnumTypes().get(0); } private static final Unit[] VALUES = values(); public static Unit 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 Unit(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Ydb.Table.ValueSinceUnixEpochModeSettings.Unit) } public static final int COLUMN_NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object columnName_ = ""; /** *
     * The column type must be one of:
     * - Uint32
     * - Uint64
     * - DyNumber
     * 
* * string column_name = 1; * @return The columnName. */ @java.lang.Override public java.lang.String getColumnName() { java.lang.Object ref = columnName_; 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(); columnName_ = s; return s; } } /** *
     * The column type must be one of:
     * - Uint32
     * - Uint64
     * - DyNumber
     * 
* * string column_name = 1; * @return The bytes for columnName. */ @java.lang.Override public com.google.protobuf.ByteString getColumnNameBytes() { java.lang.Object ref = columnName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); columnName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COLUMN_UNIT_FIELD_NUMBER = 2; private int columnUnit_ = 0; /** *
     * Interpretation of the value stored in <column_name>
     * 
* * .Ydb.Table.ValueSinceUnixEpochModeSettings.Unit column_unit = 2; * @return The enum numeric value on the wire for columnUnit. */ @java.lang.Override public int getColumnUnitValue() { return columnUnit_; } /** *
     * Interpretation of the value stored in <column_name>
     * 
* * .Ydb.Table.ValueSinceUnixEpochModeSettings.Unit column_unit = 2; * @return The columnUnit. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings.Unit getColumnUnit() { tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings.Unit result = tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings.Unit.forNumber(columnUnit_); return result == null ? tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings.Unit.UNRECOGNIZED : result; } public static final int EXPIRE_AFTER_SECONDS_FIELD_NUMBER = 3; private int expireAfterSeconds_ = 0; /** *
     * This option is always interpreted as seconds regardless of the
     * <column_unit> value.
     * 
* * uint32 expire_after_seconds = 3; * @return The expireAfterSeconds. */ @java.lang.Override public int getExpireAfterSeconds() { return expireAfterSeconds_; } 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(columnName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, columnName_); } if (columnUnit_ != tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings.Unit.UNIT_UNSPECIFIED.getNumber()) { output.writeEnum(2, columnUnit_); } if (expireAfterSeconds_ != 0) { output.writeUInt32(3, expireAfterSeconds_); } 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(columnName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, columnName_); } if (columnUnit_ != tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings.Unit.UNIT_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, columnUnit_); } if (expireAfterSeconds_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, expireAfterSeconds_); } 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.table.YdbTable.ValueSinceUnixEpochModeSettings)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings other = (tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings) obj; if (!getColumnName() .equals(other.getColumnName())) return false; if (columnUnit_ != other.columnUnit_) return false; if (getExpireAfterSeconds() != other.getExpireAfterSeconds()) 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) + COLUMN_NAME_FIELD_NUMBER; hash = (53 * hash) + getColumnName().hashCode(); hash = (37 * hash) + COLUMN_UNIT_FIELD_NUMBER; hash = (53 * hash) + columnUnit_; hash = (37 * hash) + EXPIRE_AFTER_SECONDS_FIELD_NUMBER; hash = (53 * hash) + getExpireAfterSeconds(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings 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.table.YdbTable.ValueSinceUnixEpochModeSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings 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.table.YdbTable.ValueSinceUnixEpochModeSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings 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.table.YdbTable.ValueSinceUnixEpochModeSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings 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.table.YdbTable.ValueSinceUnixEpochModeSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings 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.table.YdbTable.ValueSinceUnixEpochModeSettings 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; } /** *
     * Same as DateTypeColumnModeSettings (above), but useful when type of the
     * value stored in <column_name> is not a date type.
     * 
* * Protobuf type {@code Ydb.Table.ValueSinceUnixEpochModeSettings} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.ValueSinceUnixEpochModeSettings) tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ValueSinceUnixEpochModeSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ValueSinceUnixEpochModeSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings.class, tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; columnName_ = ""; columnUnit_ = 0; expireAfterSeconds_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ValueSinceUnixEpochModeSettings_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings build() { tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings buildPartial() { tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings result = new tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.columnName_ = columnName_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.columnUnit_ = columnUnit_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.expireAfterSeconds_ = expireAfterSeconds_; } } @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.table.YdbTable.ValueSinceUnixEpochModeSettings) { return mergeFrom((tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings other) { if (other == tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings.getDefaultInstance()) return this; if (!other.getColumnName().isEmpty()) { columnName_ = other.columnName_; bitField0_ |= 0x00000001; onChanged(); } if (other.columnUnit_ != 0) { setColumnUnitValue(other.getColumnUnitValue()); } if (other.getExpireAfterSeconds() != 0) { setExpireAfterSeconds(other.getExpireAfterSeconds()); } 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: { columnName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 16: { columnUnit_ = input.readEnum(); bitField0_ |= 0x00000002; break; } // case 16 case 24: { expireAfterSeconds_ = input.readUInt32(); bitField0_ |= 0x00000004; break; } // case 24 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 columnName_ = ""; /** *
       * The column type must be one of:
       * - Uint32
       * - Uint64
       * - DyNumber
       * 
* * string column_name = 1; * @return The columnName. */ public java.lang.String getColumnName() { java.lang.Object ref = columnName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); columnName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The column type must be one of:
       * - Uint32
       * - Uint64
       * - DyNumber
       * 
* * string column_name = 1; * @return The bytes for columnName. */ public com.google.protobuf.ByteString getColumnNameBytes() { java.lang.Object ref = columnName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); columnName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The column type must be one of:
       * - Uint32
       * - Uint64
       * - DyNumber
       * 
* * string column_name = 1; * @param value The columnName to set. * @return This builder for chaining. */ public Builder setColumnName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } columnName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * The column type must be one of:
       * - Uint32
       * - Uint64
       * - DyNumber
       * 
* * string column_name = 1; * @return This builder for chaining. */ public Builder clearColumnName() { columnName_ = getDefaultInstance().getColumnName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * The column type must be one of:
       * - Uint32
       * - Uint64
       * - DyNumber
       * 
* * string column_name = 1; * @param value The bytes for columnName to set. * @return This builder for chaining. */ public Builder setColumnNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); columnName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private int columnUnit_ = 0; /** *
       * Interpretation of the value stored in <column_name>
       * 
* * .Ydb.Table.ValueSinceUnixEpochModeSettings.Unit column_unit = 2; * @return The enum numeric value on the wire for columnUnit. */ @java.lang.Override public int getColumnUnitValue() { return columnUnit_; } /** *
       * Interpretation of the value stored in <column_name>
       * 
* * .Ydb.Table.ValueSinceUnixEpochModeSettings.Unit column_unit = 2; * @param value The enum numeric value on the wire for columnUnit to set. * @return This builder for chaining. */ public Builder setColumnUnitValue(int value) { columnUnit_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Interpretation of the value stored in <column_name>
       * 
* * .Ydb.Table.ValueSinceUnixEpochModeSettings.Unit column_unit = 2; * @return The columnUnit. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings.Unit getColumnUnit() { tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings.Unit result = tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings.Unit.forNumber(columnUnit_); return result == null ? tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings.Unit.UNRECOGNIZED : result; } /** *
       * Interpretation of the value stored in <column_name>
       * 
* * .Ydb.Table.ValueSinceUnixEpochModeSettings.Unit column_unit = 2; * @param value The columnUnit to set. * @return This builder for chaining. */ public Builder setColumnUnit(tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings.Unit value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; columnUnit_ = value.getNumber(); onChanged(); return this; } /** *
       * Interpretation of the value stored in <column_name>
       * 
* * .Ydb.Table.ValueSinceUnixEpochModeSettings.Unit column_unit = 2; * @return This builder for chaining. */ public Builder clearColumnUnit() { bitField0_ = (bitField0_ & ~0x00000002); columnUnit_ = 0; onChanged(); return this; } private int expireAfterSeconds_ ; /** *
       * This option is always interpreted as seconds regardless of the
       * <column_unit> value.
       * 
* * uint32 expire_after_seconds = 3; * @return The expireAfterSeconds. */ @java.lang.Override public int getExpireAfterSeconds() { return expireAfterSeconds_; } /** *
       * This option is always interpreted as seconds regardless of the
       * <column_unit> value.
       * 
* * uint32 expire_after_seconds = 3; * @param value The expireAfterSeconds to set. * @return This builder for chaining. */ public Builder setExpireAfterSeconds(int value) { expireAfterSeconds_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * This option is always interpreted as seconds regardless of the
       * <column_unit> value.
       * 
* * uint32 expire_after_seconds = 3; * @return This builder for chaining. */ public Builder clearExpireAfterSeconds() { bitField0_ = (bitField0_ & ~0x00000004); expireAfterSeconds_ = 0; 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.Table.ValueSinceUnixEpochModeSettings) } // @@protoc_insertion_point(class_scope:Ydb.Table.ValueSinceUnixEpochModeSettings) private static final tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings(); } public static tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ValueSinceUnixEpochModeSettings 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.table.YdbTable.ValueSinceUnixEpochModeSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TtlSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.TtlSettings) com.google.protobuf.MessageOrBuilder { /** * .Ydb.Table.DateTypeColumnModeSettings date_type_column = 1; * @return Whether the dateTypeColumn field is set. */ boolean hasDateTypeColumn(); /** * .Ydb.Table.DateTypeColumnModeSettings date_type_column = 1; * @return The dateTypeColumn. */ tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings getDateTypeColumn(); /** * .Ydb.Table.DateTypeColumnModeSettings date_type_column = 1; */ tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettingsOrBuilder getDateTypeColumnOrBuilder(); /** * .Ydb.Table.ValueSinceUnixEpochModeSettings value_since_unix_epoch = 2; * @return Whether the valueSinceUnixEpoch field is set. */ boolean hasValueSinceUnixEpoch(); /** * .Ydb.Table.ValueSinceUnixEpochModeSettings value_since_unix_epoch = 2; * @return The valueSinceUnixEpoch. */ tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings getValueSinceUnixEpoch(); /** * .Ydb.Table.ValueSinceUnixEpochModeSettings value_since_unix_epoch = 2; */ tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettingsOrBuilder getValueSinceUnixEpochOrBuilder(); /** *
     * How often to run BRO on the same partition.
     * BRO will not be started more often, but may be started less often.
     * 
* * uint32 run_interval_seconds = 3; * @return The runIntervalSeconds. */ int getRunIntervalSeconds(); tech.ydb.proto.table.YdbTable.TtlSettings.ModeCase getModeCase(); } /** * Protobuf type {@code Ydb.Table.TtlSettings} */ public static final class TtlSettings extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.TtlSettings) TtlSettingsOrBuilder { private static final long serialVersionUID = 0L; // Use TtlSettings.newBuilder() to construct. private TtlSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TtlSettings() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TtlSettings(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TtlSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TtlSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.TtlSettings.class, tech.ydb.proto.table.YdbTable.TtlSettings.Builder.class); } private int modeCase_ = 0; @SuppressWarnings("serial") private java.lang.Object mode_; public enum ModeCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DATE_TYPE_COLUMN(1), VALUE_SINCE_UNIX_EPOCH(2), MODE_NOT_SET(0); private final int value; private ModeCase(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 ModeCase valueOf(int value) { return forNumber(value); } public static ModeCase forNumber(int value) { switch (value) { case 1: return DATE_TYPE_COLUMN; case 2: return VALUE_SINCE_UNIX_EPOCH; case 0: return MODE_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public ModeCase getModeCase() { return ModeCase.forNumber( modeCase_); } public static final int DATE_TYPE_COLUMN_FIELD_NUMBER = 1; /** * .Ydb.Table.DateTypeColumnModeSettings date_type_column = 1; * @return Whether the dateTypeColumn field is set. */ @java.lang.Override public boolean hasDateTypeColumn() { return modeCase_ == 1; } /** * .Ydb.Table.DateTypeColumnModeSettings date_type_column = 1; * @return The dateTypeColumn. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings getDateTypeColumn() { if (modeCase_ == 1) { return (tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings) mode_; } return tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings.getDefaultInstance(); } /** * .Ydb.Table.DateTypeColumnModeSettings date_type_column = 1; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettingsOrBuilder getDateTypeColumnOrBuilder() { if (modeCase_ == 1) { return (tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings) mode_; } return tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings.getDefaultInstance(); } public static final int VALUE_SINCE_UNIX_EPOCH_FIELD_NUMBER = 2; /** * .Ydb.Table.ValueSinceUnixEpochModeSettings value_since_unix_epoch = 2; * @return Whether the valueSinceUnixEpoch field is set. */ @java.lang.Override public boolean hasValueSinceUnixEpoch() { return modeCase_ == 2; } /** * .Ydb.Table.ValueSinceUnixEpochModeSettings value_since_unix_epoch = 2; * @return The valueSinceUnixEpoch. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings getValueSinceUnixEpoch() { if (modeCase_ == 2) { return (tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings) mode_; } return tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings.getDefaultInstance(); } /** * .Ydb.Table.ValueSinceUnixEpochModeSettings value_since_unix_epoch = 2; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettingsOrBuilder getValueSinceUnixEpochOrBuilder() { if (modeCase_ == 2) { return (tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings) mode_; } return tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings.getDefaultInstance(); } public static final int RUN_INTERVAL_SECONDS_FIELD_NUMBER = 3; private int runIntervalSeconds_ = 0; /** *
     * How often to run BRO on the same partition.
     * BRO will not be started more often, but may be started less often.
     * 
* * uint32 run_interval_seconds = 3; * @return The runIntervalSeconds. */ @java.lang.Override public int getRunIntervalSeconds() { return runIntervalSeconds_; } 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 (modeCase_ == 1) { output.writeMessage(1, (tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings) mode_); } if (modeCase_ == 2) { output.writeMessage(2, (tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings) mode_); } if (runIntervalSeconds_ != 0) { output.writeUInt32(3, runIntervalSeconds_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (modeCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, (tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings) mode_); } if (modeCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings) mode_); } if (runIntervalSeconds_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, runIntervalSeconds_); } 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.table.YdbTable.TtlSettings)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.TtlSettings other = (tech.ydb.proto.table.YdbTable.TtlSettings) obj; if (getRunIntervalSeconds() != other.getRunIntervalSeconds()) return false; if (!getModeCase().equals(other.getModeCase())) return false; switch (modeCase_) { case 1: if (!getDateTypeColumn() .equals(other.getDateTypeColumn())) return false; break; case 2: if (!getValueSinceUnixEpoch() .equals(other.getValueSinceUnixEpoch())) 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(); hash = (37 * hash) + RUN_INTERVAL_SECONDS_FIELD_NUMBER; hash = (53 * hash) + getRunIntervalSeconds(); switch (modeCase_) { case 1: hash = (37 * hash) + DATE_TYPE_COLUMN_FIELD_NUMBER; hash = (53 * hash) + getDateTypeColumn().hashCode(); break; case 2: hash = (37 * hash) + VALUE_SINCE_UNIX_EPOCH_FIELD_NUMBER; hash = (53 * hash) + getValueSinceUnixEpoch().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.TtlSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.TtlSettings 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.table.YdbTable.TtlSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.TtlSettings 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.table.YdbTable.TtlSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.TtlSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.TtlSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.TtlSettings 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.table.YdbTable.TtlSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.TtlSettings 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.table.YdbTable.TtlSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.TtlSettings 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.table.YdbTable.TtlSettings 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.Table.TtlSettings} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.TtlSettings) tech.ydb.proto.table.YdbTable.TtlSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TtlSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TtlSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.TtlSettings.class, tech.ydb.proto.table.YdbTable.TtlSettings.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.TtlSettings.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (dateTypeColumnBuilder_ != null) { dateTypeColumnBuilder_.clear(); } if (valueSinceUnixEpochBuilder_ != null) { valueSinceUnixEpochBuilder_.clear(); } runIntervalSeconds_ = 0; modeCase_ = 0; mode_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TtlSettings_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.TtlSettings getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.TtlSettings.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.TtlSettings build() { tech.ydb.proto.table.YdbTable.TtlSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.TtlSettings buildPartial() { tech.ydb.proto.table.YdbTable.TtlSettings result = new tech.ydb.proto.table.YdbTable.TtlSettings(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.TtlSettings result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000004) != 0)) { result.runIntervalSeconds_ = runIntervalSeconds_; } } private void buildPartialOneofs(tech.ydb.proto.table.YdbTable.TtlSettings result) { result.modeCase_ = modeCase_; result.mode_ = this.mode_; if (modeCase_ == 1 && dateTypeColumnBuilder_ != null) { result.mode_ = dateTypeColumnBuilder_.build(); } if (modeCase_ == 2 && valueSinceUnixEpochBuilder_ != null) { result.mode_ = valueSinceUnixEpochBuilder_.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.table.YdbTable.TtlSettings) { return mergeFrom((tech.ydb.proto.table.YdbTable.TtlSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.TtlSettings other) { if (other == tech.ydb.proto.table.YdbTable.TtlSettings.getDefaultInstance()) return this; if (other.getRunIntervalSeconds() != 0) { setRunIntervalSeconds(other.getRunIntervalSeconds()); } switch (other.getModeCase()) { case DATE_TYPE_COLUMN: { mergeDateTypeColumn(other.getDateTypeColumn()); break; } case VALUE_SINCE_UNIX_EPOCH: { mergeValueSinceUnixEpoch(other.getValueSinceUnixEpoch()); break; } case MODE_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( getDateTypeColumnFieldBuilder().getBuilder(), extensionRegistry); modeCase_ = 1; break; } // case 10 case 18: { input.readMessage( getValueSinceUnixEpochFieldBuilder().getBuilder(), extensionRegistry); modeCase_ = 2; break; } // case 18 case 24: { runIntervalSeconds_ = input.readUInt32(); bitField0_ |= 0x00000004; break; } // case 24 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 modeCase_ = 0; private java.lang.Object mode_; public ModeCase getModeCase() { return ModeCase.forNumber( modeCase_); } public Builder clearMode() { modeCase_ = 0; mode_ = null; onChanged(); return this; } private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings, tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings.Builder, tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettingsOrBuilder> dateTypeColumnBuilder_; /** * .Ydb.Table.DateTypeColumnModeSettings date_type_column = 1; * @return Whether the dateTypeColumn field is set. */ @java.lang.Override public boolean hasDateTypeColumn() { return modeCase_ == 1; } /** * .Ydb.Table.DateTypeColumnModeSettings date_type_column = 1; * @return The dateTypeColumn. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings getDateTypeColumn() { if (dateTypeColumnBuilder_ == null) { if (modeCase_ == 1) { return (tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings) mode_; } return tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings.getDefaultInstance(); } else { if (modeCase_ == 1) { return dateTypeColumnBuilder_.getMessage(); } return tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings.getDefaultInstance(); } } /** * .Ydb.Table.DateTypeColumnModeSettings date_type_column = 1; */ public Builder setDateTypeColumn(tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings value) { if (dateTypeColumnBuilder_ == null) { if (value == null) { throw new NullPointerException(); } mode_ = value; onChanged(); } else { dateTypeColumnBuilder_.setMessage(value); } modeCase_ = 1; return this; } /** * .Ydb.Table.DateTypeColumnModeSettings date_type_column = 1; */ public Builder setDateTypeColumn( tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings.Builder builderForValue) { if (dateTypeColumnBuilder_ == null) { mode_ = builderForValue.build(); onChanged(); } else { dateTypeColumnBuilder_.setMessage(builderForValue.build()); } modeCase_ = 1; return this; } /** * .Ydb.Table.DateTypeColumnModeSettings date_type_column = 1; */ public Builder mergeDateTypeColumn(tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings value) { if (dateTypeColumnBuilder_ == null) { if (modeCase_ == 1 && mode_ != tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings.getDefaultInstance()) { mode_ = tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings.newBuilder((tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings) mode_) .mergeFrom(value).buildPartial(); } else { mode_ = value; } onChanged(); } else { if (modeCase_ == 1) { dateTypeColumnBuilder_.mergeFrom(value); } else { dateTypeColumnBuilder_.setMessage(value); } } modeCase_ = 1; return this; } /** * .Ydb.Table.DateTypeColumnModeSettings date_type_column = 1; */ public Builder clearDateTypeColumn() { if (dateTypeColumnBuilder_ == null) { if (modeCase_ == 1) { modeCase_ = 0; mode_ = null; onChanged(); } } else { if (modeCase_ == 1) { modeCase_ = 0; mode_ = null; } dateTypeColumnBuilder_.clear(); } return this; } /** * .Ydb.Table.DateTypeColumnModeSettings date_type_column = 1; */ public tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings.Builder getDateTypeColumnBuilder() { return getDateTypeColumnFieldBuilder().getBuilder(); } /** * .Ydb.Table.DateTypeColumnModeSettings date_type_column = 1; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettingsOrBuilder getDateTypeColumnOrBuilder() { if ((modeCase_ == 1) && (dateTypeColumnBuilder_ != null)) { return dateTypeColumnBuilder_.getMessageOrBuilder(); } else { if (modeCase_ == 1) { return (tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings) mode_; } return tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings.getDefaultInstance(); } } /** * .Ydb.Table.DateTypeColumnModeSettings date_type_column = 1; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings, tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings.Builder, tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettingsOrBuilder> getDateTypeColumnFieldBuilder() { if (dateTypeColumnBuilder_ == null) { if (!(modeCase_ == 1)) { mode_ = tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings.getDefaultInstance(); } dateTypeColumnBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings, tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings.Builder, tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettingsOrBuilder>( (tech.ydb.proto.table.YdbTable.DateTypeColumnModeSettings) mode_, getParentForChildren(), isClean()); mode_ = null; } modeCase_ = 1; onChanged(); return dateTypeColumnBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings, tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings.Builder, tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettingsOrBuilder> valueSinceUnixEpochBuilder_; /** * .Ydb.Table.ValueSinceUnixEpochModeSettings value_since_unix_epoch = 2; * @return Whether the valueSinceUnixEpoch field is set. */ @java.lang.Override public boolean hasValueSinceUnixEpoch() { return modeCase_ == 2; } /** * .Ydb.Table.ValueSinceUnixEpochModeSettings value_since_unix_epoch = 2; * @return The valueSinceUnixEpoch. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings getValueSinceUnixEpoch() { if (valueSinceUnixEpochBuilder_ == null) { if (modeCase_ == 2) { return (tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings) mode_; } return tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings.getDefaultInstance(); } else { if (modeCase_ == 2) { return valueSinceUnixEpochBuilder_.getMessage(); } return tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings.getDefaultInstance(); } } /** * .Ydb.Table.ValueSinceUnixEpochModeSettings value_since_unix_epoch = 2; */ public Builder setValueSinceUnixEpoch(tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings value) { if (valueSinceUnixEpochBuilder_ == null) { if (value == null) { throw new NullPointerException(); } mode_ = value; onChanged(); } else { valueSinceUnixEpochBuilder_.setMessage(value); } modeCase_ = 2; return this; } /** * .Ydb.Table.ValueSinceUnixEpochModeSettings value_since_unix_epoch = 2; */ public Builder setValueSinceUnixEpoch( tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings.Builder builderForValue) { if (valueSinceUnixEpochBuilder_ == null) { mode_ = builderForValue.build(); onChanged(); } else { valueSinceUnixEpochBuilder_.setMessage(builderForValue.build()); } modeCase_ = 2; return this; } /** * .Ydb.Table.ValueSinceUnixEpochModeSettings value_since_unix_epoch = 2; */ public Builder mergeValueSinceUnixEpoch(tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings value) { if (valueSinceUnixEpochBuilder_ == null) { if (modeCase_ == 2 && mode_ != tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings.getDefaultInstance()) { mode_ = tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings.newBuilder((tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings) mode_) .mergeFrom(value).buildPartial(); } else { mode_ = value; } onChanged(); } else { if (modeCase_ == 2) { valueSinceUnixEpochBuilder_.mergeFrom(value); } else { valueSinceUnixEpochBuilder_.setMessage(value); } } modeCase_ = 2; return this; } /** * .Ydb.Table.ValueSinceUnixEpochModeSettings value_since_unix_epoch = 2; */ public Builder clearValueSinceUnixEpoch() { if (valueSinceUnixEpochBuilder_ == null) { if (modeCase_ == 2) { modeCase_ = 0; mode_ = null; onChanged(); } } else { if (modeCase_ == 2) { modeCase_ = 0; mode_ = null; } valueSinceUnixEpochBuilder_.clear(); } return this; } /** * .Ydb.Table.ValueSinceUnixEpochModeSettings value_since_unix_epoch = 2; */ public tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings.Builder getValueSinceUnixEpochBuilder() { return getValueSinceUnixEpochFieldBuilder().getBuilder(); } /** * .Ydb.Table.ValueSinceUnixEpochModeSettings value_since_unix_epoch = 2; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettingsOrBuilder getValueSinceUnixEpochOrBuilder() { if ((modeCase_ == 2) && (valueSinceUnixEpochBuilder_ != null)) { return valueSinceUnixEpochBuilder_.getMessageOrBuilder(); } else { if (modeCase_ == 2) { return (tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings) mode_; } return tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings.getDefaultInstance(); } } /** * .Ydb.Table.ValueSinceUnixEpochModeSettings value_since_unix_epoch = 2; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings, tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings.Builder, tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettingsOrBuilder> getValueSinceUnixEpochFieldBuilder() { if (valueSinceUnixEpochBuilder_ == null) { if (!(modeCase_ == 2)) { mode_ = tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings.getDefaultInstance(); } valueSinceUnixEpochBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings, tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings.Builder, tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettingsOrBuilder>( (tech.ydb.proto.table.YdbTable.ValueSinceUnixEpochModeSettings) mode_, getParentForChildren(), isClean()); mode_ = null; } modeCase_ = 2; onChanged(); return valueSinceUnixEpochBuilder_; } private int runIntervalSeconds_ ; /** *
       * How often to run BRO on the same partition.
       * BRO will not be started more often, but may be started less often.
       * 
* * uint32 run_interval_seconds = 3; * @return The runIntervalSeconds. */ @java.lang.Override public int getRunIntervalSeconds() { return runIntervalSeconds_; } /** *
       * How often to run BRO on the same partition.
       * BRO will not be started more often, but may be started less often.
       * 
* * uint32 run_interval_seconds = 3; * @param value The runIntervalSeconds to set. * @return This builder for chaining. */ public Builder setRunIntervalSeconds(int value) { runIntervalSeconds_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * How often to run BRO on the same partition.
       * BRO will not be started more often, but may be started less often.
       * 
* * uint32 run_interval_seconds = 3; * @return This builder for chaining. */ public Builder clearRunIntervalSeconds() { bitField0_ = (bitField0_ & ~0x00000004); runIntervalSeconds_ = 0; 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.Table.TtlSettings) } // @@protoc_insertion_point(class_scope:Ydb.Table.TtlSettings) private static final tech.ydb.proto.table.YdbTable.TtlSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.TtlSettings(); } public static tech.ydb.proto.table.YdbTable.TtlSettings getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TtlSettings 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.table.YdbTable.TtlSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StorageSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.StorageSettings) com.google.protobuf.MessageOrBuilder { /** *
     * This specifies internal channel 0 commit log storage pool
     * Fastest available storage recommended, negligible amounts of short-lived data
     * 
* * .Ydb.Table.StoragePool tablet_commit_log0 = 1; * @return Whether the tabletCommitLog0 field is set. */ boolean hasTabletCommitLog0(); /** *
     * This specifies internal channel 0 commit log storage pool
     * Fastest available storage recommended, negligible amounts of short-lived data
     * 
* * .Ydb.Table.StoragePool tablet_commit_log0 = 1; * @return The tabletCommitLog0. */ tech.ydb.proto.table.YdbTable.StoragePool getTabletCommitLog0(); /** *
     * This specifies internal channel 0 commit log storage pool
     * Fastest available storage recommended, negligible amounts of short-lived data
     * 
* * .Ydb.Table.StoragePool tablet_commit_log0 = 1; */ tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder getTabletCommitLog0OrBuilder(); /** *
     * This specifies internal channel 1 commit log storage pool
     * Fastest available storage recommended, small amounts of short-lived data
     * 
* * .Ydb.Table.StoragePool tablet_commit_log1 = 2; * @return Whether the tabletCommitLog1 field is set. */ boolean hasTabletCommitLog1(); /** *
     * This specifies internal channel 1 commit log storage pool
     * Fastest available storage recommended, small amounts of short-lived data
     * 
* * .Ydb.Table.StoragePool tablet_commit_log1 = 2; * @return The tabletCommitLog1. */ tech.ydb.proto.table.YdbTable.StoragePool getTabletCommitLog1(); /** *
     * This specifies internal channel 1 commit log storage pool
     * Fastest available storage recommended, small amounts of short-lived data
     * 
* * .Ydb.Table.StoragePool tablet_commit_log1 = 2; */ tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder getTabletCommitLog1OrBuilder(); /** *
     * This specifies external blobs storage pool
     * 
* * .Ydb.Table.StoragePool external = 4; * @return Whether the external field is set. */ boolean hasExternal(); /** *
     * This specifies external blobs storage pool
     * 
* * .Ydb.Table.StoragePool external = 4; * @return The external. */ tech.ydb.proto.table.YdbTable.StoragePool getExternal(); /** *
     * This specifies external blobs storage pool
     * 
* * .Ydb.Table.StoragePool external = 4; */ tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder getExternalOrBuilder(); /** *
     * Optionally store large values in "external blobs"
     * WARNING: DO NOT USE
     * This feature is experimental and should not be used, restrictions apply:
     * * Table cannot split/merge when this is enabled
     * * Table cannot be copied or backed up when this is enabled
     * * This feature cannot be disabled once enabled for a table
     * 
* * .Ydb.FeatureFlag.Status store_external_blobs = 5; * @return The enum numeric value on the wire for storeExternalBlobs. */ int getStoreExternalBlobsValue(); /** *
     * Optionally store large values in "external blobs"
     * WARNING: DO NOT USE
     * This feature is experimental and should not be used, restrictions apply:
     * * Table cannot split/merge when this is enabled
     * * Table cannot be copied or backed up when this is enabled
     * * This feature cannot be disabled once enabled for a table
     * 
* * .Ydb.FeatureFlag.Status store_external_blobs = 5; * @return The storeExternalBlobs. */ tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getStoreExternalBlobs(); } /** * Protobuf type {@code Ydb.Table.StorageSettings} */ public static final class StorageSettings extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.StorageSettings) StorageSettingsOrBuilder { private static final long serialVersionUID = 0L; // Use StorageSettings.newBuilder() to construct. private StorageSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StorageSettings() { storeExternalBlobs_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new StorageSettings(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_StorageSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_StorageSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.StorageSettings.class, tech.ydb.proto.table.YdbTable.StorageSettings.Builder.class); } private int bitField0_; public static final int TABLET_COMMIT_LOG0_FIELD_NUMBER = 1; private tech.ydb.proto.table.YdbTable.StoragePool tabletCommitLog0_; /** *
     * This specifies internal channel 0 commit log storage pool
     * Fastest available storage recommended, negligible amounts of short-lived data
     * 
* * .Ydb.Table.StoragePool tablet_commit_log0 = 1; * @return Whether the tabletCommitLog0 field is set. */ @java.lang.Override public boolean hasTabletCommitLog0() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * This specifies internal channel 0 commit log storage pool
     * Fastest available storage recommended, negligible amounts of short-lived data
     * 
* * .Ydb.Table.StoragePool tablet_commit_log0 = 1; * @return The tabletCommitLog0. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StoragePool getTabletCommitLog0() { return tabletCommitLog0_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : tabletCommitLog0_; } /** *
     * This specifies internal channel 0 commit log storage pool
     * Fastest available storage recommended, negligible amounts of short-lived data
     * 
* * .Ydb.Table.StoragePool tablet_commit_log0 = 1; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder getTabletCommitLog0OrBuilder() { return tabletCommitLog0_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : tabletCommitLog0_; } public static final int TABLET_COMMIT_LOG1_FIELD_NUMBER = 2; private tech.ydb.proto.table.YdbTable.StoragePool tabletCommitLog1_; /** *
     * This specifies internal channel 1 commit log storage pool
     * Fastest available storage recommended, small amounts of short-lived data
     * 
* * .Ydb.Table.StoragePool tablet_commit_log1 = 2; * @return Whether the tabletCommitLog1 field is set. */ @java.lang.Override public boolean hasTabletCommitLog1() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * This specifies internal channel 1 commit log storage pool
     * Fastest available storage recommended, small amounts of short-lived data
     * 
* * .Ydb.Table.StoragePool tablet_commit_log1 = 2; * @return The tabletCommitLog1. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StoragePool getTabletCommitLog1() { return tabletCommitLog1_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : tabletCommitLog1_; } /** *
     * This specifies internal channel 1 commit log storage pool
     * Fastest available storage recommended, small amounts of short-lived data
     * 
* * .Ydb.Table.StoragePool tablet_commit_log1 = 2; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder getTabletCommitLog1OrBuilder() { return tabletCommitLog1_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : tabletCommitLog1_; } public static final int EXTERNAL_FIELD_NUMBER = 4; private tech.ydb.proto.table.YdbTable.StoragePool external_; /** *
     * This specifies external blobs storage pool
     * 
* * .Ydb.Table.StoragePool external = 4; * @return Whether the external field is set. */ @java.lang.Override public boolean hasExternal() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * This specifies external blobs storage pool
     * 
* * .Ydb.Table.StoragePool external = 4; * @return The external. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StoragePool getExternal() { return external_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : external_; } /** *
     * This specifies external blobs storage pool
     * 
* * .Ydb.Table.StoragePool external = 4; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder getExternalOrBuilder() { return external_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : external_; } public static final int STORE_EXTERNAL_BLOBS_FIELD_NUMBER = 5; private int storeExternalBlobs_ = 0; /** *
     * Optionally store large values in "external blobs"
     * WARNING: DO NOT USE
     * This feature is experimental and should not be used, restrictions apply:
     * * Table cannot split/merge when this is enabled
     * * Table cannot be copied or backed up when this is enabled
     * * This feature cannot be disabled once enabled for a table
     * 
* * .Ydb.FeatureFlag.Status store_external_blobs = 5; * @return The enum numeric value on the wire for storeExternalBlobs. */ @java.lang.Override public int getStoreExternalBlobsValue() { return storeExternalBlobs_; } /** *
     * Optionally store large values in "external blobs"
     * WARNING: DO NOT USE
     * This feature is experimental and should not be used, restrictions apply:
     * * Table cannot split/merge when this is enabled
     * * Table cannot be copied or backed up when this is enabled
     * * This feature cannot be disabled once enabled for a table
     * 
* * .Ydb.FeatureFlag.Status store_external_blobs = 5; * @return The storeExternalBlobs. */ @java.lang.Override public tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getStoreExternalBlobs() { tech.ydb.proto.common.CommonProtos.FeatureFlag.Status result = tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.forNumber(storeExternalBlobs_); return result == null ? tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } 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, getTabletCommitLog0()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getTabletCommitLog1()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(4, getExternal()); } if (storeExternalBlobs_ != tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(5, storeExternalBlobs_); } 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, getTabletCommitLog0()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getTabletCommitLog1()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getExternal()); } if (storeExternalBlobs_ != tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, storeExternalBlobs_); } 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.table.YdbTable.StorageSettings)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.StorageSettings other = (tech.ydb.proto.table.YdbTable.StorageSettings) obj; if (hasTabletCommitLog0() != other.hasTabletCommitLog0()) return false; if (hasTabletCommitLog0()) { if (!getTabletCommitLog0() .equals(other.getTabletCommitLog0())) return false; } if (hasTabletCommitLog1() != other.hasTabletCommitLog1()) return false; if (hasTabletCommitLog1()) { if (!getTabletCommitLog1() .equals(other.getTabletCommitLog1())) return false; } if (hasExternal() != other.hasExternal()) return false; if (hasExternal()) { if (!getExternal() .equals(other.getExternal())) return false; } if (storeExternalBlobs_ != other.storeExternalBlobs_) 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 (hasTabletCommitLog0()) { hash = (37 * hash) + TABLET_COMMIT_LOG0_FIELD_NUMBER; hash = (53 * hash) + getTabletCommitLog0().hashCode(); } if (hasTabletCommitLog1()) { hash = (37 * hash) + TABLET_COMMIT_LOG1_FIELD_NUMBER; hash = (53 * hash) + getTabletCommitLog1().hashCode(); } if (hasExternal()) { hash = (37 * hash) + EXTERNAL_FIELD_NUMBER; hash = (53 * hash) + getExternal().hashCode(); } hash = (37 * hash) + STORE_EXTERNAL_BLOBS_FIELD_NUMBER; hash = (53 * hash) + storeExternalBlobs_; hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.StorageSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.StorageSettings 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.table.YdbTable.StorageSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.StorageSettings 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.table.YdbTable.StorageSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.StorageSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.StorageSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.StorageSettings 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.table.YdbTable.StorageSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.StorageSettings 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.table.YdbTable.StorageSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.StorageSettings 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.table.YdbTable.StorageSettings 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.Table.StorageSettings} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.StorageSettings) tech.ydb.proto.table.YdbTable.StorageSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_StorageSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_StorageSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.StorageSettings.class, tech.ydb.proto.table.YdbTable.StorageSettings.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.StorageSettings.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTabletCommitLog0FieldBuilder(); getTabletCommitLog1FieldBuilder(); getExternalFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; tabletCommitLog0_ = null; if (tabletCommitLog0Builder_ != null) { tabletCommitLog0Builder_.dispose(); tabletCommitLog0Builder_ = null; } tabletCommitLog1_ = null; if (tabletCommitLog1Builder_ != null) { tabletCommitLog1Builder_.dispose(); tabletCommitLog1Builder_ = null; } external_ = null; if (externalBuilder_ != null) { externalBuilder_.dispose(); externalBuilder_ = null; } storeExternalBlobs_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_StorageSettings_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.StorageSettings getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.StorageSettings.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.StorageSettings build() { tech.ydb.proto.table.YdbTable.StorageSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.StorageSettings buildPartial() { tech.ydb.proto.table.YdbTable.StorageSettings result = new tech.ydb.proto.table.YdbTable.StorageSettings(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.StorageSettings result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.tabletCommitLog0_ = tabletCommitLog0Builder_ == null ? tabletCommitLog0_ : tabletCommitLog0Builder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.tabletCommitLog1_ = tabletCommitLog1Builder_ == null ? tabletCommitLog1_ : tabletCommitLog1Builder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.external_ = externalBuilder_ == null ? external_ : externalBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.storeExternalBlobs_ = storeExternalBlobs_; } 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.table.YdbTable.StorageSettings) { return mergeFrom((tech.ydb.proto.table.YdbTable.StorageSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.StorageSettings other) { if (other == tech.ydb.proto.table.YdbTable.StorageSettings.getDefaultInstance()) return this; if (other.hasTabletCommitLog0()) { mergeTabletCommitLog0(other.getTabletCommitLog0()); } if (other.hasTabletCommitLog1()) { mergeTabletCommitLog1(other.getTabletCommitLog1()); } if (other.hasExternal()) { mergeExternal(other.getExternal()); } if (other.storeExternalBlobs_ != 0) { setStoreExternalBlobsValue(other.getStoreExternalBlobsValue()); } 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( getTabletCommitLog0FieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getTabletCommitLog1FieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 34: { input.readMessage( getExternalFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 34 case 40: { storeExternalBlobs_ = input.readEnum(); bitField0_ |= 0x00000008; 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 bitField0_; private tech.ydb.proto.table.YdbTable.StoragePool tabletCommitLog0_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePool, tech.ydb.proto.table.YdbTable.StoragePool.Builder, tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder> tabletCommitLog0Builder_; /** *
       * This specifies internal channel 0 commit log storage pool
       * Fastest available storage recommended, negligible amounts of short-lived data
       * 
* * .Ydb.Table.StoragePool tablet_commit_log0 = 1; * @return Whether the tabletCommitLog0 field is set. */ public boolean hasTabletCommitLog0() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * This specifies internal channel 0 commit log storage pool
       * Fastest available storage recommended, negligible amounts of short-lived data
       * 
* * .Ydb.Table.StoragePool tablet_commit_log0 = 1; * @return The tabletCommitLog0. */ public tech.ydb.proto.table.YdbTable.StoragePool getTabletCommitLog0() { if (tabletCommitLog0Builder_ == null) { return tabletCommitLog0_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : tabletCommitLog0_; } else { return tabletCommitLog0Builder_.getMessage(); } } /** *
       * This specifies internal channel 0 commit log storage pool
       * Fastest available storage recommended, negligible amounts of short-lived data
       * 
* * .Ydb.Table.StoragePool tablet_commit_log0 = 1; */ public Builder setTabletCommitLog0(tech.ydb.proto.table.YdbTable.StoragePool value) { if (tabletCommitLog0Builder_ == null) { if (value == null) { throw new NullPointerException(); } tabletCommitLog0_ = value; } else { tabletCommitLog0Builder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * This specifies internal channel 0 commit log storage pool
       * Fastest available storage recommended, negligible amounts of short-lived data
       * 
* * .Ydb.Table.StoragePool tablet_commit_log0 = 1; */ public Builder setTabletCommitLog0( tech.ydb.proto.table.YdbTable.StoragePool.Builder builderForValue) { if (tabletCommitLog0Builder_ == null) { tabletCommitLog0_ = builderForValue.build(); } else { tabletCommitLog0Builder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * This specifies internal channel 0 commit log storage pool
       * Fastest available storage recommended, negligible amounts of short-lived data
       * 
* * .Ydb.Table.StoragePool tablet_commit_log0 = 1; */ public Builder mergeTabletCommitLog0(tech.ydb.proto.table.YdbTable.StoragePool value) { if (tabletCommitLog0Builder_ == null) { if (((bitField0_ & 0x00000001) != 0) && tabletCommitLog0_ != null && tabletCommitLog0_ != tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance()) { getTabletCommitLog0Builder().mergeFrom(value); } else { tabletCommitLog0_ = value; } } else { tabletCommitLog0Builder_.mergeFrom(value); } if (tabletCommitLog0_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
       * This specifies internal channel 0 commit log storage pool
       * Fastest available storage recommended, negligible amounts of short-lived data
       * 
* * .Ydb.Table.StoragePool tablet_commit_log0 = 1; */ public Builder clearTabletCommitLog0() { bitField0_ = (bitField0_ & ~0x00000001); tabletCommitLog0_ = null; if (tabletCommitLog0Builder_ != null) { tabletCommitLog0Builder_.dispose(); tabletCommitLog0Builder_ = null; } onChanged(); return this; } /** *
       * This specifies internal channel 0 commit log storage pool
       * Fastest available storage recommended, negligible amounts of short-lived data
       * 
* * .Ydb.Table.StoragePool tablet_commit_log0 = 1; */ public tech.ydb.proto.table.YdbTable.StoragePool.Builder getTabletCommitLog0Builder() { bitField0_ |= 0x00000001; onChanged(); return getTabletCommitLog0FieldBuilder().getBuilder(); } /** *
       * This specifies internal channel 0 commit log storage pool
       * Fastest available storage recommended, negligible amounts of short-lived data
       * 
* * .Ydb.Table.StoragePool tablet_commit_log0 = 1; */ public tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder getTabletCommitLog0OrBuilder() { if (tabletCommitLog0Builder_ != null) { return tabletCommitLog0Builder_.getMessageOrBuilder(); } else { return tabletCommitLog0_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : tabletCommitLog0_; } } /** *
       * This specifies internal channel 0 commit log storage pool
       * Fastest available storage recommended, negligible amounts of short-lived data
       * 
* * .Ydb.Table.StoragePool tablet_commit_log0 = 1; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePool, tech.ydb.proto.table.YdbTable.StoragePool.Builder, tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder> getTabletCommitLog0FieldBuilder() { if (tabletCommitLog0Builder_ == null) { tabletCommitLog0Builder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePool, tech.ydb.proto.table.YdbTable.StoragePool.Builder, tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder>( getTabletCommitLog0(), getParentForChildren(), isClean()); tabletCommitLog0_ = null; } return tabletCommitLog0Builder_; } private tech.ydb.proto.table.YdbTable.StoragePool tabletCommitLog1_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePool, tech.ydb.proto.table.YdbTable.StoragePool.Builder, tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder> tabletCommitLog1Builder_; /** *
       * This specifies internal channel 1 commit log storage pool
       * Fastest available storage recommended, small amounts of short-lived data
       * 
* * .Ydb.Table.StoragePool tablet_commit_log1 = 2; * @return Whether the tabletCommitLog1 field is set. */ public boolean hasTabletCommitLog1() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * This specifies internal channel 1 commit log storage pool
       * Fastest available storage recommended, small amounts of short-lived data
       * 
* * .Ydb.Table.StoragePool tablet_commit_log1 = 2; * @return The tabletCommitLog1. */ public tech.ydb.proto.table.YdbTable.StoragePool getTabletCommitLog1() { if (tabletCommitLog1Builder_ == null) { return tabletCommitLog1_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : tabletCommitLog1_; } else { return tabletCommitLog1Builder_.getMessage(); } } /** *
       * This specifies internal channel 1 commit log storage pool
       * Fastest available storage recommended, small amounts of short-lived data
       * 
* * .Ydb.Table.StoragePool tablet_commit_log1 = 2; */ public Builder setTabletCommitLog1(tech.ydb.proto.table.YdbTable.StoragePool value) { if (tabletCommitLog1Builder_ == null) { if (value == null) { throw new NullPointerException(); } tabletCommitLog1_ = value; } else { tabletCommitLog1Builder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * This specifies internal channel 1 commit log storage pool
       * Fastest available storage recommended, small amounts of short-lived data
       * 
* * .Ydb.Table.StoragePool tablet_commit_log1 = 2; */ public Builder setTabletCommitLog1( tech.ydb.proto.table.YdbTable.StoragePool.Builder builderForValue) { if (tabletCommitLog1Builder_ == null) { tabletCommitLog1_ = builderForValue.build(); } else { tabletCommitLog1Builder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * This specifies internal channel 1 commit log storage pool
       * Fastest available storage recommended, small amounts of short-lived data
       * 
* * .Ydb.Table.StoragePool tablet_commit_log1 = 2; */ public Builder mergeTabletCommitLog1(tech.ydb.proto.table.YdbTable.StoragePool value) { if (tabletCommitLog1Builder_ == null) { if (((bitField0_ & 0x00000002) != 0) && tabletCommitLog1_ != null && tabletCommitLog1_ != tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance()) { getTabletCommitLog1Builder().mergeFrom(value); } else { tabletCommitLog1_ = value; } } else { tabletCommitLog1Builder_.mergeFrom(value); } if (tabletCommitLog1_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** *
       * This specifies internal channel 1 commit log storage pool
       * Fastest available storage recommended, small amounts of short-lived data
       * 
* * .Ydb.Table.StoragePool tablet_commit_log1 = 2; */ public Builder clearTabletCommitLog1() { bitField0_ = (bitField0_ & ~0x00000002); tabletCommitLog1_ = null; if (tabletCommitLog1Builder_ != null) { tabletCommitLog1Builder_.dispose(); tabletCommitLog1Builder_ = null; } onChanged(); return this; } /** *
       * This specifies internal channel 1 commit log storage pool
       * Fastest available storage recommended, small amounts of short-lived data
       * 
* * .Ydb.Table.StoragePool tablet_commit_log1 = 2; */ public tech.ydb.proto.table.YdbTable.StoragePool.Builder getTabletCommitLog1Builder() { bitField0_ |= 0x00000002; onChanged(); return getTabletCommitLog1FieldBuilder().getBuilder(); } /** *
       * This specifies internal channel 1 commit log storage pool
       * Fastest available storage recommended, small amounts of short-lived data
       * 
* * .Ydb.Table.StoragePool tablet_commit_log1 = 2; */ public tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder getTabletCommitLog1OrBuilder() { if (tabletCommitLog1Builder_ != null) { return tabletCommitLog1Builder_.getMessageOrBuilder(); } else { return tabletCommitLog1_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : tabletCommitLog1_; } } /** *
       * This specifies internal channel 1 commit log storage pool
       * Fastest available storage recommended, small amounts of short-lived data
       * 
* * .Ydb.Table.StoragePool tablet_commit_log1 = 2; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePool, tech.ydb.proto.table.YdbTable.StoragePool.Builder, tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder> getTabletCommitLog1FieldBuilder() { if (tabletCommitLog1Builder_ == null) { tabletCommitLog1Builder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePool, tech.ydb.proto.table.YdbTable.StoragePool.Builder, tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder>( getTabletCommitLog1(), getParentForChildren(), isClean()); tabletCommitLog1_ = null; } return tabletCommitLog1Builder_; } private tech.ydb.proto.table.YdbTable.StoragePool external_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePool, tech.ydb.proto.table.YdbTable.StoragePool.Builder, tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder> externalBuilder_; /** *
       * This specifies external blobs storage pool
       * 
* * .Ydb.Table.StoragePool external = 4; * @return Whether the external field is set. */ public boolean hasExternal() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * This specifies external blobs storage pool
       * 
* * .Ydb.Table.StoragePool external = 4; * @return The external. */ public tech.ydb.proto.table.YdbTable.StoragePool getExternal() { if (externalBuilder_ == null) { return external_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : external_; } else { return externalBuilder_.getMessage(); } } /** *
       * This specifies external blobs storage pool
       * 
* * .Ydb.Table.StoragePool external = 4; */ public Builder setExternal(tech.ydb.proto.table.YdbTable.StoragePool value) { if (externalBuilder_ == null) { if (value == null) { throw new NullPointerException(); } external_ = value; } else { externalBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * This specifies external blobs storage pool
       * 
* * .Ydb.Table.StoragePool external = 4; */ public Builder setExternal( tech.ydb.proto.table.YdbTable.StoragePool.Builder builderForValue) { if (externalBuilder_ == null) { external_ = builderForValue.build(); } else { externalBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * This specifies external blobs storage pool
       * 
* * .Ydb.Table.StoragePool external = 4; */ public Builder mergeExternal(tech.ydb.proto.table.YdbTable.StoragePool value) { if (externalBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && external_ != null && external_ != tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance()) { getExternalBuilder().mergeFrom(value); } else { external_ = value; } } else { externalBuilder_.mergeFrom(value); } if (external_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** *
       * This specifies external blobs storage pool
       * 
* * .Ydb.Table.StoragePool external = 4; */ public Builder clearExternal() { bitField0_ = (bitField0_ & ~0x00000004); external_ = null; if (externalBuilder_ != null) { externalBuilder_.dispose(); externalBuilder_ = null; } onChanged(); return this; } /** *
       * This specifies external blobs storage pool
       * 
* * .Ydb.Table.StoragePool external = 4; */ public tech.ydb.proto.table.YdbTable.StoragePool.Builder getExternalBuilder() { bitField0_ |= 0x00000004; onChanged(); return getExternalFieldBuilder().getBuilder(); } /** *
       * This specifies external blobs storage pool
       * 
* * .Ydb.Table.StoragePool external = 4; */ public tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder getExternalOrBuilder() { if (externalBuilder_ != null) { return externalBuilder_.getMessageOrBuilder(); } else { return external_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : external_; } } /** *
       * This specifies external blobs storage pool
       * 
* * .Ydb.Table.StoragePool external = 4; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePool, tech.ydb.proto.table.YdbTable.StoragePool.Builder, tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder> getExternalFieldBuilder() { if (externalBuilder_ == null) { externalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePool, tech.ydb.proto.table.YdbTable.StoragePool.Builder, tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder>( getExternal(), getParentForChildren(), isClean()); external_ = null; } return externalBuilder_; } private int storeExternalBlobs_ = 0; /** *
       * Optionally store large values in "external blobs"
       * WARNING: DO NOT USE
       * This feature is experimental and should not be used, restrictions apply:
       * * Table cannot split/merge when this is enabled
       * * Table cannot be copied or backed up when this is enabled
       * * This feature cannot be disabled once enabled for a table
       * 
* * .Ydb.FeatureFlag.Status store_external_blobs = 5; * @return The enum numeric value on the wire for storeExternalBlobs. */ @java.lang.Override public int getStoreExternalBlobsValue() { return storeExternalBlobs_; } /** *
       * Optionally store large values in "external blobs"
       * WARNING: DO NOT USE
       * This feature is experimental and should not be used, restrictions apply:
       * * Table cannot split/merge when this is enabled
       * * Table cannot be copied or backed up when this is enabled
       * * This feature cannot be disabled once enabled for a table
       * 
* * .Ydb.FeatureFlag.Status store_external_blobs = 5; * @param value The enum numeric value on the wire for storeExternalBlobs to set. * @return This builder for chaining. */ public Builder setStoreExternalBlobsValue(int value) { storeExternalBlobs_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * Optionally store large values in "external blobs"
       * WARNING: DO NOT USE
       * This feature is experimental and should not be used, restrictions apply:
       * * Table cannot split/merge when this is enabled
       * * Table cannot be copied or backed up when this is enabled
       * * This feature cannot be disabled once enabled for a table
       * 
* * .Ydb.FeatureFlag.Status store_external_blobs = 5; * @return The storeExternalBlobs. */ @java.lang.Override public tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getStoreExternalBlobs() { tech.ydb.proto.common.CommonProtos.FeatureFlag.Status result = tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.forNumber(storeExternalBlobs_); return result == null ? tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } /** *
       * Optionally store large values in "external blobs"
       * WARNING: DO NOT USE
       * This feature is experimental and should not be used, restrictions apply:
       * * Table cannot split/merge when this is enabled
       * * Table cannot be copied or backed up when this is enabled
       * * This feature cannot be disabled once enabled for a table
       * 
* * .Ydb.FeatureFlag.Status store_external_blobs = 5; * @param value The storeExternalBlobs to set. * @return This builder for chaining. */ public Builder setStoreExternalBlobs(tech.ydb.proto.common.CommonProtos.FeatureFlag.Status value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; storeExternalBlobs_ = value.getNumber(); onChanged(); return this; } /** *
       * Optionally store large values in "external blobs"
       * WARNING: DO NOT USE
       * This feature is experimental and should not be used, restrictions apply:
       * * Table cannot split/merge when this is enabled
       * * Table cannot be copied or backed up when this is enabled
       * * This feature cannot be disabled once enabled for a table
       * 
* * .Ydb.FeatureFlag.Status store_external_blobs = 5; * @return This builder for chaining. */ public Builder clearStoreExternalBlobs() { bitField0_ = (bitField0_ & ~0x00000008); storeExternalBlobs_ = 0; 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.Table.StorageSettings) } // @@protoc_insertion_point(class_scope:Ydb.Table.StorageSettings) private static final tech.ydb.proto.table.YdbTable.StorageSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.StorageSettings(); } public static tech.ydb.proto.table.YdbTable.StorageSettings getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public StorageSettings 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.table.YdbTable.StorageSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ColumnFamilyOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.ColumnFamily) com.google.protobuf.MessageOrBuilder { /** *
     * Name of the column family, the name "default" must be used for the
     * primary column family that contains at least primary key columns
     * 
* * string name = 1; * @return The name. */ java.lang.String getName(); /** *
     * Name of the column family, the name "default" must be used for the
     * primary column family that contains at least primary key columns
     * 
* * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * This specifies data storage settings for column family
     * 
* * .Ydb.Table.StoragePool data = 2; * @return Whether the data field is set. */ boolean hasData(); /** *
     * This specifies data storage settings for column family
     * 
* * .Ydb.Table.StoragePool data = 2; * @return The data. */ tech.ydb.proto.table.YdbTable.StoragePool getData(); /** *
     * This specifies data storage settings for column family
     * 
* * .Ydb.Table.StoragePool data = 2; */ tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder getDataOrBuilder(); /** *
     * Optionally specify how data should be compressed
     * 
* * .Ydb.Table.ColumnFamily.Compression compression = 3; * @return The enum numeric value on the wire for compression. */ int getCompressionValue(); /** *
     * Optionally specify how data should be compressed
     * 
* * .Ydb.Table.ColumnFamily.Compression compression = 3; * @return The compression. */ tech.ydb.proto.table.YdbTable.ColumnFamily.Compression getCompression(); /** *
     * When enabled table data will be kept in memory
     * WARNING: DO NOT USE
     * 
* * .Ydb.FeatureFlag.Status keep_in_memory = 4; * @return The enum numeric value on the wire for keepInMemory. */ int getKeepInMemoryValue(); /** *
     * When enabled table data will be kept in memory
     * WARNING: DO NOT USE
     * 
* * .Ydb.FeatureFlag.Status keep_in_memory = 4; * @return The keepInMemory. */ tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getKeepInMemory(); } /** * Protobuf type {@code Ydb.Table.ColumnFamily} */ public static final class ColumnFamily extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.ColumnFamily) ColumnFamilyOrBuilder { private static final long serialVersionUID = 0L; // Use ColumnFamily.newBuilder() to construct. private ColumnFamily(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ColumnFamily() { name_ = ""; compression_ = 0; keepInMemory_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ColumnFamily(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ColumnFamily_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ColumnFamily_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ColumnFamily.class, tech.ydb.proto.table.YdbTable.ColumnFamily.Builder.class); } /** * Protobuf enum {@code Ydb.Table.ColumnFamily.Compression} */ public enum Compression implements com.google.protobuf.ProtocolMessageEnum { /** * COMPRESSION_UNSPECIFIED = 0; */ COMPRESSION_UNSPECIFIED(0), /** * COMPRESSION_NONE = 1; */ COMPRESSION_NONE(1), /** * COMPRESSION_LZ4 = 2; */ COMPRESSION_LZ4(2), UNRECOGNIZED(-1), ; /** * COMPRESSION_UNSPECIFIED = 0; */ public static final int COMPRESSION_UNSPECIFIED_VALUE = 0; /** * COMPRESSION_NONE = 1; */ public static final int COMPRESSION_NONE_VALUE = 1; /** * COMPRESSION_LZ4 = 2; */ public static final int COMPRESSION_LZ4_VALUE = 2; 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 Compression 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 Compression forNumber(int value) { switch (value) { case 0: return COMPRESSION_UNSPECIFIED; case 1: return COMPRESSION_NONE; case 2: return COMPRESSION_LZ4; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Compression> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Compression findValueByNumber(int number) { return Compression.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.table.YdbTable.ColumnFamily.getDescriptor().getEnumTypes().get(0); } private static final Compression[] VALUES = values(); public static Compression 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 Compression(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Ydb.Table.ColumnFamily.Compression) } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** *
     * Name of the column family, the name "default" must be used for the
     * primary column family that contains at least primary key columns
     * 
* * 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 the column family, the name "default" must be used for the
     * primary column family that contains at least primary key columns
     * 
* * 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 DATA_FIELD_NUMBER = 2; private tech.ydb.proto.table.YdbTable.StoragePool data_; /** *
     * This specifies data storage settings for column family
     * 
* * .Ydb.Table.StoragePool data = 2; * @return Whether the data field is set. */ @java.lang.Override public boolean hasData() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * This specifies data storage settings for column family
     * 
* * .Ydb.Table.StoragePool data = 2; * @return The data. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StoragePool getData() { return data_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : data_; } /** *
     * This specifies data storage settings for column family
     * 
* * .Ydb.Table.StoragePool data = 2; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder getDataOrBuilder() { return data_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : data_; } public static final int COMPRESSION_FIELD_NUMBER = 3; private int compression_ = 0; /** *
     * Optionally specify how data should be compressed
     * 
* * .Ydb.Table.ColumnFamily.Compression compression = 3; * @return The enum numeric value on the wire for compression. */ @java.lang.Override public int getCompressionValue() { return compression_; } /** *
     * Optionally specify how data should be compressed
     * 
* * .Ydb.Table.ColumnFamily.Compression compression = 3; * @return The compression. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ColumnFamily.Compression getCompression() { tech.ydb.proto.table.YdbTable.ColumnFamily.Compression result = tech.ydb.proto.table.YdbTable.ColumnFamily.Compression.forNumber(compression_); return result == null ? tech.ydb.proto.table.YdbTable.ColumnFamily.Compression.UNRECOGNIZED : result; } public static final int KEEP_IN_MEMORY_FIELD_NUMBER = 4; private int keepInMemory_ = 0; /** *
     * When enabled table data will be kept in memory
     * WARNING: DO NOT USE
     * 
* * .Ydb.FeatureFlag.Status keep_in_memory = 4; * @return The enum numeric value on the wire for keepInMemory. */ @java.lang.Override public int getKeepInMemoryValue() { return keepInMemory_; } /** *
     * When enabled table data will be kept in memory
     * WARNING: DO NOT USE
     * 
* * .Ydb.FeatureFlag.Status keep_in_memory = 4; * @return The keepInMemory. */ @java.lang.Override public tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getKeepInMemory() { tech.ydb.proto.common.CommonProtos.FeatureFlag.Status result = tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.forNumber(keepInMemory_); return result == null ? tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getData()); } if (compression_ != tech.ydb.proto.table.YdbTable.ColumnFamily.Compression.COMPRESSION_UNSPECIFIED.getNumber()) { output.writeEnum(3, compression_); } if (keepInMemory_ != tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(4, keepInMemory_); } 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 (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getData()); } if (compression_ != tech.ydb.proto.table.YdbTable.ColumnFamily.Compression.COMPRESSION_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, compression_); } if (keepInMemory_ != tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, keepInMemory_); } 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.table.YdbTable.ColumnFamily)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.ColumnFamily other = (tech.ydb.proto.table.YdbTable.ColumnFamily) obj; if (!getName() .equals(other.getName())) return false; if (hasData() != other.hasData()) return false; if (hasData()) { if (!getData() .equals(other.getData())) return false; } if (compression_ != other.compression_) return false; if (keepInMemory_ != other.keepInMemory_) 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(); if (hasData()) { hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); } hash = (37 * hash) + COMPRESSION_FIELD_NUMBER; hash = (53 * hash) + compression_; hash = (37 * hash) + KEEP_IN_MEMORY_FIELD_NUMBER; hash = (53 * hash) + keepInMemory_; hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.ColumnFamily parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ColumnFamily 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.table.YdbTable.ColumnFamily parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ColumnFamily 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.table.YdbTable.ColumnFamily parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ColumnFamily parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.ColumnFamily parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ColumnFamily 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.table.YdbTable.ColumnFamily parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ColumnFamily 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.table.YdbTable.ColumnFamily parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ColumnFamily 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.table.YdbTable.ColumnFamily 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.Table.ColumnFamily} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.ColumnFamily) tech.ydb.proto.table.YdbTable.ColumnFamilyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ColumnFamily_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ColumnFamily_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ColumnFamily.class, tech.ydb.proto.table.YdbTable.ColumnFamily.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.ColumnFamily.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getDataFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; data_ = null; if (dataBuilder_ != null) { dataBuilder_.dispose(); dataBuilder_ = null; } compression_ = 0; keepInMemory_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ColumnFamily_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ColumnFamily getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.ColumnFamily.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.ColumnFamily build() { tech.ydb.proto.table.YdbTable.ColumnFamily result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ColumnFamily buildPartial() { tech.ydb.proto.table.YdbTable.ColumnFamily result = new tech.ydb.proto.table.YdbTable.ColumnFamily(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.ColumnFamily result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.data_ = dataBuilder_ == null ? data_ : dataBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.compression_ = compression_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.keepInMemory_ = keepInMemory_; } 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.table.YdbTable.ColumnFamily) { return mergeFrom((tech.ydb.proto.table.YdbTable.ColumnFamily)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.ColumnFamily other) { if (other == tech.ydb.proto.table.YdbTable.ColumnFamily.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasData()) { mergeData(other.getData()); } if (other.compression_ != 0) { setCompressionValue(other.getCompressionValue()); } if (other.keepInMemory_ != 0) { setKeepInMemoryValue(other.getKeepInMemoryValue()); } 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: { input.readMessage( getDataFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 24: { compression_ = input.readEnum(); bitField0_ |= 0x00000004; break; } // case 24 case 32: { keepInMemory_ = input.readEnum(); bitField0_ |= 0x00000008; break; } // case 32 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 the column family, the name "default" must be used for the
       * primary column family that contains at least primary key columns
       * 
* * 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 the column family, the name "default" must be used for the
       * primary column family that contains at least primary key columns
       * 
* * 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 the column family, the name "default" must be used for the
       * primary column family that contains at least primary key columns
       * 
* * 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 the column family, the name "default" must be used for the
       * primary column family that contains at least primary key columns
       * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Name of the column family, the name "default" must be used for the
       * primary column family that contains at least primary key columns
       * 
* * 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 tech.ydb.proto.table.YdbTable.StoragePool data_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePool, tech.ydb.proto.table.YdbTable.StoragePool.Builder, tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder> dataBuilder_; /** *
       * This specifies data storage settings for column family
       * 
* * .Ydb.Table.StoragePool data = 2; * @return Whether the data field is set. */ public boolean hasData() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * This specifies data storage settings for column family
       * 
* * .Ydb.Table.StoragePool data = 2; * @return The data. */ public tech.ydb.proto.table.YdbTable.StoragePool getData() { if (dataBuilder_ == null) { return data_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : data_; } else { return dataBuilder_.getMessage(); } } /** *
       * This specifies data storage settings for column family
       * 
* * .Ydb.Table.StoragePool data = 2; */ public Builder setData(tech.ydb.proto.table.YdbTable.StoragePool value) { if (dataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; } else { dataBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * This specifies data storage settings for column family
       * 
* * .Ydb.Table.StoragePool data = 2; */ public Builder setData( tech.ydb.proto.table.YdbTable.StoragePool.Builder builderForValue) { if (dataBuilder_ == null) { data_ = builderForValue.build(); } else { dataBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * This specifies data storage settings for column family
       * 
* * .Ydb.Table.StoragePool data = 2; */ public Builder mergeData(tech.ydb.proto.table.YdbTable.StoragePool value) { if (dataBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && data_ != null && data_ != tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance()) { getDataBuilder().mergeFrom(value); } else { data_ = value; } } else { dataBuilder_.mergeFrom(value); } if (data_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** *
       * This specifies data storage settings for column family
       * 
* * .Ydb.Table.StoragePool data = 2; */ public Builder clearData() { bitField0_ = (bitField0_ & ~0x00000002); data_ = null; if (dataBuilder_ != null) { dataBuilder_.dispose(); dataBuilder_ = null; } onChanged(); return this; } /** *
       * This specifies data storage settings for column family
       * 
* * .Ydb.Table.StoragePool data = 2; */ public tech.ydb.proto.table.YdbTable.StoragePool.Builder getDataBuilder() { bitField0_ |= 0x00000002; onChanged(); return getDataFieldBuilder().getBuilder(); } /** *
       * This specifies data storage settings for column family
       * 
* * .Ydb.Table.StoragePool data = 2; */ public tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder getDataOrBuilder() { if (dataBuilder_ != null) { return dataBuilder_.getMessageOrBuilder(); } else { return data_ == null ? tech.ydb.proto.table.YdbTable.StoragePool.getDefaultInstance() : data_; } } /** *
       * This specifies data storage settings for column family
       * 
* * .Ydb.Table.StoragePool data = 2; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePool, tech.ydb.proto.table.YdbTable.StoragePool.Builder, tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder> getDataFieldBuilder() { if (dataBuilder_ == null) { dataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePool, tech.ydb.proto.table.YdbTable.StoragePool.Builder, tech.ydb.proto.table.YdbTable.StoragePoolOrBuilder>( getData(), getParentForChildren(), isClean()); data_ = null; } return dataBuilder_; } private int compression_ = 0; /** *
       * Optionally specify how data should be compressed
       * 
* * .Ydb.Table.ColumnFamily.Compression compression = 3; * @return The enum numeric value on the wire for compression. */ @java.lang.Override public int getCompressionValue() { return compression_; } /** *
       * Optionally specify how data should be compressed
       * 
* * .Ydb.Table.ColumnFamily.Compression compression = 3; * @param value The enum numeric value on the wire for compression to set. * @return This builder for chaining. */ public Builder setCompressionValue(int value) { compression_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * Optionally specify how data should be compressed
       * 
* * .Ydb.Table.ColumnFamily.Compression compression = 3; * @return The compression. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ColumnFamily.Compression getCompression() { tech.ydb.proto.table.YdbTable.ColumnFamily.Compression result = tech.ydb.proto.table.YdbTable.ColumnFamily.Compression.forNumber(compression_); return result == null ? tech.ydb.proto.table.YdbTable.ColumnFamily.Compression.UNRECOGNIZED : result; } /** *
       * Optionally specify how data should be compressed
       * 
* * .Ydb.Table.ColumnFamily.Compression compression = 3; * @param value The compression to set. * @return This builder for chaining. */ public Builder setCompression(tech.ydb.proto.table.YdbTable.ColumnFamily.Compression value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; compression_ = value.getNumber(); onChanged(); return this; } /** *
       * Optionally specify how data should be compressed
       * 
* * .Ydb.Table.ColumnFamily.Compression compression = 3; * @return This builder for chaining. */ public Builder clearCompression() { bitField0_ = (bitField0_ & ~0x00000004); compression_ = 0; onChanged(); return this; } private int keepInMemory_ = 0; /** *
       * When enabled table data will be kept in memory
       * WARNING: DO NOT USE
       * 
* * .Ydb.FeatureFlag.Status keep_in_memory = 4; * @return The enum numeric value on the wire for keepInMemory. */ @java.lang.Override public int getKeepInMemoryValue() { return keepInMemory_; } /** *
       * When enabled table data will be kept in memory
       * WARNING: DO NOT USE
       * 
* * .Ydb.FeatureFlag.Status keep_in_memory = 4; * @param value The enum numeric value on the wire for keepInMemory to set. * @return This builder for chaining. */ public Builder setKeepInMemoryValue(int value) { keepInMemory_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * When enabled table data will be kept in memory
       * WARNING: DO NOT USE
       * 
* * .Ydb.FeatureFlag.Status keep_in_memory = 4; * @return The keepInMemory. */ @java.lang.Override public tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getKeepInMemory() { tech.ydb.proto.common.CommonProtos.FeatureFlag.Status result = tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.forNumber(keepInMemory_); return result == null ? tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } /** *
       * When enabled table data will be kept in memory
       * WARNING: DO NOT USE
       * 
* * .Ydb.FeatureFlag.Status keep_in_memory = 4; * @param value The keepInMemory to set. * @return This builder for chaining. */ public Builder setKeepInMemory(tech.ydb.proto.common.CommonProtos.FeatureFlag.Status value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; keepInMemory_ = value.getNumber(); onChanged(); return this; } /** *
       * When enabled table data will be kept in memory
       * WARNING: DO NOT USE
       * 
* * .Ydb.FeatureFlag.Status keep_in_memory = 4; * @return This builder for chaining. */ public Builder clearKeepInMemory() { bitField0_ = (bitField0_ & ~0x00000008); keepInMemory_ = 0; 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.Table.ColumnFamily) } // @@protoc_insertion_point(class_scope:Ydb.Table.ColumnFamily) private static final tech.ydb.proto.table.YdbTable.ColumnFamily DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.ColumnFamily(); } public static tech.ydb.proto.table.YdbTable.ColumnFamily getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ColumnFamily 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.table.YdbTable.ColumnFamily getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PartitioningSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.PartitioningSettings) com.google.protobuf.MessageOrBuilder { /** *
     * List of columns to partition by
     * 
* * repeated string partition_by = 1; * @return A list containing the partitionBy. */ java.util.List getPartitionByList(); /** *
     * List of columns to partition by
     * 
* * repeated string partition_by = 1; * @return The count of partitionBy. */ int getPartitionByCount(); /** *
     * List of columns to partition by
     * 
* * repeated string partition_by = 1; * @param index The index of the element to return. * @return The partitionBy at the given index. */ java.lang.String getPartitionBy(int index); /** *
     * List of columns to partition by
     * 
* * repeated string partition_by = 1; * @param index The index of the value to return. * @return The bytes of the partitionBy at the given index. */ com.google.protobuf.ByteString getPartitionByBytes(int index); /** *
     * Enable auto partitioning on reaching upper or lower partition size bound
     * 
* * .Ydb.FeatureFlag.Status partitioning_by_size = 2; * @return The enum numeric value on the wire for partitioningBySize. */ int getPartitioningBySizeValue(); /** *
     * Enable auto partitioning on reaching upper or lower partition size bound
     * 
* * .Ydb.FeatureFlag.Status partitioning_by_size = 2; * @return The partitioningBySize. */ tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getPartitioningBySize(); /** *
     * Preferred partition size for auto partitioning by size, Mb
     * 
* * uint64 partition_size_mb = 3; * @return The partitionSizeMb. */ long getPartitionSizeMb(); /** *
     * Enable auto partitioning based on load on each partition
     * 
* * .Ydb.FeatureFlag.Status partitioning_by_load = 4; * @return The enum numeric value on the wire for partitioningByLoad. */ int getPartitioningByLoadValue(); /** *
     * Enable auto partitioning based on load on each partition
     * 
* * .Ydb.FeatureFlag.Status partitioning_by_load = 4; * @return The partitioningByLoad. */ tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getPartitioningByLoad(); /** *
     * Minimum partitions count auto merge would stop working at
     * 
* * uint64 min_partitions_count = 6; * @return The minPartitionsCount. */ long getMinPartitionsCount(); /** *
     * Maximum partitions count auto split would stop working at
     * 
* * uint64 max_partitions_count = 7; * @return The maxPartitionsCount. */ long getMaxPartitionsCount(); } /** * Protobuf type {@code Ydb.Table.PartitioningSettings} */ public static final class PartitioningSettings extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.PartitioningSettings) PartitioningSettingsOrBuilder { private static final long serialVersionUID = 0L; // Use PartitioningSettings.newBuilder() to construct. private PartitioningSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PartitioningSettings() { partitionBy_ = com.google.protobuf.LazyStringArrayList.emptyList(); partitioningBySize_ = 0; partitioningByLoad_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PartitioningSettings(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PartitioningSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PartitioningSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.PartitioningSettings.class, tech.ydb.proto.table.YdbTable.PartitioningSettings.Builder.class); } public static final int PARTITION_BY_FIELD_NUMBER = 1; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList partitionBy_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * List of columns to partition by
     * 
* * repeated string partition_by = 1; * @return A list containing the partitionBy. */ public com.google.protobuf.ProtocolStringList getPartitionByList() { return partitionBy_; } /** *
     * List of columns to partition by
     * 
* * repeated string partition_by = 1; * @return The count of partitionBy. */ public int getPartitionByCount() { return partitionBy_.size(); } /** *
     * List of columns to partition by
     * 
* * repeated string partition_by = 1; * @param index The index of the element to return. * @return The partitionBy at the given index. */ public java.lang.String getPartitionBy(int index) { return partitionBy_.get(index); } /** *
     * List of columns to partition by
     * 
* * repeated string partition_by = 1; * @param index The index of the value to return. * @return The bytes of the partitionBy at the given index. */ public com.google.protobuf.ByteString getPartitionByBytes(int index) { return partitionBy_.getByteString(index); } public static final int PARTITIONING_BY_SIZE_FIELD_NUMBER = 2; private int partitioningBySize_ = 0; /** *
     * Enable auto partitioning on reaching upper or lower partition size bound
     * 
* * .Ydb.FeatureFlag.Status partitioning_by_size = 2; * @return The enum numeric value on the wire for partitioningBySize. */ @java.lang.Override public int getPartitioningBySizeValue() { return partitioningBySize_; } /** *
     * Enable auto partitioning on reaching upper or lower partition size bound
     * 
* * .Ydb.FeatureFlag.Status partitioning_by_size = 2; * @return The partitioningBySize. */ @java.lang.Override public tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getPartitioningBySize() { tech.ydb.proto.common.CommonProtos.FeatureFlag.Status result = tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.forNumber(partitioningBySize_); return result == null ? tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } public static final int PARTITION_SIZE_MB_FIELD_NUMBER = 3; private long partitionSizeMb_ = 0L; /** *
     * Preferred partition size for auto partitioning by size, Mb
     * 
* * uint64 partition_size_mb = 3; * @return The partitionSizeMb. */ @java.lang.Override public long getPartitionSizeMb() { return partitionSizeMb_; } public static final int PARTITIONING_BY_LOAD_FIELD_NUMBER = 4; private int partitioningByLoad_ = 0; /** *
     * Enable auto partitioning based on load on each partition
     * 
* * .Ydb.FeatureFlag.Status partitioning_by_load = 4; * @return The enum numeric value on the wire for partitioningByLoad. */ @java.lang.Override public int getPartitioningByLoadValue() { return partitioningByLoad_; } /** *
     * Enable auto partitioning based on load on each partition
     * 
* * .Ydb.FeatureFlag.Status partitioning_by_load = 4; * @return The partitioningByLoad. */ @java.lang.Override public tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getPartitioningByLoad() { tech.ydb.proto.common.CommonProtos.FeatureFlag.Status result = tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.forNumber(partitioningByLoad_); return result == null ? tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } public static final int MIN_PARTITIONS_COUNT_FIELD_NUMBER = 6; private long minPartitionsCount_ = 0L; /** *
     * Minimum partitions count auto merge would stop working at
     * 
* * uint64 min_partitions_count = 6; * @return The minPartitionsCount. */ @java.lang.Override public long getMinPartitionsCount() { return minPartitionsCount_; } public static final int MAX_PARTITIONS_COUNT_FIELD_NUMBER = 7; private long maxPartitionsCount_ = 0L; /** *
     * Maximum partitions count auto split would stop working at
     * 
* * uint64 max_partitions_count = 7; * @return The maxPartitionsCount. */ @java.lang.Override public long getMaxPartitionsCount() { return maxPartitionsCount_; } 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 { for (int i = 0; i < partitionBy_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, partitionBy_.getRaw(i)); } if (partitioningBySize_ != tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(2, partitioningBySize_); } if (partitionSizeMb_ != 0L) { output.writeUInt64(3, partitionSizeMb_); } if (partitioningByLoad_ != tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(4, partitioningByLoad_); } if (minPartitionsCount_ != 0L) { output.writeUInt64(6, minPartitionsCount_); } if (maxPartitionsCount_ != 0L) { output.writeUInt64(7, maxPartitionsCount_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < partitionBy_.size(); i++) { dataSize += computeStringSizeNoTag(partitionBy_.getRaw(i)); } size += dataSize; size += 1 * getPartitionByList().size(); } if (partitioningBySize_ != tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, partitioningBySize_); } if (partitionSizeMb_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, partitionSizeMb_); } if (partitioningByLoad_ != tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, partitioningByLoad_); } if (minPartitionsCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(6, minPartitionsCount_); } if (maxPartitionsCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(7, maxPartitionsCount_); } 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.table.YdbTable.PartitioningSettings)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.PartitioningSettings other = (tech.ydb.proto.table.YdbTable.PartitioningSettings) obj; if (!getPartitionByList() .equals(other.getPartitionByList())) return false; if (partitioningBySize_ != other.partitioningBySize_) return false; if (getPartitionSizeMb() != other.getPartitionSizeMb()) return false; if (partitioningByLoad_ != other.partitioningByLoad_) return false; if (getMinPartitionsCount() != other.getMinPartitionsCount()) return false; if (getMaxPartitionsCount() != other.getMaxPartitionsCount()) 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 (getPartitionByCount() > 0) { hash = (37 * hash) + PARTITION_BY_FIELD_NUMBER; hash = (53 * hash) + getPartitionByList().hashCode(); } hash = (37 * hash) + PARTITIONING_BY_SIZE_FIELD_NUMBER; hash = (53 * hash) + partitioningBySize_; hash = (37 * hash) + PARTITION_SIZE_MB_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPartitionSizeMb()); hash = (37 * hash) + PARTITIONING_BY_LOAD_FIELD_NUMBER; hash = (53 * hash) + partitioningByLoad_; hash = (37 * hash) + MIN_PARTITIONS_COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMinPartitionsCount()); hash = (37 * hash) + MAX_PARTITIONS_COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMaxPartitionsCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.PartitioningSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.PartitioningSettings 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.table.YdbTable.PartitioningSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.PartitioningSettings 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.table.YdbTable.PartitioningSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.PartitioningSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.PartitioningSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.PartitioningSettings 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.table.YdbTable.PartitioningSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.PartitioningSettings 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.table.YdbTable.PartitioningSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.PartitioningSettings 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.table.YdbTable.PartitioningSettings 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.Table.PartitioningSettings} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.PartitioningSettings) tech.ydb.proto.table.YdbTable.PartitioningSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PartitioningSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PartitioningSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.PartitioningSettings.class, tech.ydb.proto.table.YdbTable.PartitioningSettings.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.PartitioningSettings.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; partitionBy_ = com.google.protobuf.LazyStringArrayList.emptyList(); partitioningBySize_ = 0; partitionSizeMb_ = 0L; partitioningByLoad_ = 0; minPartitionsCount_ = 0L; maxPartitionsCount_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PartitioningSettings_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.PartitioningSettings getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.PartitioningSettings.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.PartitioningSettings build() { tech.ydb.proto.table.YdbTable.PartitioningSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.PartitioningSettings buildPartial() { tech.ydb.proto.table.YdbTable.PartitioningSettings result = new tech.ydb.proto.table.YdbTable.PartitioningSettings(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.PartitioningSettings result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { partitionBy_.makeImmutable(); result.partitionBy_ = partitionBy_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.partitioningBySize_ = partitioningBySize_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.partitionSizeMb_ = partitionSizeMb_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.partitioningByLoad_ = partitioningByLoad_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.minPartitionsCount_ = minPartitionsCount_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.maxPartitionsCount_ = maxPartitionsCount_; } } @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.table.YdbTable.PartitioningSettings) { return mergeFrom((tech.ydb.proto.table.YdbTable.PartitioningSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.PartitioningSettings other) { if (other == tech.ydb.proto.table.YdbTable.PartitioningSettings.getDefaultInstance()) return this; if (!other.partitionBy_.isEmpty()) { if (partitionBy_.isEmpty()) { partitionBy_ = other.partitionBy_; bitField0_ |= 0x00000001; } else { ensurePartitionByIsMutable(); partitionBy_.addAll(other.partitionBy_); } onChanged(); } if (other.partitioningBySize_ != 0) { setPartitioningBySizeValue(other.getPartitioningBySizeValue()); } if (other.getPartitionSizeMb() != 0L) { setPartitionSizeMb(other.getPartitionSizeMb()); } if (other.partitioningByLoad_ != 0) { setPartitioningByLoadValue(other.getPartitioningByLoadValue()); } if (other.getMinPartitionsCount() != 0L) { setMinPartitionsCount(other.getMinPartitionsCount()); } if (other.getMaxPartitionsCount() != 0L) { setMaxPartitionsCount(other.getMaxPartitionsCount()); } 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: { java.lang.String s = input.readStringRequireUtf8(); ensurePartitionByIsMutable(); partitionBy_.add(s); break; } // case 10 case 16: { partitioningBySize_ = input.readEnum(); bitField0_ |= 0x00000002; break; } // case 16 case 24: { partitionSizeMb_ = input.readUInt64(); bitField0_ |= 0x00000004; break; } // case 24 case 32: { partitioningByLoad_ = input.readEnum(); bitField0_ |= 0x00000008; break; } // case 32 case 48: { minPartitionsCount_ = input.readUInt64(); bitField0_ |= 0x00000010; break; } // case 48 case 56: { maxPartitionsCount_ = input.readUInt64(); bitField0_ |= 0x00000020; break; } // case 56 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 com.google.protobuf.LazyStringArrayList partitionBy_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensurePartitionByIsMutable() { if (!partitionBy_.isModifiable()) { partitionBy_ = new com.google.protobuf.LazyStringArrayList(partitionBy_); } bitField0_ |= 0x00000001; } /** *
       * List of columns to partition by
       * 
* * repeated string partition_by = 1; * @return A list containing the partitionBy. */ public com.google.protobuf.ProtocolStringList getPartitionByList() { partitionBy_.makeImmutable(); return partitionBy_; } /** *
       * List of columns to partition by
       * 
* * repeated string partition_by = 1; * @return The count of partitionBy. */ public int getPartitionByCount() { return partitionBy_.size(); } /** *
       * List of columns to partition by
       * 
* * repeated string partition_by = 1; * @param index The index of the element to return. * @return The partitionBy at the given index. */ public java.lang.String getPartitionBy(int index) { return partitionBy_.get(index); } /** *
       * List of columns to partition by
       * 
* * repeated string partition_by = 1; * @param index The index of the value to return. * @return The bytes of the partitionBy at the given index. */ public com.google.protobuf.ByteString getPartitionByBytes(int index) { return partitionBy_.getByteString(index); } /** *
       * List of columns to partition by
       * 
* * repeated string partition_by = 1; * @param index The index to set the value at. * @param value The partitionBy to set. * @return This builder for chaining. */ public Builder setPartitionBy( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePartitionByIsMutable(); partitionBy_.set(index, value); bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * List of columns to partition by
       * 
* * repeated string partition_by = 1; * @param value The partitionBy to add. * @return This builder for chaining. */ public Builder addPartitionBy( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePartitionByIsMutable(); partitionBy_.add(value); bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * List of columns to partition by
       * 
* * repeated string partition_by = 1; * @param values The partitionBy to add. * @return This builder for chaining. */ public Builder addAllPartitionBy( java.lang.Iterable values) { ensurePartitionByIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, partitionBy_); bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * List of columns to partition by
       * 
* * repeated string partition_by = 1; * @return This builder for chaining. */ public Builder clearPartitionBy() { partitionBy_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** *
       * List of columns to partition by
       * 
* * repeated string partition_by = 1; * @param value The bytes of the partitionBy to add. * @return This builder for chaining. */ public Builder addPartitionByBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePartitionByIsMutable(); partitionBy_.add(value); bitField0_ |= 0x00000001; onChanged(); return this; } private int partitioningBySize_ = 0; /** *
       * Enable auto partitioning on reaching upper or lower partition size bound
       * 
* * .Ydb.FeatureFlag.Status partitioning_by_size = 2; * @return The enum numeric value on the wire for partitioningBySize. */ @java.lang.Override public int getPartitioningBySizeValue() { return partitioningBySize_; } /** *
       * Enable auto partitioning on reaching upper or lower partition size bound
       * 
* * .Ydb.FeatureFlag.Status partitioning_by_size = 2; * @param value The enum numeric value on the wire for partitioningBySize to set. * @return This builder for chaining. */ public Builder setPartitioningBySizeValue(int value) { partitioningBySize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Enable auto partitioning on reaching upper or lower partition size bound
       * 
* * .Ydb.FeatureFlag.Status partitioning_by_size = 2; * @return The partitioningBySize. */ @java.lang.Override public tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getPartitioningBySize() { tech.ydb.proto.common.CommonProtos.FeatureFlag.Status result = tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.forNumber(partitioningBySize_); return result == null ? tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } /** *
       * Enable auto partitioning on reaching upper or lower partition size bound
       * 
* * .Ydb.FeatureFlag.Status partitioning_by_size = 2; * @param value The partitioningBySize to set. * @return This builder for chaining. */ public Builder setPartitioningBySize(tech.ydb.proto.common.CommonProtos.FeatureFlag.Status value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; partitioningBySize_ = value.getNumber(); onChanged(); return this; } /** *
       * Enable auto partitioning on reaching upper or lower partition size bound
       * 
* * .Ydb.FeatureFlag.Status partitioning_by_size = 2; * @return This builder for chaining. */ public Builder clearPartitioningBySize() { bitField0_ = (bitField0_ & ~0x00000002); partitioningBySize_ = 0; onChanged(); return this; } private long partitionSizeMb_ ; /** *
       * Preferred partition size for auto partitioning by size, Mb
       * 
* * uint64 partition_size_mb = 3; * @return The partitionSizeMb. */ @java.lang.Override public long getPartitionSizeMb() { return partitionSizeMb_; } /** *
       * Preferred partition size for auto partitioning by size, Mb
       * 
* * uint64 partition_size_mb = 3; * @param value The partitionSizeMb to set. * @return This builder for chaining. */ public Builder setPartitionSizeMb(long value) { partitionSizeMb_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * Preferred partition size for auto partitioning by size, Mb
       * 
* * uint64 partition_size_mb = 3; * @return This builder for chaining. */ public Builder clearPartitionSizeMb() { bitField0_ = (bitField0_ & ~0x00000004); partitionSizeMb_ = 0L; onChanged(); return this; } private int partitioningByLoad_ = 0; /** *
       * Enable auto partitioning based on load on each partition
       * 
* * .Ydb.FeatureFlag.Status partitioning_by_load = 4; * @return The enum numeric value on the wire for partitioningByLoad. */ @java.lang.Override public int getPartitioningByLoadValue() { return partitioningByLoad_; } /** *
       * Enable auto partitioning based on load on each partition
       * 
* * .Ydb.FeatureFlag.Status partitioning_by_load = 4; * @param value The enum numeric value on the wire for partitioningByLoad to set. * @return This builder for chaining. */ public Builder setPartitioningByLoadValue(int value) { partitioningByLoad_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * Enable auto partitioning based on load on each partition
       * 
* * .Ydb.FeatureFlag.Status partitioning_by_load = 4; * @return The partitioningByLoad. */ @java.lang.Override public tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getPartitioningByLoad() { tech.ydb.proto.common.CommonProtos.FeatureFlag.Status result = tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.forNumber(partitioningByLoad_); return result == null ? tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } /** *
       * Enable auto partitioning based on load on each partition
       * 
* * .Ydb.FeatureFlag.Status partitioning_by_load = 4; * @param value The partitioningByLoad to set. * @return This builder for chaining. */ public Builder setPartitioningByLoad(tech.ydb.proto.common.CommonProtos.FeatureFlag.Status value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; partitioningByLoad_ = value.getNumber(); onChanged(); return this; } /** *
       * Enable auto partitioning based on load on each partition
       * 
* * .Ydb.FeatureFlag.Status partitioning_by_load = 4; * @return This builder for chaining. */ public Builder clearPartitioningByLoad() { bitField0_ = (bitField0_ & ~0x00000008); partitioningByLoad_ = 0; onChanged(); return this; } private long minPartitionsCount_ ; /** *
       * Minimum partitions count auto merge would stop working at
       * 
* * uint64 min_partitions_count = 6; * @return The minPartitionsCount. */ @java.lang.Override public long getMinPartitionsCount() { return minPartitionsCount_; } /** *
       * Minimum partitions count auto merge would stop working at
       * 
* * uint64 min_partitions_count = 6; * @param value The minPartitionsCount to set. * @return This builder for chaining. */ public Builder setMinPartitionsCount(long value) { minPartitionsCount_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * Minimum partitions count auto merge would stop working at
       * 
* * uint64 min_partitions_count = 6; * @return This builder for chaining. */ public Builder clearMinPartitionsCount() { bitField0_ = (bitField0_ & ~0x00000010); minPartitionsCount_ = 0L; onChanged(); return this; } private long maxPartitionsCount_ ; /** *
       * Maximum partitions count auto split would stop working at
       * 
* * uint64 max_partitions_count = 7; * @return The maxPartitionsCount. */ @java.lang.Override public long getMaxPartitionsCount() { return maxPartitionsCount_; } /** *
       * Maximum partitions count auto split would stop working at
       * 
* * uint64 max_partitions_count = 7; * @param value The maxPartitionsCount to set. * @return This builder for chaining. */ public Builder setMaxPartitionsCount(long value) { maxPartitionsCount_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * Maximum partitions count auto split would stop working at
       * 
* * uint64 max_partitions_count = 7; * @return This builder for chaining. */ public Builder clearMaxPartitionsCount() { bitField0_ = (bitField0_ & ~0x00000020); maxPartitionsCount_ = 0L; 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.Table.PartitioningSettings) } // @@protoc_insertion_point(class_scope:Ydb.Table.PartitioningSettings) private static final tech.ydb.proto.table.YdbTable.PartitioningSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.PartitioningSettings(); } public static tech.ydb.proto.table.YdbTable.PartitioningSettings getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PartitioningSettings 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.table.YdbTable.PartitioningSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AzReadReplicasSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.AzReadReplicasSettings) com.google.protobuf.MessageOrBuilder { /** *
     * AZ name
     * 
* * string name = 1; * @return The name. */ java.lang.String getName(); /** *
     * AZ name
     * 
* * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * Read replicas count in this AZ
     * 
* * uint64 read_replicas_count = 2; * @return The readReplicasCount. */ long getReadReplicasCount(); } /** * Protobuf type {@code Ydb.Table.AzReadReplicasSettings} */ public static final class AzReadReplicasSettings extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.AzReadReplicasSettings) AzReadReplicasSettingsOrBuilder { private static final long serialVersionUID = 0L; // Use AzReadReplicasSettings.newBuilder() to construct. private AzReadReplicasSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AzReadReplicasSettings() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AzReadReplicasSettings(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_AzReadReplicasSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_AzReadReplicasSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.AzReadReplicasSettings.class, tech.ydb.proto.table.YdbTable.AzReadReplicasSettings.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** *
     * AZ name
     * 
* * 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; } } /** *
     * AZ name
     * 
* * 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 READ_REPLICAS_COUNT_FIELD_NUMBER = 2; private long readReplicasCount_ = 0L; /** *
     * Read replicas count in this AZ
     * 
* * uint64 read_replicas_count = 2; * @return The readReplicasCount. */ @java.lang.Override public long getReadReplicasCount() { return readReplicasCount_; } 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 (readReplicasCount_ != 0L) { output.writeUInt64(2, readReplicasCount_); } 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 (readReplicasCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, readReplicasCount_); } 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.table.YdbTable.AzReadReplicasSettings)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.AzReadReplicasSettings other = (tech.ydb.proto.table.YdbTable.AzReadReplicasSettings) obj; if (!getName() .equals(other.getName())) return false; if (getReadReplicasCount() != other.getReadReplicasCount()) 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) + READ_REPLICAS_COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getReadReplicasCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.AzReadReplicasSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.AzReadReplicasSettings 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.table.YdbTable.AzReadReplicasSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.AzReadReplicasSettings 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.table.YdbTable.AzReadReplicasSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.AzReadReplicasSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.AzReadReplicasSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.AzReadReplicasSettings 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.table.YdbTable.AzReadReplicasSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.AzReadReplicasSettings 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.table.YdbTable.AzReadReplicasSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.AzReadReplicasSettings 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.table.YdbTable.AzReadReplicasSettings 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.Table.AzReadReplicasSettings} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.AzReadReplicasSettings) tech.ydb.proto.table.YdbTable.AzReadReplicasSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_AzReadReplicasSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_AzReadReplicasSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.AzReadReplicasSettings.class, tech.ydb.proto.table.YdbTable.AzReadReplicasSettings.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.AzReadReplicasSettings.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; readReplicasCount_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_AzReadReplicasSettings_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.AzReadReplicasSettings getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.AzReadReplicasSettings.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.AzReadReplicasSettings build() { tech.ydb.proto.table.YdbTable.AzReadReplicasSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.AzReadReplicasSettings buildPartial() { tech.ydb.proto.table.YdbTable.AzReadReplicasSettings result = new tech.ydb.proto.table.YdbTable.AzReadReplicasSettings(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.AzReadReplicasSettings result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.readReplicasCount_ = readReplicasCount_; } } @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.table.YdbTable.AzReadReplicasSettings) { return mergeFrom((tech.ydb.proto.table.YdbTable.AzReadReplicasSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.AzReadReplicasSettings other) { if (other == tech.ydb.proto.table.YdbTable.AzReadReplicasSettings.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; onChanged(); } if (other.getReadReplicasCount() != 0L) { setReadReplicasCount(other.getReadReplicasCount()); } 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 16: { readReplicasCount_ = input.readUInt64(); bitField0_ |= 0x00000002; break; } // case 16 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_ = ""; /** *
       * AZ name
       * 
* * 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; } } /** *
       * AZ name
       * 
* * 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; } } /** *
       * AZ name
       * 
* * 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; } /** *
       * AZ name
       * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * AZ name
       * 
* * 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 long readReplicasCount_ ; /** *
       * Read replicas count in this AZ
       * 
* * uint64 read_replicas_count = 2; * @return The readReplicasCount. */ @java.lang.Override public long getReadReplicasCount() { return readReplicasCount_; } /** *
       * Read replicas count in this AZ
       * 
* * uint64 read_replicas_count = 2; * @param value The readReplicasCount to set. * @return This builder for chaining. */ public Builder setReadReplicasCount(long value) { readReplicasCount_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Read replicas count in this AZ
       * 
* * uint64 read_replicas_count = 2; * @return This builder for chaining. */ public Builder clearReadReplicasCount() { bitField0_ = (bitField0_ & ~0x00000002); readReplicasCount_ = 0L; 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.Table.AzReadReplicasSettings) } // @@protoc_insertion_point(class_scope:Ydb.Table.AzReadReplicasSettings) private static final tech.ydb.proto.table.YdbTable.AzReadReplicasSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.AzReadReplicasSettings(); } public static tech.ydb.proto.table.YdbTable.AzReadReplicasSettings getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AzReadReplicasSettings 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.table.YdbTable.AzReadReplicasSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ClusterReplicasSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.ClusterReplicasSettings) com.google.protobuf.MessageOrBuilder { /** *
     * List of read replicas settings for each AZ
     * 
* * repeated .Ydb.Table.AzReadReplicasSettings az_read_replicas_settings = 2; */ java.util.List getAzReadReplicasSettingsList(); /** *
     * List of read replicas settings for each AZ
     * 
* * repeated .Ydb.Table.AzReadReplicasSettings az_read_replicas_settings = 2; */ tech.ydb.proto.table.YdbTable.AzReadReplicasSettings getAzReadReplicasSettings(int index); /** *
     * List of read replicas settings for each AZ
     * 
* * repeated .Ydb.Table.AzReadReplicasSettings az_read_replicas_settings = 2; */ int getAzReadReplicasSettingsCount(); /** *
     * List of read replicas settings for each AZ
     * 
* * repeated .Ydb.Table.AzReadReplicasSettings az_read_replicas_settings = 2; */ java.util.List getAzReadReplicasSettingsOrBuilderList(); /** *
     * List of read replicas settings for each AZ
     * 
* * repeated .Ydb.Table.AzReadReplicasSettings az_read_replicas_settings = 2; */ tech.ydb.proto.table.YdbTable.AzReadReplicasSettingsOrBuilder getAzReadReplicasSettingsOrBuilder( int index); } /** * Protobuf type {@code Ydb.Table.ClusterReplicasSettings} */ public static final class ClusterReplicasSettings extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.ClusterReplicasSettings) ClusterReplicasSettingsOrBuilder { private static final long serialVersionUID = 0L; // Use ClusterReplicasSettings.newBuilder() to construct. private ClusterReplicasSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ClusterReplicasSettings() { azReadReplicasSettings_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ClusterReplicasSettings(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ClusterReplicasSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ClusterReplicasSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ClusterReplicasSettings.class, tech.ydb.proto.table.YdbTable.ClusterReplicasSettings.Builder.class); } public static final int AZ_READ_REPLICAS_SETTINGS_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List azReadReplicasSettings_; /** *
     * List of read replicas settings for each AZ
     * 
* * repeated .Ydb.Table.AzReadReplicasSettings az_read_replicas_settings = 2; */ @java.lang.Override public java.util.List getAzReadReplicasSettingsList() { return azReadReplicasSettings_; } /** *
     * List of read replicas settings for each AZ
     * 
* * repeated .Ydb.Table.AzReadReplicasSettings az_read_replicas_settings = 2; */ @java.lang.Override public java.util.List getAzReadReplicasSettingsOrBuilderList() { return azReadReplicasSettings_; } /** *
     * List of read replicas settings for each AZ
     * 
* * repeated .Ydb.Table.AzReadReplicasSettings az_read_replicas_settings = 2; */ @java.lang.Override public int getAzReadReplicasSettingsCount() { return azReadReplicasSettings_.size(); } /** *
     * List of read replicas settings for each AZ
     * 
* * repeated .Ydb.Table.AzReadReplicasSettings az_read_replicas_settings = 2; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.AzReadReplicasSettings getAzReadReplicasSettings(int index) { return azReadReplicasSettings_.get(index); } /** *
     * List of read replicas settings for each AZ
     * 
* * repeated .Ydb.Table.AzReadReplicasSettings az_read_replicas_settings = 2; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.AzReadReplicasSettingsOrBuilder getAzReadReplicasSettingsOrBuilder( int index) { return azReadReplicasSettings_.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 { for (int i = 0; i < azReadReplicasSettings_.size(); i++) { output.writeMessage(2, azReadReplicasSettings_.get(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < azReadReplicasSettings_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, azReadReplicasSettings_.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.table.YdbTable.ClusterReplicasSettings)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.ClusterReplicasSettings other = (tech.ydb.proto.table.YdbTable.ClusterReplicasSettings) obj; if (!getAzReadReplicasSettingsList() .equals(other.getAzReadReplicasSettingsList())) 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 (getAzReadReplicasSettingsCount() > 0) { hash = (37 * hash) + AZ_READ_REPLICAS_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getAzReadReplicasSettingsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.ClusterReplicasSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ClusterReplicasSettings 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.table.YdbTable.ClusterReplicasSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ClusterReplicasSettings 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.table.YdbTable.ClusterReplicasSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ClusterReplicasSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.ClusterReplicasSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ClusterReplicasSettings 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.table.YdbTable.ClusterReplicasSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ClusterReplicasSettings 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.table.YdbTable.ClusterReplicasSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ClusterReplicasSettings 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.table.YdbTable.ClusterReplicasSettings 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.Table.ClusterReplicasSettings} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.ClusterReplicasSettings) tech.ydb.proto.table.YdbTable.ClusterReplicasSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ClusterReplicasSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ClusterReplicasSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ClusterReplicasSettings.class, tech.ydb.proto.table.YdbTable.ClusterReplicasSettings.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.ClusterReplicasSettings.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (azReadReplicasSettingsBuilder_ == null) { azReadReplicasSettings_ = java.util.Collections.emptyList(); } else { azReadReplicasSettings_ = null; azReadReplicasSettingsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ClusterReplicasSettings_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ClusterReplicasSettings getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.ClusterReplicasSettings.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.ClusterReplicasSettings build() { tech.ydb.proto.table.YdbTable.ClusterReplicasSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ClusterReplicasSettings buildPartial() { tech.ydb.proto.table.YdbTable.ClusterReplicasSettings result = new tech.ydb.proto.table.YdbTable.ClusterReplicasSettings(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(tech.ydb.proto.table.YdbTable.ClusterReplicasSettings result) { if (azReadReplicasSettingsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { azReadReplicasSettings_ = java.util.Collections.unmodifiableList(azReadReplicasSettings_); bitField0_ = (bitField0_ & ~0x00000001); } result.azReadReplicasSettings_ = azReadReplicasSettings_; } else { result.azReadReplicasSettings_ = azReadReplicasSettingsBuilder_.build(); } } private void buildPartial0(tech.ydb.proto.table.YdbTable.ClusterReplicasSettings result) { int from_bitField0_ = 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.table.YdbTable.ClusterReplicasSettings) { return mergeFrom((tech.ydb.proto.table.YdbTable.ClusterReplicasSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.ClusterReplicasSettings other) { if (other == tech.ydb.proto.table.YdbTable.ClusterReplicasSettings.getDefaultInstance()) return this; if (azReadReplicasSettingsBuilder_ == null) { if (!other.azReadReplicasSettings_.isEmpty()) { if (azReadReplicasSettings_.isEmpty()) { azReadReplicasSettings_ = other.azReadReplicasSettings_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureAzReadReplicasSettingsIsMutable(); azReadReplicasSettings_.addAll(other.azReadReplicasSettings_); } onChanged(); } } else { if (!other.azReadReplicasSettings_.isEmpty()) { if (azReadReplicasSettingsBuilder_.isEmpty()) { azReadReplicasSettingsBuilder_.dispose(); azReadReplicasSettingsBuilder_ = null; azReadReplicasSettings_ = other.azReadReplicasSettings_; bitField0_ = (bitField0_ & ~0x00000001); azReadReplicasSettingsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAzReadReplicasSettingsFieldBuilder() : null; } else { azReadReplicasSettingsBuilder_.addAllMessages(other.azReadReplicasSettings_); } } } 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 18: { tech.ydb.proto.table.YdbTable.AzReadReplicasSettings m = input.readMessage( tech.ydb.proto.table.YdbTable.AzReadReplicasSettings.parser(), extensionRegistry); if (azReadReplicasSettingsBuilder_ == null) { ensureAzReadReplicasSettingsIsMutable(); azReadReplicasSettings_.add(m); } else { azReadReplicasSettingsBuilder_.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 java.util.List azReadReplicasSettings_ = java.util.Collections.emptyList(); private void ensureAzReadReplicasSettingsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { azReadReplicasSettings_ = new java.util.ArrayList(azReadReplicasSettings_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.AzReadReplicasSettings, tech.ydb.proto.table.YdbTable.AzReadReplicasSettings.Builder, tech.ydb.proto.table.YdbTable.AzReadReplicasSettingsOrBuilder> azReadReplicasSettingsBuilder_; /** *
       * List of read replicas settings for each AZ
       * 
* * repeated .Ydb.Table.AzReadReplicasSettings az_read_replicas_settings = 2; */ public java.util.List getAzReadReplicasSettingsList() { if (azReadReplicasSettingsBuilder_ == null) { return java.util.Collections.unmodifiableList(azReadReplicasSettings_); } else { return azReadReplicasSettingsBuilder_.getMessageList(); } } /** *
       * List of read replicas settings for each AZ
       * 
* * repeated .Ydb.Table.AzReadReplicasSettings az_read_replicas_settings = 2; */ public int getAzReadReplicasSettingsCount() { if (azReadReplicasSettingsBuilder_ == null) { return azReadReplicasSettings_.size(); } else { return azReadReplicasSettingsBuilder_.getCount(); } } /** *
       * List of read replicas settings for each AZ
       * 
* * repeated .Ydb.Table.AzReadReplicasSettings az_read_replicas_settings = 2; */ public tech.ydb.proto.table.YdbTable.AzReadReplicasSettings getAzReadReplicasSettings(int index) { if (azReadReplicasSettingsBuilder_ == null) { return azReadReplicasSettings_.get(index); } else { return azReadReplicasSettingsBuilder_.getMessage(index); } } /** *
       * List of read replicas settings for each AZ
       * 
* * repeated .Ydb.Table.AzReadReplicasSettings az_read_replicas_settings = 2; */ public Builder setAzReadReplicasSettings( int index, tech.ydb.proto.table.YdbTable.AzReadReplicasSettings value) { if (azReadReplicasSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAzReadReplicasSettingsIsMutable(); azReadReplicasSettings_.set(index, value); onChanged(); } else { azReadReplicasSettingsBuilder_.setMessage(index, value); } return this; } /** *
       * List of read replicas settings for each AZ
       * 
* * repeated .Ydb.Table.AzReadReplicasSettings az_read_replicas_settings = 2; */ public Builder setAzReadReplicasSettings( int index, tech.ydb.proto.table.YdbTable.AzReadReplicasSettings.Builder builderForValue) { if (azReadReplicasSettingsBuilder_ == null) { ensureAzReadReplicasSettingsIsMutable(); azReadReplicasSettings_.set(index, builderForValue.build()); onChanged(); } else { azReadReplicasSettingsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * List of read replicas settings for each AZ
       * 
* * repeated .Ydb.Table.AzReadReplicasSettings az_read_replicas_settings = 2; */ public Builder addAzReadReplicasSettings(tech.ydb.proto.table.YdbTable.AzReadReplicasSettings value) { if (azReadReplicasSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAzReadReplicasSettingsIsMutable(); azReadReplicasSettings_.add(value); onChanged(); } else { azReadReplicasSettingsBuilder_.addMessage(value); } return this; } /** *
       * List of read replicas settings for each AZ
       * 
* * repeated .Ydb.Table.AzReadReplicasSettings az_read_replicas_settings = 2; */ public Builder addAzReadReplicasSettings( int index, tech.ydb.proto.table.YdbTable.AzReadReplicasSettings value) { if (azReadReplicasSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAzReadReplicasSettingsIsMutable(); azReadReplicasSettings_.add(index, value); onChanged(); } else { azReadReplicasSettingsBuilder_.addMessage(index, value); } return this; } /** *
       * List of read replicas settings for each AZ
       * 
* * repeated .Ydb.Table.AzReadReplicasSettings az_read_replicas_settings = 2; */ public Builder addAzReadReplicasSettings( tech.ydb.proto.table.YdbTable.AzReadReplicasSettings.Builder builderForValue) { if (azReadReplicasSettingsBuilder_ == null) { ensureAzReadReplicasSettingsIsMutable(); azReadReplicasSettings_.add(builderForValue.build()); onChanged(); } else { azReadReplicasSettingsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * List of read replicas settings for each AZ
       * 
* * repeated .Ydb.Table.AzReadReplicasSettings az_read_replicas_settings = 2; */ public Builder addAzReadReplicasSettings( int index, tech.ydb.proto.table.YdbTable.AzReadReplicasSettings.Builder builderForValue) { if (azReadReplicasSettingsBuilder_ == null) { ensureAzReadReplicasSettingsIsMutable(); azReadReplicasSettings_.add(index, builderForValue.build()); onChanged(); } else { azReadReplicasSettingsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * List of read replicas settings for each AZ
       * 
* * repeated .Ydb.Table.AzReadReplicasSettings az_read_replicas_settings = 2; */ public Builder addAllAzReadReplicasSettings( java.lang.Iterable values) { if (azReadReplicasSettingsBuilder_ == null) { ensureAzReadReplicasSettingsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, azReadReplicasSettings_); onChanged(); } else { azReadReplicasSettingsBuilder_.addAllMessages(values); } return this; } /** *
       * List of read replicas settings for each AZ
       * 
* * repeated .Ydb.Table.AzReadReplicasSettings az_read_replicas_settings = 2; */ public Builder clearAzReadReplicasSettings() { if (azReadReplicasSettingsBuilder_ == null) { azReadReplicasSettings_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { azReadReplicasSettingsBuilder_.clear(); } return this; } /** *
       * List of read replicas settings for each AZ
       * 
* * repeated .Ydb.Table.AzReadReplicasSettings az_read_replicas_settings = 2; */ public Builder removeAzReadReplicasSettings(int index) { if (azReadReplicasSettingsBuilder_ == null) { ensureAzReadReplicasSettingsIsMutable(); azReadReplicasSettings_.remove(index); onChanged(); } else { azReadReplicasSettingsBuilder_.remove(index); } return this; } /** *
       * List of read replicas settings for each AZ
       * 
* * repeated .Ydb.Table.AzReadReplicasSettings az_read_replicas_settings = 2; */ public tech.ydb.proto.table.YdbTable.AzReadReplicasSettings.Builder getAzReadReplicasSettingsBuilder( int index) { return getAzReadReplicasSettingsFieldBuilder().getBuilder(index); } /** *
       * List of read replicas settings for each AZ
       * 
* * repeated .Ydb.Table.AzReadReplicasSettings az_read_replicas_settings = 2; */ public tech.ydb.proto.table.YdbTable.AzReadReplicasSettingsOrBuilder getAzReadReplicasSettingsOrBuilder( int index) { if (azReadReplicasSettingsBuilder_ == null) { return azReadReplicasSettings_.get(index); } else { return azReadReplicasSettingsBuilder_.getMessageOrBuilder(index); } } /** *
       * List of read replicas settings for each AZ
       * 
* * repeated .Ydb.Table.AzReadReplicasSettings az_read_replicas_settings = 2; */ public java.util.List getAzReadReplicasSettingsOrBuilderList() { if (azReadReplicasSettingsBuilder_ != null) { return azReadReplicasSettingsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(azReadReplicasSettings_); } } /** *
       * List of read replicas settings for each AZ
       * 
* * repeated .Ydb.Table.AzReadReplicasSettings az_read_replicas_settings = 2; */ public tech.ydb.proto.table.YdbTable.AzReadReplicasSettings.Builder addAzReadReplicasSettingsBuilder() { return getAzReadReplicasSettingsFieldBuilder().addBuilder( tech.ydb.proto.table.YdbTable.AzReadReplicasSettings.getDefaultInstance()); } /** *
       * List of read replicas settings for each AZ
       * 
* * repeated .Ydb.Table.AzReadReplicasSettings az_read_replicas_settings = 2; */ public tech.ydb.proto.table.YdbTable.AzReadReplicasSettings.Builder addAzReadReplicasSettingsBuilder( int index) { return getAzReadReplicasSettingsFieldBuilder().addBuilder( index, tech.ydb.proto.table.YdbTable.AzReadReplicasSettings.getDefaultInstance()); } /** *
       * List of read replicas settings for each AZ
       * 
* * repeated .Ydb.Table.AzReadReplicasSettings az_read_replicas_settings = 2; */ public java.util.List getAzReadReplicasSettingsBuilderList() { return getAzReadReplicasSettingsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.AzReadReplicasSettings, tech.ydb.proto.table.YdbTable.AzReadReplicasSettings.Builder, tech.ydb.proto.table.YdbTable.AzReadReplicasSettingsOrBuilder> getAzReadReplicasSettingsFieldBuilder() { if (azReadReplicasSettingsBuilder_ == null) { azReadReplicasSettingsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.AzReadReplicasSettings, tech.ydb.proto.table.YdbTable.AzReadReplicasSettings.Builder, tech.ydb.proto.table.YdbTable.AzReadReplicasSettingsOrBuilder>( azReadReplicasSettings_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); azReadReplicasSettings_ = null; } return azReadReplicasSettingsBuilder_; } @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.Table.ClusterReplicasSettings) } // @@protoc_insertion_point(class_scope:Ydb.Table.ClusterReplicasSettings) private static final tech.ydb.proto.table.YdbTable.ClusterReplicasSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.ClusterReplicasSettings(); } public static tech.ydb.proto.table.YdbTable.ClusterReplicasSettings getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ClusterReplicasSettings 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.table.YdbTable.ClusterReplicasSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ReadReplicasSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.ReadReplicasSettings) com.google.protobuf.MessageOrBuilder { /** *
     * Set equal read replicas count for every AZ
     * 
* * uint64 per_az_read_replicas_count = 1; * @return Whether the perAzReadReplicasCount field is set. */ boolean hasPerAzReadReplicasCount(); /** *
     * Set equal read replicas count for every AZ
     * 
* * uint64 per_az_read_replicas_count = 1; * @return The perAzReadReplicasCount. */ long getPerAzReadReplicasCount(); /** *
     * Set total replicas count between all AZs
     * 
* * uint64 any_az_read_replicas_count = 2; * @return Whether the anyAzReadReplicasCount field is set. */ boolean hasAnyAzReadReplicasCount(); /** *
     * Set total replicas count between all AZs
     * 
* * uint64 any_az_read_replicas_count = 2; * @return The anyAzReadReplicasCount. */ long getAnyAzReadReplicasCount(); tech.ydb.proto.table.YdbTable.ReadReplicasSettings.SettingsCase getSettingsCase(); } /** * Protobuf type {@code Ydb.Table.ReadReplicasSettings} */ public static final class ReadReplicasSettings extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.ReadReplicasSettings) ReadReplicasSettingsOrBuilder { private static final long serialVersionUID = 0L; // Use ReadReplicasSettings.newBuilder() to construct. private ReadReplicasSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ReadReplicasSettings() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ReadReplicasSettings(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReadReplicasSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReadReplicasSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ReadReplicasSettings.class, tech.ydb.proto.table.YdbTable.ReadReplicasSettings.Builder.class); } private int settingsCase_ = 0; @SuppressWarnings("serial") private java.lang.Object settings_; public enum SettingsCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { PER_AZ_READ_REPLICAS_COUNT(1), ANY_AZ_READ_REPLICAS_COUNT(2), SETTINGS_NOT_SET(0); private final int value; private SettingsCase(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 SettingsCase valueOf(int value) { return forNumber(value); } public static SettingsCase forNumber(int value) { switch (value) { case 1: return PER_AZ_READ_REPLICAS_COUNT; case 2: return ANY_AZ_READ_REPLICAS_COUNT; case 0: return SETTINGS_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public SettingsCase getSettingsCase() { return SettingsCase.forNumber( settingsCase_); } public static final int PER_AZ_READ_REPLICAS_COUNT_FIELD_NUMBER = 1; /** *
     * Set equal read replicas count for every AZ
     * 
* * uint64 per_az_read_replicas_count = 1; * @return Whether the perAzReadReplicasCount field is set. */ @java.lang.Override public boolean hasPerAzReadReplicasCount() { return settingsCase_ == 1; } /** *
     * Set equal read replicas count for every AZ
     * 
* * uint64 per_az_read_replicas_count = 1; * @return The perAzReadReplicasCount. */ @java.lang.Override public long getPerAzReadReplicasCount() { if (settingsCase_ == 1) { return (java.lang.Long) settings_; } return 0L; } public static final int ANY_AZ_READ_REPLICAS_COUNT_FIELD_NUMBER = 2; /** *
     * Set total replicas count between all AZs
     * 
* * uint64 any_az_read_replicas_count = 2; * @return Whether the anyAzReadReplicasCount field is set. */ @java.lang.Override public boolean hasAnyAzReadReplicasCount() { return settingsCase_ == 2; } /** *
     * Set total replicas count between all AZs
     * 
* * uint64 any_az_read_replicas_count = 2; * @return The anyAzReadReplicasCount. */ @java.lang.Override public long getAnyAzReadReplicasCount() { if (settingsCase_ == 2) { return (java.lang.Long) settings_; } return 0L; } 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 (settingsCase_ == 1) { output.writeUInt64( 1, (long)((java.lang.Long) settings_)); } if (settingsCase_ == 2) { output.writeUInt64( 2, (long)((java.lang.Long) settings_)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (settingsCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size( 1, (long)((java.lang.Long) settings_)); } if (settingsCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size( 2, (long)((java.lang.Long) settings_)); } 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.table.YdbTable.ReadReplicasSettings)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.ReadReplicasSettings other = (tech.ydb.proto.table.YdbTable.ReadReplicasSettings) obj; if (!getSettingsCase().equals(other.getSettingsCase())) return false; switch (settingsCase_) { case 1: if (getPerAzReadReplicasCount() != other.getPerAzReadReplicasCount()) return false; break; case 2: if (getAnyAzReadReplicasCount() != other.getAnyAzReadReplicasCount()) 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 (settingsCase_) { case 1: hash = (37 * hash) + PER_AZ_READ_REPLICAS_COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPerAzReadReplicasCount()); break; case 2: hash = (37 * hash) + ANY_AZ_READ_REPLICAS_COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getAnyAzReadReplicasCount()); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.ReadReplicasSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ReadReplicasSettings 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.table.YdbTable.ReadReplicasSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ReadReplicasSettings 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.table.YdbTable.ReadReplicasSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ReadReplicasSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.ReadReplicasSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ReadReplicasSettings 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.table.YdbTable.ReadReplicasSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ReadReplicasSettings 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.table.YdbTable.ReadReplicasSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ReadReplicasSettings 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.table.YdbTable.ReadReplicasSettings 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.Table.ReadReplicasSettings} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.ReadReplicasSettings) tech.ydb.proto.table.YdbTable.ReadReplicasSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReadReplicasSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReadReplicasSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ReadReplicasSettings.class, tech.ydb.proto.table.YdbTable.ReadReplicasSettings.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.ReadReplicasSettings.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; settingsCase_ = 0; settings_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReadReplicasSettings_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ReadReplicasSettings getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.ReadReplicasSettings.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.ReadReplicasSettings build() { tech.ydb.proto.table.YdbTable.ReadReplicasSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ReadReplicasSettings buildPartial() { tech.ydb.proto.table.YdbTable.ReadReplicasSettings result = new tech.ydb.proto.table.YdbTable.ReadReplicasSettings(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.ReadReplicasSettings result) { int from_bitField0_ = bitField0_; } private void buildPartialOneofs(tech.ydb.proto.table.YdbTable.ReadReplicasSettings result) { result.settingsCase_ = settingsCase_; result.settings_ = this.settings_; } @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.table.YdbTable.ReadReplicasSettings) { return mergeFrom((tech.ydb.proto.table.YdbTable.ReadReplicasSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.ReadReplicasSettings other) { if (other == tech.ydb.proto.table.YdbTable.ReadReplicasSettings.getDefaultInstance()) return this; switch (other.getSettingsCase()) { case PER_AZ_READ_REPLICAS_COUNT: { setPerAzReadReplicasCount(other.getPerAzReadReplicasCount()); break; } case ANY_AZ_READ_REPLICAS_COUNT: { setAnyAzReadReplicasCount(other.getAnyAzReadReplicasCount()); break; } case SETTINGS_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 8: { settings_ = input.readUInt64(); settingsCase_ = 1; break; } // case 8 case 16: { settings_ = input.readUInt64(); settingsCase_ = 2; break; } // case 16 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 settingsCase_ = 0; private java.lang.Object settings_; public SettingsCase getSettingsCase() { return SettingsCase.forNumber( settingsCase_); } public Builder clearSettings() { settingsCase_ = 0; settings_ = null; onChanged(); return this; } private int bitField0_; /** *
       * Set equal read replicas count for every AZ
       * 
* * uint64 per_az_read_replicas_count = 1; * @return Whether the perAzReadReplicasCount field is set. */ public boolean hasPerAzReadReplicasCount() { return settingsCase_ == 1; } /** *
       * Set equal read replicas count for every AZ
       * 
* * uint64 per_az_read_replicas_count = 1; * @return The perAzReadReplicasCount. */ public long getPerAzReadReplicasCount() { if (settingsCase_ == 1) { return (java.lang.Long) settings_; } return 0L; } /** *
       * Set equal read replicas count for every AZ
       * 
* * uint64 per_az_read_replicas_count = 1; * @param value The perAzReadReplicasCount to set. * @return This builder for chaining. */ public Builder setPerAzReadReplicasCount(long value) { settingsCase_ = 1; settings_ = value; onChanged(); return this; } /** *
       * Set equal read replicas count for every AZ
       * 
* * uint64 per_az_read_replicas_count = 1; * @return This builder for chaining. */ public Builder clearPerAzReadReplicasCount() { if (settingsCase_ == 1) { settingsCase_ = 0; settings_ = null; onChanged(); } return this; } /** *
       * Set total replicas count between all AZs
       * 
* * uint64 any_az_read_replicas_count = 2; * @return Whether the anyAzReadReplicasCount field is set. */ public boolean hasAnyAzReadReplicasCount() { return settingsCase_ == 2; } /** *
       * Set total replicas count between all AZs
       * 
* * uint64 any_az_read_replicas_count = 2; * @return The anyAzReadReplicasCount. */ public long getAnyAzReadReplicasCount() { if (settingsCase_ == 2) { return (java.lang.Long) settings_; } return 0L; } /** *
       * Set total replicas count between all AZs
       * 
* * uint64 any_az_read_replicas_count = 2; * @param value The anyAzReadReplicasCount to set. * @return This builder for chaining. */ public Builder setAnyAzReadReplicasCount(long value) { settingsCase_ = 2; settings_ = value; onChanged(); return this; } /** *
       * Set total replicas count between all AZs
       * 
* * uint64 any_az_read_replicas_count = 2; * @return This builder for chaining. */ public Builder clearAnyAzReadReplicasCount() { if (settingsCase_ == 2) { settingsCase_ = 0; settings_ = 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.Table.ReadReplicasSettings) } // @@protoc_insertion_point(class_scope:Ydb.Table.ReadReplicasSettings) private static final tech.ydb.proto.table.YdbTable.ReadReplicasSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.ReadReplicasSettings(); } public static tech.ydb.proto.table.YdbTable.ReadReplicasSettings getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ReadReplicasSettings 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.table.YdbTable.ReadReplicasSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CreateTableRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.CreateTableRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ java.lang.String getSessionId(); /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ com.google.protobuf.ByteString getSessionIdBytes(); /** *
     * Full path
     * 
* * string path = 2; * @return The path. */ java.lang.String getPath(); /** *
     * Full path
     * 
* * string path = 2; * @return The bytes for path. */ com.google.protobuf.ByteString getPathBytes(); /** *
     * Columns (name, type)
     * 
* * repeated .Ydb.Table.ColumnMeta columns = 3; */ java.util.List getColumnsList(); /** *
     * Columns (name, type)
     * 
* * repeated .Ydb.Table.ColumnMeta columns = 3; */ tech.ydb.proto.table.YdbTable.ColumnMeta getColumns(int index); /** *
     * Columns (name, type)
     * 
* * repeated .Ydb.Table.ColumnMeta columns = 3; */ int getColumnsCount(); /** *
     * Columns (name, type)
     * 
* * repeated .Ydb.Table.ColumnMeta columns = 3; */ java.util.List getColumnsOrBuilderList(); /** *
     * Columns (name, type)
     * 
* * repeated .Ydb.Table.ColumnMeta columns = 3; */ tech.ydb.proto.table.YdbTable.ColumnMetaOrBuilder getColumnsOrBuilder( int index); /** *
     * List of columns used as primary key
     * 
* * repeated string primary_key = 4; * @return A list containing the primaryKey. */ java.util.List getPrimaryKeyList(); /** *
     * List of columns used as primary key
     * 
* * repeated string primary_key = 4; * @return The count of primaryKey. */ int getPrimaryKeyCount(); /** *
     * List of columns used as primary key
     * 
* * repeated string primary_key = 4; * @param index The index of the element to return. * @return The primaryKey at the given index. */ java.lang.String getPrimaryKey(int index); /** *
     * List of columns used as primary key
     * 
* * repeated string primary_key = 4; * @param index The index of the value to return. * @return The bytes of the primaryKey at the given index. */ com.google.protobuf.ByteString getPrimaryKeyBytes(int index); /** *
     * Table profile
     * 
* * .Ydb.Table.TableProfile profile = 5; * @return Whether the profile field is set. */ boolean hasProfile(); /** *
     * Table profile
     * 
* * .Ydb.Table.TableProfile profile = 5; * @return The profile. */ tech.ydb.proto.table.YdbTable.TableProfile getProfile(); /** *
     * Table profile
     * 
* * .Ydb.Table.TableProfile profile = 5; */ tech.ydb.proto.table.YdbTable.TableProfileOrBuilder getProfileOrBuilder(); /** * .Ydb.Operations.OperationParams operation_params = 6; * @return Whether the operationParams field is set. */ boolean hasOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 6; * @return The operationParams. */ tech.ydb.proto.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 6; */ tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder(); /** *
     * List of secondary indexes
     * 
* * repeated .Ydb.Table.TableIndex indexes = 7; */ java.util.List getIndexesList(); /** *
     * List of secondary indexes
     * 
* * repeated .Ydb.Table.TableIndex indexes = 7; */ tech.ydb.proto.table.YdbTable.TableIndex getIndexes(int index); /** *
     * List of secondary indexes
     * 
* * repeated .Ydb.Table.TableIndex indexes = 7; */ int getIndexesCount(); /** *
     * List of secondary indexes
     * 
* * repeated .Ydb.Table.TableIndex indexes = 7; */ java.util.List getIndexesOrBuilderList(); /** *
     * List of secondary indexes
     * 
* * repeated .Ydb.Table.TableIndex indexes = 7; */ tech.ydb.proto.table.YdbTable.TableIndexOrBuilder getIndexesOrBuilder( int index); /** *
     * Table rows time to live settings
     * 
* * .Ydb.Table.TtlSettings ttl_settings = 8; * @return Whether the ttlSettings field is set. */ boolean hasTtlSettings(); /** *
     * Table rows time to live settings
     * 
* * .Ydb.Table.TtlSettings ttl_settings = 8; * @return The ttlSettings. */ tech.ydb.proto.table.YdbTable.TtlSettings getTtlSettings(); /** *
     * Table rows time to live settings
     * 
* * .Ydb.Table.TtlSettings ttl_settings = 8; */ tech.ydb.proto.table.YdbTable.TtlSettingsOrBuilder getTtlSettingsOrBuilder(); /** *
     * Storage settings for table
     * 
* * .Ydb.Table.StorageSettings storage_settings = 9; * @return Whether the storageSettings field is set. */ boolean hasStorageSettings(); /** *
     * Storage settings for table
     * 
* * .Ydb.Table.StorageSettings storage_settings = 9; * @return The storageSettings. */ tech.ydb.proto.table.YdbTable.StorageSettings getStorageSettings(); /** *
     * Storage settings for table
     * 
* * .Ydb.Table.StorageSettings storage_settings = 9; */ tech.ydb.proto.table.YdbTable.StorageSettingsOrBuilder getStorageSettingsOrBuilder(); /** *
     * Column families
     * 
* * repeated .Ydb.Table.ColumnFamily column_families = 10; */ java.util.List getColumnFamiliesList(); /** *
     * Column families
     * 
* * repeated .Ydb.Table.ColumnFamily column_families = 10; */ tech.ydb.proto.table.YdbTable.ColumnFamily getColumnFamilies(int index); /** *
     * Column families
     * 
* * repeated .Ydb.Table.ColumnFamily column_families = 10; */ int getColumnFamiliesCount(); /** *
     * Column families
     * 
* * repeated .Ydb.Table.ColumnFamily column_families = 10; */ java.util.List getColumnFamiliesOrBuilderList(); /** *
     * Column families
     * 
* * repeated .Ydb.Table.ColumnFamily column_families = 10; */ tech.ydb.proto.table.YdbTable.ColumnFamilyOrBuilder getColumnFamiliesOrBuilder( int index); /** *
     * Attributes. Total size is limited to 10 KB.
     * 
* * map<string, string> attributes = 11 [(.Ydb.length) = { ... } */ int getAttributesCount(); /** *
     * Attributes. Total size is limited to 10 KB.
     * 
* * map<string, string> attributes = 11 [(.Ydb.length) = { ... } */ boolean containsAttributes( java.lang.String key); /** * Use {@link #getAttributesMap()} instead. */ @java.lang.Deprecated java.util.Map getAttributes(); /** *
     * Attributes. Total size is limited to 10 KB.
     * 
* * map<string, string> attributes = 11 [(.Ydb.length) = { ... } */ java.util.Map getAttributesMap(); /** *
     * Attributes. Total size is limited to 10 KB.
     * 
* * map<string, string> attributes = 11 [(.Ydb.length) = { ... } */ /* nullable */ java.lang.String getAttributesOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** *
     * Attributes. Total size is limited to 10 KB.
     * 
* * map<string, string> attributes = 11 [(.Ydb.length) = { ... } */ java.lang.String getAttributesOrThrow( java.lang.String key); /** *
     * Predefined named set of settings for table compaction ["default", "small_table", "log_table"].
     * 
* * string compaction_policy = 12; * @return The compactionPolicy. */ java.lang.String getCompactionPolicy(); /** *
     * Predefined named set of settings for table compaction ["default", "small_table", "log_table"].
     * 
* * string compaction_policy = 12; * @return The bytes for compactionPolicy. */ com.google.protobuf.ByteString getCompactionPolicyBytes(); /** *
     * Enable uniform partitioning using given partitions count.
     * The first components of primary key must have Uint32/Uint64 type.
     * 
* * uint64 uniform_partitions = 13; * @return Whether the uniformPartitions field is set. */ boolean hasUniformPartitions(); /** *
     * Enable uniform partitioning using given partitions count.
     * The first components of primary key must have Uint32/Uint64 type.
     * 
* * uint64 uniform_partitions = 13; * @return The uniformPartitions. */ long getUniformPartitions(); /** *
     * Explicitly specify key values which are used as borders for created partitions.
     * 
* * .Ydb.Table.ExplicitPartitions partition_at_keys = 14; * @return Whether the partitionAtKeys field is set. */ boolean hasPartitionAtKeys(); /** *
     * Explicitly specify key values which are used as borders for created partitions.
     * 
* * .Ydb.Table.ExplicitPartitions partition_at_keys = 14; * @return The partitionAtKeys. */ tech.ydb.proto.table.YdbTable.ExplicitPartitions getPartitionAtKeys(); /** *
     * Explicitly specify key values which are used as borders for created partitions.
     * 
* * .Ydb.Table.ExplicitPartitions partition_at_keys = 14; */ tech.ydb.proto.table.YdbTable.ExplicitPartitionsOrBuilder getPartitionAtKeysOrBuilder(); /** *
     * Partitioning settings for table
     * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 15; * @return Whether the partitioningSettings field is set. */ boolean hasPartitioningSettings(); /** *
     * Partitioning settings for table
     * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 15; * @return The partitioningSettings. */ tech.ydb.proto.table.YdbTable.PartitioningSettings getPartitioningSettings(); /** *
     * Partitioning settings for table
     * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 15; */ tech.ydb.proto.table.YdbTable.PartitioningSettingsOrBuilder getPartitioningSettingsOrBuilder(); /** *
     * Bloom filter by key
     * 
* * .Ydb.FeatureFlag.Status key_bloom_filter = 16; * @return The enum numeric value on the wire for keyBloomFilter. */ int getKeyBloomFilterValue(); /** *
     * Bloom filter by key
     * 
* * .Ydb.FeatureFlag.Status key_bloom_filter = 16; * @return The keyBloomFilter. */ tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getKeyBloomFilter(); /** *
     * Read replicas settings for table
     * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 17; * @return Whether the readReplicasSettings field is set. */ boolean hasReadReplicasSettings(); /** *
     * Read replicas settings for table
     * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 17; * @return The readReplicasSettings. */ tech.ydb.proto.table.YdbTable.ReadReplicasSettings getReadReplicasSettings(); /** *
     * Read replicas settings for table
     * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 17; */ tech.ydb.proto.table.YdbTable.ReadReplicasSettingsOrBuilder getReadReplicasSettingsOrBuilder(); /** *
     * Tiering rules name. It specifies how data migrates from one tier (logical storage) to another.
     * 
* * string tiering = 18; * @return The tiering. */ java.lang.String getTiering(); /** *
     * Tiering rules name. It specifies how data migrates from one tier (logical storage) to another.
     * 
* * string tiering = 18; * @return The bytes for tiering. */ com.google.protobuf.ByteString getTieringBytes(); /** *
     * Is temporary table
     * 
* * bool temporary = 19; * @return The temporary. */ boolean getTemporary(); /** *
     * Is table column or row oriented
     * 
* * .Ydb.Table.StoreType store_type = 20; * @return The enum numeric value on the wire for storeType. */ int getStoreTypeValue(); /** *
     * Is table column or row oriented
     * 
* * .Ydb.Table.StoreType store_type = 20; * @return The storeType. */ tech.ydb.proto.table.YdbTable.StoreType getStoreType(); tech.ydb.proto.table.YdbTable.CreateTableRequest.PartitionsCase getPartitionsCase(); } /** * Protobuf type {@code Ydb.Table.CreateTableRequest} */ public static final class CreateTableRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.CreateTableRequest) CreateTableRequestOrBuilder { private static final long serialVersionUID = 0L; // Use CreateTableRequest.newBuilder() to construct. private CreateTableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CreateTableRequest() { sessionId_ = ""; path_ = ""; columns_ = java.util.Collections.emptyList(); primaryKey_ = com.google.protobuf.LazyStringArrayList.emptyList(); indexes_ = java.util.Collections.emptyList(); columnFamilies_ = java.util.Collections.emptyList(); compactionPolicy_ = ""; keyBloomFilter_ = 0; tiering_ = ""; storeType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CreateTableRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CreateTableRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 11: return internalGetAttributes(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CreateTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CreateTableRequest.class, tech.ydb.proto.table.YdbTable.CreateTableRequest.Builder.class); } private int bitField0_; private int partitionsCase_ = 0; @SuppressWarnings("serial") private java.lang.Object partitions_; public enum PartitionsCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { UNIFORM_PARTITIONS(13), PARTITION_AT_KEYS(14), PARTITIONS_NOT_SET(0); private final int value; private PartitionsCase(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 PartitionsCase valueOf(int value) { return forNumber(value); } public static PartitionsCase forNumber(int value) { switch (value) { case 13: return UNIFORM_PARTITIONS; case 14: return PARTITION_AT_KEYS; case 0: return PARTITIONS_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public PartitionsCase getPartitionsCase() { return PartitionsCase.forNumber( partitionsCase_); } public static final int SESSION_ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object sessionId_ = ""; /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ @java.lang.Override public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; 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(); sessionId_ = s; return s; } } /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ @java.lang.Override public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PATH_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object path_ = ""; /** *
     * Full 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; } } /** *
     * Full path
     * 
* * 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 COLUMNS_FIELD_NUMBER = 3; @SuppressWarnings("serial") private java.util.List columns_; /** *
     * Columns (name, type)
     * 
* * repeated .Ydb.Table.ColumnMeta columns = 3; */ @java.lang.Override public java.util.List getColumnsList() { return columns_; } /** *
     * Columns (name, type)
     * 
* * repeated .Ydb.Table.ColumnMeta columns = 3; */ @java.lang.Override public java.util.List getColumnsOrBuilderList() { return columns_; } /** *
     * Columns (name, type)
     * 
* * repeated .Ydb.Table.ColumnMeta columns = 3; */ @java.lang.Override public int getColumnsCount() { return columns_.size(); } /** *
     * Columns (name, type)
     * 
* * repeated .Ydb.Table.ColumnMeta columns = 3; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ColumnMeta getColumns(int index) { return columns_.get(index); } /** *
     * Columns (name, type)
     * 
* * repeated .Ydb.Table.ColumnMeta columns = 3; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ColumnMetaOrBuilder getColumnsOrBuilder( int index) { return columns_.get(index); } public static final int PRIMARY_KEY_FIELD_NUMBER = 4; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList primaryKey_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * List of columns used as primary key
     * 
* * repeated string primary_key = 4; * @return A list containing the primaryKey. */ public com.google.protobuf.ProtocolStringList getPrimaryKeyList() { return primaryKey_; } /** *
     * List of columns used as primary key
     * 
* * repeated string primary_key = 4; * @return The count of primaryKey. */ public int getPrimaryKeyCount() { return primaryKey_.size(); } /** *
     * List of columns used as primary key
     * 
* * repeated string primary_key = 4; * @param index The index of the element to return. * @return The primaryKey at the given index. */ public java.lang.String getPrimaryKey(int index) { return primaryKey_.get(index); } /** *
     * List of columns used as primary key
     * 
* * repeated string primary_key = 4; * @param index The index of the value to return. * @return The bytes of the primaryKey at the given index. */ public com.google.protobuf.ByteString getPrimaryKeyBytes(int index) { return primaryKey_.getByteString(index); } public static final int PROFILE_FIELD_NUMBER = 5; private tech.ydb.proto.table.YdbTable.TableProfile profile_; /** *
     * Table profile
     * 
* * .Ydb.Table.TableProfile profile = 5; * @return Whether the profile field is set. */ @java.lang.Override public boolean hasProfile() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Table profile
     * 
* * .Ydb.Table.TableProfile profile = 5; * @return The profile. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TableProfile getProfile() { return profile_ == null ? tech.ydb.proto.table.YdbTable.TableProfile.getDefaultInstance() : profile_; } /** *
     * Table profile
     * 
* * .Ydb.Table.TableProfile profile = 5; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TableProfileOrBuilder getProfileOrBuilder() { return profile_ == null ? tech.ydb.proto.table.YdbTable.TableProfile.getDefaultInstance() : profile_; } public static final int OPERATION_PARAMS_FIELD_NUMBER = 6; private tech.ydb.proto.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 6; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return ((bitField0_ & 0x00000002) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 6; * @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 = 6; */ @java.lang.Override public tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } public static final int INDEXES_FIELD_NUMBER = 7; @SuppressWarnings("serial") private java.util.List indexes_; /** *
     * List of secondary indexes
     * 
* * repeated .Ydb.Table.TableIndex indexes = 7; */ @java.lang.Override public java.util.List getIndexesList() { return indexes_; } /** *
     * List of secondary indexes
     * 
* * repeated .Ydb.Table.TableIndex indexes = 7; */ @java.lang.Override public java.util.List getIndexesOrBuilderList() { return indexes_; } /** *
     * List of secondary indexes
     * 
* * repeated .Ydb.Table.TableIndex indexes = 7; */ @java.lang.Override public int getIndexesCount() { return indexes_.size(); } /** *
     * List of secondary indexes
     * 
* * repeated .Ydb.Table.TableIndex indexes = 7; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TableIndex getIndexes(int index) { return indexes_.get(index); } /** *
     * List of secondary indexes
     * 
* * repeated .Ydb.Table.TableIndex indexes = 7; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TableIndexOrBuilder getIndexesOrBuilder( int index) { return indexes_.get(index); } public static final int TTL_SETTINGS_FIELD_NUMBER = 8; private tech.ydb.proto.table.YdbTable.TtlSettings ttlSettings_; /** *
     * Table rows time to live settings
     * 
* * .Ydb.Table.TtlSettings ttl_settings = 8; * @return Whether the ttlSettings field is set. */ @java.lang.Override public boolean hasTtlSettings() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Table rows time to live settings
     * 
* * .Ydb.Table.TtlSettings ttl_settings = 8; * @return The ttlSettings. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TtlSettings getTtlSettings() { return ttlSettings_ == null ? tech.ydb.proto.table.YdbTable.TtlSettings.getDefaultInstance() : ttlSettings_; } /** *
     * Table rows time to live settings
     * 
* * .Ydb.Table.TtlSettings ttl_settings = 8; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TtlSettingsOrBuilder getTtlSettingsOrBuilder() { return ttlSettings_ == null ? tech.ydb.proto.table.YdbTable.TtlSettings.getDefaultInstance() : ttlSettings_; } public static final int STORAGE_SETTINGS_FIELD_NUMBER = 9; private tech.ydb.proto.table.YdbTable.StorageSettings storageSettings_; /** *
     * Storage settings for table
     * 
* * .Ydb.Table.StorageSettings storage_settings = 9; * @return Whether the storageSettings field is set. */ @java.lang.Override public boolean hasStorageSettings() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Storage settings for table
     * 
* * .Ydb.Table.StorageSettings storage_settings = 9; * @return The storageSettings. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StorageSettings getStorageSettings() { return storageSettings_ == null ? tech.ydb.proto.table.YdbTable.StorageSettings.getDefaultInstance() : storageSettings_; } /** *
     * Storage settings for table
     * 
* * .Ydb.Table.StorageSettings storage_settings = 9; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StorageSettingsOrBuilder getStorageSettingsOrBuilder() { return storageSettings_ == null ? tech.ydb.proto.table.YdbTable.StorageSettings.getDefaultInstance() : storageSettings_; } public static final int COLUMN_FAMILIES_FIELD_NUMBER = 10; @SuppressWarnings("serial") private java.util.List columnFamilies_; /** *
     * Column families
     * 
* * repeated .Ydb.Table.ColumnFamily column_families = 10; */ @java.lang.Override public java.util.List getColumnFamiliesList() { return columnFamilies_; } /** *
     * Column families
     * 
* * repeated .Ydb.Table.ColumnFamily column_families = 10; */ @java.lang.Override public java.util.List getColumnFamiliesOrBuilderList() { return columnFamilies_; } /** *
     * Column families
     * 
* * repeated .Ydb.Table.ColumnFamily column_families = 10; */ @java.lang.Override public int getColumnFamiliesCount() { return columnFamilies_.size(); } /** *
     * Column families
     * 
* * repeated .Ydb.Table.ColumnFamily column_families = 10; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ColumnFamily getColumnFamilies(int index) { return columnFamilies_.get(index); } /** *
     * Column families
     * 
* * repeated .Ydb.Table.ColumnFamily column_families = 10; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ColumnFamilyOrBuilder getColumnFamiliesOrBuilder( int index) { return columnFamilies_.get(index); } public static final int ATTRIBUTES_FIELD_NUMBER = 11; private static final class AttributesDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CreateTableRequest_AttributesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } @SuppressWarnings("serial") private com.google.protobuf.MapField< java.lang.String, java.lang.String> attributes_; private com.google.protobuf.MapField internalGetAttributes() { if (attributes_ == null) { return com.google.protobuf.MapField.emptyMapField( AttributesDefaultEntryHolder.defaultEntry); } return attributes_; } public int getAttributesCount() { return internalGetAttributes().getMap().size(); } /** *
     * Attributes. Total size is limited to 10 KB.
     * 
* * map<string, string> attributes = 11 [(.Ydb.length) = { ... } */ @java.lang.Override public boolean containsAttributes( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetAttributes().getMap().containsKey(key); } /** * Use {@link #getAttributesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAttributes() { return getAttributesMap(); } /** *
     * Attributes. Total size is limited to 10 KB.
     * 
* * map<string, string> attributes = 11 [(.Ydb.length) = { ... } */ @java.lang.Override public java.util.Map getAttributesMap() { return internalGetAttributes().getMap(); } /** *
     * Attributes. Total size is limited to 10 KB.
     * 
* * map<string, string> attributes = 11 [(.Ydb.length) = { ... } */ @java.lang.Override public /* nullable */ java.lang.String getAttributesOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAttributes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Attributes. Total size is limited to 10 KB.
     * 
* * map<string, string> attributes = 11 [(.Ydb.length) = { ... } */ @java.lang.Override public java.lang.String getAttributesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAttributes().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int COMPACTION_POLICY_FIELD_NUMBER = 12; @SuppressWarnings("serial") private volatile java.lang.Object compactionPolicy_ = ""; /** *
     * Predefined named set of settings for table compaction ["default", "small_table", "log_table"].
     * 
* * string compaction_policy = 12; * @return The compactionPolicy. */ @java.lang.Override public java.lang.String getCompactionPolicy() { java.lang.Object ref = compactionPolicy_; 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(); compactionPolicy_ = s; return s; } } /** *
     * Predefined named set of settings for table compaction ["default", "small_table", "log_table"].
     * 
* * string compaction_policy = 12; * @return The bytes for compactionPolicy. */ @java.lang.Override public com.google.protobuf.ByteString getCompactionPolicyBytes() { java.lang.Object ref = compactionPolicy_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); compactionPolicy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int UNIFORM_PARTITIONS_FIELD_NUMBER = 13; /** *
     * Enable uniform partitioning using given partitions count.
     * The first components of primary key must have Uint32/Uint64 type.
     * 
* * uint64 uniform_partitions = 13; * @return Whether the uniformPartitions field is set. */ @java.lang.Override public boolean hasUniformPartitions() { return partitionsCase_ == 13; } /** *
     * Enable uniform partitioning using given partitions count.
     * The first components of primary key must have Uint32/Uint64 type.
     * 
* * uint64 uniform_partitions = 13; * @return The uniformPartitions. */ @java.lang.Override public long getUniformPartitions() { if (partitionsCase_ == 13) { return (java.lang.Long) partitions_; } return 0L; } public static final int PARTITION_AT_KEYS_FIELD_NUMBER = 14; /** *
     * Explicitly specify key values which are used as borders for created partitions.
     * 
* * .Ydb.Table.ExplicitPartitions partition_at_keys = 14; * @return Whether the partitionAtKeys field is set. */ @java.lang.Override public boolean hasPartitionAtKeys() { return partitionsCase_ == 14; } /** *
     * Explicitly specify key values which are used as borders for created partitions.
     * 
* * .Ydb.Table.ExplicitPartitions partition_at_keys = 14; * @return The partitionAtKeys. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ExplicitPartitions getPartitionAtKeys() { if (partitionsCase_ == 14) { return (tech.ydb.proto.table.YdbTable.ExplicitPartitions) partitions_; } return tech.ydb.proto.table.YdbTable.ExplicitPartitions.getDefaultInstance(); } /** *
     * Explicitly specify key values which are used as borders for created partitions.
     * 
* * .Ydb.Table.ExplicitPartitions partition_at_keys = 14; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ExplicitPartitionsOrBuilder getPartitionAtKeysOrBuilder() { if (partitionsCase_ == 14) { return (tech.ydb.proto.table.YdbTable.ExplicitPartitions) partitions_; } return tech.ydb.proto.table.YdbTable.ExplicitPartitions.getDefaultInstance(); } public static final int PARTITIONING_SETTINGS_FIELD_NUMBER = 15; private tech.ydb.proto.table.YdbTable.PartitioningSettings partitioningSettings_; /** *
     * Partitioning settings for table
     * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 15; * @return Whether the partitioningSettings field is set. */ @java.lang.Override public boolean hasPartitioningSettings() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Partitioning settings for table
     * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 15; * @return The partitioningSettings. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.PartitioningSettings getPartitioningSettings() { return partitioningSettings_ == null ? tech.ydb.proto.table.YdbTable.PartitioningSettings.getDefaultInstance() : partitioningSettings_; } /** *
     * Partitioning settings for table
     * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 15; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.PartitioningSettingsOrBuilder getPartitioningSettingsOrBuilder() { return partitioningSettings_ == null ? tech.ydb.proto.table.YdbTable.PartitioningSettings.getDefaultInstance() : partitioningSettings_; } public static final int KEY_BLOOM_FILTER_FIELD_NUMBER = 16; private int keyBloomFilter_ = 0; /** *
     * Bloom filter by key
     * 
* * .Ydb.FeatureFlag.Status key_bloom_filter = 16; * @return The enum numeric value on the wire for keyBloomFilter. */ @java.lang.Override public int getKeyBloomFilterValue() { return keyBloomFilter_; } /** *
     * Bloom filter by key
     * 
* * .Ydb.FeatureFlag.Status key_bloom_filter = 16; * @return The keyBloomFilter. */ @java.lang.Override public tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getKeyBloomFilter() { tech.ydb.proto.common.CommonProtos.FeatureFlag.Status result = tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.forNumber(keyBloomFilter_); return result == null ? tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } public static final int READ_REPLICAS_SETTINGS_FIELD_NUMBER = 17; private tech.ydb.proto.table.YdbTable.ReadReplicasSettings readReplicasSettings_; /** *
     * Read replicas settings for table
     * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 17; * @return Whether the readReplicasSettings field is set. */ @java.lang.Override public boolean hasReadReplicasSettings() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * Read replicas settings for table
     * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 17; * @return The readReplicasSettings. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ReadReplicasSettings getReadReplicasSettings() { return readReplicasSettings_ == null ? tech.ydb.proto.table.YdbTable.ReadReplicasSettings.getDefaultInstance() : readReplicasSettings_; } /** *
     * Read replicas settings for table
     * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 17; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ReadReplicasSettingsOrBuilder getReadReplicasSettingsOrBuilder() { return readReplicasSettings_ == null ? tech.ydb.proto.table.YdbTable.ReadReplicasSettings.getDefaultInstance() : readReplicasSettings_; } public static final int TIERING_FIELD_NUMBER = 18; @SuppressWarnings("serial") private volatile java.lang.Object tiering_ = ""; /** *
     * Tiering rules name. It specifies how data migrates from one tier (logical storage) to another.
     * 
* * string tiering = 18; * @return The tiering. */ @java.lang.Override public java.lang.String getTiering() { java.lang.Object ref = tiering_; 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(); tiering_ = s; return s; } } /** *
     * Tiering rules name. It specifies how data migrates from one tier (logical storage) to another.
     * 
* * string tiering = 18; * @return The bytes for tiering. */ @java.lang.Override public com.google.protobuf.ByteString getTieringBytes() { java.lang.Object ref = tiering_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tiering_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TEMPORARY_FIELD_NUMBER = 19; private boolean temporary_ = false; /** *
     * Is temporary table
     * 
* * bool temporary = 19; * @return The temporary. */ @java.lang.Override public boolean getTemporary() { return temporary_; } public static final int STORE_TYPE_FIELD_NUMBER = 20; private int storeType_ = 0; /** *
     * Is table column or row oriented
     * 
* * .Ydb.Table.StoreType store_type = 20; * @return The enum numeric value on the wire for storeType. */ @java.lang.Override public int getStoreTypeValue() { return storeType_; } /** *
     * Is table column or row oriented
     * 
* * .Ydb.Table.StoreType store_type = 20; * @return The storeType. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StoreType getStoreType() { tech.ydb.proto.table.YdbTable.StoreType result = tech.ydb.proto.table.YdbTable.StoreType.forNumber(storeType_); return result == null ? tech.ydb.proto.table.YdbTable.StoreType.UNRECOGNIZED : result; } 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(sessionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_); } for (int i = 0; i < columns_.size(); i++) { output.writeMessage(3, columns_.get(i)); } for (int i = 0; i < primaryKey_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, primaryKey_.getRaw(i)); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(5, getProfile()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(6, getOperationParams()); } for (int i = 0; i < indexes_.size(); i++) { output.writeMessage(7, indexes_.get(i)); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(8, getTtlSettings()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(9, getStorageSettings()); } for (int i = 0; i < columnFamilies_.size(); i++) { output.writeMessage(10, columnFamilies_.get(i)); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetAttributes(), AttributesDefaultEntryHolder.defaultEntry, 11); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(compactionPolicy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, compactionPolicy_); } if (partitionsCase_ == 13) { output.writeUInt64( 13, (long)((java.lang.Long) partitions_)); } if (partitionsCase_ == 14) { output.writeMessage(14, (tech.ydb.proto.table.YdbTable.ExplicitPartitions) partitions_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(15, getPartitioningSettings()); } if (keyBloomFilter_ != tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(16, keyBloomFilter_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(17, getReadReplicasSettings()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tiering_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 18, tiering_); } if (temporary_ != false) { output.writeBool(19, temporary_); } if (storeType_ != tech.ydb.proto.table.YdbTable.StoreType.STORE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(20, storeType_); } 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(sessionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); } for (int i = 0; i < columns_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, columns_.get(i)); } { int dataSize = 0; for (int i = 0; i < primaryKey_.size(); i++) { dataSize += computeStringSizeNoTag(primaryKey_.getRaw(i)); } size += dataSize; size += 1 * getPrimaryKeyList().size(); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getProfile()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getOperationParams()); } for (int i = 0; i < indexes_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, indexes_.get(i)); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getTtlSettings()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getStorageSettings()); } for (int i = 0; i < columnFamilies_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, columnFamilies_.get(i)); } for (java.util.Map.Entry entry : internalGetAttributes().getMap().entrySet()) { com.google.protobuf.MapEntry attributes__ = AttributesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, attributes__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(compactionPolicy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, compactionPolicy_); } if (partitionsCase_ == 13) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size( 13, (long)((java.lang.Long) partitions_)); } if (partitionsCase_ == 14) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, (tech.ydb.proto.table.YdbTable.ExplicitPartitions) partitions_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, getPartitioningSettings()); } if (keyBloomFilter_ != tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(16, keyBloomFilter_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(17, getReadReplicasSettings()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tiering_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, tiering_); } if (temporary_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(19, temporary_); } if (storeType_ != tech.ydb.proto.table.YdbTable.StoreType.STORE_TYPE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(20, storeType_); } 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.table.YdbTable.CreateTableRequest)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.CreateTableRequest other = (tech.ydb.proto.table.YdbTable.CreateTableRequest) obj; if (!getSessionId() .equals(other.getSessionId())) return false; if (!getPath() .equals(other.getPath())) return false; if (!getColumnsList() .equals(other.getColumnsList())) return false; if (!getPrimaryKeyList() .equals(other.getPrimaryKeyList())) return false; if (hasProfile() != other.hasProfile()) return false; if (hasProfile()) { if (!getProfile() .equals(other.getProfile())) return false; } if (hasOperationParams() != other.hasOperationParams()) return false; if (hasOperationParams()) { if (!getOperationParams() .equals(other.getOperationParams())) return false; } if (!getIndexesList() .equals(other.getIndexesList())) return false; if (hasTtlSettings() != other.hasTtlSettings()) return false; if (hasTtlSettings()) { if (!getTtlSettings() .equals(other.getTtlSettings())) return false; } if (hasStorageSettings() != other.hasStorageSettings()) return false; if (hasStorageSettings()) { if (!getStorageSettings() .equals(other.getStorageSettings())) return false; } if (!getColumnFamiliesList() .equals(other.getColumnFamiliesList())) return false; if (!internalGetAttributes().equals( other.internalGetAttributes())) return false; if (!getCompactionPolicy() .equals(other.getCompactionPolicy())) return false; if (hasPartitioningSettings() != other.hasPartitioningSettings()) return false; if (hasPartitioningSettings()) { if (!getPartitioningSettings() .equals(other.getPartitioningSettings())) return false; } if (keyBloomFilter_ != other.keyBloomFilter_) return false; if (hasReadReplicasSettings() != other.hasReadReplicasSettings()) return false; if (hasReadReplicasSettings()) { if (!getReadReplicasSettings() .equals(other.getReadReplicasSettings())) return false; } if (!getTiering() .equals(other.getTiering())) return false; if (getTemporary() != other.getTemporary()) return false; if (storeType_ != other.storeType_) return false; if (!getPartitionsCase().equals(other.getPartitionsCase())) return false; switch (partitionsCase_) { case 13: if (getUniformPartitions() != other.getUniformPartitions()) return false; break; case 14: if (!getPartitionAtKeys() .equals(other.getPartitionAtKeys())) 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(); hash = (37 * hash) + SESSION_ID_FIELD_NUMBER; hash = (53 * hash) + getSessionId().hashCode(); hash = (37 * hash) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); if (getColumnsCount() > 0) { hash = (37 * hash) + COLUMNS_FIELD_NUMBER; hash = (53 * hash) + getColumnsList().hashCode(); } if (getPrimaryKeyCount() > 0) { hash = (37 * hash) + PRIMARY_KEY_FIELD_NUMBER; hash = (53 * hash) + getPrimaryKeyList().hashCode(); } if (hasProfile()) { hash = (37 * hash) + PROFILE_FIELD_NUMBER; hash = (53 * hash) + getProfile().hashCode(); } if (hasOperationParams()) { hash = (37 * hash) + OPERATION_PARAMS_FIELD_NUMBER; hash = (53 * hash) + getOperationParams().hashCode(); } if (getIndexesCount() > 0) { hash = (37 * hash) + INDEXES_FIELD_NUMBER; hash = (53 * hash) + getIndexesList().hashCode(); } if (hasTtlSettings()) { hash = (37 * hash) + TTL_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getTtlSettings().hashCode(); } if (hasStorageSettings()) { hash = (37 * hash) + STORAGE_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getStorageSettings().hashCode(); } if (getColumnFamiliesCount() > 0) { hash = (37 * hash) + COLUMN_FAMILIES_FIELD_NUMBER; hash = (53 * hash) + getColumnFamiliesList().hashCode(); } if (!internalGetAttributes().getMap().isEmpty()) { hash = (37 * hash) + ATTRIBUTES_FIELD_NUMBER; hash = (53 * hash) + internalGetAttributes().hashCode(); } hash = (37 * hash) + COMPACTION_POLICY_FIELD_NUMBER; hash = (53 * hash) + getCompactionPolicy().hashCode(); if (hasPartitioningSettings()) { hash = (37 * hash) + PARTITIONING_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getPartitioningSettings().hashCode(); } hash = (37 * hash) + KEY_BLOOM_FILTER_FIELD_NUMBER; hash = (53 * hash) + keyBloomFilter_; if (hasReadReplicasSettings()) { hash = (37 * hash) + READ_REPLICAS_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getReadReplicasSettings().hashCode(); } hash = (37 * hash) + TIERING_FIELD_NUMBER; hash = (53 * hash) + getTiering().hashCode(); hash = (37 * hash) + TEMPORARY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getTemporary()); hash = (37 * hash) + STORE_TYPE_FIELD_NUMBER; hash = (53 * hash) + storeType_; switch (partitionsCase_) { case 13: hash = (37 * hash) + UNIFORM_PARTITIONS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getUniformPartitions()); break; case 14: hash = (37 * hash) + PARTITION_AT_KEYS_FIELD_NUMBER; hash = (53 * hash) + getPartitionAtKeys().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.CreateTableRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CreateTableRequest 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.table.YdbTable.CreateTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CreateTableRequest 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.table.YdbTable.CreateTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CreateTableRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.CreateTableRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CreateTableRequest 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.table.YdbTable.CreateTableRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CreateTableRequest 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.table.YdbTable.CreateTableRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CreateTableRequest 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.table.YdbTable.CreateTableRequest 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.Table.CreateTableRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.CreateTableRequest) tech.ydb.proto.table.YdbTable.CreateTableRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CreateTableRequest_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 11: return internalGetAttributes(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 11: return internalGetMutableAttributes(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CreateTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CreateTableRequest.class, tech.ydb.proto.table.YdbTable.CreateTableRequest.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.CreateTableRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getColumnsFieldBuilder(); getProfileFieldBuilder(); getOperationParamsFieldBuilder(); getIndexesFieldBuilder(); getTtlSettingsFieldBuilder(); getStorageSettingsFieldBuilder(); getColumnFamiliesFieldBuilder(); getPartitioningSettingsFieldBuilder(); getReadReplicasSettingsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; sessionId_ = ""; path_ = ""; if (columnsBuilder_ == null) { columns_ = java.util.Collections.emptyList(); } else { columns_ = null; columnsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); primaryKey_ = com.google.protobuf.LazyStringArrayList.emptyList(); profile_ = null; if (profileBuilder_ != null) { profileBuilder_.dispose(); profileBuilder_ = null; } operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } if (indexesBuilder_ == null) { indexes_ = java.util.Collections.emptyList(); } else { indexes_ = null; indexesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); ttlSettings_ = null; if (ttlSettingsBuilder_ != null) { ttlSettingsBuilder_.dispose(); ttlSettingsBuilder_ = null; } storageSettings_ = null; if (storageSettingsBuilder_ != null) { storageSettingsBuilder_.dispose(); storageSettingsBuilder_ = null; } if (columnFamiliesBuilder_ == null) { columnFamilies_ = java.util.Collections.emptyList(); } else { columnFamilies_ = null; columnFamiliesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000200); internalGetMutableAttributes().clear(); compactionPolicy_ = ""; if (partitionAtKeysBuilder_ != null) { partitionAtKeysBuilder_.clear(); } partitioningSettings_ = null; if (partitioningSettingsBuilder_ != null) { partitioningSettingsBuilder_.dispose(); partitioningSettingsBuilder_ = null; } keyBloomFilter_ = 0; readReplicasSettings_ = null; if (readReplicasSettingsBuilder_ != null) { readReplicasSettingsBuilder_.dispose(); readReplicasSettingsBuilder_ = null; } tiering_ = ""; temporary_ = false; storeType_ = 0; partitionsCase_ = 0; partitions_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CreateTableRequest_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CreateTableRequest getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.CreateTableRequest.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.CreateTableRequest build() { tech.ydb.proto.table.YdbTable.CreateTableRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CreateTableRequest buildPartial() { tech.ydb.proto.table.YdbTable.CreateTableRequest result = new tech.ydb.proto.table.YdbTable.CreateTableRequest(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartialRepeatedFields(tech.ydb.proto.table.YdbTable.CreateTableRequest result) { if (columnsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { columns_ = java.util.Collections.unmodifiableList(columns_); bitField0_ = (bitField0_ & ~0x00000004); } result.columns_ = columns_; } else { result.columns_ = columnsBuilder_.build(); } if (indexesBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0)) { indexes_ = java.util.Collections.unmodifiableList(indexes_); bitField0_ = (bitField0_ & ~0x00000040); } result.indexes_ = indexes_; } else { result.indexes_ = indexesBuilder_.build(); } if (columnFamiliesBuilder_ == null) { if (((bitField0_ & 0x00000200) != 0)) { columnFamilies_ = java.util.Collections.unmodifiableList(columnFamilies_); bitField0_ = (bitField0_ & ~0x00000200); } result.columnFamilies_ = columnFamilies_; } else { result.columnFamilies_ = columnFamiliesBuilder_.build(); } } private void buildPartial0(tech.ydb.proto.table.YdbTable.CreateTableRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.sessionId_ = sessionId_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.path_ = path_; } if (((from_bitField0_ & 0x00000008) != 0)) { primaryKey_.makeImmutable(); result.primaryKey_ = primaryKey_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000010) != 0)) { result.profile_ = profileBuilder_ == null ? profile_ : profileBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000020) != 0)) { result.operationParams_ = operationParamsBuilder_ == null ? operationParams_ : operationParamsBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000080) != 0)) { result.ttlSettings_ = ttlSettingsBuilder_ == null ? ttlSettings_ : ttlSettingsBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000100) != 0)) { result.storageSettings_ = storageSettingsBuilder_ == null ? storageSettings_ : storageSettingsBuilder_.build(); to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000400) != 0)) { result.attributes_ = internalGetAttributes(); result.attributes_.makeImmutable(); } if (((from_bitField0_ & 0x00000800) != 0)) { result.compactionPolicy_ = compactionPolicy_; } if (((from_bitField0_ & 0x00004000) != 0)) { result.partitioningSettings_ = partitioningSettingsBuilder_ == null ? partitioningSettings_ : partitioningSettingsBuilder_.build(); to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00008000) != 0)) { result.keyBloomFilter_ = keyBloomFilter_; } if (((from_bitField0_ & 0x00010000) != 0)) { result.readReplicasSettings_ = readReplicasSettingsBuilder_ == null ? readReplicasSettings_ : readReplicasSettingsBuilder_.build(); to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00020000) != 0)) { result.tiering_ = tiering_; } if (((from_bitField0_ & 0x00040000) != 0)) { result.temporary_ = temporary_; } if (((from_bitField0_ & 0x00080000) != 0)) { result.storeType_ = storeType_; } result.bitField0_ |= to_bitField0_; } private void buildPartialOneofs(tech.ydb.proto.table.YdbTable.CreateTableRequest result) { result.partitionsCase_ = partitionsCase_; result.partitions_ = this.partitions_; if (partitionsCase_ == 14 && partitionAtKeysBuilder_ != null) { result.partitions_ = partitionAtKeysBuilder_.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.table.YdbTable.CreateTableRequest) { return mergeFrom((tech.ydb.proto.table.YdbTable.CreateTableRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.CreateTableRequest other) { if (other == tech.ydb.proto.table.YdbTable.CreateTableRequest.getDefaultInstance()) return this; if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getPath().isEmpty()) { path_ = other.path_; bitField0_ |= 0x00000002; onChanged(); } if (columnsBuilder_ == null) { if (!other.columns_.isEmpty()) { if (columns_.isEmpty()) { columns_ = other.columns_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureColumnsIsMutable(); columns_.addAll(other.columns_); } onChanged(); } } else { if (!other.columns_.isEmpty()) { if (columnsBuilder_.isEmpty()) { columnsBuilder_.dispose(); columnsBuilder_ = null; columns_ = other.columns_; bitField0_ = (bitField0_ & ~0x00000004); columnsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getColumnsFieldBuilder() : null; } else { columnsBuilder_.addAllMessages(other.columns_); } } } if (!other.primaryKey_.isEmpty()) { if (primaryKey_.isEmpty()) { primaryKey_ = other.primaryKey_; bitField0_ |= 0x00000008; } else { ensurePrimaryKeyIsMutable(); primaryKey_.addAll(other.primaryKey_); } onChanged(); } if (other.hasProfile()) { mergeProfile(other.getProfile()); } if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } if (indexesBuilder_ == null) { if (!other.indexes_.isEmpty()) { if (indexes_.isEmpty()) { indexes_ = other.indexes_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureIndexesIsMutable(); indexes_.addAll(other.indexes_); } onChanged(); } } else { if (!other.indexes_.isEmpty()) { if (indexesBuilder_.isEmpty()) { indexesBuilder_.dispose(); indexesBuilder_ = null; indexes_ = other.indexes_; bitField0_ = (bitField0_ & ~0x00000040); indexesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getIndexesFieldBuilder() : null; } else { indexesBuilder_.addAllMessages(other.indexes_); } } } if (other.hasTtlSettings()) { mergeTtlSettings(other.getTtlSettings()); } if (other.hasStorageSettings()) { mergeStorageSettings(other.getStorageSettings()); } if (columnFamiliesBuilder_ == null) { if (!other.columnFamilies_.isEmpty()) { if (columnFamilies_.isEmpty()) { columnFamilies_ = other.columnFamilies_; bitField0_ = (bitField0_ & ~0x00000200); } else { ensureColumnFamiliesIsMutable(); columnFamilies_.addAll(other.columnFamilies_); } onChanged(); } } else { if (!other.columnFamilies_.isEmpty()) { if (columnFamiliesBuilder_.isEmpty()) { columnFamiliesBuilder_.dispose(); columnFamiliesBuilder_ = null; columnFamilies_ = other.columnFamilies_; bitField0_ = (bitField0_ & ~0x00000200); columnFamiliesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getColumnFamiliesFieldBuilder() : null; } else { columnFamiliesBuilder_.addAllMessages(other.columnFamilies_); } } } internalGetMutableAttributes().mergeFrom( other.internalGetAttributes()); bitField0_ |= 0x00000400; if (!other.getCompactionPolicy().isEmpty()) { compactionPolicy_ = other.compactionPolicy_; bitField0_ |= 0x00000800; onChanged(); } if (other.hasPartitioningSettings()) { mergePartitioningSettings(other.getPartitioningSettings()); } if (other.keyBloomFilter_ != 0) { setKeyBloomFilterValue(other.getKeyBloomFilterValue()); } if (other.hasReadReplicasSettings()) { mergeReadReplicasSettings(other.getReadReplicasSettings()); } if (!other.getTiering().isEmpty()) { tiering_ = other.tiering_; bitField0_ |= 0x00020000; onChanged(); } if (other.getTemporary() != false) { setTemporary(other.getTemporary()); } if (other.storeType_ != 0) { setStoreTypeValue(other.getStoreTypeValue()); } switch (other.getPartitionsCase()) { case UNIFORM_PARTITIONS: { setUniformPartitions(other.getUniformPartitions()); break; } case PARTITION_AT_KEYS: { mergePartitionAtKeys(other.getPartitionAtKeys()); break; } case PARTITIONS_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: { sessionId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { path_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { tech.ydb.proto.table.YdbTable.ColumnMeta m = input.readMessage( tech.ydb.proto.table.YdbTable.ColumnMeta.parser(), extensionRegistry); if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.add(m); } else { columnsBuilder_.addMessage(m); } break; } // case 26 case 34: { java.lang.String s = input.readStringRequireUtf8(); ensurePrimaryKeyIsMutable(); primaryKey_.add(s); break; } // case 34 case 42: { input.readMessage( getProfileFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 42 case 50: { input.readMessage( getOperationParamsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000020; break; } // case 50 case 58: { tech.ydb.proto.table.YdbTable.TableIndex m = input.readMessage( tech.ydb.proto.table.YdbTable.TableIndex.parser(), extensionRegistry); if (indexesBuilder_ == null) { ensureIndexesIsMutable(); indexes_.add(m); } else { indexesBuilder_.addMessage(m); } break; } // case 58 case 66: { input.readMessage( getTtlSettingsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000080; break; } // case 66 case 74: { input.readMessage( getStorageSettingsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000100; break; } // case 74 case 82: { tech.ydb.proto.table.YdbTable.ColumnFamily m = input.readMessage( tech.ydb.proto.table.YdbTable.ColumnFamily.parser(), extensionRegistry); if (columnFamiliesBuilder_ == null) { ensureColumnFamiliesIsMutable(); columnFamilies_.add(m); } else { columnFamiliesBuilder_.addMessage(m); } break; } // case 82 case 90: { com.google.protobuf.MapEntry attributes__ = input.readMessage( AttributesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableAttributes().getMutableMap().put( attributes__.getKey(), attributes__.getValue()); bitField0_ |= 0x00000400; break; } // case 90 case 98: { compactionPolicy_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000800; break; } // case 98 case 104: { partitions_ = input.readUInt64(); partitionsCase_ = 13; break; } // case 104 case 114: { input.readMessage( getPartitionAtKeysFieldBuilder().getBuilder(), extensionRegistry); partitionsCase_ = 14; break; } // case 114 case 122: { input.readMessage( getPartitioningSettingsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00004000; break; } // case 122 case 128: { keyBloomFilter_ = input.readEnum(); bitField0_ |= 0x00008000; break; } // case 128 case 138: { input.readMessage( getReadReplicasSettingsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00010000; break; } // case 138 case 146: { tiering_ = input.readStringRequireUtf8(); bitField0_ |= 0x00020000; break; } // case 146 case 152: { temporary_ = input.readBool(); bitField0_ |= 0x00040000; break; } // case 152 case 160: { storeType_ = input.readEnum(); bitField0_ |= 0x00080000; break; } // case 160 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 partitionsCase_ = 0; private java.lang.Object partitions_; public PartitionsCase getPartitionsCase() { return PartitionsCase.forNumber( partitionsCase_); } public Builder clearPartitions() { partitionsCase_ = 0; partitions_ = null; onChanged(); return this; } private int bitField0_; private java.lang.Object sessionId_ = ""; /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The sessionId. */ public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The bytes for sessionId. */ public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The sessionId to set. * @return This builder for chaining. */ public Builder setSessionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sessionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The bytes for sessionId to set. * @return This builder for chaining. */ public Builder setSessionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sessionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object path_ = ""; /** *
       * Full 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; } } /** *
       * Full path
       * 
* * 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; } } /** *
       * Full path
       * 
* * 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; } /** *
       * Full path
       * 
* * string path = 2; * @return This builder for chaining. */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * Full path
       * 
* * 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 columns_ = java.util.Collections.emptyList(); private void ensureColumnsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { columns_ = new java.util.ArrayList(columns_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ColumnMeta, tech.ydb.proto.table.YdbTable.ColumnMeta.Builder, tech.ydb.proto.table.YdbTable.ColumnMetaOrBuilder> columnsBuilder_; /** *
       * Columns (name, type)
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 3; */ public java.util.List getColumnsList() { if (columnsBuilder_ == null) { return java.util.Collections.unmodifiableList(columns_); } else { return columnsBuilder_.getMessageList(); } } /** *
       * Columns (name, type)
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 3; */ public int getColumnsCount() { if (columnsBuilder_ == null) { return columns_.size(); } else { return columnsBuilder_.getCount(); } } /** *
       * Columns (name, type)
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 3; */ public tech.ydb.proto.table.YdbTable.ColumnMeta getColumns(int index) { if (columnsBuilder_ == null) { return columns_.get(index); } else { return columnsBuilder_.getMessage(index); } } /** *
       * Columns (name, type)
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 3; */ public Builder setColumns( int index, tech.ydb.proto.table.YdbTable.ColumnMeta value) { if (columnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.set(index, value); onChanged(); } else { columnsBuilder_.setMessage(index, value); } return this; } /** *
       * Columns (name, type)
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 3; */ public Builder setColumns( int index, tech.ydb.proto.table.YdbTable.ColumnMeta.Builder builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.set(index, builderForValue.build()); onChanged(); } else { columnsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Columns (name, type)
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 3; */ public Builder addColumns(tech.ydb.proto.table.YdbTable.ColumnMeta value) { if (columnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.add(value); onChanged(); } else { columnsBuilder_.addMessage(value); } return this; } /** *
       * Columns (name, type)
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 3; */ public Builder addColumns( int index, tech.ydb.proto.table.YdbTable.ColumnMeta value) { if (columnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.add(index, value); onChanged(); } else { columnsBuilder_.addMessage(index, value); } return this; } /** *
       * Columns (name, type)
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 3; */ public Builder addColumns( tech.ydb.proto.table.YdbTable.ColumnMeta.Builder builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.add(builderForValue.build()); onChanged(); } else { columnsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Columns (name, type)
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 3; */ public Builder addColumns( int index, tech.ydb.proto.table.YdbTable.ColumnMeta.Builder builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.add(index, builderForValue.build()); onChanged(); } else { columnsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Columns (name, type)
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 3; */ public Builder addAllColumns( java.lang.Iterable values) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, columns_); onChanged(); } else { columnsBuilder_.addAllMessages(values); } return this; } /** *
       * Columns (name, type)
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 3; */ public Builder clearColumns() { if (columnsBuilder_ == null) { columns_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { columnsBuilder_.clear(); } return this; } /** *
       * Columns (name, type)
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 3; */ public Builder removeColumns(int index) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.remove(index); onChanged(); } else { columnsBuilder_.remove(index); } return this; } /** *
       * Columns (name, type)
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 3; */ public tech.ydb.proto.table.YdbTable.ColumnMeta.Builder getColumnsBuilder( int index) { return getColumnsFieldBuilder().getBuilder(index); } /** *
       * Columns (name, type)
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 3; */ public tech.ydb.proto.table.YdbTable.ColumnMetaOrBuilder getColumnsOrBuilder( int index) { if (columnsBuilder_ == null) { return columns_.get(index); } else { return columnsBuilder_.getMessageOrBuilder(index); } } /** *
       * Columns (name, type)
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 3; */ public java.util.List getColumnsOrBuilderList() { if (columnsBuilder_ != null) { return columnsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(columns_); } } /** *
       * Columns (name, type)
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 3; */ public tech.ydb.proto.table.YdbTable.ColumnMeta.Builder addColumnsBuilder() { return getColumnsFieldBuilder().addBuilder( tech.ydb.proto.table.YdbTable.ColumnMeta.getDefaultInstance()); } /** *
       * Columns (name, type)
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 3; */ public tech.ydb.proto.table.YdbTable.ColumnMeta.Builder addColumnsBuilder( int index) { return getColumnsFieldBuilder().addBuilder( index, tech.ydb.proto.table.YdbTable.ColumnMeta.getDefaultInstance()); } /** *
       * Columns (name, type)
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 3; */ public java.util.List getColumnsBuilderList() { return getColumnsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ColumnMeta, tech.ydb.proto.table.YdbTable.ColumnMeta.Builder, tech.ydb.proto.table.YdbTable.ColumnMetaOrBuilder> getColumnsFieldBuilder() { if (columnsBuilder_ == null) { columnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ColumnMeta, tech.ydb.proto.table.YdbTable.ColumnMeta.Builder, tech.ydb.proto.table.YdbTable.ColumnMetaOrBuilder>( columns_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); columns_ = null; } return columnsBuilder_; } private com.google.protobuf.LazyStringArrayList primaryKey_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensurePrimaryKeyIsMutable() { if (!primaryKey_.isModifiable()) { primaryKey_ = new com.google.protobuf.LazyStringArrayList(primaryKey_); } bitField0_ |= 0x00000008; } /** *
       * List of columns used as primary key
       * 
* * repeated string primary_key = 4; * @return A list containing the primaryKey. */ public com.google.protobuf.ProtocolStringList getPrimaryKeyList() { primaryKey_.makeImmutable(); return primaryKey_; } /** *
       * List of columns used as primary key
       * 
* * repeated string primary_key = 4; * @return The count of primaryKey. */ public int getPrimaryKeyCount() { return primaryKey_.size(); } /** *
       * List of columns used as primary key
       * 
* * repeated string primary_key = 4; * @param index The index of the element to return. * @return The primaryKey at the given index. */ public java.lang.String getPrimaryKey(int index) { return primaryKey_.get(index); } /** *
       * List of columns used as primary key
       * 
* * repeated string primary_key = 4; * @param index The index of the value to return. * @return The bytes of the primaryKey at the given index. */ public com.google.protobuf.ByteString getPrimaryKeyBytes(int index) { return primaryKey_.getByteString(index); } /** *
       * List of columns used as primary key
       * 
* * repeated string primary_key = 4; * @param index The index to set the value at. * @param value The primaryKey to set. * @return This builder for chaining. */ public Builder setPrimaryKey( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePrimaryKeyIsMutable(); primaryKey_.set(index, value); bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * List of columns used as primary key
       * 
* * repeated string primary_key = 4; * @param value The primaryKey to add. * @return This builder for chaining. */ public Builder addPrimaryKey( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePrimaryKeyIsMutable(); primaryKey_.add(value); bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * List of columns used as primary key
       * 
* * repeated string primary_key = 4; * @param values The primaryKey to add. * @return This builder for chaining. */ public Builder addAllPrimaryKey( java.lang.Iterable values) { ensurePrimaryKeyIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, primaryKey_); bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * List of columns used as primary key
       * 
* * repeated string primary_key = 4; * @return This builder for chaining. */ public Builder clearPrimaryKey() { primaryKey_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000008);; onChanged(); return this; } /** *
       * List of columns used as primary key
       * 
* * repeated string primary_key = 4; * @param value The bytes of the primaryKey to add. * @return This builder for chaining. */ public Builder addPrimaryKeyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePrimaryKeyIsMutable(); primaryKey_.add(value); bitField0_ |= 0x00000008; onChanged(); return this; } private tech.ydb.proto.table.YdbTable.TableProfile profile_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.TableProfile, tech.ydb.proto.table.YdbTable.TableProfile.Builder, tech.ydb.proto.table.YdbTable.TableProfileOrBuilder> profileBuilder_; /** *
       * Table profile
       * 
* * .Ydb.Table.TableProfile profile = 5; * @return Whether the profile field is set. */ public boolean hasProfile() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * Table profile
       * 
* * .Ydb.Table.TableProfile profile = 5; * @return The profile. */ public tech.ydb.proto.table.YdbTable.TableProfile getProfile() { if (profileBuilder_ == null) { return profile_ == null ? tech.ydb.proto.table.YdbTable.TableProfile.getDefaultInstance() : profile_; } else { return profileBuilder_.getMessage(); } } /** *
       * Table profile
       * 
* * .Ydb.Table.TableProfile profile = 5; */ public Builder setProfile(tech.ydb.proto.table.YdbTable.TableProfile value) { if (profileBuilder_ == null) { if (value == null) { throw new NullPointerException(); } profile_ = value; } else { profileBuilder_.setMessage(value); } bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * Table profile
       * 
* * .Ydb.Table.TableProfile profile = 5; */ public Builder setProfile( tech.ydb.proto.table.YdbTable.TableProfile.Builder builderForValue) { if (profileBuilder_ == null) { profile_ = builderForValue.build(); } else { profileBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * Table profile
       * 
* * .Ydb.Table.TableProfile profile = 5; */ public Builder mergeProfile(tech.ydb.proto.table.YdbTable.TableProfile value) { if (profileBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && profile_ != null && profile_ != tech.ydb.proto.table.YdbTable.TableProfile.getDefaultInstance()) { getProfileBuilder().mergeFrom(value); } else { profile_ = value; } } else { profileBuilder_.mergeFrom(value); } if (profile_ != null) { bitField0_ |= 0x00000010; onChanged(); } return this; } /** *
       * Table profile
       * 
* * .Ydb.Table.TableProfile profile = 5; */ public Builder clearProfile() { bitField0_ = (bitField0_ & ~0x00000010); profile_ = null; if (profileBuilder_ != null) { profileBuilder_.dispose(); profileBuilder_ = null; } onChanged(); return this; } /** *
       * Table profile
       * 
* * .Ydb.Table.TableProfile profile = 5; */ public tech.ydb.proto.table.YdbTable.TableProfile.Builder getProfileBuilder() { bitField0_ |= 0x00000010; onChanged(); return getProfileFieldBuilder().getBuilder(); } /** *
       * Table profile
       * 
* * .Ydb.Table.TableProfile profile = 5; */ public tech.ydb.proto.table.YdbTable.TableProfileOrBuilder getProfileOrBuilder() { if (profileBuilder_ != null) { return profileBuilder_.getMessageOrBuilder(); } else { return profile_ == null ? tech.ydb.proto.table.YdbTable.TableProfile.getDefaultInstance() : profile_; } } /** *
       * Table profile
       * 
* * .Ydb.Table.TableProfile profile = 5; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.TableProfile, tech.ydb.proto.table.YdbTable.TableProfile.Builder, tech.ydb.proto.table.YdbTable.TableProfileOrBuilder> getProfileFieldBuilder() { if (profileBuilder_ == null) { profileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.TableProfile, tech.ydb.proto.table.YdbTable.TableProfile.Builder, tech.ydb.proto.table.YdbTable.TableProfileOrBuilder>( getProfile(), getParentForChildren(), isClean()); profile_ = null; } return profileBuilder_; } 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 = 6; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return ((bitField0_ & 0x00000020) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 6; * @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 = 6; */ 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_ |= 0x00000020; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 6; */ public Builder setOperationParams( tech.ydb.proto.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 6; */ public Builder mergeOperationParams(tech.ydb.proto.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && operationParams_ != null && operationParams_ != tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance()) { getOperationParamsBuilder().mergeFrom(value); } else { operationParams_ = value; } } else { operationParamsBuilder_.mergeFrom(value); } if (operationParams_ != null) { bitField0_ |= 0x00000020; onChanged(); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 6; */ public Builder clearOperationParams() { bitField0_ = (bitField0_ & ~0x00000020); operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 6; */ public tech.ydb.proto.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { bitField0_ |= 0x00000020; onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 6; */ 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 = 6; */ 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.util.List indexes_ = java.util.Collections.emptyList(); private void ensureIndexesIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { indexes_ = new java.util.ArrayList(indexes_); bitField0_ |= 0x00000040; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.TableIndex, tech.ydb.proto.table.YdbTable.TableIndex.Builder, tech.ydb.proto.table.YdbTable.TableIndexOrBuilder> indexesBuilder_; /** *
       * List of secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex indexes = 7; */ public java.util.List getIndexesList() { if (indexesBuilder_ == null) { return java.util.Collections.unmodifiableList(indexes_); } else { return indexesBuilder_.getMessageList(); } } /** *
       * List of secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex indexes = 7; */ public int getIndexesCount() { if (indexesBuilder_ == null) { return indexes_.size(); } else { return indexesBuilder_.getCount(); } } /** *
       * List of secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex indexes = 7; */ public tech.ydb.proto.table.YdbTable.TableIndex getIndexes(int index) { if (indexesBuilder_ == null) { return indexes_.get(index); } else { return indexesBuilder_.getMessage(index); } } /** *
       * List of secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex indexes = 7; */ public Builder setIndexes( int index, tech.ydb.proto.table.YdbTable.TableIndex value) { if (indexesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureIndexesIsMutable(); indexes_.set(index, value); onChanged(); } else { indexesBuilder_.setMessage(index, value); } return this; } /** *
       * List of secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex indexes = 7; */ public Builder setIndexes( int index, tech.ydb.proto.table.YdbTable.TableIndex.Builder builderForValue) { if (indexesBuilder_ == null) { ensureIndexesIsMutable(); indexes_.set(index, builderForValue.build()); onChanged(); } else { indexesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * List of secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex indexes = 7; */ public Builder addIndexes(tech.ydb.proto.table.YdbTable.TableIndex value) { if (indexesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureIndexesIsMutable(); indexes_.add(value); onChanged(); } else { indexesBuilder_.addMessage(value); } return this; } /** *
       * List of secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex indexes = 7; */ public Builder addIndexes( int index, tech.ydb.proto.table.YdbTable.TableIndex value) { if (indexesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureIndexesIsMutable(); indexes_.add(index, value); onChanged(); } else { indexesBuilder_.addMessage(index, value); } return this; } /** *
       * List of secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex indexes = 7; */ public Builder addIndexes( tech.ydb.proto.table.YdbTable.TableIndex.Builder builderForValue) { if (indexesBuilder_ == null) { ensureIndexesIsMutable(); indexes_.add(builderForValue.build()); onChanged(); } else { indexesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * List of secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex indexes = 7; */ public Builder addIndexes( int index, tech.ydb.proto.table.YdbTable.TableIndex.Builder builderForValue) { if (indexesBuilder_ == null) { ensureIndexesIsMutable(); indexes_.add(index, builderForValue.build()); onChanged(); } else { indexesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * List of secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex indexes = 7; */ public Builder addAllIndexes( java.lang.Iterable values) { if (indexesBuilder_ == null) { ensureIndexesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, indexes_); onChanged(); } else { indexesBuilder_.addAllMessages(values); } return this; } /** *
       * List of secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex indexes = 7; */ public Builder clearIndexes() { if (indexesBuilder_ == null) { indexes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); } else { indexesBuilder_.clear(); } return this; } /** *
       * List of secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex indexes = 7; */ public Builder removeIndexes(int index) { if (indexesBuilder_ == null) { ensureIndexesIsMutable(); indexes_.remove(index); onChanged(); } else { indexesBuilder_.remove(index); } return this; } /** *
       * List of secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex indexes = 7; */ public tech.ydb.proto.table.YdbTable.TableIndex.Builder getIndexesBuilder( int index) { return getIndexesFieldBuilder().getBuilder(index); } /** *
       * List of secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex indexes = 7; */ public tech.ydb.proto.table.YdbTable.TableIndexOrBuilder getIndexesOrBuilder( int index) { if (indexesBuilder_ == null) { return indexes_.get(index); } else { return indexesBuilder_.getMessageOrBuilder(index); } } /** *
       * List of secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex indexes = 7; */ public java.util.List getIndexesOrBuilderList() { if (indexesBuilder_ != null) { return indexesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(indexes_); } } /** *
       * List of secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex indexes = 7; */ public tech.ydb.proto.table.YdbTable.TableIndex.Builder addIndexesBuilder() { return getIndexesFieldBuilder().addBuilder( tech.ydb.proto.table.YdbTable.TableIndex.getDefaultInstance()); } /** *
       * List of secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex indexes = 7; */ public tech.ydb.proto.table.YdbTable.TableIndex.Builder addIndexesBuilder( int index) { return getIndexesFieldBuilder().addBuilder( index, tech.ydb.proto.table.YdbTable.TableIndex.getDefaultInstance()); } /** *
       * List of secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex indexes = 7; */ public java.util.List getIndexesBuilderList() { return getIndexesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.TableIndex, tech.ydb.proto.table.YdbTable.TableIndex.Builder, tech.ydb.proto.table.YdbTable.TableIndexOrBuilder> getIndexesFieldBuilder() { if (indexesBuilder_ == null) { indexesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.TableIndex, tech.ydb.proto.table.YdbTable.TableIndex.Builder, tech.ydb.proto.table.YdbTable.TableIndexOrBuilder>( indexes_, ((bitField0_ & 0x00000040) != 0), getParentForChildren(), isClean()); indexes_ = null; } return indexesBuilder_; } private tech.ydb.proto.table.YdbTable.TtlSettings ttlSettings_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.TtlSettings, tech.ydb.proto.table.YdbTable.TtlSettings.Builder, tech.ydb.proto.table.YdbTable.TtlSettingsOrBuilder> ttlSettingsBuilder_; /** *
       * Table rows time to live settings
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 8; * @return Whether the ttlSettings field is set. */ public boolean hasTtlSettings() { return ((bitField0_ & 0x00000080) != 0); } /** *
       * Table rows time to live settings
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 8; * @return The ttlSettings. */ public tech.ydb.proto.table.YdbTable.TtlSettings getTtlSettings() { if (ttlSettingsBuilder_ == null) { return ttlSettings_ == null ? tech.ydb.proto.table.YdbTable.TtlSettings.getDefaultInstance() : ttlSettings_; } else { return ttlSettingsBuilder_.getMessage(); } } /** *
       * Table rows time to live settings
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 8; */ public Builder setTtlSettings(tech.ydb.proto.table.YdbTable.TtlSettings value) { if (ttlSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ttlSettings_ = value; } else { ttlSettingsBuilder_.setMessage(value); } bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * Table rows time to live settings
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 8; */ public Builder setTtlSettings( tech.ydb.proto.table.YdbTable.TtlSettings.Builder builderForValue) { if (ttlSettingsBuilder_ == null) { ttlSettings_ = builderForValue.build(); } else { ttlSettingsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * Table rows time to live settings
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 8; */ public Builder mergeTtlSettings(tech.ydb.proto.table.YdbTable.TtlSettings value) { if (ttlSettingsBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0) && ttlSettings_ != null && ttlSettings_ != tech.ydb.proto.table.YdbTable.TtlSettings.getDefaultInstance()) { getTtlSettingsBuilder().mergeFrom(value); } else { ttlSettings_ = value; } } else { ttlSettingsBuilder_.mergeFrom(value); } if (ttlSettings_ != null) { bitField0_ |= 0x00000080; onChanged(); } return this; } /** *
       * Table rows time to live settings
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 8; */ public Builder clearTtlSettings() { bitField0_ = (bitField0_ & ~0x00000080); ttlSettings_ = null; if (ttlSettingsBuilder_ != null) { ttlSettingsBuilder_.dispose(); ttlSettingsBuilder_ = null; } onChanged(); return this; } /** *
       * Table rows time to live settings
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 8; */ public tech.ydb.proto.table.YdbTable.TtlSettings.Builder getTtlSettingsBuilder() { bitField0_ |= 0x00000080; onChanged(); return getTtlSettingsFieldBuilder().getBuilder(); } /** *
       * Table rows time to live settings
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 8; */ public tech.ydb.proto.table.YdbTable.TtlSettingsOrBuilder getTtlSettingsOrBuilder() { if (ttlSettingsBuilder_ != null) { return ttlSettingsBuilder_.getMessageOrBuilder(); } else { return ttlSettings_ == null ? tech.ydb.proto.table.YdbTable.TtlSettings.getDefaultInstance() : ttlSettings_; } } /** *
       * Table rows time to live settings
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 8; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.TtlSettings, tech.ydb.proto.table.YdbTable.TtlSettings.Builder, tech.ydb.proto.table.YdbTable.TtlSettingsOrBuilder> getTtlSettingsFieldBuilder() { if (ttlSettingsBuilder_ == null) { ttlSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.TtlSettings, tech.ydb.proto.table.YdbTable.TtlSettings.Builder, tech.ydb.proto.table.YdbTable.TtlSettingsOrBuilder>( getTtlSettings(), getParentForChildren(), isClean()); ttlSettings_ = null; } return ttlSettingsBuilder_; } private tech.ydb.proto.table.YdbTable.StorageSettings storageSettings_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StorageSettings, tech.ydb.proto.table.YdbTable.StorageSettings.Builder, tech.ydb.proto.table.YdbTable.StorageSettingsOrBuilder> storageSettingsBuilder_; /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 9; * @return Whether the storageSettings field is set. */ public boolean hasStorageSettings() { return ((bitField0_ & 0x00000100) != 0); } /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 9; * @return The storageSettings. */ public tech.ydb.proto.table.YdbTable.StorageSettings getStorageSettings() { if (storageSettingsBuilder_ == null) { return storageSettings_ == null ? tech.ydb.proto.table.YdbTable.StorageSettings.getDefaultInstance() : storageSettings_; } else { return storageSettingsBuilder_.getMessage(); } } /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 9; */ public Builder setStorageSettings(tech.ydb.proto.table.YdbTable.StorageSettings value) { if (storageSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } storageSettings_ = value; } else { storageSettingsBuilder_.setMessage(value); } bitField0_ |= 0x00000100; onChanged(); return this; } /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 9; */ public Builder setStorageSettings( tech.ydb.proto.table.YdbTable.StorageSettings.Builder builderForValue) { if (storageSettingsBuilder_ == null) { storageSettings_ = builderForValue.build(); } else { storageSettingsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000100; onChanged(); return this; } /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 9; */ public Builder mergeStorageSettings(tech.ydb.proto.table.YdbTable.StorageSettings value) { if (storageSettingsBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0) && storageSettings_ != null && storageSettings_ != tech.ydb.proto.table.YdbTable.StorageSettings.getDefaultInstance()) { getStorageSettingsBuilder().mergeFrom(value); } else { storageSettings_ = value; } } else { storageSettingsBuilder_.mergeFrom(value); } if (storageSettings_ != null) { bitField0_ |= 0x00000100; onChanged(); } return this; } /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 9; */ public Builder clearStorageSettings() { bitField0_ = (bitField0_ & ~0x00000100); storageSettings_ = null; if (storageSettingsBuilder_ != null) { storageSettingsBuilder_.dispose(); storageSettingsBuilder_ = null; } onChanged(); return this; } /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 9; */ public tech.ydb.proto.table.YdbTable.StorageSettings.Builder getStorageSettingsBuilder() { bitField0_ |= 0x00000100; onChanged(); return getStorageSettingsFieldBuilder().getBuilder(); } /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 9; */ public tech.ydb.proto.table.YdbTable.StorageSettingsOrBuilder getStorageSettingsOrBuilder() { if (storageSettingsBuilder_ != null) { return storageSettingsBuilder_.getMessageOrBuilder(); } else { return storageSettings_ == null ? tech.ydb.proto.table.YdbTable.StorageSettings.getDefaultInstance() : storageSettings_; } } /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 9; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StorageSettings, tech.ydb.proto.table.YdbTable.StorageSettings.Builder, tech.ydb.proto.table.YdbTable.StorageSettingsOrBuilder> getStorageSettingsFieldBuilder() { if (storageSettingsBuilder_ == null) { storageSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StorageSettings, tech.ydb.proto.table.YdbTable.StorageSettings.Builder, tech.ydb.proto.table.YdbTable.StorageSettingsOrBuilder>( getStorageSettings(), getParentForChildren(), isClean()); storageSettings_ = null; } return storageSettingsBuilder_; } private java.util.List columnFamilies_ = java.util.Collections.emptyList(); private void ensureColumnFamiliesIsMutable() { if (!((bitField0_ & 0x00000200) != 0)) { columnFamilies_ = new java.util.ArrayList(columnFamilies_); bitField0_ |= 0x00000200; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ColumnFamily, tech.ydb.proto.table.YdbTable.ColumnFamily.Builder, tech.ydb.proto.table.YdbTable.ColumnFamilyOrBuilder> columnFamiliesBuilder_; /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 10; */ public java.util.List getColumnFamiliesList() { if (columnFamiliesBuilder_ == null) { return java.util.Collections.unmodifiableList(columnFamilies_); } else { return columnFamiliesBuilder_.getMessageList(); } } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 10; */ public int getColumnFamiliesCount() { if (columnFamiliesBuilder_ == null) { return columnFamilies_.size(); } else { return columnFamiliesBuilder_.getCount(); } } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 10; */ public tech.ydb.proto.table.YdbTable.ColumnFamily getColumnFamilies(int index) { if (columnFamiliesBuilder_ == null) { return columnFamilies_.get(index); } else { return columnFamiliesBuilder_.getMessage(index); } } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 10; */ public Builder setColumnFamilies( int index, tech.ydb.proto.table.YdbTable.ColumnFamily value) { if (columnFamiliesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnFamiliesIsMutable(); columnFamilies_.set(index, value); onChanged(); } else { columnFamiliesBuilder_.setMessage(index, value); } return this; } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 10; */ public Builder setColumnFamilies( int index, tech.ydb.proto.table.YdbTable.ColumnFamily.Builder builderForValue) { if (columnFamiliesBuilder_ == null) { ensureColumnFamiliesIsMutable(); columnFamilies_.set(index, builderForValue.build()); onChanged(); } else { columnFamiliesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 10; */ public Builder addColumnFamilies(tech.ydb.proto.table.YdbTable.ColumnFamily value) { if (columnFamiliesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnFamiliesIsMutable(); columnFamilies_.add(value); onChanged(); } else { columnFamiliesBuilder_.addMessage(value); } return this; } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 10; */ public Builder addColumnFamilies( int index, tech.ydb.proto.table.YdbTable.ColumnFamily value) { if (columnFamiliesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnFamiliesIsMutable(); columnFamilies_.add(index, value); onChanged(); } else { columnFamiliesBuilder_.addMessage(index, value); } return this; } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 10; */ public Builder addColumnFamilies( tech.ydb.proto.table.YdbTable.ColumnFamily.Builder builderForValue) { if (columnFamiliesBuilder_ == null) { ensureColumnFamiliesIsMutable(); columnFamilies_.add(builderForValue.build()); onChanged(); } else { columnFamiliesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 10; */ public Builder addColumnFamilies( int index, tech.ydb.proto.table.YdbTable.ColumnFamily.Builder builderForValue) { if (columnFamiliesBuilder_ == null) { ensureColumnFamiliesIsMutable(); columnFamilies_.add(index, builderForValue.build()); onChanged(); } else { columnFamiliesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 10; */ public Builder addAllColumnFamilies( java.lang.Iterable values) { if (columnFamiliesBuilder_ == null) { ensureColumnFamiliesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, columnFamilies_); onChanged(); } else { columnFamiliesBuilder_.addAllMessages(values); } return this; } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 10; */ public Builder clearColumnFamilies() { if (columnFamiliesBuilder_ == null) { columnFamilies_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); } else { columnFamiliesBuilder_.clear(); } return this; } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 10; */ public Builder removeColumnFamilies(int index) { if (columnFamiliesBuilder_ == null) { ensureColumnFamiliesIsMutable(); columnFamilies_.remove(index); onChanged(); } else { columnFamiliesBuilder_.remove(index); } return this; } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 10; */ public tech.ydb.proto.table.YdbTable.ColumnFamily.Builder getColumnFamiliesBuilder( int index) { return getColumnFamiliesFieldBuilder().getBuilder(index); } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 10; */ public tech.ydb.proto.table.YdbTable.ColumnFamilyOrBuilder getColumnFamiliesOrBuilder( int index) { if (columnFamiliesBuilder_ == null) { return columnFamilies_.get(index); } else { return columnFamiliesBuilder_.getMessageOrBuilder(index); } } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 10; */ public java.util.List getColumnFamiliesOrBuilderList() { if (columnFamiliesBuilder_ != null) { return columnFamiliesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(columnFamilies_); } } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 10; */ public tech.ydb.proto.table.YdbTable.ColumnFamily.Builder addColumnFamiliesBuilder() { return getColumnFamiliesFieldBuilder().addBuilder( tech.ydb.proto.table.YdbTable.ColumnFamily.getDefaultInstance()); } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 10; */ public tech.ydb.proto.table.YdbTable.ColumnFamily.Builder addColumnFamiliesBuilder( int index) { return getColumnFamiliesFieldBuilder().addBuilder( index, tech.ydb.proto.table.YdbTable.ColumnFamily.getDefaultInstance()); } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 10; */ public java.util.List getColumnFamiliesBuilderList() { return getColumnFamiliesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ColumnFamily, tech.ydb.proto.table.YdbTable.ColumnFamily.Builder, tech.ydb.proto.table.YdbTable.ColumnFamilyOrBuilder> getColumnFamiliesFieldBuilder() { if (columnFamiliesBuilder_ == null) { columnFamiliesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ColumnFamily, tech.ydb.proto.table.YdbTable.ColumnFamily.Builder, tech.ydb.proto.table.YdbTable.ColumnFamilyOrBuilder>( columnFamilies_, ((bitField0_ & 0x00000200) != 0), getParentForChildren(), isClean()); columnFamilies_ = null; } return columnFamiliesBuilder_; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> attributes_; private com.google.protobuf.MapField internalGetAttributes() { if (attributes_ == null) { return com.google.protobuf.MapField.emptyMapField( AttributesDefaultEntryHolder.defaultEntry); } return attributes_; } private com.google.protobuf.MapField internalGetMutableAttributes() { if (attributes_ == null) { attributes_ = com.google.protobuf.MapField.newMapField( AttributesDefaultEntryHolder.defaultEntry); } if (!attributes_.isMutable()) { attributes_ = attributes_.copy(); } bitField0_ |= 0x00000400; onChanged(); return attributes_; } public int getAttributesCount() { return internalGetAttributes().getMap().size(); } /** *
       * Attributes. Total size is limited to 10 KB.
       * 
* * map<string, string> attributes = 11 [(.Ydb.length) = { ... } */ @java.lang.Override public boolean containsAttributes( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetAttributes().getMap().containsKey(key); } /** * Use {@link #getAttributesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAttributes() { return getAttributesMap(); } /** *
       * Attributes. Total size is limited to 10 KB.
       * 
* * map<string, string> attributes = 11 [(.Ydb.length) = { ... } */ @java.lang.Override public java.util.Map getAttributesMap() { return internalGetAttributes().getMap(); } /** *
       * Attributes. Total size is limited to 10 KB.
       * 
* * map<string, string> attributes = 11 [(.Ydb.length) = { ... } */ @java.lang.Override public /* nullable */ java.lang.String getAttributesOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAttributes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Attributes. Total size is limited to 10 KB.
       * 
* * map<string, string> attributes = 11 [(.Ydb.length) = { ... } */ @java.lang.Override public java.lang.String getAttributesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAttributes().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearAttributes() { bitField0_ = (bitField0_ & ~0x00000400); internalGetMutableAttributes().getMutableMap() .clear(); return this; } /** *
       * Attributes. Total size is limited to 10 KB.
       * 
* * map<string, string> attributes = 11 [(.Ydb.length) = { ... } */ public Builder removeAttributes( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableAttributes().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableAttributes() { bitField0_ |= 0x00000400; return internalGetMutableAttributes().getMutableMap(); } /** *
       * Attributes. Total size is limited to 10 KB.
       * 
* * map<string, string> attributes = 11 [(.Ydb.length) = { ... } */ public Builder putAttributes( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableAttributes().getMutableMap() .put(key, value); bitField0_ |= 0x00000400; return this; } /** *
       * Attributes. Total size is limited to 10 KB.
       * 
* * map<string, string> attributes = 11 [(.Ydb.length) = { ... } */ public Builder putAllAttributes( java.util.Map values) { internalGetMutableAttributes().getMutableMap() .putAll(values); bitField0_ |= 0x00000400; return this; } private java.lang.Object compactionPolicy_ = ""; /** *
       * Predefined named set of settings for table compaction ["default", "small_table", "log_table"].
       * 
* * string compaction_policy = 12; * @return The compactionPolicy. */ public java.lang.String getCompactionPolicy() { java.lang.Object ref = compactionPolicy_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); compactionPolicy_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Predefined named set of settings for table compaction ["default", "small_table", "log_table"].
       * 
* * string compaction_policy = 12; * @return The bytes for compactionPolicy. */ public com.google.protobuf.ByteString getCompactionPolicyBytes() { java.lang.Object ref = compactionPolicy_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); compactionPolicy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Predefined named set of settings for table compaction ["default", "small_table", "log_table"].
       * 
* * string compaction_policy = 12; * @param value The compactionPolicy to set. * @return This builder for chaining. */ public Builder setCompactionPolicy( java.lang.String value) { if (value == null) { throw new NullPointerException(); } compactionPolicy_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** *
       * Predefined named set of settings for table compaction ["default", "small_table", "log_table"].
       * 
* * string compaction_policy = 12; * @return This builder for chaining. */ public Builder clearCompactionPolicy() { compactionPolicy_ = getDefaultInstance().getCompactionPolicy(); bitField0_ = (bitField0_ & ~0x00000800); onChanged(); return this; } /** *
       * Predefined named set of settings for table compaction ["default", "small_table", "log_table"].
       * 
* * string compaction_policy = 12; * @param value The bytes for compactionPolicy to set. * @return This builder for chaining. */ public Builder setCompactionPolicyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); compactionPolicy_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** *
       * Enable uniform partitioning using given partitions count.
       * The first components of primary key must have Uint32/Uint64 type.
       * 
* * uint64 uniform_partitions = 13; * @return Whether the uniformPartitions field is set. */ public boolean hasUniformPartitions() { return partitionsCase_ == 13; } /** *
       * Enable uniform partitioning using given partitions count.
       * The first components of primary key must have Uint32/Uint64 type.
       * 
* * uint64 uniform_partitions = 13; * @return The uniformPartitions. */ public long getUniformPartitions() { if (partitionsCase_ == 13) { return (java.lang.Long) partitions_; } return 0L; } /** *
       * Enable uniform partitioning using given partitions count.
       * The first components of primary key must have Uint32/Uint64 type.
       * 
* * uint64 uniform_partitions = 13; * @param value The uniformPartitions to set. * @return This builder for chaining. */ public Builder setUniformPartitions(long value) { partitionsCase_ = 13; partitions_ = value; onChanged(); return this; } /** *
       * Enable uniform partitioning using given partitions count.
       * The first components of primary key must have Uint32/Uint64 type.
       * 
* * uint64 uniform_partitions = 13; * @return This builder for chaining. */ public Builder clearUniformPartitions() { if (partitionsCase_ == 13) { partitionsCase_ = 0; partitions_ = null; onChanged(); } return this; } private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.ExplicitPartitions, tech.ydb.proto.table.YdbTable.ExplicitPartitions.Builder, tech.ydb.proto.table.YdbTable.ExplicitPartitionsOrBuilder> partitionAtKeysBuilder_; /** *
       * Explicitly specify key values which are used as borders for created partitions.
       * 
* * .Ydb.Table.ExplicitPartitions partition_at_keys = 14; * @return Whether the partitionAtKeys field is set. */ @java.lang.Override public boolean hasPartitionAtKeys() { return partitionsCase_ == 14; } /** *
       * Explicitly specify key values which are used as borders for created partitions.
       * 
* * .Ydb.Table.ExplicitPartitions partition_at_keys = 14; * @return The partitionAtKeys. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ExplicitPartitions getPartitionAtKeys() { if (partitionAtKeysBuilder_ == null) { if (partitionsCase_ == 14) { return (tech.ydb.proto.table.YdbTable.ExplicitPartitions) partitions_; } return tech.ydb.proto.table.YdbTable.ExplicitPartitions.getDefaultInstance(); } else { if (partitionsCase_ == 14) { return partitionAtKeysBuilder_.getMessage(); } return tech.ydb.proto.table.YdbTable.ExplicitPartitions.getDefaultInstance(); } } /** *
       * Explicitly specify key values which are used as borders for created partitions.
       * 
* * .Ydb.Table.ExplicitPartitions partition_at_keys = 14; */ public Builder setPartitionAtKeys(tech.ydb.proto.table.YdbTable.ExplicitPartitions value) { if (partitionAtKeysBuilder_ == null) { if (value == null) { throw new NullPointerException(); } partitions_ = value; onChanged(); } else { partitionAtKeysBuilder_.setMessage(value); } partitionsCase_ = 14; return this; } /** *
       * Explicitly specify key values which are used as borders for created partitions.
       * 
* * .Ydb.Table.ExplicitPartitions partition_at_keys = 14; */ public Builder setPartitionAtKeys( tech.ydb.proto.table.YdbTable.ExplicitPartitions.Builder builderForValue) { if (partitionAtKeysBuilder_ == null) { partitions_ = builderForValue.build(); onChanged(); } else { partitionAtKeysBuilder_.setMessage(builderForValue.build()); } partitionsCase_ = 14; return this; } /** *
       * Explicitly specify key values which are used as borders for created partitions.
       * 
* * .Ydb.Table.ExplicitPartitions partition_at_keys = 14; */ public Builder mergePartitionAtKeys(tech.ydb.proto.table.YdbTable.ExplicitPartitions value) { if (partitionAtKeysBuilder_ == null) { if (partitionsCase_ == 14 && partitions_ != tech.ydb.proto.table.YdbTable.ExplicitPartitions.getDefaultInstance()) { partitions_ = tech.ydb.proto.table.YdbTable.ExplicitPartitions.newBuilder((tech.ydb.proto.table.YdbTable.ExplicitPartitions) partitions_) .mergeFrom(value).buildPartial(); } else { partitions_ = value; } onChanged(); } else { if (partitionsCase_ == 14) { partitionAtKeysBuilder_.mergeFrom(value); } else { partitionAtKeysBuilder_.setMessage(value); } } partitionsCase_ = 14; return this; } /** *
       * Explicitly specify key values which are used as borders for created partitions.
       * 
* * .Ydb.Table.ExplicitPartitions partition_at_keys = 14; */ public Builder clearPartitionAtKeys() { if (partitionAtKeysBuilder_ == null) { if (partitionsCase_ == 14) { partitionsCase_ = 0; partitions_ = null; onChanged(); } } else { if (partitionsCase_ == 14) { partitionsCase_ = 0; partitions_ = null; } partitionAtKeysBuilder_.clear(); } return this; } /** *
       * Explicitly specify key values which are used as borders for created partitions.
       * 
* * .Ydb.Table.ExplicitPartitions partition_at_keys = 14; */ public tech.ydb.proto.table.YdbTable.ExplicitPartitions.Builder getPartitionAtKeysBuilder() { return getPartitionAtKeysFieldBuilder().getBuilder(); } /** *
       * Explicitly specify key values which are used as borders for created partitions.
       * 
* * .Ydb.Table.ExplicitPartitions partition_at_keys = 14; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ExplicitPartitionsOrBuilder getPartitionAtKeysOrBuilder() { if ((partitionsCase_ == 14) && (partitionAtKeysBuilder_ != null)) { return partitionAtKeysBuilder_.getMessageOrBuilder(); } else { if (partitionsCase_ == 14) { return (tech.ydb.proto.table.YdbTable.ExplicitPartitions) partitions_; } return tech.ydb.proto.table.YdbTable.ExplicitPartitions.getDefaultInstance(); } } /** *
       * Explicitly specify key values which are used as borders for created partitions.
       * 
* * .Ydb.Table.ExplicitPartitions partition_at_keys = 14; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.ExplicitPartitions, tech.ydb.proto.table.YdbTable.ExplicitPartitions.Builder, tech.ydb.proto.table.YdbTable.ExplicitPartitionsOrBuilder> getPartitionAtKeysFieldBuilder() { if (partitionAtKeysBuilder_ == null) { if (!(partitionsCase_ == 14)) { partitions_ = tech.ydb.proto.table.YdbTable.ExplicitPartitions.getDefaultInstance(); } partitionAtKeysBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.ExplicitPartitions, tech.ydb.proto.table.YdbTable.ExplicitPartitions.Builder, tech.ydb.proto.table.YdbTable.ExplicitPartitionsOrBuilder>( (tech.ydb.proto.table.YdbTable.ExplicitPartitions) partitions_, getParentForChildren(), isClean()); partitions_ = null; } partitionsCase_ = 14; onChanged(); return partitionAtKeysBuilder_; } private tech.ydb.proto.table.YdbTable.PartitioningSettings partitioningSettings_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.PartitioningSettings, tech.ydb.proto.table.YdbTable.PartitioningSettings.Builder, tech.ydb.proto.table.YdbTable.PartitioningSettingsOrBuilder> partitioningSettingsBuilder_; /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 15; * @return Whether the partitioningSettings field is set. */ public boolean hasPartitioningSettings() { return ((bitField0_ & 0x00004000) != 0); } /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 15; * @return The partitioningSettings. */ public tech.ydb.proto.table.YdbTable.PartitioningSettings getPartitioningSettings() { if (partitioningSettingsBuilder_ == null) { return partitioningSettings_ == null ? tech.ydb.proto.table.YdbTable.PartitioningSettings.getDefaultInstance() : partitioningSettings_; } else { return partitioningSettingsBuilder_.getMessage(); } } /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 15; */ public Builder setPartitioningSettings(tech.ydb.proto.table.YdbTable.PartitioningSettings value) { if (partitioningSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } partitioningSettings_ = value; } else { partitioningSettingsBuilder_.setMessage(value); } bitField0_ |= 0x00004000; onChanged(); return this; } /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 15; */ public Builder setPartitioningSettings( tech.ydb.proto.table.YdbTable.PartitioningSettings.Builder builderForValue) { if (partitioningSettingsBuilder_ == null) { partitioningSettings_ = builderForValue.build(); } else { partitioningSettingsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00004000; onChanged(); return this; } /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 15; */ public Builder mergePartitioningSettings(tech.ydb.proto.table.YdbTable.PartitioningSettings value) { if (partitioningSettingsBuilder_ == null) { if (((bitField0_ & 0x00004000) != 0) && partitioningSettings_ != null && partitioningSettings_ != tech.ydb.proto.table.YdbTable.PartitioningSettings.getDefaultInstance()) { getPartitioningSettingsBuilder().mergeFrom(value); } else { partitioningSettings_ = value; } } else { partitioningSettingsBuilder_.mergeFrom(value); } if (partitioningSettings_ != null) { bitField0_ |= 0x00004000; onChanged(); } return this; } /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 15; */ public Builder clearPartitioningSettings() { bitField0_ = (bitField0_ & ~0x00004000); partitioningSettings_ = null; if (partitioningSettingsBuilder_ != null) { partitioningSettingsBuilder_.dispose(); partitioningSettingsBuilder_ = null; } onChanged(); return this; } /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 15; */ public tech.ydb.proto.table.YdbTable.PartitioningSettings.Builder getPartitioningSettingsBuilder() { bitField0_ |= 0x00004000; onChanged(); return getPartitioningSettingsFieldBuilder().getBuilder(); } /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 15; */ public tech.ydb.proto.table.YdbTable.PartitioningSettingsOrBuilder getPartitioningSettingsOrBuilder() { if (partitioningSettingsBuilder_ != null) { return partitioningSettingsBuilder_.getMessageOrBuilder(); } else { return partitioningSettings_ == null ? tech.ydb.proto.table.YdbTable.PartitioningSettings.getDefaultInstance() : partitioningSettings_; } } /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 15; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.PartitioningSettings, tech.ydb.proto.table.YdbTable.PartitioningSettings.Builder, tech.ydb.proto.table.YdbTable.PartitioningSettingsOrBuilder> getPartitioningSettingsFieldBuilder() { if (partitioningSettingsBuilder_ == null) { partitioningSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.PartitioningSettings, tech.ydb.proto.table.YdbTable.PartitioningSettings.Builder, tech.ydb.proto.table.YdbTable.PartitioningSettingsOrBuilder>( getPartitioningSettings(), getParentForChildren(), isClean()); partitioningSettings_ = null; } return partitioningSettingsBuilder_; } private int keyBloomFilter_ = 0; /** *
       * Bloom filter by key
       * 
* * .Ydb.FeatureFlag.Status key_bloom_filter = 16; * @return The enum numeric value on the wire for keyBloomFilter. */ @java.lang.Override public int getKeyBloomFilterValue() { return keyBloomFilter_; } /** *
       * Bloom filter by key
       * 
* * .Ydb.FeatureFlag.Status key_bloom_filter = 16; * @param value The enum numeric value on the wire for keyBloomFilter to set. * @return This builder for chaining. */ public Builder setKeyBloomFilterValue(int value) { keyBloomFilter_ = value; bitField0_ |= 0x00008000; onChanged(); return this; } /** *
       * Bloom filter by key
       * 
* * .Ydb.FeatureFlag.Status key_bloom_filter = 16; * @return The keyBloomFilter. */ @java.lang.Override public tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getKeyBloomFilter() { tech.ydb.proto.common.CommonProtos.FeatureFlag.Status result = tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.forNumber(keyBloomFilter_); return result == null ? tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } /** *
       * Bloom filter by key
       * 
* * .Ydb.FeatureFlag.Status key_bloom_filter = 16; * @param value The keyBloomFilter to set. * @return This builder for chaining. */ public Builder setKeyBloomFilter(tech.ydb.proto.common.CommonProtos.FeatureFlag.Status value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00008000; keyBloomFilter_ = value.getNumber(); onChanged(); return this; } /** *
       * Bloom filter by key
       * 
* * .Ydb.FeatureFlag.Status key_bloom_filter = 16; * @return This builder for chaining. */ public Builder clearKeyBloomFilter() { bitField0_ = (bitField0_ & ~0x00008000); keyBloomFilter_ = 0; onChanged(); return this; } private tech.ydb.proto.table.YdbTable.ReadReplicasSettings readReplicasSettings_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.ReadReplicasSettings, tech.ydb.proto.table.YdbTable.ReadReplicasSettings.Builder, tech.ydb.proto.table.YdbTable.ReadReplicasSettingsOrBuilder> readReplicasSettingsBuilder_; /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 17; * @return Whether the readReplicasSettings field is set. */ public boolean hasReadReplicasSettings() { return ((bitField0_ & 0x00010000) != 0); } /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 17; * @return The readReplicasSettings. */ public tech.ydb.proto.table.YdbTable.ReadReplicasSettings getReadReplicasSettings() { if (readReplicasSettingsBuilder_ == null) { return readReplicasSettings_ == null ? tech.ydb.proto.table.YdbTable.ReadReplicasSettings.getDefaultInstance() : readReplicasSettings_; } else { return readReplicasSettingsBuilder_.getMessage(); } } /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 17; */ public Builder setReadReplicasSettings(tech.ydb.proto.table.YdbTable.ReadReplicasSettings value) { if (readReplicasSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } readReplicasSettings_ = value; } else { readReplicasSettingsBuilder_.setMessage(value); } bitField0_ |= 0x00010000; onChanged(); return this; } /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 17; */ public Builder setReadReplicasSettings( tech.ydb.proto.table.YdbTable.ReadReplicasSettings.Builder builderForValue) { if (readReplicasSettingsBuilder_ == null) { readReplicasSettings_ = builderForValue.build(); } else { readReplicasSettingsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00010000; onChanged(); return this; } /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 17; */ public Builder mergeReadReplicasSettings(tech.ydb.proto.table.YdbTable.ReadReplicasSettings value) { if (readReplicasSettingsBuilder_ == null) { if (((bitField0_ & 0x00010000) != 0) && readReplicasSettings_ != null && readReplicasSettings_ != tech.ydb.proto.table.YdbTable.ReadReplicasSettings.getDefaultInstance()) { getReadReplicasSettingsBuilder().mergeFrom(value); } else { readReplicasSettings_ = value; } } else { readReplicasSettingsBuilder_.mergeFrom(value); } if (readReplicasSettings_ != null) { bitField0_ |= 0x00010000; onChanged(); } return this; } /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 17; */ public Builder clearReadReplicasSettings() { bitField0_ = (bitField0_ & ~0x00010000); readReplicasSettings_ = null; if (readReplicasSettingsBuilder_ != null) { readReplicasSettingsBuilder_.dispose(); readReplicasSettingsBuilder_ = null; } onChanged(); return this; } /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 17; */ public tech.ydb.proto.table.YdbTable.ReadReplicasSettings.Builder getReadReplicasSettingsBuilder() { bitField0_ |= 0x00010000; onChanged(); return getReadReplicasSettingsFieldBuilder().getBuilder(); } /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 17; */ public tech.ydb.proto.table.YdbTable.ReadReplicasSettingsOrBuilder getReadReplicasSettingsOrBuilder() { if (readReplicasSettingsBuilder_ != null) { return readReplicasSettingsBuilder_.getMessageOrBuilder(); } else { return readReplicasSettings_ == null ? tech.ydb.proto.table.YdbTable.ReadReplicasSettings.getDefaultInstance() : readReplicasSettings_; } } /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 17; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.ReadReplicasSettings, tech.ydb.proto.table.YdbTable.ReadReplicasSettings.Builder, tech.ydb.proto.table.YdbTable.ReadReplicasSettingsOrBuilder> getReadReplicasSettingsFieldBuilder() { if (readReplicasSettingsBuilder_ == null) { readReplicasSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.ReadReplicasSettings, tech.ydb.proto.table.YdbTable.ReadReplicasSettings.Builder, tech.ydb.proto.table.YdbTable.ReadReplicasSettingsOrBuilder>( getReadReplicasSettings(), getParentForChildren(), isClean()); readReplicasSettings_ = null; } return readReplicasSettingsBuilder_; } private java.lang.Object tiering_ = ""; /** *
       * Tiering rules name. It specifies how data migrates from one tier (logical storage) to another.
       * 
* * string tiering = 18; * @return The tiering. */ public java.lang.String getTiering() { java.lang.Object ref = tiering_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tiering_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Tiering rules name. It specifies how data migrates from one tier (logical storage) to another.
       * 
* * string tiering = 18; * @return The bytes for tiering. */ public com.google.protobuf.ByteString getTieringBytes() { java.lang.Object ref = tiering_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tiering_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Tiering rules name. It specifies how data migrates from one tier (logical storage) to another.
       * 
* * string tiering = 18; * @param value The tiering to set. * @return This builder for chaining. */ public Builder setTiering( java.lang.String value) { if (value == null) { throw new NullPointerException(); } tiering_ = value; bitField0_ |= 0x00020000; onChanged(); return this; } /** *
       * Tiering rules name. It specifies how data migrates from one tier (logical storage) to another.
       * 
* * string tiering = 18; * @return This builder for chaining. */ public Builder clearTiering() { tiering_ = getDefaultInstance().getTiering(); bitField0_ = (bitField0_ & ~0x00020000); onChanged(); return this; } /** *
       * Tiering rules name. It specifies how data migrates from one tier (logical storage) to another.
       * 
* * string tiering = 18; * @param value The bytes for tiering to set. * @return This builder for chaining. */ public Builder setTieringBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tiering_ = value; bitField0_ |= 0x00020000; onChanged(); return this; } private boolean temporary_ ; /** *
       * Is temporary table
       * 
* * bool temporary = 19; * @return The temporary. */ @java.lang.Override public boolean getTemporary() { return temporary_; } /** *
       * Is temporary table
       * 
* * bool temporary = 19; * @param value The temporary to set. * @return This builder for chaining. */ public Builder setTemporary(boolean value) { temporary_ = value; bitField0_ |= 0x00040000; onChanged(); return this; } /** *
       * Is temporary table
       * 
* * bool temporary = 19; * @return This builder for chaining. */ public Builder clearTemporary() { bitField0_ = (bitField0_ & ~0x00040000); temporary_ = false; onChanged(); return this; } private int storeType_ = 0; /** *
       * Is table column or row oriented
       * 
* * .Ydb.Table.StoreType store_type = 20; * @return The enum numeric value on the wire for storeType. */ @java.lang.Override public int getStoreTypeValue() { return storeType_; } /** *
       * Is table column or row oriented
       * 
* * .Ydb.Table.StoreType store_type = 20; * @param value The enum numeric value on the wire for storeType to set. * @return This builder for chaining. */ public Builder setStoreTypeValue(int value) { storeType_ = value; bitField0_ |= 0x00080000; onChanged(); return this; } /** *
       * Is table column or row oriented
       * 
* * .Ydb.Table.StoreType store_type = 20; * @return The storeType. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StoreType getStoreType() { tech.ydb.proto.table.YdbTable.StoreType result = tech.ydb.proto.table.YdbTable.StoreType.forNumber(storeType_); return result == null ? tech.ydb.proto.table.YdbTable.StoreType.UNRECOGNIZED : result; } /** *
       * Is table column or row oriented
       * 
* * .Ydb.Table.StoreType store_type = 20; * @param value The storeType to set. * @return This builder for chaining. */ public Builder setStoreType(tech.ydb.proto.table.YdbTable.StoreType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00080000; storeType_ = value.getNumber(); onChanged(); return this; } /** *
       * Is table column or row oriented
       * 
* * .Ydb.Table.StoreType store_type = 20; * @return This builder for chaining. */ public Builder clearStoreType() { bitField0_ = (bitField0_ & ~0x00080000); storeType_ = 0; 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.Table.CreateTableRequest) } // @@protoc_insertion_point(class_scope:Ydb.Table.CreateTableRequest) private static final tech.ydb.proto.table.YdbTable.CreateTableRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.CreateTableRequest(); } public static tech.ydb.proto.table.YdbTable.CreateTableRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CreateTableRequest 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.table.YdbTable.CreateTableRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CreateTableResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.CreateTableResponse) 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.Table.CreateTableResponse} */ public static final class CreateTableResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.CreateTableResponse) CreateTableResponseOrBuilder { private static final long serialVersionUID = 0L; // Use CreateTableResponse.newBuilder() to construct. private CreateTableResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CreateTableResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CreateTableResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CreateTableResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CreateTableResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CreateTableResponse.class, tech.ydb.proto.table.YdbTable.CreateTableResponse.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.table.YdbTable.CreateTableResponse)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.CreateTableResponse other = (tech.ydb.proto.table.YdbTable.CreateTableResponse) 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.table.YdbTable.CreateTableResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CreateTableResponse 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.table.YdbTable.CreateTableResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CreateTableResponse 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.table.YdbTable.CreateTableResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CreateTableResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.CreateTableResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CreateTableResponse 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.table.YdbTable.CreateTableResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CreateTableResponse 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.table.YdbTable.CreateTableResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CreateTableResponse 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.table.YdbTable.CreateTableResponse 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.Table.CreateTableResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.CreateTableResponse) tech.ydb.proto.table.YdbTable.CreateTableResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CreateTableResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CreateTableResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CreateTableResponse.class, tech.ydb.proto.table.YdbTable.CreateTableResponse.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.CreateTableResponse.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.table.YdbTable.internal_static_Ydb_Table_CreateTableResponse_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CreateTableResponse getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.CreateTableResponse.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.CreateTableResponse build() { tech.ydb.proto.table.YdbTable.CreateTableResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CreateTableResponse buildPartial() { tech.ydb.proto.table.YdbTable.CreateTableResponse result = new tech.ydb.proto.table.YdbTable.CreateTableResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.CreateTableResponse 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.table.YdbTable.CreateTableResponse) { return mergeFrom((tech.ydb.proto.table.YdbTable.CreateTableResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.CreateTableResponse other) { if (other == tech.ydb.proto.table.YdbTable.CreateTableResponse.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.Table.CreateTableResponse) } // @@protoc_insertion_point(class_scope:Ydb.Table.CreateTableResponse) private static final tech.ydb.proto.table.YdbTable.CreateTableResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.CreateTableResponse(); } public static tech.ydb.proto.table.YdbTable.CreateTableResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CreateTableResponse 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.table.YdbTable.CreateTableResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DropTableRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.DropTableRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ java.lang.String getSessionId(); /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ com.google.protobuf.ByteString getSessionIdBytes(); /** *
     * Full path
     * 
* * string path = 2; * @return The path. */ java.lang.String getPath(); /** *
     * Full path
     * 
* * string path = 2; * @return The bytes for path. */ com.google.protobuf.ByteString getPathBytes(); /** * .Ydb.Operations.OperationParams operation_params = 4; * @return Whether the operationParams field is set. */ boolean hasOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 4; * @return The operationParams. */ tech.ydb.proto.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 4; */ tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder(); } /** *
   * Drop table with given path
   * 
* * Protobuf type {@code Ydb.Table.DropTableRequest} */ public static final class DropTableRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.DropTableRequest) DropTableRequestOrBuilder { private static final long serialVersionUID = 0L; // Use DropTableRequest.newBuilder() to construct. private DropTableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DropTableRequest() { sessionId_ = ""; path_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DropTableRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DropTableRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DropTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.DropTableRequest.class, tech.ydb.proto.table.YdbTable.DropTableRequest.Builder.class); } private int bitField0_; public static final int SESSION_ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object sessionId_ = ""; /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ @java.lang.Override public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; 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(); sessionId_ = s; return s; } } /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ @java.lang.Override public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PATH_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object path_ = ""; /** *
     * Full 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; } } /** *
     * Full path
     * 
* * 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 OPERATION_PARAMS_FIELD_NUMBER = 4; private tech.ydb.proto.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 4; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 4; * @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 = 4; */ @java.lang.Override public tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } 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(sessionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(4, getOperationParams()); } 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(sessionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getOperationParams()); } 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.table.YdbTable.DropTableRequest)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.DropTableRequest other = (tech.ydb.proto.table.YdbTable.DropTableRequest) obj; if (!getSessionId() .equals(other.getSessionId())) return false; if (!getPath() .equals(other.getPath())) return false; if (hasOperationParams() != other.hasOperationParams()) return false; if (hasOperationParams()) { if (!getOperationParams() .equals(other.getOperationParams())) 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) + SESSION_ID_FIELD_NUMBER; hash = (53 * hash) + getSessionId().hashCode(); hash = (37 * hash) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); if (hasOperationParams()) { hash = (37 * hash) + OPERATION_PARAMS_FIELD_NUMBER; hash = (53 * hash) + getOperationParams().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.DropTableRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.DropTableRequest 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.table.YdbTable.DropTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.DropTableRequest 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.table.YdbTable.DropTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.DropTableRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.DropTableRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.DropTableRequest 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.table.YdbTable.DropTableRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.DropTableRequest 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.table.YdbTable.DropTableRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.DropTableRequest 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.table.YdbTable.DropTableRequest 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; } /** *
     * Drop table with given path
     * 
* * Protobuf type {@code Ydb.Table.DropTableRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.DropTableRequest) tech.ydb.proto.table.YdbTable.DropTableRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DropTableRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DropTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.DropTableRequest.class, tech.ydb.proto.table.YdbTable.DropTableRequest.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.DropTableRequest.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; sessionId_ = ""; path_ = ""; operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DropTableRequest_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.DropTableRequest getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.DropTableRequest.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.DropTableRequest build() { tech.ydb.proto.table.YdbTable.DropTableRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.DropTableRequest buildPartial() { tech.ydb.proto.table.YdbTable.DropTableRequest result = new tech.ydb.proto.table.YdbTable.DropTableRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.DropTableRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.sessionId_ = sessionId_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.path_ = path_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { result.operationParams_ = operationParamsBuilder_ == null ? operationParams_ : operationParamsBuilder_.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.table.YdbTable.DropTableRequest) { return mergeFrom((tech.ydb.proto.table.YdbTable.DropTableRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.DropTableRequest other) { if (other == tech.ydb.proto.table.YdbTable.DropTableRequest.getDefaultInstance()) return this; if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getPath().isEmpty()) { path_ = other.path_; bitField0_ |= 0x00000002; onChanged(); } if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } 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: { sessionId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { path_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 34: { input.readMessage( getOperationParamsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; 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 bitField0_; private java.lang.Object sessionId_ = ""; /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The sessionId. */ public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The bytes for sessionId. */ public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The sessionId to set. * @return This builder for chaining. */ public Builder setSessionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sessionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The bytes for sessionId to set. * @return This builder for chaining. */ public Builder setSessionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sessionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object path_ = ""; /** *
       * Full 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; } } /** *
       * Full path
       * 
* * 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; } } /** *
       * Full path
       * 
* * 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; } /** *
       * Full path
       * 
* * string path = 2; * @return This builder for chaining. */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * Full path
       * 
* * 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 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 = 4; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return ((bitField0_ & 0x00000004) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 4; * @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 = 4; */ 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_ |= 0x00000004; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 4; */ public Builder setOperationParams( tech.ydb.proto.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 4; */ public Builder mergeOperationParams(tech.ydb.proto.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && operationParams_ != null && operationParams_ != tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance()) { getOperationParamsBuilder().mergeFrom(value); } else { operationParams_ = value; } } else { operationParamsBuilder_.mergeFrom(value); } if (operationParams_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 4; */ public Builder clearOperationParams() { bitField0_ = (bitField0_ & ~0x00000004); operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 4; */ public tech.ydb.proto.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { bitField0_ |= 0x00000004; onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 4; */ 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 = 4; */ 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_; } @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.Table.DropTableRequest) } // @@protoc_insertion_point(class_scope:Ydb.Table.DropTableRequest) private static final tech.ydb.proto.table.YdbTable.DropTableRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.DropTableRequest(); } public static tech.ydb.proto.table.YdbTable.DropTableRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DropTableRequest 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.table.YdbTable.DropTableRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DropTableResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.DropTableResponse) 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.Table.DropTableResponse} */ public static final class DropTableResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.DropTableResponse) DropTableResponseOrBuilder { private static final long serialVersionUID = 0L; // Use DropTableResponse.newBuilder() to construct. private DropTableResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DropTableResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DropTableResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DropTableResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DropTableResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.DropTableResponse.class, tech.ydb.proto.table.YdbTable.DropTableResponse.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.table.YdbTable.DropTableResponse)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.DropTableResponse other = (tech.ydb.proto.table.YdbTable.DropTableResponse) 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.table.YdbTable.DropTableResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.DropTableResponse 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.table.YdbTable.DropTableResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.DropTableResponse 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.table.YdbTable.DropTableResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.DropTableResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.DropTableResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.DropTableResponse 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.table.YdbTable.DropTableResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.DropTableResponse 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.table.YdbTable.DropTableResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.DropTableResponse 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.table.YdbTable.DropTableResponse 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.Table.DropTableResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.DropTableResponse) tech.ydb.proto.table.YdbTable.DropTableResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DropTableResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DropTableResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.DropTableResponse.class, tech.ydb.proto.table.YdbTable.DropTableResponse.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.DropTableResponse.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.table.YdbTable.internal_static_Ydb_Table_DropTableResponse_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.DropTableResponse getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.DropTableResponse.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.DropTableResponse build() { tech.ydb.proto.table.YdbTable.DropTableResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.DropTableResponse buildPartial() { tech.ydb.proto.table.YdbTable.DropTableResponse result = new tech.ydb.proto.table.YdbTable.DropTableResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.DropTableResponse 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.table.YdbTable.DropTableResponse) { return mergeFrom((tech.ydb.proto.table.YdbTable.DropTableResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.DropTableResponse other) { if (other == tech.ydb.proto.table.YdbTable.DropTableResponse.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.Table.DropTableResponse) } // @@protoc_insertion_point(class_scope:Ydb.Table.DropTableResponse) private static final tech.ydb.proto.table.YdbTable.DropTableResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.DropTableResponse(); } public static tech.ydb.proto.table.YdbTable.DropTableResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DropTableResponse 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.table.YdbTable.DropTableResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RenameIndexItemOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.RenameIndexItem) com.google.protobuf.MessageOrBuilder { /** *
     * Index name to rename
     * 
* * string source_name = 1; * @return The sourceName. */ java.lang.String getSourceName(); /** *
     * Index name to rename
     * 
* * string source_name = 1; * @return The bytes for sourceName. */ com.google.protobuf.ByteString getSourceNameBytes(); /** *
     * Target index name
     * 
* * string destination_name = 2; * @return The destinationName. */ java.lang.String getDestinationName(); /** *
     * Target index name
     * 
* * string destination_name = 2; * @return The bytes for destinationName. */ com.google.protobuf.ByteString getDestinationNameBytes(); /** *
     * Move options
     * 
* * bool replace_destination = 3; * @return The replaceDestination. */ boolean getReplaceDestination(); } /** * Protobuf type {@code Ydb.Table.RenameIndexItem} */ public static final class RenameIndexItem extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.RenameIndexItem) RenameIndexItemOrBuilder { private static final long serialVersionUID = 0L; // Use RenameIndexItem.newBuilder() to construct. private RenameIndexItem(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RenameIndexItem() { sourceName_ = ""; destinationName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RenameIndexItem(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_RenameIndexItem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_RenameIndexItem_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.RenameIndexItem.class, tech.ydb.proto.table.YdbTable.RenameIndexItem.Builder.class); } public static final int SOURCE_NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object sourceName_ = ""; /** *
     * Index name to rename
     * 
* * string source_name = 1; * @return The sourceName. */ @java.lang.Override public java.lang.String getSourceName() { java.lang.Object ref = sourceName_; 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(); sourceName_ = s; return s; } } /** *
     * Index name to rename
     * 
* * string source_name = 1; * @return The bytes for sourceName. */ @java.lang.Override public com.google.protobuf.ByteString getSourceNameBytes() { java.lang.Object ref = sourceName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DESTINATION_NAME_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object destinationName_ = ""; /** *
     * Target index name
     * 
* * string destination_name = 2; * @return The destinationName. */ @java.lang.Override public java.lang.String getDestinationName() { java.lang.Object ref = destinationName_; 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(); destinationName_ = s; return s; } } /** *
     * Target index name
     * 
* * string destination_name = 2; * @return The bytes for destinationName. */ @java.lang.Override public com.google.protobuf.ByteString getDestinationNameBytes() { java.lang.Object ref = destinationName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); destinationName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int REPLACE_DESTINATION_FIELD_NUMBER = 3; private boolean replaceDestination_ = false; /** *
     * Move options
     * 
* * bool replace_destination = 3; * @return The replaceDestination. */ @java.lang.Override public boolean getReplaceDestination() { return replaceDestination_; } 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(sourceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sourceName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destinationName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, destinationName_); } if (replaceDestination_ != false) { output.writeBool(3, replaceDestination_); } 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(sourceName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sourceName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destinationName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, destinationName_); } if (replaceDestination_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, replaceDestination_); } 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.table.YdbTable.RenameIndexItem)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.RenameIndexItem other = (tech.ydb.proto.table.YdbTable.RenameIndexItem) obj; if (!getSourceName() .equals(other.getSourceName())) return false; if (!getDestinationName() .equals(other.getDestinationName())) return false; if (getReplaceDestination() != other.getReplaceDestination()) 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) + SOURCE_NAME_FIELD_NUMBER; hash = (53 * hash) + getSourceName().hashCode(); hash = (37 * hash) + DESTINATION_NAME_FIELD_NUMBER; hash = (53 * hash) + getDestinationName().hashCode(); hash = (37 * hash) + REPLACE_DESTINATION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getReplaceDestination()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.RenameIndexItem parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.RenameIndexItem 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.table.YdbTable.RenameIndexItem parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.RenameIndexItem 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.table.YdbTable.RenameIndexItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.RenameIndexItem parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.RenameIndexItem parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.RenameIndexItem 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.table.YdbTable.RenameIndexItem parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.RenameIndexItem 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.table.YdbTable.RenameIndexItem parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.RenameIndexItem 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.table.YdbTable.RenameIndexItem 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.Table.RenameIndexItem} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.RenameIndexItem) tech.ydb.proto.table.YdbTable.RenameIndexItemOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_RenameIndexItem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_RenameIndexItem_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.RenameIndexItem.class, tech.ydb.proto.table.YdbTable.RenameIndexItem.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.RenameIndexItem.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; sourceName_ = ""; destinationName_ = ""; replaceDestination_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_RenameIndexItem_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.RenameIndexItem getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.RenameIndexItem.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.RenameIndexItem build() { tech.ydb.proto.table.YdbTable.RenameIndexItem result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.RenameIndexItem buildPartial() { tech.ydb.proto.table.YdbTable.RenameIndexItem result = new tech.ydb.proto.table.YdbTable.RenameIndexItem(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.RenameIndexItem result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.sourceName_ = sourceName_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.destinationName_ = destinationName_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.replaceDestination_ = replaceDestination_; } } @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.table.YdbTable.RenameIndexItem) { return mergeFrom((tech.ydb.proto.table.YdbTable.RenameIndexItem)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.RenameIndexItem other) { if (other == tech.ydb.proto.table.YdbTable.RenameIndexItem.getDefaultInstance()) return this; if (!other.getSourceName().isEmpty()) { sourceName_ = other.sourceName_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getDestinationName().isEmpty()) { destinationName_ = other.destinationName_; bitField0_ |= 0x00000002; onChanged(); } if (other.getReplaceDestination() != false) { setReplaceDestination(other.getReplaceDestination()); } 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: { sourceName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { destinationName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 24: { replaceDestination_ = input.readBool(); bitField0_ |= 0x00000004; break; } // case 24 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 sourceName_ = ""; /** *
       * Index name to rename
       * 
* * string source_name = 1; * @return The sourceName. */ public java.lang.String getSourceName() { java.lang.Object ref = sourceName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Index name to rename
       * 
* * string source_name = 1; * @return The bytes for sourceName. */ public com.google.protobuf.ByteString getSourceNameBytes() { java.lang.Object ref = sourceName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Index name to rename
       * 
* * string source_name = 1; * @param value The sourceName to set. * @return This builder for chaining. */ public Builder setSourceName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sourceName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Index name to rename
       * 
* * string source_name = 1; * @return This builder for chaining. */ public Builder clearSourceName() { sourceName_ = getDefaultInstance().getSourceName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Index name to rename
       * 
* * string source_name = 1; * @param value The bytes for sourceName to set. * @return This builder for chaining. */ public Builder setSourceNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object destinationName_ = ""; /** *
       * Target index name
       * 
* * string destination_name = 2; * @return The destinationName. */ public java.lang.String getDestinationName() { java.lang.Object ref = destinationName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Target index name
       * 
* * string destination_name = 2; * @return The bytes for destinationName. */ public com.google.protobuf.ByteString getDestinationNameBytes() { java.lang.Object ref = destinationName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); destinationName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Target index name
       * 
* * string destination_name = 2; * @param value The destinationName to set. * @return This builder for chaining. */ public Builder setDestinationName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } destinationName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Target index name
       * 
* * string destination_name = 2; * @return This builder for chaining. */ public Builder clearDestinationName() { destinationName_ = getDefaultInstance().getDestinationName(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * Target index name
       * 
* * string destination_name = 2; * @param value The bytes for destinationName to set. * @return This builder for chaining. */ public Builder setDestinationNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); destinationName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private boolean replaceDestination_ ; /** *
       * Move options
       * 
* * bool replace_destination = 3; * @return The replaceDestination. */ @java.lang.Override public boolean getReplaceDestination() { return replaceDestination_; } /** *
       * Move options
       * 
* * bool replace_destination = 3; * @param value The replaceDestination to set. * @return This builder for chaining. */ public Builder setReplaceDestination(boolean value) { replaceDestination_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * Move options
       * 
* * bool replace_destination = 3; * @return This builder for chaining. */ public Builder clearReplaceDestination() { bitField0_ = (bitField0_ & ~0x00000004); replaceDestination_ = false; 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.Table.RenameIndexItem) } // @@protoc_insertion_point(class_scope:Ydb.Table.RenameIndexItem) private static final tech.ydb.proto.table.YdbTable.RenameIndexItem DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.RenameIndexItem(); } public static tech.ydb.proto.table.YdbTable.RenameIndexItem getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RenameIndexItem 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.table.YdbTable.RenameIndexItem getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AlterTableRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.AlterTableRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ java.lang.String getSessionId(); /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ com.google.protobuf.ByteString getSessionIdBytes(); /** *
     * Full path
     * 
* * string path = 2; * @return The path. */ java.lang.String getPath(); /** *
     * Full path
     * 
* * string path = 2; * @return The bytes for path. */ com.google.protobuf.ByteString getPathBytes(); /** *
     * Columns (name, type) to add
     * 
* * repeated .Ydb.Table.ColumnMeta add_columns = 3; */ java.util.List getAddColumnsList(); /** *
     * Columns (name, type) to add
     * 
* * repeated .Ydb.Table.ColumnMeta add_columns = 3; */ tech.ydb.proto.table.YdbTable.ColumnMeta getAddColumns(int index); /** *
     * Columns (name, type) to add
     * 
* * repeated .Ydb.Table.ColumnMeta add_columns = 3; */ int getAddColumnsCount(); /** *
     * Columns (name, type) to add
     * 
* * repeated .Ydb.Table.ColumnMeta add_columns = 3; */ java.util.List getAddColumnsOrBuilderList(); /** *
     * Columns (name, type) to add
     * 
* * repeated .Ydb.Table.ColumnMeta add_columns = 3; */ tech.ydb.proto.table.YdbTable.ColumnMetaOrBuilder getAddColumnsOrBuilder( int index); /** *
     * Columns to remove
     * 
* * repeated string drop_columns = 4; * @return A list containing the dropColumns. */ java.util.List getDropColumnsList(); /** *
     * Columns to remove
     * 
* * repeated string drop_columns = 4; * @return The count of dropColumns. */ int getDropColumnsCount(); /** *
     * Columns to remove
     * 
* * repeated string drop_columns = 4; * @param index The index of the element to return. * @return The dropColumns at the given index. */ java.lang.String getDropColumns(int index); /** *
     * Columns to remove
     * 
* * repeated string drop_columns = 4; * @param index The index of the value to return. * @return The bytes of the dropColumns at the given index. */ com.google.protobuf.ByteString getDropColumnsBytes(int index); /** * .Ydb.Operations.OperationParams operation_params = 5; * @return Whether the operationParams field is set. */ boolean hasOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 5; * @return The operationParams. */ tech.ydb.proto.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 5; */ tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder(); /** *
     * Columns to alter
     * 
* * repeated .Ydb.Table.ColumnMeta alter_columns = 6; */ java.util.List getAlterColumnsList(); /** *
     * Columns to alter
     * 
* * repeated .Ydb.Table.ColumnMeta alter_columns = 6; */ tech.ydb.proto.table.YdbTable.ColumnMeta getAlterColumns(int index); /** *
     * Columns to alter
     * 
* * repeated .Ydb.Table.ColumnMeta alter_columns = 6; */ int getAlterColumnsCount(); /** *
     * Columns to alter
     * 
* * repeated .Ydb.Table.ColumnMeta alter_columns = 6; */ java.util.List getAlterColumnsOrBuilderList(); /** *
     * Columns to alter
     * 
* * repeated .Ydb.Table.ColumnMeta alter_columns = 6; */ tech.ydb.proto.table.YdbTable.ColumnMetaOrBuilder getAlterColumnsOrBuilder( int index); /** * .Ydb.Table.TtlSettings set_ttl_settings = 7; * @return Whether the setTtlSettings field is set. */ boolean hasSetTtlSettings(); /** * .Ydb.Table.TtlSettings set_ttl_settings = 7; * @return The setTtlSettings. */ tech.ydb.proto.table.YdbTable.TtlSettings getSetTtlSettings(); /** * .Ydb.Table.TtlSettings set_ttl_settings = 7; */ tech.ydb.proto.table.YdbTable.TtlSettingsOrBuilder getSetTtlSettingsOrBuilder(); /** * .google.protobuf.Empty drop_ttl_settings = 8; * @return Whether the dropTtlSettings field is set. */ boolean hasDropTtlSettings(); /** * .google.protobuf.Empty drop_ttl_settings = 8; * @return The dropTtlSettings. */ com.google.protobuf.Empty getDropTtlSettings(); /** * .google.protobuf.Empty drop_ttl_settings = 8; */ com.google.protobuf.EmptyOrBuilder getDropTtlSettingsOrBuilder(); /** *
     * Add secondary indexes
     * 
* * repeated .Ydb.Table.TableIndex add_indexes = 9; */ java.util.List getAddIndexesList(); /** *
     * Add secondary indexes
     * 
* * repeated .Ydb.Table.TableIndex add_indexes = 9; */ tech.ydb.proto.table.YdbTable.TableIndex getAddIndexes(int index); /** *
     * Add secondary indexes
     * 
* * repeated .Ydb.Table.TableIndex add_indexes = 9; */ int getAddIndexesCount(); /** *
     * Add secondary indexes
     * 
* * repeated .Ydb.Table.TableIndex add_indexes = 9; */ java.util.List getAddIndexesOrBuilderList(); /** *
     * Add secondary indexes
     * 
* * repeated .Ydb.Table.TableIndex add_indexes = 9; */ tech.ydb.proto.table.YdbTable.TableIndexOrBuilder getAddIndexesOrBuilder( int index); /** *
     * Remove secondary indexes
     * 
* * repeated string drop_indexes = 10; * @return A list containing the dropIndexes. */ java.util.List getDropIndexesList(); /** *
     * Remove secondary indexes
     * 
* * repeated string drop_indexes = 10; * @return The count of dropIndexes. */ int getDropIndexesCount(); /** *
     * Remove secondary indexes
     * 
* * repeated string drop_indexes = 10; * @param index The index of the element to return. * @return The dropIndexes at the given index. */ java.lang.String getDropIndexes(int index); /** *
     * Remove secondary indexes
     * 
* * repeated string drop_indexes = 10; * @param index The index of the value to return. * @return The bytes of the dropIndexes at the given index. */ com.google.protobuf.ByteString getDropIndexesBytes(int index); /** *
     * Change table storage settings
     * 
* * .Ydb.Table.StorageSettings alter_storage_settings = 11; * @return Whether the alterStorageSettings field is set. */ boolean hasAlterStorageSettings(); /** *
     * Change table storage settings
     * 
* * .Ydb.Table.StorageSettings alter_storage_settings = 11; * @return The alterStorageSettings. */ tech.ydb.proto.table.YdbTable.StorageSettings getAlterStorageSettings(); /** *
     * Change table storage settings
     * 
* * .Ydb.Table.StorageSettings alter_storage_settings = 11; */ tech.ydb.proto.table.YdbTable.StorageSettingsOrBuilder getAlterStorageSettingsOrBuilder(); /** *
     * Add/alter column families
     * 
* * repeated .Ydb.Table.ColumnFamily add_column_families = 12; */ java.util.List getAddColumnFamiliesList(); /** *
     * Add/alter column families
     * 
* * repeated .Ydb.Table.ColumnFamily add_column_families = 12; */ tech.ydb.proto.table.YdbTable.ColumnFamily getAddColumnFamilies(int index); /** *
     * Add/alter column families
     * 
* * repeated .Ydb.Table.ColumnFamily add_column_families = 12; */ int getAddColumnFamiliesCount(); /** *
     * Add/alter column families
     * 
* * repeated .Ydb.Table.ColumnFamily add_column_families = 12; */ java.util.List getAddColumnFamiliesOrBuilderList(); /** *
     * Add/alter column families
     * 
* * repeated .Ydb.Table.ColumnFamily add_column_families = 12; */ tech.ydb.proto.table.YdbTable.ColumnFamilyOrBuilder getAddColumnFamiliesOrBuilder( int index); /** * repeated .Ydb.Table.ColumnFamily alter_column_families = 13; */ java.util.List getAlterColumnFamiliesList(); /** * repeated .Ydb.Table.ColumnFamily alter_column_families = 13; */ tech.ydb.proto.table.YdbTable.ColumnFamily getAlterColumnFamilies(int index); /** * repeated .Ydb.Table.ColumnFamily alter_column_families = 13; */ int getAlterColumnFamiliesCount(); /** * repeated .Ydb.Table.ColumnFamily alter_column_families = 13; */ java.util.List getAlterColumnFamiliesOrBuilderList(); /** * repeated .Ydb.Table.ColumnFamily alter_column_families = 13; */ tech.ydb.proto.table.YdbTable.ColumnFamilyOrBuilder getAlterColumnFamiliesOrBuilder( int index); /** *
     * Alter attributes. Leave the value blank to drop an attribute.
     * Cannot be used in combination with other fields (except session_id and path) at the moment.
     * 
* * map<string, string> alter_attributes = 14 [(.Ydb.length) = { ... } */ int getAlterAttributesCount(); /** *
     * Alter attributes. Leave the value blank to drop an attribute.
     * Cannot be used in combination with other fields (except session_id and path) at the moment.
     * 
* * map<string, string> alter_attributes = 14 [(.Ydb.length) = { ... } */ boolean containsAlterAttributes( java.lang.String key); /** * Use {@link #getAlterAttributesMap()} instead. */ @java.lang.Deprecated java.util.Map getAlterAttributes(); /** *
     * Alter attributes. Leave the value blank to drop an attribute.
     * Cannot be used in combination with other fields (except session_id and path) at the moment.
     * 
* * map<string, string> alter_attributes = 14 [(.Ydb.length) = { ... } */ java.util.Map getAlterAttributesMap(); /** *
     * Alter attributes. Leave the value blank to drop an attribute.
     * Cannot be used in combination with other fields (except session_id and path) at the moment.
     * 
* * map<string, string> alter_attributes = 14 [(.Ydb.length) = { ... } */ /* nullable */ java.lang.String getAlterAttributesOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** *
     * Alter attributes. Leave the value blank to drop an attribute.
     * Cannot be used in combination with other fields (except session_id and path) at the moment.
     * 
* * map<string, string> alter_attributes = 14 [(.Ydb.length) = { ... } */ java.lang.String getAlterAttributesOrThrow( java.lang.String key); /** *
     * Set predefined named set of settings for table compaction ["default", "small_table", "log_table"].
     * Set "default" to use default preset.
     * 
* * string set_compaction_policy = 15; * @return The setCompactionPolicy. */ java.lang.String getSetCompactionPolicy(); /** *
     * Set predefined named set of settings for table compaction ["default", "small_table", "log_table"].
     * Set "default" to use default preset.
     * 
* * string set_compaction_policy = 15; * @return The bytes for setCompactionPolicy. */ com.google.protobuf.ByteString getSetCompactionPolicyBytes(); /** *
     * Change table partitioning settings
     * 
* * .Ydb.Table.PartitioningSettings alter_partitioning_settings = 16; * @return Whether the alterPartitioningSettings field is set. */ boolean hasAlterPartitioningSettings(); /** *
     * Change table partitioning settings
     * 
* * .Ydb.Table.PartitioningSettings alter_partitioning_settings = 16; * @return The alterPartitioningSettings. */ tech.ydb.proto.table.YdbTable.PartitioningSettings getAlterPartitioningSettings(); /** *
     * Change table partitioning settings
     * 
* * .Ydb.Table.PartitioningSettings alter_partitioning_settings = 16; */ tech.ydb.proto.table.YdbTable.PartitioningSettingsOrBuilder getAlterPartitioningSettingsOrBuilder(); /** *
     * Enable/disable bloom filter by key
     * 
* * .Ydb.FeatureFlag.Status set_key_bloom_filter = 17; * @return The enum numeric value on the wire for setKeyBloomFilter. */ int getSetKeyBloomFilterValue(); /** *
     * Enable/disable bloom filter by key
     * 
* * .Ydb.FeatureFlag.Status set_key_bloom_filter = 17; * @return The setKeyBloomFilter. */ tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getSetKeyBloomFilter(); /** *
     * Set read replicas settings for table
     * 
* * .Ydb.Table.ReadReplicasSettings set_read_replicas_settings = 18; * @return Whether the setReadReplicasSettings field is set. */ boolean hasSetReadReplicasSettings(); /** *
     * Set read replicas settings for table
     * 
* * .Ydb.Table.ReadReplicasSettings set_read_replicas_settings = 18; * @return The setReadReplicasSettings. */ tech.ydb.proto.table.YdbTable.ReadReplicasSettings getSetReadReplicasSettings(); /** *
     * Set read replicas settings for table
     * 
* * .Ydb.Table.ReadReplicasSettings set_read_replicas_settings = 18; */ tech.ydb.proto.table.YdbTable.ReadReplicasSettingsOrBuilder getSetReadReplicasSettingsOrBuilder(); /** *
     * Add change feeds
     * 
* * repeated .Ydb.Table.Changefeed add_changefeeds = 19; */ java.util.List getAddChangefeedsList(); /** *
     * Add change feeds
     * 
* * repeated .Ydb.Table.Changefeed add_changefeeds = 19; */ tech.ydb.proto.table.YdbTable.Changefeed getAddChangefeeds(int index); /** *
     * Add change feeds
     * 
* * repeated .Ydb.Table.Changefeed add_changefeeds = 19; */ int getAddChangefeedsCount(); /** *
     * Add change feeds
     * 
* * repeated .Ydb.Table.Changefeed add_changefeeds = 19; */ java.util.List getAddChangefeedsOrBuilderList(); /** *
     * Add change feeds
     * 
* * repeated .Ydb.Table.Changefeed add_changefeeds = 19; */ tech.ydb.proto.table.YdbTable.ChangefeedOrBuilder getAddChangefeedsOrBuilder( int index); /** *
     * Remove change feeds (by its names)
     * 
* * repeated string drop_changefeeds = 20; * @return A list containing the dropChangefeeds. */ java.util.List getDropChangefeedsList(); /** *
     * Remove change feeds (by its names)
     * 
* * repeated string drop_changefeeds = 20; * @return The count of dropChangefeeds. */ int getDropChangefeedsCount(); /** *
     * Remove change feeds (by its names)
     * 
* * repeated string drop_changefeeds = 20; * @param index The index of the element to return. * @return The dropChangefeeds at the given index. */ java.lang.String getDropChangefeeds(int index); /** *
     * Remove change feeds (by its names)
     * 
* * repeated string drop_changefeeds = 20; * @param index The index of the value to return. * @return The bytes of the dropChangefeeds at the given index. */ com.google.protobuf.ByteString getDropChangefeedsBytes(int index); /** *
     * Rename existed index
     * 
* * repeated .Ydb.Table.RenameIndexItem rename_indexes = 21; */ java.util.List getRenameIndexesList(); /** *
     * Rename existed index
     * 
* * repeated .Ydb.Table.RenameIndexItem rename_indexes = 21; */ tech.ydb.proto.table.YdbTable.RenameIndexItem getRenameIndexes(int index); /** *
     * Rename existed index
     * 
* * repeated .Ydb.Table.RenameIndexItem rename_indexes = 21; */ int getRenameIndexesCount(); /** *
     * Rename existed index
     * 
* * repeated .Ydb.Table.RenameIndexItem rename_indexes = 21; */ java.util.List getRenameIndexesOrBuilderList(); /** *
     * Rename existed index
     * 
* * repeated .Ydb.Table.RenameIndexItem rename_indexes = 21; */ tech.ydb.proto.table.YdbTable.RenameIndexItemOrBuilder getRenameIndexesOrBuilder( int index); /** * string set_tiering = 22; * @return Whether the setTiering field is set. */ boolean hasSetTiering(); /** * string set_tiering = 22; * @return The setTiering. */ java.lang.String getSetTiering(); /** * string set_tiering = 22; * @return The bytes for setTiering. */ com.google.protobuf.ByteString getSetTieringBytes(); /** * .google.protobuf.Empty drop_tiering = 23; * @return Whether the dropTiering field is set. */ boolean hasDropTiering(); /** * .google.protobuf.Empty drop_tiering = 23; * @return The dropTiering. */ com.google.protobuf.Empty getDropTiering(); /** * .google.protobuf.Empty drop_tiering = 23; */ com.google.protobuf.EmptyOrBuilder getDropTieringOrBuilder(); tech.ydb.proto.table.YdbTable.AlterTableRequest.TtlActionCase getTtlActionCase(); tech.ydb.proto.table.YdbTable.AlterTableRequest.TieringActionCase getTieringActionCase(); } /** *
   * Alter table with given path
   * 
* * Protobuf type {@code Ydb.Table.AlterTableRequest} */ public static final class AlterTableRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.AlterTableRequest) AlterTableRequestOrBuilder { private static final long serialVersionUID = 0L; // Use AlterTableRequest.newBuilder() to construct. private AlterTableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AlterTableRequest() { sessionId_ = ""; path_ = ""; addColumns_ = java.util.Collections.emptyList(); dropColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); alterColumns_ = java.util.Collections.emptyList(); addIndexes_ = java.util.Collections.emptyList(); dropIndexes_ = com.google.protobuf.LazyStringArrayList.emptyList(); addColumnFamilies_ = java.util.Collections.emptyList(); alterColumnFamilies_ = java.util.Collections.emptyList(); setCompactionPolicy_ = ""; setKeyBloomFilter_ = 0; addChangefeeds_ = java.util.Collections.emptyList(); dropChangefeeds_ = com.google.protobuf.LazyStringArrayList.emptyList(); renameIndexes_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AlterTableRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_AlterTableRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 14: return internalGetAlterAttributes(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_AlterTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.AlterTableRequest.class, tech.ydb.proto.table.YdbTable.AlterTableRequest.Builder.class); } private int bitField0_; private int ttlActionCase_ = 0; @SuppressWarnings("serial") private java.lang.Object ttlAction_; public enum TtlActionCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { SET_TTL_SETTINGS(7), DROP_TTL_SETTINGS(8), TTLACTION_NOT_SET(0); private final int value; private TtlActionCase(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 TtlActionCase valueOf(int value) { return forNumber(value); } public static TtlActionCase forNumber(int value) { switch (value) { case 7: return SET_TTL_SETTINGS; case 8: return DROP_TTL_SETTINGS; case 0: return TTLACTION_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public TtlActionCase getTtlActionCase() { return TtlActionCase.forNumber( ttlActionCase_); } private int tieringActionCase_ = 0; @SuppressWarnings("serial") private java.lang.Object tieringAction_; public enum TieringActionCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { SET_TIERING(22), DROP_TIERING(23), TIERINGACTION_NOT_SET(0); private final int value; private TieringActionCase(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 TieringActionCase valueOf(int value) { return forNumber(value); } public static TieringActionCase forNumber(int value) { switch (value) { case 22: return SET_TIERING; case 23: return DROP_TIERING; case 0: return TIERINGACTION_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public TieringActionCase getTieringActionCase() { return TieringActionCase.forNumber( tieringActionCase_); } public static final int SESSION_ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object sessionId_ = ""; /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ @java.lang.Override public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; 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(); sessionId_ = s; return s; } } /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ @java.lang.Override public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PATH_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object path_ = ""; /** *
     * Full 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; } } /** *
     * Full path
     * 
* * 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 ADD_COLUMNS_FIELD_NUMBER = 3; @SuppressWarnings("serial") private java.util.List addColumns_; /** *
     * Columns (name, type) to add
     * 
* * repeated .Ydb.Table.ColumnMeta add_columns = 3; */ @java.lang.Override public java.util.List getAddColumnsList() { return addColumns_; } /** *
     * Columns (name, type) to add
     * 
* * repeated .Ydb.Table.ColumnMeta add_columns = 3; */ @java.lang.Override public java.util.List getAddColumnsOrBuilderList() { return addColumns_; } /** *
     * Columns (name, type) to add
     * 
* * repeated .Ydb.Table.ColumnMeta add_columns = 3; */ @java.lang.Override public int getAddColumnsCount() { return addColumns_.size(); } /** *
     * Columns (name, type) to add
     * 
* * repeated .Ydb.Table.ColumnMeta add_columns = 3; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ColumnMeta getAddColumns(int index) { return addColumns_.get(index); } /** *
     * Columns (name, type) to add
     * 
* * repeated .Ydb.Table.ColumnMeta add_columns = 3; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ColumnMetaOrBuilder getAddColumnsOrBuilder( int index) { return addColumns_.get(index); } public static final int DROP_COLUMNS_FIELD_NUMBER = 4; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList dropColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * Columns to remove
     * 
* * repeated string drop_columns = 4; * @return A list containing the dropColumns. */ public com.google.protobuf.ProtocolStringList getDropColumnsList() { return dropColumns_; } /** *
     * Columns to remove
     * 
* * repeated string drop_columns = 4; * @return The count of dropColumns. */ public int getDropColumnsCount() { return dropColumns_.size(); } /** *
     * Columns to remove
     * 
* * repeated string drop_columns = 4; * @param index The index of the element to return. * @return The dropColumns at the given index. */ public java.lang.String getDropColumns(int index) { return dropColumns_.get(index); } /** *
     * Columns to remove
     * 
* * repeated string drop_columns = 4; * @param index The index of the value to return. * @return The bytes of the dropColumns at the given index. */ public com.google.protobuf.ByteString getDropColumnsBytes(int index) { return dropColumns_.getByteString(index); } public static final int OPERATION_PARAMS_FIELD_NUMBER = 5; private tech.ydb.proto.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 5; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 5; * @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 = 5; */ @java.lang.Override public tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } public static final int ALTER_COLUMNS_FIELD_NUMBER = 6; @SuppressWarnings("serial") private java.util.List alterColumns_; /** *
     * Columns to alter
     * 
* * repeated .Ydb.Table.ColumnMeta alter_columns = 6; */ @java.lang.Override public java.util.List getAlterColumnsList() { return alterColumns_; } /** *
     * Columns to alter
     * 
* * repeated .Ydb.Table.ColumnMeta alter_columns = 6; */ @java.lang.Override public java.util.List getAlterColumnsOrBuilderList() { return alterColumns_; } /** *
     * Columns to alter
     * 
* * repeated .Ydb.Table.ColumnMeta alter_columns = 6; */ @java.lang.Override public int getAlterColumnsCount() { return alterColumns_.size(); } /** *
     * Columns to alter
     * 
* * repeated .Ydb.Table.ColumnMeta alter_columns = 6; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ColumnMeta getAlterColumns(int index) { return alterColumns_.get(index); } /** *
     * Columns to alter
     * 
* * repeated .Ydb.Table.ColumnMeta alter_columns = 6; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ColumnMetaOrBuilder getAlterColumnsOrBuilder( int index) { return alterColumns_.get(index); } public static final int SET_TTL_SETTINGS_FIELD_NUMBER = 7; /** * .Ydb.Table.TtlSettings set_ttl_settings = 7; * @return Whether the setTtlSettings field is set. */ @java.lang.Override public boolean hasSetTtlSettings() { return ttlActionCase_ == 7; } /** * .Ydb.Table.TtlSettings set_ttl_settings = 7; * @return The setTtlSettings. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TtlSettings getSetTtlSettings() { if (ttlActionCase_ == 7) { return (tech.ydb.proto.table.YdbTable.TtlSettings) ttlAction_; } return tech.ydb.proto.table.YdbTable.TtlSettings.getDefaultInstance(); } /** * .Ydb.Table.TtlSettings set_ttl_settings = 7; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TtlSettingsOrBuilder getSetTtlSettingsOrBuilder() { if (ttlActionCase_ == 7) { return (tech.ydb.proto.table.YdbTable.TtlSettings) ttlAction_; } return tech.ydb.proto.table.YdbTable.TtlSettings.getDefaultInstance(); } public static final int DROP_TTL_SETTINGS_FIELD_NUMBER = 8; /** * .google.protobuf.Empty drop_ttl_settings = 8; * @return Whether the dropTtlSettings field is set. */ @java.lang.Override public boolean hasDropTtlSettings() { return ttlActionCase_ == 8; } /** * .google.protobuf.Empty drop_ttl_settings = 8; * @return The dropTtlSettings. */ @java.lang.Override public com.google.protobuf.Empty getDropTtlSettings() { if (ttlActionCase_ == 8) { return (com.google.protobuf.Empty) ttlAction_; } return com.google.protobuf.Empty.getDefaultInstance(); } /** * .google.protobuf.Empty drop_ttl_settings = 8; */ @java.lang.Override public com.google.protobuf.EmptyOrBuilder getDropTtlSettingsOrBuilder() { if (ttlActionCase_ == 8) { return (com.google.protobuf.Empty) ttlAction_; } return com.google.protobuf.Empty.getDefaultInstance(); } public static final int ADD_INDEXES_FIELD_NUMBER = 9; @SuppressWarnings("serial") private java.util.List addIndexes_; /** *
     * Add secondary indexes
     * 
* * repeated .Ydb.Table.TableIndex add_indexes = 9; */ @java.lang.Override public java.util.List getAddIndexesList() { return addIndexes_; } /** *
     * Add secondary indexes
     * 
* * repeated .Ydb.Table.TableIndex add_indexes = 9; */ @java.lang.Override public java.util.List getAddIndexesOrBuilderList() { return addIndexes_; } /** *
     * Add secondary indexes
     * 
* * repeated .Ydb.Table.TableIndex add_indexes = 9; */ @java.lang.Override public int getAddIndexesCount() { return addIndexes_.size(); } /** *
     * Add secondary indexes
     * 
* * repeated .Ydb.Table.TableIndex add_indexes = 9; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TableIndex getAddIndexes(int index) { return addIndexes_.get(index); } /** *
     * Add secondary indexes
     * 
* * repeated .Ydb.Table.TableIndex add_indexes = 9; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TableIndexOrBuilder getAddIndexesOrBuilder( int index) { return addIndexes_.get(index); } public static final int DROP_INDEXES_FIELD_NUMBER = 10; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList dropIndexes_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * Remove secondary indexes
     * 
* * repeated string drop_indexes = 10; * @return A list containing the dropIndexes. */ public com.google.protobuf.ProtocolStringList getDropIndexesList() { return dropIndexes_; } /** *
     * Remove secondary indexes
     * 
* * repeated string drop_indexes = 10; * @return The count of dropIndexes. */ public int getDropIndexesCount() { return dropIndexes_.size(); } /** *
     * Remove secondary indexes
     * 
* * repeated string drop_indexes = 10; * @param index The index of the element to return. * @return The dropIndexes at the given index. */ public java.lang.String getDropIndexes(int index) { return dropIndexes_.get(index); } /** *
     * Remove secondary indexes
     * 
* * repeated string drop_indexes = 10; * @param index The index of the value to return. * @return The bytes of the dropIndexes at the given index. */ public com.google.protobuf.ByteString getDropIndexesBytes(int index) { return dropIndexes_.getByteString(index); } public static final int ALTER_STORAGE_SETTINGS_FIELD_NUMBER = 11; private tech.ydb.proto.table.YdbTable.StorageSettings alterStorageSettings_; /** *
     * Change table storage settings
     * 
* * .Ydb.Table.StorageSettings alter_storage_settings = 11; * @return Whether the alterStorageSettings field is set. */ @java.lang.Override public boolean hasAlterStorageSettings() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Change table storage settings
     * 
* * .Ydb.Table.StorageSettings alter_storage_settings = 11; * @return The alterStorageSettings. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StorageSettings getAlterStorageSettings() { return alterStorageSettings_ == null ? tech.ydb.proto.table.YdbTable.StorageSettings.getDefaultInstance() : alterStorageSettings_; } /** *
     * Change table storage settings
     * 
* * .Ydb.Table.StorageSettings alter_storage_settings = 11; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StorageSettingsOrBuilder getAlterStorageSettingsOrBuilder() { return alterStorageSettings_ == null ? tech.ydb.proto.table.YdbTable.StorageSettings.getDefaultInstance() : alterStorageSettings_; } public static final int ADD_COLUMN_FAMILIES_FIELD_NUMBER = 12; @SuppressWarnings("serial") private java.util.List addColumnFamilies_; /** *
     * Add/alter column families
     * 
* * repeated .Ydb.Table.ColumnFamily add_column_families = 12; */ @java.lang.Override public java.util.List getAddColumnFamiliesList() { return addColumnFamilies_; } /** *
     * Add/alter column families
     * 
* * repeated .Ydb.Table.ColumnFamily add_column_families = 12; */ @java.lang.Override public java.util.List getAddColumnFamiliesOrBuilderList() { return addColumnFamilies_; } /** *
     * Add/alter column families
     * 
* * repeated .Ydb.Table.ColumnFamily add_column_families = 12; */ @java.lang.Override public int getAddColumnFamiliesCount() { return addColumnFamilies_.size(); } /** *
     * Add/alter column families
     * 
* * repeated .Ydb.Table.ColumnFamily add_column_families = 12; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ColumnFamily getAddColumnFamilies(int index) { return addColumnFamilies_.get(index); } /** *
     * Add/alter column families
     * 
* * repeated .Ydb.Table.ColumnFamily add_column_families = 12; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ColumnFamilyOrBuilder getAddColumnFamiliesOrBuilder( int index) { return addColumnFamilies_.get(index); } public static final int ALTER_COLUMN_FAMILIES_FIELD_NUMBER = 13; @SuppressWarnings("serial") private java.util.List alterColumnFamilies_; /** * repeated .Ydb.Table.ColumnFamily alter_column_families = 13; */ @java.lang.Override public java.util.List getAlterColumnFamiliesList() { return alterColumnFamilies_; } /** * repeated .Ydb.Table.ColumnFamily alter_column_families = 13; */ @java.lang.Override public java.util.List getAlterColumnFamiliesOrBuilderList() { return alterColumnFamilies_; } /** * repeated .Ydb.Table.ColumnFamily alter_column_families = 13; */ @java.lang.Override public int getAlterColumnFamiliesCount() { return alterColumnFamilies_.size(); } /** * repeated .Ydb.Table.ColumnFamily alter_column_families = 13; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ColumnFamily getAlterColumnFamilies(int index) { return alterColumnFamilies_.get(index); } /** * repeated .Ydb.Table.ColumnFamily alter_column_families = 13; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ColumnFamilyOrBuilder getAlterColumnFamiliesOrBuilder( int index) { return alterColumnFamilies_.get(index); } public static final int ALTER_ATTRIBUTES_FIELD_NUMBER = 14; private static final class AlterAttributesDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_AlterTableRequest_AlterAttributesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } @SuppressWarnings("serial") private com.google.protobuf.MapField< java.lang.String, java.lang.String> alterAttributes_; private com.google.protobuf.MapField internalGetAlterAttributes() { if (alterAttributes_ == null) { return com.google.protobuf.MapField.emptyMapField( AlterAttributesDefaultEntryHolder.defaultEntry); } return alterAttributes_; } public int getAlterAttributesCount() { return internalGetAlterAttributes().getMap().size(); } /** *
     * Alter attributes. Leave the value blank to drop an attribute.
     * Cannot be used in combination with other fields (except session_id and path) at the moment.
     * 
* * map<string, string> alter_attributes = 14 [(.Ydb.length) = { ... } */ @java.lang.Override public boolean containsAlterAttributes( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetAlterAttributes().getMap().containsKey(key); } /** * Use {@link #getAlterAttributesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAlterAttributes() { return getAlterAttributesMap(); } /** *
     * Alter attributes. Leave the value blank to drop an attribute.
     * Cannot be used in combination with other fields (except session_id and path) at the moment.
     * 
* * map<string, string> alter_attributes = 14 [(.Ydb.length) = { ... } */ @java.lang.Override public java.util.Map getAlterAttributesMap() { return internalGetAlterAttributes().getMap(); } /** *
     * Alter attributes. Leave the value blank to drop an attribute.
     * Cannot be used in combination with other fields (except session_id and path) at the moment.
     * 
* * map<string, string> alter_attributes = 14 [(.Ydb.length) = { ... } */ @java.lang.Override public /* nullable */ java.lang.String getAlterAttributesOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAlterAttributes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Alter attributes. Leave the value blank to drop an attribute.
     * Cannot be used in combination with other fields (except session_id and path) at the moment.
     * 
* * map<string, string> alter_attributes = 14 [(.Ydb.length) = { ... } */ @java.lang.Override public java.lang.String getAlterAttributesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAlterAttributes().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int SET_COMPACTION_POLICY_FIELD_NUMBER = 15; @SuppressWarnings("serial") private volatile java.lang.Object setCompactionPolicy_ = ""; /** *
     * Set predefined named set of settings for table compaction ["default", "small_table", "log_table"].
     * Set "default" to use default preset.
     * 
* * string set_compaction_policy = 15; * @return The setCompactionPolicy. */ @java.lang.Override public java.lang.String getSetCompactionPolicy() { java.lang.Object ref = setCompactionPolicy_; 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(); setCompactionPolicy_ = s; return s; } } /** *
     * Set predefined named set of settings for table compaction ["default", "small_table", "log_table"].
     * Set "default" to use default preset.
     * 
* * string set_compaction_policy = 15; * @return The bytes for setCompactionPolicy. */ @java.lang.Override public com.google.protobuf.ByteString getSetCompactionPolicyBytes() { java.lang.Object ref = setCompactionPolicy_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); setCompactionPolicy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ALTER_PARTITIONING_SETTINGS_FIELD_NUMBER = 16; private tech.ydb.proto.table.YdbTable.PartitioningSettings alterPartitioningSettings_; /** *
     * Change table partitioning settings
     * 
* * .Ydb.Table.PartitioningSettings alter_partitioning_settings = 16; * @return Whether the alterPartitioningSettings field is set. */ @java.lang.Override public boolean hasAlterPartitioningSettings() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Change table partitioning settings
     * 
* * .Ydb.Table.PartitioningSettings alter_partitioning_settings = 16; * @return The alterPartitioningSettings. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.PartitioningSettings getAlterPartitioningSettings() { return alterPartitioningSettings_ == null ? tech.ydb.proto.table.YdbTable.PartitioningSettings.getDefaultInstance() : alterPartitioningSettings_; } /** *
     * Change table partitioning settings
     * 
* * .Ydb.Table.PartitioningSettings alter_partitioning_settings = 16; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.PartitioningSettingsOrBuilder getAlterPartitioningSettingsOrBuilder() { return alterPartitioningSettings_ == null ? tech.ydb.proto.table.YdbTable.PartitioningSettings.getDefaultInstance() : alterPartitioningSettings_; } public static final int SET_KEY_BLOOM_FILTER_FIELD_NUMBER = 17; private int setKeyBloomFilter_ = 0; /** *
     * Enable/disable bloom filter by key
     * 
* * .Ydb.FeatureFlag.Status set_key_bloom_filter = 17; * @return The enum numeric value on the wire for setKeyBloomFilter. */ @java.lang.Override public int getSetKeyBloomFilterValue() { return setKeyBloomFilter_; } /** *
     * Enable/disable bloom filter by key
     * 
* * .Ydb.FeatureFlag.Status set_key_bloom_filter = 17; * @return The setKeyBloomFilter. */ @java.lang.Override public tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getSetKeyBloomFilter() { tech.ydb.proto.common.CommonProtos.FeatureFlag.Status result = tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.forNumber(setKeyBloomFilter_); return result == null ? tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } public static final int SET_READ_REPLICAS_SETTINGS_FIELD_NUMBER = 18; private tech.ydb.proto.table.YdbTable.ReadReplicasSettings setReadReplicasSettings_; /** *
     * Set read replicas settings for table
     * 
* * .Ydb.Table.ReadReplicasSettings set_read_replicas_settings = 18; * @return Whether the setReadReplicasSettings field is set. */ @java.lang.Override public boolean hasSetReadReplicasSettings() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Set read replicas settings for table
     * 
* * .Ydb.Table.ReadReplicasSettings set_read_replicas_settings = 18; * @return The setReadReplicasSettings. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ReadReplicasSettings getSetReadReplicasSettings() { return setReadReplicasSettings_ == null ? tech.ydb.proto.table.YdbTable.ReadReplicasSettings.getDefaultInstance() : setReadReplicasSettings_; } /** *
     * Set read replicas settings for table
     * 
* * .Ydb.Table.ReadReplicasSettings set_read_replicas_settings = 18; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ReadReplicasSettingsOrBuilder getSetReadReplicasSettingsOrBuilder() { return setReadReplicasSettings_ == null ? tech.ydb.proto.table.YdbTable.ReadReplicasSettings.getDefaultInstance() : setReadReplicasSettings_; } public static final int ADD_CHANGEFEEDS_FIELD_NUMBER = 19; @SuppressWarnings("serial") private java.util.List addChangefeeds_; /** *
     * Add change feeds
     * 
* * repeated .Ydb.Table.Changefeed add_changefeeds = 19; */ @java.lang.Override public java.util.List getAddChangefeedsList() { return addChangefeeds_; } /** *
     * Add change feeds
     * 
* * repeated .Ydb.Table.Changefeed add_changefeeds = 19; */ @java.lang.Override public java.util.List getAddChangefeedsOrBuilderList() { return addChangefeeds_; } /** *
     * Add change feeds
     * 
* * repeated .Ydb.Table.Changefeed add_changefeeds = 19; */ @java.lang.Override public int getAddChangefeedsCount() { return addChangefeeds_.size(); } /** *
     * Add change feeds
     * 
* * repeated .Ydb.Table.Changefeed add_changefeeds = 19; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.Changefeed getAddChangefeeds(int index) { return addChangefeeds_.get(index); } /** *
     * Add change feeds
     * 
* * repeated .Ydb.Table.Changefeed add_changefeeds = 19; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ChangefeedOrBuilder getAddChangefeedsOrBuilder( int index) { return addChangefeeds_.get(index); } public static final int DROP_CHANGEFEEDS_FIELD_NUMBER = 20; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList dropChangefeeds_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * Remove change feeds (by its names)
     * 
* * repeated string drop_changefeeds = 20; * @return A list containing the dropChangefeeds. */ public com.google.protobuf.ProtocolStringList getDropChangefeedsList() { return dropChangefeeds_; } /** *
     * Remove change feeds (by its names)
     * 
* * repeated string drop_changefeeds = 20; * @return The count of dropChangefeeds. */ public int getDropChangefeedsCount() { return dropChangefeeds_.size(); } /** *
     * Remove change feeds (by its names)
     * 
* * repeated string drop_changefeeds = 20; * @param index The index of the element to return. * @return The dropChangefeeds at the given index. */ public java.lang.String getDropChangefeeds(int index) { return dropChangefeeds_.get(index); } /** *
     * Remove change feeds (by its names)
     * 
* * repeated string drop_changefeeds = 20; * @param index The index of the value to return. * @return The bytes of the dropChangefeeds at the given index. */ public com.google.protobuf.ByteString getDropChangefeedsBytes(int index) { return dropChangefeeds_.getByteString(index); } public static final int RENAME_INDEXES_FIELD_NUMBER = 21; @SuppressWarnings("serial") private java.util.List renameIndexes_; /** *
     * Rename existed index
     * 
* * repeated .Ydb.Table.RenameIndexItem rename_indexes = 21; */ @java.lang.Override public java.util.List getRenameIndexesList() { return renameIndexes_; } /** *
     * Rename existed index
     * 
* * repeated .Ydb.Table.RenameIndexItem rename_indexes = 21; */ @java.lang.Override public java.util.List getRenameIndexesOrBuilderList() { return renameIndexes_; } /** *
     * Rename existed index
     * 
* * repeated .Ydb.Table.RenameIndexItem rename_indexes = 21; */ @java.lang.Override public int getRenameIndexesCount() { return renameIndexes_.size(); } /** *
     * Rename existed index
     * 
* * repeated .Ydb.Table.RenameIndexItem rename_indexes = 21; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.RenameIndexItem getRenameIndexes(int index) { return renameIndexes_.get(index); } /** *
     * Rename existed index
     * 
* * repeated .Ydb.Table.RenameIndexItem rename_indexes = 21; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.RenameIndexItemOrBuilder getRenameIndexesOrBuilder( int index) { return renameIndexes_.get(index); } public static final int SET_TIERING_FIELD_NUMBER = 22; /** * string set_tiering = 22; * @return Whether the setTiering field is set. */ public boolean hasSetTiering() { return tieringActionCase_ == 22; } /** * string set_tiering = 22; * @return The setTiering. */ public java.lang.String getSetTiering() { java.lang.Object ref = ""; if (tieringActionCase_ == 22) { ref = tieringAction_; } 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 (tieringActionCase_ == 22) { tieringAction_ = s; } return s; } } /** * string set_tiering = 22; * @return The bytes for setTiering. */ public com.google.protobuf.ByteString getSetTieringBytes() { java.lang.Object ref = ""; if (tieringActionCase_ == 22) { ref = tieringAction_; } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (tieringActionCase_ == 22) { tieringAction_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DROP_TIERING_FIELD_NUMBER = 23; /** * .google.protobuf.Empty drop_tiering = 23; * @return Whether the dropTiering field is set. */ @java.lang.Override public boolean hasDropTiering() { return tieringActionCase_ == 23; } /** * .google.protobuf.Empty drop_tiering = 23; * @return The dropTiering. */ @java.lang.Override public com.google.protobuf.Empty getDropTiering() { if (tieringActionCase_ == 23) { return (com.google.protobuf.Empty) tieringAction_; } return com.google.protobuf.Empty.getDefaultInstance(); } /** * .google.protobuf.Empty drop_tiering = 23; */ @java.lang.Override public com.google.protobuf.EmptyOrBuilder getDropTieringOrBuilder() { if (tieringActionCase_ == 23) { return (com.google.protobuf.Empty) tieringAction_; } return com.google.protobuf.Empty.getDefaultInstance(); } 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(sessionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_); } for (int i = 0; i < addColumns_.size(); i++) { output.writeMessage(3, addColumns_.get(i)); } for (int i = 0; i < dropColumns_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, dropColumns_.getRaw(i)); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(5, getOperationParams()); } for (int i = 0; i < alterColumns_.size(); i++) { output.writeMessage(6, alterColumns_.get(i)); } if (ttlActionCase_ == 7) { output.writeMessage(7, (tech.ydb.proto.table.YdbTable.TtlSettings) ttlAction_); } if (ttlActionCase_ == 8) { output.writeMessage(8, (com.google.protobuf.Empty) ttlAction_); } for (int i = 0; i < addIndexes_.size(); i++) { output.writeMessage(9, addIndexes_.get(i)); } for (int i = 0; i < dropIndexes_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, dropIndexes_.getRaw(i)); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(11, getAlterStorageSettings()); } for (int i = 0; i < addColumnFamilies_.size(); i++) { output.writeMessage(12, addColumnFamilies_.get(i)); } for (int i = 0; i < alterColumnFamilies_.size(); i++) { output.writeMessage(13, alterColumnFamilies_.get(i)); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetAlterAttributes(), AlterAttributesDefaultEntryHolder.defaultEntry, 14); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(setCompactionPolicy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 15, setCompactionPolicy_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(16, getAlterPartitioningSettings()); } if (setKeyBloomFilter_ != tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(17, setKeyBloomFilter_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(18, getSetReadReplicasSettings()); } for (int i = 0; i < addChangefeeds_.size(); i++) { output.writeMessage(19, addChangefeeds_.get(i)); } for (int i = 0; i < dropChangefeeds_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 20, dropChangefeeds_.getRaw(i)); } for (int i = 0; i < renameIndexes_.size(); i++) { output.writeMessage(21, renameIndexes_.get(i)); } if (tieringActionCase_ == 22) { com.google.protobuf.GeneratedMessageV3.writeString(output, 22, tieringAction_); } if (tieringActionCase_ == 23) { output.writeMessage(23, (com.google.protobuf.Empty) tieringAction_); } 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(sessionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); } for (int i = 0; i < addColumns_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, addColumns_.get(i)); } { int dataSize = 0; for (int i = 0; i < dropColumns_.size(); i++) { dataSize += computeStringSizeNoTag(dropColumns_.getRaw(i)); } size += dataSize; size += 1 * getDropColumnsList().size(); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getOperationParams()); } for (int i = 0; i < alterColumns_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, alterColumns_.get(i)); } if (ttlActionCase_ == 7) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, (tech.ydb.proto.table.YdbTable.TtlSettings) ttlAction_); } if (ttlActionCase_ == 8) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, (com.google.protobuf.Empty) ttlAction_); } for (int i = 0; i < addIndexes_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, addIndexes_.get(i)); } { int dataSize = 0; for (int i = 0; i < dropIndexes_.size(); i++) { dataSize += computeStringSizeNoTag(dropIndexes_.getRaw(i)); } size += dataSize; size += 1 * getDropIndexesList().size(); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, getAlterStorageSettings()); } for (int i = 0; i < addColumnFamilies_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, addColumnFamilies_.get(i)); } for (int i = 0; i < alterColumnFamilies_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, alterColumnFamilies_.get(i)); } for (java.util.Map.Entry entry : internalGetAlterAttributes().getMap().entrySet()) { com.google.protobuf.MapEntry alterAttributes__ = AlterAttributesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, alterAttributes__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(setCompactionPolicy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, setCompactionPolicy_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, getAlterPartitioningSettings()); } if (setKeyBloomFilter_ != tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(17, setKeyBloomFilter_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(18, getSetReadReplicasSettings()); } for (int i = 0; i < addChangefeeds_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(19, addChangefeeds_.get(i)); } { int dataSize = 0; for (int i = 0; i < dropChangefeeds_.size(); i++) { dataSize += computeStringSizeNoTag(dropChangefeeds_.getRaw(i)); } size += dataSize; size += 2 * getDropChangefeedsList().size(); } for (int i = 0; i < renameIndexes_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(21, renameIndexes_.get(i)); } if (tieringActionCase_ == 22) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, tieringAction_); } if (tieringActionCase_ == 23) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(23, (com.google.protobuf.Empty) tieringAction_); } 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.table.YdbTable.AlterTableRequest)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.AlterTableRequest other = (tech.ydb.proto.table.YdbTable.AlterTableRequest) obj; if (!getSessionId() .equals(other.getSessionId())) return false; if (!getPath() .equals(other.getPath())) return false; if (!getAddColumnsList() .equals(other.getAddColumnsList())) return false; if (!getDropColumnsList() .equals(other.getDropColumnsList())) return false; if (hasOperationParams() != other.hasOperationParams()) return false; if (hasOperationParams()) { if (!getOperationParams() .equals(other.getOperationParams())) return false; } if (!getAlterColumnsList() .equals(other.getAlterColumnsList())) return false; if (!getAddIndexesList() .equals(other.getAddIndexesList())) return false; if (!getDropIndexesList() .equals(other.getDropIndexesList())) return false; if (hasAlterStorageSettings() != other.hasAlterStorageSettings()) return false; if (hasAlterStorageSettings()) { if (!getAlterStorageSettings() .equals(other.getAlterStorageSettings())) return false; } if (!getAddColumnFamiliesList() .equals(other.getAddColumnFamiliesList())) return false; if (!getAlterColumnFamiliesList() .equals(other.getAlterColumnFamiliesList())) return false; if (!internalGetAlterAttributes().equals( other.internalGetAlterAttributes())) return false; if (!getSetCompactionPolicy() .equals(other.getSetCompactionPolicy())) return false; if (hasAlterPartitioningSettings() != other.hasAlterPartitioningSettings()) return false; if (hasAlterPartitioningSettings()) { if (!getAlterPartitioningSettings() .equals(other.getAlterPartitioningSettings())) return false; } if (setKeyBloomFilter_ != other.setKeyBloomFilter_) return false; if (hasSetReadReplicasSettings() != other.hasSetReadReplicasSettings()) return false; if (hasSetReadReplicasSettings()) { if (!getSetReadReplicasSettings() .equals(other.getSetReadReplicasSettings())) return false; } if (!getAddChangefeedsList() .equals(other.getAddChangefeedsList())) return false; if (!getDropChangefeedsList() .equals(other.getDropChangefeedsList())) return false; if (!getRenameIndexesList() .equals(other.getRenameIndexesList())) return false; if (!getTtlActionCase().equals(other.getTtlActionCase())) return false; switch (ttlActionCase_) { case 7: if (!getSetTtlSettings() .equals(other.getSetTtlSettings())) return false; break; case 8: if (!getDropTtlSettings() .equals(other.getDropTtlSettings())) return false; break; case 0: default: } if (!getTieringActionCase().equals(other.getTieringActionCase())) return false; switch (tieringActionCase_) { case 22: if (!getSetTiering() .equals(other.getSetTiering())) return false; break; case 23: if (!getDropTiering() .equals(other.getDropTiering())) 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(); hash = (37 * hash) + SESSION_ID_FIELD_NUMBER; hash = (53 * hash) + getSessionId().hashCode(); hash = (37 * hash) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); if (getAddColumnsCount() > 0) { hash = (37 * hash) + ADD_COLUMNS_FIELD_NUMBER; hash = (53 * hash) + getAddColumnsList().hashCode(); } if (getDropColumnsCount() > 0) { hash = (37 * hash) + DROP_COLUMNS_FIELD_NUMBER; hash = (53 * hash) + getDropColumnsList().hashCode(); } if (hasOperationParams()) { hash = (37 * hash) + OPERATION_PARAMS_FIELD_NUMBER; hash = (53 * hash) + getOperationParams().hashCode(); } if (getAlterColumnsCount() > 0) { hash = (37 * hash) + ALTER_COLUMNS_FIELD_NUMBER; hash = (53 * hash) + getAlterColumnsList().hashCode(); } if (getAddIndexesCount() > 0) { hash = (37 * hash) + ADD_INDEXES_FIELD_NUMBER; hash = (53 * hash) + getAddIndexesList().hashCode(); } if (getDropIndexesCount() > 0) { hash = (37 * hash) + DROP_INDEXES_FIELD_NUMBER; hash = (53 * hash) + getDropIndexesList().hashCode(); } if (hasAlterStorageSettings()) { hash = (37 * hash) + ALTER_STORAGE_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getAlterStorageSettings().hashCode(); } if (getAddColumnFamiliesCount() > 0) { hash = (37 * hash) + ADD_COLUMN_FAMILIES_FIELD_NUMBER; hash = (53 * hash) + getAddColumnFamiliesList().hashCode(); } if (getAlterColumnFamiliesCount() > 0) { hash = (37 * hash) + ALTER_COLUMN_FAMILIES_FIELD_NUMBER; hash = (53 * hash) + getAlterColumnFamiliesList().hashCode(); } if (!internalGetAlterAttributes().getMap().isEmpty()) { hash = (37 * hash) + ALTER_ATTRIBUTES_FIELD_NUMBER; hash = (53 * hash) + internalGetAlterAttributes().hashCode(); } hash = (37 * hash) + SET_COMPACTION_POLICY_FIELD_NUMBER; hash = (53 * hash) + getSetCompactionPolicy().hashCode(); if (hasAlterPartitioningSettings()) { hash = (37 * hash) + ALTER_PARTITIONING_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getAlterPartitioningSettings().hashCode(); } hash = (37 * hash) + SET_KEY_BLOOM_FILTER_FIELD_NUMBER; hash = (53 * hash) + setKeyBloomFilter_; if (hasSetReadReplicasSettings()) { hash = (37 * hash) + SET_READ_REPLICAS_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getSetReadReplicasSettings().hashCode(); } if (getAddChangefeedsCount() > 0) { hash = (37 * hash) + ADD_CHANGEFEEDS_FIELD_NUMBER; hash = (53 * hash) + getAddChangefeedsList().hashCode(); } if (getDropChangefeedsCount() > 0) { hash = (37 * hash) + DROP_CHANGEFEEDS_FIELD_NUMBER; hash = (53 * hash) + getDropChangefeedsList().hashCode(); } if (getRenameIndexesCount() > 0) { hash = (37 * hash) + RENAME_INDEXES_FIELD_NUMBER; hash = (53 * hash) + getRenameIndexesList().hashCode(); } switch (ttlActionCase_) { case 7: hash = (37 * hash) + SET_TTL_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getSetTtlSettings().hashCode(); break; case 8: hash = (37 * hash) + DROP_TTL_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getDropTtlSettings().hashCode(); break; case 0: default: } switch (tieringActionCase_) { case 22: hash = (37 * hash) + SET_TIERING_FIELD_NUMBER; hash = (53 * hash) + getSetTiering().hashCode(); break; case 23: hash = (37 * hash) + DROP_TIERING_FIELD_NUMBER; hash = (53 * hash) + getDropTiering().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.AlterTableRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.AlterTableRequest 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.table.YdbTable.AlterTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.AlterTableRequest 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.table.YdbTable.AlterTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.AlterTableRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.AlterTableRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.AlterTableRequest 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.table.YdbTable.AlterTableRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.AlterTableRequest 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.table.YdbTable.AlterTableRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.AlterTableRequest 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.table.YdbTable.AlterTableRequest 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; } /** *
     * Alter table with given path
     * 
* * Protobuf type {@code Ydb.Table.AlterTableRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.AlterTableRequest) tech.ydb.proto.table.YdbTable.AlterTableRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_AlterTableRequest_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 14: return internalGetAlterAttributes(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 14: return internalGetMutableAlterAttributes(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_AlterTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.AlterTableRequest.class, tech.ydb.proto.table.YdbTable.AlterTableRequest.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.AlterTableRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getAddColumnsFieldBuilder(); getOperationParamsFieldBuilder(); getAlterColumnsFieldBuilder(); getAddIndexesFieldBuilder(); getAlterStorageSettingsFieldBuilder(); getAddColumnFamiliesFieldBuilder(); getAlterColumnFamiliesFieldBuilder(); getAlterPartitioningSettingsFieldBuilder(); getSetReadReplicasSettingsFieldBuilder(); getAddChangefeedsFieldBuilder(); getRenameIndexesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; sessionId_ = ""; path_ = ""; if (addColumnsBuilder_ == null) { addColumns_ = java.util.Collections.emptyList(); } else { addColumns_ = null; addColumnsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); dropColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } if (alterColumnsBuilder_ == null) { alterColumns_ = java.util.Collections.emptyList(); } else { alterColumns_ = null; alterColumnsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); if (setTtlSettingsBuilder_ != null) { setTtlSettingsBuilder_.clear(); } if (dropTtlSettingsBuilder_ != null) { dropTtlSettingsBuilder_.clear(); } if (addIndexesBuilder_ == null) { addIndexes_ = java.util.Collections.emptyList(); } else { addIndexes_ = null; addIndexesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); dropIndexes_ = com.google.protobuf.LazyStringArrayList.emptyList(); alterStorageSettings_ = null; if (alterStorageSettingsBuilder_ != null) { alterStorageSettingsBuilder_.dispose(); alterStorageSettingsBuilder_ = null; } if (addColumnFamiliesBuilder_ == null) { addColumnFamilies_ = java.util.Collections.emptyList(); } else { addColumnFamilies_ = null; addColumnFamiliesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000800); if (alterColumnFamiliesBuilder_ == null) { alterColumnFamilies_ = java.util.Collections.emptyList(); } else { alterColumnFamilies_ = null; alterColumnFamiliesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00001000); internalGetMutableAlterAttributes().clear(); setCompactionPolicy_ = ""; alterPartitioningSettings_ = null; if (alterPartitioningSettingsBuilder_ != null) { alterPartitioningSettingsBuilder_.dispose(); alterPartitioningSettingsBuilder_ = null; } setKeyBloomFilter_ = 0; setReadReplicasSettings_ = null; if (setReadReplicasSettingsBuilder_ != null) { setReadReplicasSettingsBuilder_.dispose(); setReadReplicasSettingsBuilder_ = null; } if (addChangefeedsBuilder_ == null) { addChangefeeds_ = java.util.Collections.emptyList(); } else { addChangefeeds_ = null; addChangefeedsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00040000); dropChangefeeds_ = com.google.protobuf.LazyStringArrayList.emptyList(); if (renameIndexesBuilder_ == null) { renameIndexes_ = java.util.Collections.emptyList(); } else { renameIndexes_ = null; renameIndexesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00100000); if (dropTieringBuilder_ != null) { dropTieringBuilder_.clear(); } ttlActionCase_ = 0; ttlAction_ = null; tieringActionCase_ = 0; tieringAction_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_AlterTableRequest_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.AlterTableRequest getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.AlterTableRequest.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.AlterTableRequest build() { tech.ydb.proto.table.YdbTable.AlterTableRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.AlterTableRequest buildPartial() { tech.ydb.proto.table.YdbTable.AlterTableRequest result = new tech.ydb.proto.table.YdbTable.AlterTableRequest(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartialRepeatedFields(tech.ydb.proto.table.YdbTable.AlterTableRequest result) { if (addColumnsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { addColumns_ = java.util.Collections.unmodifiableList(addColumns_); bitField0_ = (bitField0_ & ~0x00000004); } result.addColumns_ = addColumns_; } else { result.addColumns_ = addColumnsBuilder_.build(); } if (alterColumnsBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0)) { alterColumns_ = java.util.Collections.unmodifiableList(alterColumns_); bitField0_ = (bitField0_ & ~0x00000020); } result.alterColumns_ = alterColumns_; } else { result.alterColumns_ = alterColumnsBuilder_.build(); } if (addIndexesBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0)) { addIndexes_ = java.util.Collections.unmodifiableList(addIndexes_); bitField0_ = (bitField0_ & ~0x00000100); } result.addIndexes_ = addIndexes_; } else { result.addIndexes_ = addIndexesBuilder_.build(); } if (addColumnFamiliesBuilder_ == null) { if (((bitField0_ & 0x00000800) != 0)) { addColumnFamilies_ = java.util.Collections.unmodifiableList(addColumnFamilies_); bitField0_ = (bitField0_ & ~0x00000800); } result.addColumnFamilies_ = addColumnFamilies_; } else { result.addColumnFamilies_ = addColumnFamiliesBuilder_.build(); } if (alterColumnFamiliesBuilder_ == null) { if (((bitField0_ & 0x00001000) != 0)) { alterColumnFamilies_ = java.util.Collections.unmodifiableList(alterColumnFamilies_); bitField0_ = (bitField0_ & ~0x00001000); } result.alterColumnFamilies_ = alterColumnFamilies_; } else { result.alterColumnFamilies_ = alterColumnFamiliesBuilder_.build(); } if (addChangefeedsBuilder_ == null) { if (((bitField0_ & 0x00040000) != 0)) { addChangefeeds_ = java.util.Collections.unmodifiableList(addChangefeeds_); bitField0_ = (bitField0_ & ~0x00040000); } result.addChangefeeds_ = addChangefeeds_; } else { result.addChangefeeds_ = addChangefeedsBuilder_.build(); } if (renameIndexesBuilder_ == null) { if (((bitField0_ & 0x00100000) != 0)) { renameIndexes_ = java.util.Collections.unmodifiableList(renameIndexes_); bitField0_ = (bitField0_ & ~0x00100000); } result.renameIndexes_ = renameIndexes_; } else { result.renameIndexes_ = renameIndexesBuilder_.build(); } } private void buildPartial0(tech.ydb.proto.table.YdbTable.AlterTableRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.sessionId_ = sessionId_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.path_ = path_; } if (((from_bitField0_ & 0x00000008) != 0)) { dropColumns_.makeImmutable(); result.dropColumns_ = dropColumns_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000010) != 0)) { result.operationParams_ = operationParamsBuilder_ == null ? operationParams_ : operationParamsBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000200) != 0)) { dropIndexes_.makeImmutable(); result.dropIndexes_ = dropIndexes_; } if (((from_bitField0_ & 0x00000400) != 0)) { result.alterStorageSettings_ = alterStorageSettingsBuilder_ == null ? alterStorageSettings_ : alterStorageSettingsBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00002000) != 0)) { result.alterAttributes_ = internalGetAlterAttributes(); result.alterAttributes_.makeImmutable(); } if (((from_bitField0_ & 0x00004000) != 0)) { result.setCompactionPolicy_ = setCompactionPolicy_; } if (((from_bitField0_ & 0x00008000) != 0)) { result.alterPartitioningSettings_ = alterPartitioningSettingsBuilder_ == null ? alterPartitioningSettings_ : alterPartitioningSettingsBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00010000) != 0)) { result.setKeyBloomFilter_ = setKeyBloomFilter_; } if (((from_bitField0_ & 0x00020000) != 0)) { result.setReadReplicasSettings_ = setReadReplicasSettingsBuilder_ == null ? setReadReplicasSettings_ : setReadReplicasSettingsBuilder_.build(); to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00080000) != 0)) { dropChangefeeds_.makeImmutable(); result.dropChangefeeds_ = dropChangefeeds_; } result.bitField0_ |= to_bitField0_; } private void buildPartialOneofs(tech.ydb.proto.table.YdbTable.AlterTableRequest result) { result.ttlActionCase_ = ttlActionCase_; result.ttlAction_ = this.ttlAction_; if (ttlActionCase_ == 7 && setTtlSettingsBuilder_ != null) { result.ttlAction_ = setTtlSettingsBuilder_.build(); } if (ttlActionCase_ == 8 && dropTtlSettingsBuilder_ != null) { result.ttlAction_ = dropTtlSettingsBuilder_.build(); } result.tieringActionCase_ = tieringActionCase_; result.tieringAction_ = this.tieringAction_; if (tieringActionCase_ == 23 && dropTieringBuilder_ != null) { result.tieringAction_ = dropTieringBuilder_.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.table.YdbTable.AlterTableRequest) { return mergeFrom((tech.ydb.proto.table.YdbTable.AlterTableRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.AlterTableRequest other) { if (other == tech.ydb.proto.table.YdbTable.AlterTableRequest.getDefaultInstance()) return this; if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getPath().isEmpty()) { path_ = other.path_; bitField0_ |= 0x00000002; onChanged(); } if (addColumnsBuilder_ == null) { if (!other.addColumns_.isEmpty()) { if (addColumns_.isEmpty()) { addColumns_ = other.addColumns_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureAddColumnsIsMutable(); addColumns_.addAll(other.addColumns_); } onChanged(); } } else { if (!other.addColumns_.isEmpty()) { if (addColumnsBuilder_.isEmpty()) { addColumnsBuilder_.dispose(); addColumnsBuilder_ = null; addColumns_ = other.addColumns_; bitField0_ = (bitField0_ & ~0x00000004); addColumnsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAddColumnsFieldBuilder() : null; } else { addColumnsBuilder_.addAllMessages(other.addColumns_); } } } if (!other.dropColumns_.isEmpty()) { if (dropColumns_.isEmpty()) { dropColumns_ = other.dropColumns_; bitField0_ |= 0x00000008; } else { ensureDropColumnsIsMutable(); dropColumns_.addAll(other.dropColumns_); } onChanged(); } if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } if (alterColumnsBuilder_ == null) { if (!other.alterColumns_.isEmpty()) { if (alterColumns_.isEmpty()) { alterColumns_ = other.alterColumns_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureAlterColumnsIsMutable(); alterColumns_.addAll(other.alterColumns_); } onChanged(); } } else { if (!other.alterColumns_.isEmpty()) { if (alterColumnsBuilder_.isEmpty()) { alterColumnsBuilder_.dispose(); alterColumnsBuilder_ = null; alterColumns_ = other.alterColumns_; bitField0_ = (bitField0_ & ~0x00000020); alterColumnsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAlterColumnsFieldBuilder() : null; } else { alterColumnsBuilder_.addAllMessages(other.alterColumns_); } } } if (addIndexesBuilder_ == null) { if (!other.addIndexes_.isEmpty()) { if (addIndexes_.isEmpty()) { addIndexes_ = other.addIndexes_; bitField0_ = (bitField0_ & ~0x00000100); } else { ensureAddIndexesIsMutable(); addIndexes_.addAll(other.addIndexes_); } onChanged(); } } else { if (!other.addIndexes_.isEmpty()) { if (addIndexesBuilder_.isEmpty()) { addIndexesBuilder_.dispose(); addIndexesBuilder_ = null; addIndexes_ = other.addIndexes_; bitField0_ = (bitField0_ & ~0x00000100); addIndexesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAddIndexesFieldBuilder() : null; } else { addIndexesBuilder_.addAllMessages(other.addIndexes_); } } } if (!other.dropIndexes_.isEmpty()) { if (dropIndexes_.isEmpty()) { dropIndexes_ = other.dropIndexes_; bitField0_ |= 0x00000200; } else { ensureDropIndexesIsMutable(); dropIndexes_.addAll(other.dropIndexes_); } onChanged(); } if (other.hasAlterStorageSettings()) { mergeAlterStorageSettings(other.getAlterStorageSettings()); } if (addColumnFamiliesBuilder_ == null) { if (!other.addColumnFamilies_.isEmpty()) { if (addColumnFamilies_.isEmpty()) { addColumnFamilies_ = other.addColumnFamilies_; bitField0_ = (bitField0_ & ~0x00000800); } else { ensureAddColumnFamiliesIsMutable(); addColumnFamilies_.addAll(other.addColumnFamilies_); } onChanged(); } } else { if (!other.addColumnFamilies_.isEmpty()) { if (addColumnFamiliesBuilder_.isEmpty()) { addColumnFamiliesBuilder_.dispose(); addColumnFamiliesBuilder_ = null; addColumnFamilies_ = other.addColumnFamilies_; bitField0_ = (bitField0_ & ~0x00000800); addColumnFamiliesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAddColumnFamiliesFieldBuilder() : null; } else { addColumnFamiliesBuilder_.addAllMessages(other.addColumnFamilies_); } } } if (alterColumnFamiliesBuilder_ == null) { if (!other.alterColumnFamilies_.isEmpty()) { if (alterColumnFamilies_.isEmpty()) { alterColumnFamilies_ = other.alterColumnFamilies_; bitField0_ = (bitField0_ & ~0x00001000); } else { ensureAlterColumnFamiliesIsMutable(); alterColumnFamilies_.addAll(other.alterColumnFamilies_); } onChanged(); } } else { if (!other.alterColumnFamilies_.isEmpty()) { if (alterColumnFamiliesBuilder_.isEmpty()) { alterColumnFamiliesBuilder_.dispose(); alterColumnFamiliesBuilder_ = null; alterColumnFamilies_ = other.alterColumnFamilies_; bitField0_ = (bitField0_ & ~0x00001000); alterColumnFamiliesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAlterColumnFamiliesFieldBuilder() : null; } else { alterColumnFamiliesBuilder_.addAllMessages(other.alterColumnFamilies_); } } } internalGetMutableAlterAttributes().mergeFrom( other.internalGetAlterAttributes()); bitField0_ |= 0x00002000; if (!other.getSetCompactionPolicy().isEmpty()) { setCompactionPolicy_ = other.setCompactionPolicy_; bitField0_ |= 0x00004000; onChanged(); } if (other.hasAlterPartitioningSettings()) { mergeAlterPartitioningSettings(other.getAlterPartitioningSettings()); } if (other.setKeyBloomFilter_ != 0) { setSetKeyBloomFilterValue(other.getSetKeyBloomFilterValue()); } if (other.hasSetReadReplicasSettings()) { mergeSetReadReplicasSettings(other.getSetReadReplicasSettings()); } if (addChangefeedsBuilder_ == null) { if (!other.addChangefeeds_.isEmpty()) { if (addChangefeeds_.isEmpty()) { addChangefeeds_ = other.addChangefeeds_; bitField0_ = (bitField0_ & ~0x00040000); } else { ensureAddChangefeedsIsMutable(); addChangefeeds_.addAll(other.addChangefeeds_); } onChanged(); } } else { if (!other.addChangefeeds_.isEmpty()) { if (addChangefeedsBuilder_.isEmpty()) { addChangefeedsBuilder_.dispose(); addChangefeedsBuilder_ = null; addChangefeeds_ = other.addChangefeeds_; bitField0_ = (bitField0_ & ~0x00040000); addChangefeedsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAddChangefeedsFieldBuilder() : null; } else { addChangefeedsBuilder_.addAllMessages(other.addChangefeeds_); } } } if (!other.dropChangefeeds_.isEmpty()) { if (dropChangefeeds_.isEmpty()) { dropChangefeeds_ = other.dropChangefeeds_; bitField0_ |= 0x00080000; } else { ensureDropChangefeedsIsMutable(); dropChangefeeds_.addAll(other.dropChangefeeds_); } onChanged(); } if (renameIndexesBuilder_ == null) { if (!other.renameIndexes_.isEmpty()) { if (renameIndexes_.isEmpty()) { renameIndexes_ = other.renameIndexes_; bitField0_ = (bitField0_ & ~0x00100000); } else { ensureRenameIndexesIsMutable(); renameIndexes_.addAll(other.renameIndexes_); } onChanged(); } } else { if (!other.renameIndexes_.isEmpty()) { if (renameIndexesBuilder_.isEmpty()) { renameIndexesBuilder_.dispose(); renameIndexesBuilder_ = null; renameIndexes_ = other.renameIndexes_; bitField0_ = (bitField0_ & ~0x00100000); renameIndexesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRenameIndexesFieldBuilder() : null; } else { renameIndexesBuilder_.addAllMessages(other.renameIndexes_); } } } switch (other.getTtlActionCase()) { case SET_TTL_SETTINGS: { mergeSetTtlSettings(other.getSetTtlSettings()); break; } case DROP_TTL_SETTINGS: { mergeDropTtlSettings(other.getDropTtlSettings()); break; } case TTLACTION_NOT_SET: { break; } } switch (other.getTieringActionCase()) { case SET_TIERING: { tieringActionCase_ = 22; tieringAction_ = other.tieringAction_; onChanged(); break; } case DROP_TIERING: { mergeDropTiering(other.getDropTiering()); break; } case TIERINGACTION_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: { sessionId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { path_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { tech.ydb.proto.table.YdbTable.ColumnMeta m = input.readMessage( tech.ydb.proto.table.YdbTable.ColumnMeta.parser(), extensionRegistry); if (addColumnsBuilder_ == null) { ensureAddColumnsIsMutable(); addColumns_.add(m); } else { addColumnsBuilder_.addMessage(m); } break; } // case 26 case 34: { java.lang.String s = input.readStringRequireUtf8(); ensureDropColumnsIsMutable(); dropColumns_.add(s); break; } // case 34 case 42: { input.readMessage( getOperationParamsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 42 case 50: { tech.ydb.proto.table.YdbTable.ColumnMeta m = input.readMessage( tech.ydb.proto.table.YdbTable.ColumnMeta.parser(), extensionRegistry); if (alterColumnsBuilder_ == null) { ensureAlterColumnsIsMutable(); alterColumns_.add(m); } else { alterColumnsBuilder_.addMessage(m); } break; } // case 50 case 58: { input.readMessage( getSetTtlSettingsFieldBuilder().getBuilder(), extensionRegistry); ttlActionCase_ = 7; break; } // case 58 case 66: { input.readMessage( getDropTtlSettingsFieldBuilder().getBuilder(), extensionRegistry); ttlActionCase_ = 8; break; } // case 66 case 74: { tech.ydb.proto.table.YdbTable.TableIndex m = input.readMessage( tech.ydb.proto.table.YdbTable.TableIndex.parser(), extensionRegistry); if (addIndexesBuilder_ == null) { ensureAddIndexesIsMutable(); addIndexes_.add(m); } else { addIndexesBuilder_.addMessage(m); } break; } // case 74 case 82: { java.lang.String s = input.readStringRequireUtf8(); ensureDropIndexesIsMutable(); dropIndexes_.add(s); break; } // case 82 case 90: { input.readMessage( getAlterStorageSettingsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000400; break; } // case 90 case 98: { tech.ydb.proto.table.YdbTable.ColumnFamily m = input.readMessage( tech.ydb.proto.table.YdbTable.ColumnFamily.parser(), extensionRegistry); if (addColumnFamiliesBuilder_ == null) { ensureAddColumnFamiliesIsMutable(); addColumnFamilies_.add(m); } else { addColumnFamiliesBuilder_.addMessage(m); } break; } // case 98 case 106: { tech.ydb.proto.table.YdbTable.ColumnFamily m = input.readMessage( tech.ydb.proto.table.YdbTable.ColumnFamily.parser(), extensionRegistry); if (alterColumnFamiliesBuilder_ == null) { ensureAlterColumnFamiliesIsMutable(); alterColumnFamilies_.add(m); } else { alterColumnFamiliesBuilder_.addMessage(m); } break; } // case 106 case 114: { com.google.protobuf.MapEntry alterAttributes__ = input.readMessage( AlterAttributesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableAlterAttributes().getMutableMap().put( alterAttributes__.getKey(), alterAttributes__.getValue()); bitField0_ |= 0x00002000; break; } // case 114 case 122: { setCompactionPolicy_ = input.readStringRequireUtf8(); bitField0_ |= 0x00004000; break; } // case 122 case 130: { input.readMessage( getAlterPartitioningSettingsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00008000; break; } // case 130 case 136: { setKeyBloomFilter_ = input.readEnum(); bitField0_ |= 0x00010000; break; } // case 136 case 146: { input.readMessage( getSetReadReplicasSettingsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00020000; break; } // case 146 case 154: { tech.ydb.proto.table.YdbTable.Changefeed m = input.readMessage( tech.ydb.proto.table.YdbTable.Changefeed.parser(), extensionRegistry); if (addChangefeedsBuilder_ == null) { ensureAddChangefeedsIsMutable(); addChangefeeds_.add(m); } else { addChangefeedsBuilder_.addMessage(m); } break; } // case 154 case 162: { java.lang.String s = input.readStringRequireUtf8(); ensureDropChangefeedsIsMutable(); dropChangefeeds_.add(s); break; } // case 162 case 170: { tech.ydb.proto.table.YdbTable.RenameIndexItem m = input.readMessage( tech.ydb.proto.table.YdbTable.RenameIndexItem.parser(), extensionRegistry); if (renameIndexesBuilder_ == null) { ensureRenameIndexesIsMutable(); renameIndexes_.add(m); } else { renameIndexesBuilder_.addMessage(m); } break; } // case 170 case 178: { java.lang.String s = input.readStringRequireUtf8(); tieringActionCase_ = 22; tieringAction_ = s; break; } // case 178 case 186: { input.readMessage( getDropTieringFieldBuilder().getBuilder(), extensionRegistry); tieringActionCase_ = 23; break; } // case 186 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 ttlActionCase_ = 0; private java.lang.Object ttlAction_; public TtlActionCase getTtlActionCase() { return TtlActionCase.forNumber( ttlActionCase_); } public Builder clearTtlAction() { ttlActionCase_ = 0; ttlAction_ = null; onChanged(); return this; } private int tieringActionCase_ = 0; private java.lang.Object tieringAction_; public TieringActionCase getTieringActionCase() { return TieringActionCase.forNumber( tieringActionCase_); } public Builder clearTieringAction() { tieringActionCase_ = 0; tieringAction_ = null; onChanged(); return this; } private int bitField0_; private java.lang.Object sessionId_ = ""; /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The sessionId. */ public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The bytes for sessionId. */ public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The sessionId to set. * @return This builder for chaining. */ public Builder setSessionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sessionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The bytes for sessionId to set. * @return This builder for chaining. */ public Builder setSessionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sessionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object path_ = ""; /** *
       * Full 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; } } /** *
       * Full path
       * 
* * 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; } } /** *
       * Full path
       * 
* * 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; } /** *
       * Full path
       * 
* * string path = 2; * @return This builder for chaining. */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * Full path
       * 
* * 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 addColumns_ = java.util.Collections.emptyList(); private void ensureAddColumnsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { addColumns_ = new java.util.ArrayList(addColumns_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ColumnMeta, tech.ydb.proto.table.YdbTable.ColumnMeta.Builder, tech.ydb.proto.table.YdbTable.ColumnMetaOrBuilder> addColumnsBuilder_; /** *
       * Columns (name, type) to add
       * 
* * repeated .Ydb.Table.ColumnMeta add_columns = 3; */ public java.util.List getAddColumnsList() { if (addColumnsBuilder_ == null) { return java.util.Collections.unmodifiableList(addColumns_); } else { return addColumnsBuilder_.getMessageList(); } } /** *
       * Columns (name, type) to add
       * 
* * repeated .Ydb.Table.ColumnMeta add_columns = 3; */ public int getAddColumnsCount() { if (addColumnsBuilder_ == null) { return addColumns_.size(); } else { return addColumnsBuilder_.getCount(); } } /** *
       * Columns (name, type) to add
       * 
* * repeated .Ydb.Table.ColumnMeta add_columns = 3; */ public tech.ydb.proto.table.YdbTable.ColumnMeta getAddColumns(int index) { if (addColumnsBuilder_ == null) { return addColumns_.get(index); } else { return addColumnsBuilder_.getMessage(index); } } /** *
       * Columns (name, type) to add
       * 
* * repeated .Ydb.Table.ColumnMeta add_columns = 3; */ public Builder setAddColumns( int index, tech.ydb.proto.table.YdbTable.ColumnMeta value) { if (addColumnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAddColumnsIsMutable(); addColumns_.set(index, value); onChanged(); } else { addColumnsBuilder_.setMessage(index, value); } return this; } /** *
       * Columns (name, type) to add
       * 
* * repeated .Ydb.Table.ColumnMeta add_columns = 3; */ public Builder setAddColumns( int index, tech.ydb.proto.table.YdbTable.ColumnMeta.Builder builderForValue) { if (addColumnsBuilder_ == null) { ensureAddColumnsIsMutable(); addColumns_.set(index, builderForValue.build()); onChanged(); } else { addColumnsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Columns (name, type) to add
       * 
* * repeated .Ydb.Table.ColumnMeta add_columns = 3; */ public Builder addAddColumns(tech.ydb.proto.table.YdbTable.ColumnMeta value) { if (addColumnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAddColumnsIsMutable(); addColumns_.add(value); onChanged(); } else { addColumnsBuilder_.addMessage(value); } return this; } /** *
       * Columns (name, type) to add
       * 
* * repeated .Ydb.Table.ColumnMeta add_columns = 3; */ public Builder addAddColumns( int index, tech.ydb.proto.table.YdbTable.ColumnMeta value) { if (addColumnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAddColumnsIsMutable(); addColumns_.add(index, value); onChanged(); } else { addColumnsBuilder_.addMessage(index, value); } return this; } /** *
       * Columns (name, type) to add
       * 
* * repeated .Ydb.Table.ColumnMeta add_columns = 3; */ public Builder addAddColumns( tech.ydb.proto.table.YdbTable.ColumnMeta.Builder builderForValue) { if (addColumnsBuilder_ == null) { ensureAddColumnsIsMutable(); addColumns_.add(builderForValue.build()); onChanged(); } else { addColumnsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Columns (name, type) to add
       * 
* * repeated .Ydb.Table.ColumnMeta add_columns = 3; */ public Builder addAddColumns( int index, tech.ydb.proto.table.YdbTable.ColumnMeta.Builder builderForValue) { if (addColumnsBuilder_ == null) { ensureAddColumnsIsMutable(); addColumns_.add(index, builderForValue.build()); onChanged(); } else { addColumnsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Columns (name, type) to add
       * 
* * repeated .Ydb.Table.ColumnMeta add_columns = 3; */ public Builder addAllAddColumns( java.lang.Iterable values) { if (addColumnsBuilder_ == null) { ensureAddColumnsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, addColumns_); onChanged(); } else { addColumnsBuilder_.addAllMessages(values); } return this; } /** *
       * Columns (name, type) to add
       * 
* * repeated .Ydb.Table.ColumnMeta add_columns = 3; */ public Builder clearAddColumns() { if (addColumnsBuilder_ == null) { addColumns_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { addColumnsBuilder_.clear(); } return this; } /** *
       * Columns (name, type) to add
       * 
* * repeated .Ydb.Table.ColumnMeta add_columns = 3; */ public Builder removeAddColumns(int index) { if (addColumnsBuilder_ == null) { ensureAddColumnsIsMutable(); addColumns_.remove(index); onChanged(); } else { addColumnsBuilder_.remove(index); } return this; } /** *
       * Columns (name, type) to add
       * 
* * repeated .Ydb.Table.ColumnMeta add_columns = 3; */ public tech.ydb.proto.table.YdbTable.ColumnMeta.Builder getAddColumnsBuilder( int index) { return getAddColumnsFieldBuilder().getBuilder(index); } /** *
       * Columns (name, type) to add
       * 
* * repeated .Ydb.Table.ColumnMeta add_columns = 3; */ public tech.ydb.proto.table.YdbTable.ColumnMetaOrBuilder getAddColumnsOrBuilder( int index) { if (addColumnsBuilder_ == null) { return addColumns_.get(index); } else { return addColumnsBuilder_.getMessageOrBuilder(index); } } /** *
       * Columns (name, type) to add
       * 
* * repeated .Ydb.Table.ColumnMeta add_columns = 3; */ public java.util.List getAddColumnsOrBuilderList() { if (addColumnsBuilder_ != null) { return addColumnsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(addColumns_); } } /** *
       * Columns (name, type) to add
       * 
* * repeated .Ydb.Table.ColumnMeta add_columns = 3; */ public tech.ydb.proto.table.YdbTable.ColumnMeta.Builder addAddColumnsBuilder() { return getAddColumnsFieldBuilder().addBuilder( tech.ydb.proto.table.YdbTable.ColumnMeta.getDefaultInstance()); } /** *
       * Columns (name, type) to add
       * 
* * repeated .Ydb.Table.ColumnMeta add_columns = 3; */ public tech.ydb.proto.table.YdbTable.ColumnMeta.Builder addAddColumnsBuilder( int index) { return getAddColumnsFieldBuilder().addBuilder( index, tech.ydb.proto.table.YdbTable.ColumnMeta.getDefaultInstance()); } /** *
       * Columns (name, type) to add
       * 
* * repeated .Ydb.Table.ColumnMeta add_columns = 3; */ public java.util.List getAddColumnsBuilderList() { return getAddColumnsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ColumnMeta, tech.ydb.proto.table.YdbTable.ColumnMeta.Builder, tech.ydb.proto.table.YdbTable.ColumnMetaOrBuilder> getAddColumnsFieldBuilder() { if (addColumnsBuilder_ == null) { addColumnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ColumnMeta, tech.ydb.proto.table.YdbTable.ColumnMeta.Builder, tech.ydb.proto.table.YdbTable.ColumnMetaOrBuilder>( addColumns_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); addColumns_ = null; } return addColumnsBuilder_; } private com.google.protobuf.LazyStringArrayList dropColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureDropColumnsIsMutable() { if (!dropColumns_.isModifiable()) { dropColumns_ = new com.google.protobuf.LazyStringArrayList(dropColumns_); } bitField0_ |= 0x00000008; } /** *
       * Columns to remove
       * 
* * repeated string drop_columns = 4; * @return A list containing the dropColumns. */ public com.google.protobuf.ProtocolStringList getDropColumnsList() { dropColumns_.makeImmutable(); return dropColumns_; } /** *
       * Columns to remove
       * 
* * repeated string drop_columns = 4; * @return The count of dropColumns. */ public int getDropColumnsCount() { return dropColumns_.size(); } /** *
       * Columns to remove
       * 
* * repeated string drop_columns = 4; * @param index The index of the element to return. * @return The dropColumns at the given index. */ public java.lang.String getDropColumns(int index) { return dropColumns_.get(index); } /** *
       * Columns to remove
       * 
* * repeated string drop_columns = 4; * @param index The index of the value to return. * @return The bytes of the dropColumns at the given index. */ public com.google.protobuf.ByteString getDropColumnsBytes(int index) { return dropColumns_.getByteString(index); } /** *
       * Columns to remove
       * 
* * repeated string drop_columns = 4; * @param index The index to set the value at. * @param value The dropColumns to set. * @return This builder for chaining. */ public Builder setDropColumns( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDropColumnsIsMutable(); dropColumns_.set(index, value); bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * Columns to remove
       * 
* * repeated string drop_columns = 4; * @param value The dropColumns to add. * @return This builder for chaining. */ public Builder addDropColumns( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDropColumnsIsMutable(); dropColumns_.add(value); bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * Columns to remove
       * 
* * repeated string drop_columns = 4; * @param values The dropColumns to add. * @return This builder for chaining. */ public Builder addAllDropColumns( java.lang.Iterable values) { ensureDropColumnsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, dropColumns_); bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * Columns to remove
       * 
* * repeated string drop_columns = 4; * @return This builder for chaining. */ public Builder clearDropColumns() { dropColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000008);; onChanged(); return this; } /** *
       * Columns to remove
       * 
* * repeated string drop_columns = 4; * @param value The bytes of the dropColumns to add. * @return This builder for chaining. */ public Builder addDropColumnsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureDropColumnsIsMutable(); dropColumns_.add(value); bitField0_ |= 0x00000008; onChanged(); return this; } 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 = 5; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return ((bitField0_ & 0x00000010) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 5; * @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 = 5; */ 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_ |= 0x00000010; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 5; */ public Builder setOperationParams( tech.ydb.proto.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 5; */ public Builder mergeOperationParams(tech.ydb.proto.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && operationParams_ != null && operationParams_ != tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance()) { getOperationParamsBuilder().mergeFrom(value); } else { operationParams_ = value; } } else { operationParamsBuilder_.mergeFrom(value); } if (operationParams_ != null) { bitField0_ |= 0x00000010; onChanged(); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 5; */ public Builder clearOperationParams() { bitField0_ = (bitField0_ & ~0x00000010); operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 5; */ public tech.ydb.proto.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { bitField0_ |= 0x00000010; onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 5; */ 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 = 5; */ 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.util.List alterColumns_ = java.util.Collections.emptyList(); private void ensureAlterColumnsIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { alterColumns_ = new java.util.ArrayList(alterColumns_); bitField0_ |= 0x00000020; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ColumnMeta, tech.ydb.proto.table.YdbTable.ColumnMeta.Builder, tech.ydb.proto.table.YdbTable.ColumnMetaOrBuilder> alterColumnsBuilder_; /** *
       * Columns to alter
       * 
* * repeated .Ydb.Table.ColumnMeta alter_columns = 6; */ public java.util.List getAlterColumnsList() { if (alterColumnsBuilder_ == null) { return java.util.Collections.unmodifiableList(alterColumns_); } else { return alterColumnsBuilder_.getMessageList(); } } /** *
       * Columns to alter
       * 
* * repeated .Ydb.Table.ColumnMeta alter_columns = 6; */ public int getAlterColumnsCount() { if (alterColumnsBuilder_ == null) { return alterColumns_.size(); } else { return alterColumnsBuilder_.getCount(); } } /** *
       * Columns to alter
       * 
* * repeated .Ydb.Table.ColumnMeta alter_columns = 6; */ public tech.ydb.proto.table.YdbTable.ColumnMeta getAlterColumns(int index) { if (alterColumnsBuilder_ == null) { return alterColumns_.get(index); } else { return alterColumnsBuilder_.getMessage(index); } } /** *
       * Columns to alter
       * 
* * repeated .Ydb.Table.ColumnMeta alter_columns = 6; */ public Builder setAlterColumns( int index, tech.ydb.proto.table.YdbTable.ColumnMeta value) { if (alterColumnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAlterColumnsIsMutable(); alterColumns_.set(index, value); onChanged(); } else { alterColumnsBuilder_.setMessage(index, value); } return this; } /** *
       * Columns to alter
       * 
* * repeated .Ydb.Table.ColumnMeta alter_columns = 6; */ public Builder setAlterColumns( int index, tech.ydb.proto.table.YdbTable.ColumnMeta.Builder builderForValue) { if (alterColumnsBuilder_ == null) { ensureAlterColumnsIsMutable(); alterColumns_.set(index, builderForValue.build()); onChanged(); } else { alterColumnsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Columns to alter
       * 
* * repeated .Ydb.Table.ColumnMeta alter_columns = 6; */ public Builder addAlterColumns(tech.ydb.proto.table.YdbTable.ColumnMeta value) { if (alterColumnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAlterColumnsIsMutable(); alterColumns_.add(value); onChanged(); } else { alterColumnsBuilder_.addMessage(value); } return this; } /** *
       * Columns to alter
       * 
* * repeated .Ydb.Table.ColumnMeta alter_columns = 6; */ public Builder addAlterColumns( int index, tech.ydb.proto.table.YdbTable.ColumnMeta value) { if (alterColumnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAlterColumnsIsMutable(); alterColumns_.add(index, value); onChanged(); } else { alterColumnsBuilder_.addMessage(index, value); } return this; } /** *
       * Columns to alter
       * 
* * repeated .Ydb.Table.ColumnMeta alter_columns = 6; */ public Builder addAlterColumns( tech.ydb.proto.table.YdbTable.ColumnMeta.Builder builderForValue) { if (alterColumnsBuilder_ == null) { ensureAlterColumnsIsMutable(); alterColumns_.add(builderForValue.build()); onChanged(); } else { alterColumnsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Columns to alter
       * 
* * repeated .Ydb.Table.ColumnMeta alter_columns = 6; */ public Builder addAlterColumns( int index, tech.ydb.proto.table.YdbTable.ColumnMeta.Builder builderForValue) { if (alterColumnsBuilder_ == null) { ensureAlterColumnsIsMutable(); alterColumns_.add(index, builderForValue.build()); onChanged(); } else { alterColumnsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Columns to alter
       * 
* * repeated .Ydb.Table.ColumnMeta alter_columns = 6; */ public Builder addAllAlterColumns( java.lang.Iterable values) { if (alterColumnsBuilder_ == null) { ensureAlterColumnsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, alterColumns_); onChanged(); } else { alterColumnsBuilder_.addAllMessages(values); } return this; } /** *
       * Columns to alter
       * 
* * repeated .Ydb.Table.ColumnMeta alter_columns = 6; */ public Builder clearAlterColumns() { if (alterColumnsBuilder_ == null) { alterColumns_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); } else { alterColumnsBuilder_.clear(); } return this; } /** *
       * Columns to alter
       * 
* * repeated .Ydb.Table.ColumnMeta alter_columns = 6; */ public Builder removeAlterColumns(int index) { if (alterColumnsBuilder_ == null) { ensureAlterColumnsIsMutable(); alterColumns_.remove(index); onChanged(); } else { alterColumnsBuilder_.remove(index); } return this; } /** *
       * Columns to alter
       * 
* * repeated .Ydb.Table.ColumnMeta alter_columns = 6; */ public tech.ydb.proto.table.YdbTable.ColumnMeta.Builder getAlterColumnsBuilder( int index) { return getAlterColumnsFieldBuilder().getBuilder(index); } /** *
       * Columns to alter
       * 
* * repeated .Ydb.Table.ColumnMeta alter_columns = 6; */ public tech.ydb.proto.table.YdbTable.ColumnMetaOrBuilder getAlterColumnsOrBuilder( int index) { if (alterColumnsBuilder_ == null) { return alterColumns_.get(index); } else { return alterColumnsBuilder_.getMessageOrBuilder(index); } } /** *
       * Columns to alter
       * 
* * repeated .Ydb.Table.ColumnMeta alter_columns = 6; */ public java.util.List getAlterColumnsOrBuilderList() { if (alterColumnsBuilder_ != null) { return alterColumnsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(alterColumns_); } } /** *
       * Columns to alter
       * 
* * repeated .Ydb.Table.ColumnMeta alter_columns = 6; */ public tech.ydb.proto.table.YdbTable.ColumnMeta.Builder addAlterColumnsBuilder() { return getAlterColumnsFieldBuilder().addBuilder( tech.ydb.proto.table.YdbTable.ColumnMeta.getDefaultInstance()); } /** *
       * Columns to alter
       * 
* * repeated .Ydb.Table.ColumnMeta alter_columns = 6; */ public tech.ydb.proto.table.YdbTable.ColumnMeta.Builder addAlterColumnsBuilder( int index) { return getAlterColumnsFieldBuilder().addBuilder( index, tech.ydb.proto.table.YdbTable.ColumnMeta.getDefaultInstance()); } /** *
       * Columns to alter
       * 
* * repeated .Ydb.Table.ColumnMeta alter_columns = 6; */ public java.util.List getAlterColumnsBuilderList() { return getAlterColumnsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ColumnMeta, tech.ydb.proto.table.YdbTable.ColumnMeta.Builder, tech.ydb.proto.table.YdbTable.ColumnMetaOrBuilder> getAlterColumnsFieldBuilder() { if (alterColumnsBuilder_ == null) { alterColumnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ColumnMeta, tech.ydb.proto.table.YdbTable.ColumnMeta.Builder, tech.ydb.proto.table.YdbTable.ColumnMetaOrBuilder>( alterColumns_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean()); alterColumns_ = null; } return alterColumnsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.TtlSettings, tech.ydb.proto.table.YdbTable.TtlSettings.Builder, tech.ydb.proto.table.YdbTable.TtlSettingsOrBuilder> setTtlSettingsBuilder_; /** * .Ydb.Table.TtlSettings set_ttl_settings = 7; * @return Whether the setTtlSettings field is set. */ @java.lang.Override public boolean hasSetTtlSettings() { return ttlActionCase_ == 7; } /** * .Ydb.Table.TtlSettings set_ttl_settings = 7; * @return The setTtlSettings. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TtlSettings getSetTtlSettings() { if (setTtlSettingsBuilder_ == null) { if (ttlActionCase_ == 7) { return (tech.ydb.proto.table.YdbTable.TtlSettings) ttlAction_; } return tech.ydb.proto.table.YdbTable.TtlSettings.getDefaultInstance(); } else { if (ttlActionCase_ == 7) { return setTtlSettingsBuilder_.getMessage(); } return tech.ydb.proto.table.YdbTable.TtlSettings.getDefaultInstance(); } } /** * .Ydb.Table.TtlSettings set_ttl_settings = 7; */ public Builder setSetTtlSettings(tech.ydb.proto.table.YdbTable.TtlSettings value) { if (setTtlSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ttlAction_ = value; onChanged(); } else { setTtlSettingsBuilder_.setMessage(value); } ttlActionCase_ = 7; return this; } /** * .Ydb.Table.TtlSettings set_ttl_settings = 7; */ public Builder setSetTtlSettings( tech.ydb.proto.table.YdbTable.TtlSettings.Builder builderForValue) { if (setTtlSettingsBuilder_ == null) { ttlAction_ = builderForValue.build(); onChanged(); } else { setTtlSettingsBuilder_.setMessage(builderForValue.build()); } ttlActionCase_ = 7; return this; } /** * .Ydb.Table.TtlSettings set_ttl_settings = 7; */ public Builder mergeSetTtlSettings(tech.ydb.proto.table.YdbTable.TtlSettings value) { if (setTtlSettingsBuilder_ == null) { if (ttlActionCase_ == 7 && ttlAction_ != tech.ydb.proto.table.YdbTable.TtlSettings.getDefaultInstance()) { ttlAction_ = tech.ydb.proto.table.YdbTable.TtlSettings.newBuilder((tech.ydb.proto.table.YdbTable.TtlSettings) ttlAction_) .mergeFrom(value).buildPartial(); } else { ttlAction_ = value; } onChanged(); } else { if (ttlActionCase_ == 7) { setTtlSettingsBuilder_.mergeFrom(value); } else { setTtlSettingsBuilder_.setMessage(value); } } ttlActionCase_ = 7; return this; } /** * .Ydb.Table.TtlSettings set_ttl_settings = 7; */ public Builder clearSetTtlSettings() { if (setTtlSettingsBuilder_ == null) { if (ttlActionCase_ == 7) { ttlActionCase_ = 0; ttlAction_ = null; onChanged(); } } else { if (ttlActionCase_ == 7) { ttlActionCase_ = 0; ttlAction_ = null; } setTtlSettingsBuilder_.clear(); } return this; } /** * .Ydb.Table.TtlSettings set_ttl_settings = 7; */ public tech.ydb.proto.table.YdbTable.TtlSettings.Builder getSetTtlSettingsBuilder() { return getSetTtlSettingsFieldBuilder().getBuilder(); } /** * .Ydb.Table.TtlSettings set_ttl_settings = 7; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TtlSettingsOrBuilder getSetTtlSettingsOrBuilder() { if ((ttlActionCase_ == 7) && (setTtlSettingsBuilder_ != null)) { return setTtlSettingsBuilder_.getMessageOrBuilder(); } else { if (ttlActionCase_ == 7) { return (tech.ydb.proto.table.YdbTable.TtlSettings) ttlAction_; } return tech.ydb.proto.table.YdbTable.TtlSettings.getDefaultInstance(); } } /** * .Ydb.Table.TtlSettings set_ttl_settings = 7; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.TtlSettings, tech.ydb.proto.table.YdbTable.TtlSettings.Builder, tech.ydb.proto.table.YdbTable.TtlSettingsOrBuilder> getSetTtlSettingsFieldBuilder() { if (setTtlSettingsBuilder_ == null) { if (!(ttlActionCase_ == 7)) { ttlAction_ = tech.ydb.proto.table.YdbTable.TtlSettings.getDefaultInstance(); } setTtlSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.TtlSettings, tech.ydb.proto.table.YdbTable.TtlSettings.Builder, tech.ydb.proto.table.YdbTable.TtlSettingsOrBuilder>( (tech.ydb.proto.table.YdbTable.TtlSettings) ttlAction_, getParentForChildren(), isClean()); ttlAction_ = null; } ttlActionCase_ = 7; onChanged(); return setTtlSettingsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Empty, com.google.protobuf.Empty.Builder, com.google.protobuf.EmptyOrBuilder> dropTtlSettingsBuilder_; /** * .google.protobuf.Empty drop_ttl_settings = 8; * @return Whether the dropTtlSettings field is set. */ @java.lang.Override public boolean hasDropTtlSettings() { return ttlActionCase_ == 8; } /** * .google.protobuf.Empty drop_ttl_settings = 8; * @return The dropTtlSettings. */ @java.lang.Override public com.google.protobuf.Empty getDropTtlSettings() { if (dropTtlSettingsBuilder_ == null) { if (ttlActionCase_ == 8) { return (com.google.protobuf.Empty) ttlAction_; } return com.google.protobuf.Empty.getDefaultInstance(); } else { if (ttlActionCase_ == 8) { return dropTtlSettingsBuilder_.getMessage(); } return com.google.protobuf.Empty.getDefaultInstance(); } } /** * .google.protobuf.Empty drop_ttl_settings = 8; */ public Builder setDropTtlSettings(com.google.protobuf.Empty value) { if (dropTtlSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ttlAction_ = value; onChanged(); } else { dropTtlSettingsBuilder_.setMessage(value); } ttlActionCase_ = 8; return this; } /** * .google.protobuf.Empty drop_ttl_settings = 8; */ public Builder setDropTtlSettings( com.google.protobuf.Empty.Builder builderForValue) { if (dropTtlSettingsBuilder_ == null) { ttlAction_ = builderForValue.build(); onChanged(); } else { dropTtlSettingsBuilder_.setMessage(builderForValue.build()); } ttlActionCase_ = 8; return this; } /** * .google.protobuf.Empty drop_ttl_settings = 8; */ public Builder mergeDropTtlSettings(com.google.protobuf.Empty value) { if (dropTtlSettingsBuilder_ == null) { if (ttlActionCase_ == 8 && ttlAction_ != com.google.protobuf.Empty.getDefaultInstance()) { ttlAction_ = com.google.protobuf.Empty.newBuilder((com.google.protobuf.Empty) ttlAction_) .mergeFrom(value).buildPartial(); } else { ttlAction_ = value; } onChanged(); } else { if (ttlActionCase_ == 8) { dropTtlSettingsBuilder_.mergeFrom(value); } else { dropTtlSettingsBuilder_.setMessage(value); } } ttlActionCase_ = 8; return this; } /** * .google.protobuf.Empty drop_ttl_settings = 8; */ public Builder clearDropTtlSettings() { if (dropTtlSettingsBuilder_ == null) { if (ttlActionCase_ == 8) { ttlActionCase_ = 0; ttlAction_ = null; onChanged(); } } else { if (ttlActionCase_ == 8) { ttlActionCase_ = 0; ttlAction_ = null; } dropTtlSettingsBuilder_.clear(); } return this; } /** * .google.protobuf.Empty drop_ttl_settings = 8; */ public com.google.protobuf.Empty.Builder getDropTtlSettingsBuilder() { return getDropTtlSettingsFieldBuilder().getBuilder(); } /** * .google.protobuf.Empty drop_ttl_settings = 8; */ @java.lang.Override public com.google.protobuf.EmptyOrBuilder getDropTtlSettingsOrBuilder() { if ((ttlActionCase_ == 8) && (dropTtlSettingsBuilder_ != null)) { return dropTtlSettingsBuilder_.getMessageOrBuilder(); } else { if (ttlActionCase_ == 8) { return (com.google.protobuf.Empty) ttlAction_; } return com.google.protobuf.Empty.getDefaultInstance(); } } /** * .google.protobuf.Empty drop_ttl_settings = 8; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Empty, com.google.protobuf.Empty.Builder, com.google.protobuf.EmptyOrBuilder> getDropTtlSettingsFieldBuilder() { if (dropTtlSettingsBuilder_ == null) { if (!(ttlActionCase_ == 8)) { ttlAction_ = com.google.protobuf.Empty.getDefaultInstance(); } dropTtlSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Empty, com.google.protobuf.Empty.Builder, com.google.protobuf.EmptyOrBuilder>( (com.google.protobuf.Empty) ttlAction_, getParentForChildren(), isClean()); ttlAction_ = null; } ttlActionCase_ = 8; onChanged(); return dropTtlSettingsBuilder_; } private java.util.List addIndexes_ = java.util.Collections.emptyList(); private void ensureAddIndexesIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { addIndexes_ = new java.util.ArrayList(addIndexes_); bitField0_ |= 0x00000100; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.TableIndex, tech.ydb.proto.table.YdbTable.TableIndex.Builder, tech.ydb.proto.table.YdbTable.TableIndexOrBuilder> addIndexesBuilder_; /** *
       * Add secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex add_indexes = 9; */ public java.util.List getAddIndexesList() { if (addIndexesBuilder_ == null) { return java.util.Collections.unmodifiableList(addIndexes_); } else { return addIndexesBuilder_.getMessageList(); } } /** *
       * Add secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex add_indexes = 9; */ public int getAddIndexesCount() { if (addIndexesBuilder_ == null) { return addIndexes_.size(); } else { return addIndexesBuilder_.getCount(); } } /** *
       * Add secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex add_indexes = 9; */ public tech.ydb.proto.table.YdbTable.TableIndex getAddIndexes(int index) { if (addIndexesBuilder_ == null) { return addIndexes_.get(index); } else { return addIndexesBuilder_.getMessage(index); } } /** *
       * Add secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex add_indexes = 9; */ public Builder setAddIndexes( int index, tech.ydb.proto.table.YdbTable.TableIndex value) { if (addIndexesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAddIndexesIsMutable(); addIndexes_.set(index, value); onChanged(); } else { addIndexesBuilder_.setMessage(index, value); } return this; } /** *
       * Add secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex add_indexes = 9; */ public Builder setAddIndexes( int index, tech.ydb.proto.table.YdbTable.TableIndex.Builder builderForValue) { if (addIndexesBuilder_ == null) { ensureAddIndexesIsMutable(); addIndexes_.set(index, builderForValue.build()); onChanged(); } else { addIndexesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Add secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex add_indexes = 9; */ public Builder addAddIndexes(tech.ydb.proto.table.YdbTable.TableIndex value) { if (addIndexesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAddIndexesIsMutable(); addIndexes_.add(value); onChanged(); } else { addIndexesBuilder_.addMessage(value); } return this; } /** *
       * Add secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex add_indexes = 9; */ public Builder addAddIndexes( int index, tech.ydb.proto.table.YdbTable.TableIndex value) { if (addIndexesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAddIndexesIsMutable(); addIndexes_.add(index, value); onChanged(); } else { addIndexesBuilder_.addMessage(index, value); } return this; } /** *
       * Add secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex add_indexes = 9; */ public Builder addAddIndexes( tech.ydb.proto.table.YdbTable.TableIndex.Builder builderForValue) { if (addIndexesBuilder_ == null) { ensureAddIndexesIsMutable(); addIndexes_.add(builderForValue.build()); onChanged(); } else { addIndexesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Add secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex add_indexes = 9; */ public Builder addAddIndexes( int index, tech.ydb.proto.table.YdbTable.TableIndex.Builder builderForValue) { if (addIndexesBuilder_ == null) { ensureAddIndexesIsMutable(); addIndexes_.add(index, builderForValue.build()); onChanged(); } else { addIndexesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Add secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex add_indexes = 9; */ public Builder addAllAddIndexes( java.lang.Iterable values) { if (addIndexesBuilder_ == null) { ensureAddIndexesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, addIndexes_); onChanged(); } else { addIndexesBuilder_.addAllMessages(values); } return this; } /** *
       * Add secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex add_indexes = 9; */ public Builder clearAddIndexes() { if (addIndexesBuilder_ == null) { addIndexes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); } else { addIndexesBuilder_.clear(); } return this; } /** *
       * Add secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex add_indexes = 9; */ public Builder removeAddIndexes(int index) { if (addIndexesBuilder_ == null) { ensureAddIndexesIsMutable(); addIndexes_.remove(index); onChanged(); } else { addIndexesBuilder_.remove(index); } return this; } /** *
       * Add secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex add_indexes = 9; */ public tech.ydb.proto.table.YdbTable.TableIndex.Builder getAddIndexesBuilder( int index) { return getAddIndexesFieldBuilder().getBuilder(index); } /** *
       * Add secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex add_indexes = 9; */ public tech.ydb.proto.table.YdbTable.TableIndexOrBuilder getAddIndexesOrBuilder( int index) { if (addIndexesBuilder_ == null) { return addIndexes_.get(index); } else { return addIndexesBuilder_.getMessageOrBuilder(index); } } /** *
       * Add secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex add_indexes = 9; */ public java.util.List getAddIndexesOrBuilderList() { if (addIndexesBuilder_ != null) { return addIndexesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(addIndexes_); } } /** *
       * Add secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex add_indexes = 9; */ public tech.ydb.proto.table.YdbTable.TableIndex.Builder addAddIndexesBuilder() { return getAddIndexesFieldBuilder().addBuilder( tech.ydb.proto.table.YdbTable.TableIndex.getDefaultInstance()); } /** *
       * Add secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex add_indexes = 9; */ public tech.ydb.proto.table.YdbTable.TableIndex.Builder addAddIndexesBuilder( int index) { return getAddIndexesFieldBuilder().addBuilder( index, tech.ydb.proto.table.YdbTable.TableIndex.getDefaultInstance()); } /** *
       * Add secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex add_indexes = 9; */ public java.util.List getAddIndexesBuilderList() { return getAddIndexesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.TableIndex, tech.ydb.proto.table.YdbTable.TableIndex.Builder, tech.ydb.proto.table.YdbTable.TableIndexOrBuilder> getAddIndexesFieldBuilder() { if (addIndexesBuilder_ == null) { addIndexesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.TableIndex, tech.ydb.proto.table.YdbTable.TableIndex.Builder, tech.ydb.proto.table.YdbTable.TableIndexOrBuilder>( addIndexes_, ((bitField0_ & 0x00000100) != 0), getParentForChildren(), isClean()); addIndexes_ = null; } return addIndexesBuilder_; } private com.google.protobuf.LazyStringArrayList dropIndexes_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureDropIndexesIsMutable() { if (!dropIndexes_.isModifiable()) { dropIndexes_ = new com.google.protobuf.LazyStringArrayList(dropIndexes_); } bitField0_ |= 0x00000200; } /** *
       * Remove secondary indexes
       * 
* * repeated string drop_indexes = 10; * @return A list containing the dropIndexes. */ public com.google.protobuf.ProtocolStringList getDropIndexesList() { dropIndexes_.makeImmutable(); return dropIndexes_; } /** *
       * Remove secondary indexes
       * 
* * repeated string drop_indexes = 10; * @return The count of dropIndexes. */ public int getDropIndexesCount() { return dropIndexes_.size(); } /** *
       * Remove secondary indexes
       * 
* * repeated string drop_indexes = 10; * @param index The index of the element to return. * @return The dropIndexes at the given index. */ public java.lang.String getDropIndexes(int index) { return dropIndexes_.get(index); } /** *
       * Remove secondary indexes
       * 
* * repeated string drop_indexes = 10; * @param index The index of the value to return. * @return The bytes of the dropIndexes at the given index. */ public com.google.protobuf.ByteString getDropIndexesBytes(int index) { return dropIndexes_.getByteString(index); } /** *
       * Remove secondary indexes
       * 
* * repeated string drop_indexes = 10; * @param index The index to set the value at. * @param value The dropIndexes to set. * @return This builder for chaining. */ public Builder setDropIndexes( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDropIndexesIsMutable(); dropIndexes_.set(index, value); bitField0_ |= 0x00000200; onChanged(); return this; } /** *
       * Remove secondary indexes
       * 
* * repeated string drop_indexes = 10; * @param value The dropIndexes to add. * @return This builder for chaining. */ public Builder addDropIndexes( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDropIndexesIsMutable(); dropIndexes_.add(value); bitField0_ |= 0x00000200; onChanged(); return this; } /** *
       * Remove secondary indexes
       * 
* * repeated string drop_indexes = 10; * @param values The dropIndexes to add. * @return This builder for chaining. */ public Builder addAllDropIndexes( java.lang.Iterable values) { ensureDropIndexesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, dropIndexes_); bitField0_ |= 0x00000200; onChanged(); return this; } /** *
       * Remove secondary indexes
       * 
* * repeated string drop_indexes = 10; * @return This builder for chaining. */ public Builder clearDropIndexes() { dropIndexes_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000200);; onChanged(); return this; } /** *
       * Remove secondary indexes
       * 
* * repeated string drop_indexes = 10; * @param value The bytes of the dropIndexes to add. * @return This builder for chaining. */ public Builder addDropIndexesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureDropIndexesIsMutable(); dropIndexes_.add(value); bitField0_ |= 0x00000200; onChanged(); return this; } private tech.ydb.proto.table.YdbTable.StorageSettings alterStorageSettings_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StorageSettings, tech.ydb.proto.table.YdbTable.StorageSettings.Builder, tech.ydb.proto.table.YdbTable.StorageSettingsOrBuilder> alterStorageSettingsBuilder_; /** *
       * Change table storage settings
       * 
* * .Ydb.Table.StorageSettings alter_storage_settings = 11; * @return Whether the alterStorageSettings field is set. */ public boolean hasAlterStorageSettings() { return ((bitField0_ & 0x00000400) != 0); } /** *
       * Change table storage settings
       * 
* * .Ydb.Table.StorageSettings alter_storage_settings = 11; * @return The alterStorageSettings. */ public tech.ydb.proto.table.YdbTable.StorageSettings getAlterStorageSettings() { if (alterStorageSettingsBuilder_ == null) { return alterStorageSettings_ == null ? tech.ydb.proto.table.YdbTable.StorageSettings.getDefaultInstance() : alterStorageSettings_; } else { return alterStorageSettingsBuilder_.getMessage(); } } /** *
       * Change table storage settings
       * 
* * .Ydb.Table.StorageSettings alter_storage_settings = 11; */ public Builder setAlterStorageSettings(tech.ydb.proto.table.YdbTable.StorageSettings value) { if (alterStorageSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } alterStorageSettings_ = value; } else { alterStorageSettingsBuilder_.setMessage(value); } bitField0_ |= 0x00000400; onChanged(); return this; } /** *
       * Change table storage settings
       * 
* * .Ydb.Table.StorageSettings alter_storage_settings = 11; */ public Builder setAlterStorageSettings( tech.ydb.proto.table.YdbTable.StorageSettings.Builder builderForValue) { if (alterStorageSettingsBuilder_ == null) { alterStorageSettings_ = builderForValue.build(); } else { alterStorageSettingsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000400; onChanged(); return this; } /** *
       * Change table storage settings
       * 
* * .Ydb.Table.StorageSettings alter_storage_settings = 11; */ public Builder mergeAlterStorageSettings(tech.ydb.proto.table.YdbTable.StorageSettings value) { if (alterStorageSettingsBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0) && alterStorageSettings_ != null && alterStorageSettings_ != tech.ydb.proto.table.YdbTable.StorageSettings.getDefaultInstance()) { getAlterStorageSettingsBuilder().mergeFrom(value); } else { alterStorageSettings_ = value; } } else { alterStorageSettingsBuilder_.mergeFrom(value); } if (alterStorageSettings_ != null) { bitField0_ |= 0x00000400; onChanged(); } return this; } /** *
       * Change table storage settings
       * 
* * .Ydb.Table.StorageSettings alter_storage_settings = 11; */ public Builder clearAlterStorageSettings() { bitField0_ = (bitField0_ & ~0x00000400); alterStorageSettings_ = null; if (alterStorageSettingsBuilder_ != null) { alterStorageSettingsBuilder_.dispose(); alterStorageSettingsBuilder_ = null; } onChanged(); return this; } /** *
       * Change table storage settings
       * 
* * .Ydb.Table.StorageSettings alter_storage_settings = 11; */ public tech.ydb.proto.table.YdbTable.StorageSettings.Builder getAlterStorageSettingsBuilder() { bitField0_ |= 0x00000400; onChanged(); return getAlterStorageSettingsFieldBuilder().getBuilder(); } /** *
       * Change table storage settings
       * 
* * .Ydb.Table.StorageSettings alter_storage_settings = 11; */ public tech.ydb.proto.table.YdbTable.StorageSettingsOrBuilder getAlterStorageSettingsOrBuilder() { if (alterStorageSettingsBuilder_ != null) { return alterStorageSettingsBuilder_.getMessageOrBuilder(); } else { return alterStorageSettings_ == null ? tech.ydb.proto.table.YdbTable.StorageSettings.getDefaultInstance() : alterStorageSettings_; } } /** *
       * Change table storage settings
       * 
* * .Ydb.Table.StorageSettings alter_storage_settings = 11; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StorageSettings, tech.ydb.proto.table.YdbTable.StorageSettings.Builder, tech.ydb.proto.table.YdbTable.StorageSettingsOrBuilder> getAlterStorageSettingsFieldBuilder() { if (alterStorageSettingsBuilder_ == null) { alterStorageSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StorageSettings, tech.ydb.proto.table.YdbTable.StorageSettings.Builder, tech.ydb.proto.table.YdbTable.StorageSettingsOrBuilder>( getAlterStorageSettings(), getParentForChildren(), isClean()); alterStorageSettings_ = null; } return alterStorageSettingsBuilder_; } private java.util.List addColumnFamilies_ = java.util.Collections.emptyList(); private void ensureAddColumnFamiliesIsMutable() { if (!((bitField0_ & 0x00000800) != 0)) { addColumnFamilies_ = new java.util.ArrayList(addColumnFamilies_); bitField0_ |= 0x00000800; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ColumnFamily, tech.ydb.proto.table.YdbTable.ColumnFamily.Builder, tech.ydb.proto.table.YdbTable.ColumnFamilyOrBuilder> addColumnFamiliesBuilder_; /** *
       * Add/alter column families
       * 
* * repeated .Ydb.Table.ColumnFamily add_column_families = 12; */ public java.util.List getAddColumnFamiliesList() { if (addColumnFamiliesBuilder_ == null) { return java.util.Collections.unmodifiableList(addColumnFamilies_); } else { return addColumnFamiliesBuilder_.getMessageList(); } } /** *
       * Add/alter column families
       * 
* * repeated .Ydb.Table.ColumnFamily add_column_families = 12; */ public int getAddColumnFamiliesCount() { if (addColumnFamiliesBuilder_ == null) { return addColumnFamilies_.size(); } else { return addColumnFamiliesBuilder_.getCount(); } } /** *
       * Add/alter column families
       * 
* * repeated .Ydb.Table.ColumnFamily add_column_families = 12; */ public tech.ydb.proto.table.YdbTable.ColumnFamily getAddColumnFamilies(int index) { if (addColumnFamiliesBuilder_ == null) { return addColumnFamilies_.get(index); } else { return addColumnFamiliesBuilder_.getMessage(index); } } /** *
       * Add/alter column families
       * 
* * repeated .Ydb.Table.ColumnFamily add_column_families = 12; */ public Builder setAddColumnFamilies( int index, tech.ydb.proto.table.YdbTable.ColumnFamily value) { if (addColumnFamiliesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAddColumnFamiliesIsMutable(); addColumnFamilies_.set(index, value); onChanged(); } else { addColumnFamiliesBuilder_.setMessage(index, value); } return this; } /** *
       * Add/alter column families
       * 
* * repeated .Ydb.Table.ColumnFamily add_column_families = 12; */ public Builder setAddColumnFamilies( int index, tech.ydb.proto.table.YdbTable.ColumnFamily.Builder builderForValue) { if (addColumnFamiliesBuilder_ == null) { ensureAddColumnFamiliesIsMutable(); addColumnFamilies_.set(index, builderForValue.build()); onChanged(); } else { addColumnFamiliesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Add/alter column families
       * 
* * repeated .Ydb.Table.ColumnFamily add_column_families = 12; */ public Builder addAddColumnFamilies(tech.ydb.proto.table.YdbTable.ColumnFamily value) { if (addColumnFamiliesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAddColumnFamiliesIsMutable(); addColumnFamilies_.add(value); onChanged(); } else { addColumnFamiliesBuilder_.addMessage(value); } return this; } /** *
       * Add/alter column families
       * 
* * repeated .Ydb.Table.ColumnFamily add_column_families = 12; */ public Builder addAddColumnFamilies( int index, tech.ydb.proto.table.YdbTable.ColumnFamily value) { if (addColumnFamiliesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAddColumnFamiliesIsMutable(); addColumnFamilies_.add(index, value); onChanged(); } else { addColumnFamiliesBuilder_.addMessage(index, value); } return this; } /** *
       * Add/alter column families
       * 
* * repeated .Ydb.Table.ColumnFamily add_column_families = 12; */ public Builder addAddColumnFamilies( tech.ydb.proto.table.YdbTable.ColumnFamily.Builder builderForValue) { if (addColumnFamiliesBuilder_ == null) { ensureAddColumnFamiliesIsMutable(); addColumnFamilies_.add(builderForValue.build()); onChanged(); } else { addColumnFamiliesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Add/alter column families
       * 
* * repeated .Ydb.Table.ColumnFamily add_column_families = 12; */ public Builder addAddColumnFamilies( int index, tech.ydb.proto.table.YdbTable.ColumnFamily.Builder builderForValue) { if (addColumnFamiliesBuilder_ == null) { ensureAddColumnFamiliesIsMutable(); addColumnFamilies_.add(index, builderForValue.build()); onChanged(); } else { addColumnFamiliesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Add/alter column families
       * 
* * repeated .Ydb.Table.ColumnFamily add_column_families = 12; */ public Builder addAllAddColumnFamilies( java.lang.Iterable values) { if (addColumnFamiliesBuilder_ == null) { ensureAddColumnFamiliesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, addColumnFamilies_); onChanged(); } else { addColumnFamiliesBuilder_.addAllMessages(values); } return this; } /** *
       * Add/alter column families
       * 
* * repeated .Ydb.Table.ColumnFamily add_column_families = 12; */ public Builder clearAddColumnFamilies() { if (addColumnFamiliesBuilder_ == null) { addColumnFamilies_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000800); onChanged(); } else { addColumnFamiliesBuilder_.clear(); } return this; } /** *
       * Add/alter column families
       * 
* * repeated .Ydb.Table.ColumnFamily add_column_families = 12; */ public Builder removeAddColumnFamilies(int index) { if (addColumnFamiliesBuilder_ == null) { ensureAddColumnFamiliesIsMutable(); addColumnFamilies_.remove(index); onChanged(); } else { addColumnFamiliesBuilder_.remove(index); } return this; } /** *
       * Add/alter column families
       * 
* * repeated .Ydb.Table.ColumnFamily add_column_families = 12; */ public tech.ydb.proto.table.YdbTable.ColumnFamily.Builder getAddColumnFamiliesBuilder( int index) { return getAddColumnFamiliesFieldBuilder().getBuilder(index); } /** *
       * Add/alter column families
       * 
* * repeated .Ydb.Table.ColumnFamily add_column_families = 12; */ public tech.ydb.proto.table.YdbTable.ColumnFamilyOrBuilder getAddColumnFamiliesOrBuilder( int index) { if (addColumnFamiliesBuilder_ == null) { return addColumnFamilies_.get(index); } else { return addColumnFamiliesBuilder_.getMessageOrBuilder(index); } } /** *
       * Add/alter column families
       * 
* * repeated .Ydb.Table.ColumnFamily add_column_families = 12; */ public java.util.List getAddColumnFamiliesOrBuilderList() { if (addColumnFamiliesBuilder_ != null) { return addColumnFamiliesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(addColumnFamilies_); } } /** *
       * Add/alter column families
       * 
* * repeated .Ydb.Table.ColumnFamily add_column_families = 12; */ public tech.ydb.proto.table.YdbTable.ColumnFamily.Builder addAddColumnFamiliesBuilder() { return getAddColumnFamiliesFieldBuilder().addBuilder( tech.ydb.proto.table.YdbTable.ColumnFamily.getDefaultInstance()); } /** *
       * Add/alter column families
       * 
* * repeated .Ydb.Table.ColumnFamily add_column_families = 12; */ public tech.ydb.proto.table.YdbTable.ColumnFamily.Builder addAddColumnFamiliesBuilder( int index) { return getAddColumnFamiliesFieldBuilder().addBuilder( index, tech.ydb.proto.table.YdbTable.ColumnFamily.getDefaultInstance()); } /** *
       * Add/alter column families
       * 
* * repeated .Ydb.Table.ColumnFamily add_column_families = 12; */ public java.util.List getAddColumnFamiliesBuilderList() { return getAddColumnFamiliesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ColumnFamily, tech.ydb.proto.table.YdbTable.ColumnFamily.Builder, tech.ydb.proto.table.YdbTable.ColumnFamilyOrBuilder> getAddColumnFamiliesFieldBuilder() { if (addColumnFamiliesBuilder_ == null) { addColumnFamiliesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ColumnFamily, tech.ydb.proto.table.YdbTable.ColumnFamily.Builder, tech.ydb.proto.table.YdbTable.ColumnFamilyOrBuilder>( addColumnFamilies_, ((bitField0_ & 0x00000800) != 0), getParentForChildren(), isClean()); addColumnFamilies_ = null; } return addColumnFamiliesBuilder_; } private java.util.List alterColumnFamilies_ = java.util.Collections.emptyList(); private void ensureAlterColumnFamiliesIsMutable() { if (!((bitField0_ & 0x00001000) != 0)) { alterColumnFamilies_ = new java.util.ArrayList(alterColumnFamilies_); bitField0_ |= 0x00001000; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ColumnFamily, tech.ydb.proto.table.YdbTable.ColumnFamily.Builder, tech.ydb.proto.table.YdbTable.ColumnFamilyOrBuilder> alterColumnFamiliesBuilder_; /** * repeated .Ydb.Table.ColumnFamily alter_column_families = 13; */ public java.util.List getAlterColumnFamiliesList() { if (alterColumnFamiliesBuilder_ == null) { return java.util.Collections.unmodifiableList(alterColumnFamilies_); } else { return alterColumnFamiliesBuilder_.getMessageList(); } } /** * repeated .Ydb.Table.ColumnFamily alter_column_families = 13; */ public int getAlterColumnFamiliesCount() { if (alterColumnFamiliesBuilder_ == null) { return alterColumnFamilies_.size(); } else { return alterColumnFamiliesBuilder_.getCount(); } } /** * repeated .Ydb.Table.ColumnFamily alter_column_families = 13; */ public tech.ydb.proto.table.YdbTable.ColumnFamily getAlterColumnFamilies(int index) { if (alterColumnFamiliesBuilder_ == null) { return alterColumnFamilies_.get(index); } else { return alterColumnFamiliesBuilder_.getMessage(index); } } /** * repeated .Ydb.Table.ColumnFamily alter_column_families = 13; */ public Builder setAlterColumnFamilies( int index, tech.ydb.proto.table.YdbTable.ColumnFamily value) { if (alterColumnFamiliesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAlterColumnFamiliesIsMutable(); alterColumnFamilies_.set(index, value); onChanged(); } else { alterColumnFamiliesBuilder_.setMessage(index, value); } return this; } /** * repeated .Ydb.Table.ColumnFamily alter_column_families = 13; */ public Builder setAlterColumnFamilies( int index, tech.ydb.proto.table.YdbTable.ColumnFamily.Builder builderForValue) { if (alterColumnFamiliesBuilder_ == null) { ensureAlterColumnFamiliesIsMutable(); alterColumnFamilies_.set(index, builderForValue.build()); onChanged(); } else { alterColumnFamiliesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .Ydb.Table.ColumnFamily alter_column_families = 13; */ public Builder addAlterColumnFamilies(tech.ydb.proto.table.YdbTable.ColumnFamily value) { if (alterColumnFamiliesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAlterColumnFamiliesIsMutable(); alterColumnFamilies_.add(value); onChanged(); } else { alterColumnFamiliesBuilder_.addMessage(value); } return this; } /** * repeated .Ydb.Table.ColumnFamily alter_column_families = 13; */ public Builder addAlterColumnFamilies( int index, tech.ydb.proto.table.YdbTable.ColumnFamily value) { if (alterColumnFamiliesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAlterColumnFamiliesIsMutable(); alterColumnFamilies_.add(index, value); onChanged(); } else { alterColumnFamiliesBuilder_.addMessage(index, value); } return this; } /** * repeated .Ydb.Table.ColumnFamily alter_column_families = 13; */ public Builder addAlterColumnFamilies( tech.ydb.proto.table.YdbTable.ColumnFamily.Builder builderForValue) { if (alterColumnFamiliesBuilder_ == null) { ensureAlterColumnFamiliesIsMutable(); alterColumnFamilies_.add(builderForValue.build()); onChanged(); } else { alterColumnFamiliesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .Ydb.Table.ColumnFamily alter_column_families = 13; */ public Builder addAlterColumnFamilies( int index, tech.ydb.proto.table.YdbTable.ColumnFamily.Builder builderForValue) { if (alterColumnFamiliesBuilder_ == null) { ensureAlterColumnFamiliesIsMutable(); alterColumnFamilies_.add(index, builderForValue.build()); onChanged(); } else { alterColumnFamiliesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .Ydb.Table.ColumnFamily alter_column_families = 13; */ public Builder addAllAlterColumnFamilies( java.lang.Iterable values) { if (alterColumnFamiliesBuilder_ == null) { ensureAlterColumnFamiliesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, alterColumnFamilies_); onChanged(); } else { alterColumnFamiliesBuilder_.addAllMessages(values); } return this; } /** * repeated .Ydb.Table.ColumnFamily alter_column_families = 13; */ public Builder clearAlterColumnFamilies() { if (alterColumnFamiliesBuilder_ == null) { alterColumnFamilies_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00001000); onChanged(); } else { alterColumnFamiliesBuilder_.clear(); } return this; } /** * repeated .Ydb.Table.ColumnFamily alter_column_families = 13; */ public Builder removeAlterColumnFamilies(int index) { if (alterColumnFamiliesBuilder_ == null) { ensureAlterColumnFamiliesIsMutable(); alterColumnFamilies_.remove(index); onChanged(); } else { alterColumnFamiliesBuilder_.remove(index); } return this; } /** * repeated .Ydb.Table.ColumnFamily alter_column_families = 13; */ public tech.ydb.proto.table.YdbTable.ColumnFamily.Builder getAlterColumnFamiliesBuilder( int index) { return getAlterColumnFamiliesFieldBuilder().getBuilder(index); } /** * repeated .Ydb.Table.ColumnFamily alter_column_families = 13; */ public tech.ydb.proto.table.YdbTable.ColumnFamilyOrBuilder getAlterColumnFamiliesOrBuilder( int index) { if (alterColumnFamiliesBuilder_ == null) { return alterColumnFamilies_.get(index); } else { return alterColumnFamiliesBuilder_.getMessageOrBuilder(index); } } /** * repeated .Ydb.Table.ColumnFamily alter_column_families = 13; */ public java.util.List getAlterColumnFamiliesOrBuilderList() { if (alterColumnFamiliesBuilder_ != null) { return alterColumnFamiliesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(alterColumnFamilies_); } } /** * repeated .Ydb.Table.ColumnFamily alter_column_families = 13; */ public tech.ydb.proto.table.YdbTable.ColumnFamily.Builder addAlterColumnFamiliesBuilder() { return getAlterColumnFamiliesFieldBuilder().addBuilder( tech.ydb.proto.table.YdbTable.ColumnFamily.getDefaultInstance()); } /** * repeated .Ydb.Table.ColumnFamily alter_column_families = 13; */ public tech.ydb.proto.table.YdbTable.ColumnFamily.Builder addAlterColumnFamiliesBuilder( int index) { return getAlterColumnFamiliesFieldBuilder().addBuilder( index, tech.ydb.proto.table.YdbTable.ColumnFamily.getDefaultInstance()); } /** * repeated .Ydb.Table.ColumnFamily alter_column_families = 13; */ public java.util.List getAlterColumnFamiliesBuilderList() { return getAlterColumnFamiliesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ColumnFamily, tech.ydb.proto.table.YdbTable.ColumnFamily.Builder, tech.ydb.proto.table.YdbTable.ColumnFamilyOrBuilder> getAlterColumnFamiliesFieldBuilder() { if (alterColumnFamiliesBuilder_ == null) { alterColumnFamiliesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ColumnFamily, tech.ydb.proto.table.YdbTable.ColumnFamily.Builder, tech.ydb.proto.table.YdbTable.ColumnFamilyOrBuilder>( alterColumnFamilies_, ((bitField0_ & 0x00001000) != 0), getParentForChildren(), isClean()); alterColumnFamilies_ = null; } return alterColumnFamiliesBuilder_; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> alterAttributes_; private com.google.protobuf.MapField internalGetAlterAttributes() { if (alterAttributes_ == null) { return com.google.protobuf.MapField.emptyMapField( AlterAttributesDefaultEntryHolder.defaultEntry); } return alterAttributes_; } private com.google.protobuf.MapField internalGetMutableAlterAttributes() { if (alterAttributes_ == null) { alterAttributes_ = com.google.protobuf.MapField.newMapField( AlterAttributesDefaultEntryHolder.defaultEntry); } if (!alterAttributes_.isMutable()) { alterAttributes_ = alterAttributes_.copy(); } bitField0_ |= 0x00002000; onChanged(); return alterAttributes_; } public int getAlterAttributesCount() { return internalGetAlterAttributes().getMap().size(); } /** *
       * Alter attributes. Leave the value blank to drop an attribute.
       * Cannot be used in combination with other fields (except session_id and path) at the moment.
       * 
* * map<string, string> alter_attributes = 14 [(.Ydb.length) = { ... } */ @java.lang.Override public boolean containsAlterAttributes( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetAlterAttributes().getMap().containsKey(key); } /** * Use {@link #getAlterAttributesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAlterAttributes() { return getAlterAttributesMap(); } /** *
       * Alter attributes. Leave the value blank to drop an attribute.
       * Cannot be used in combination with other fields (except session_id and path) at the moment.
       * 
* * map<string, string> alter_attributes = 14 [(.Ydb.length) = { ... } */ @java.lang.Override public java.util.Map getAlterAttributesMap() { return internalGetAlterAttributes().getMap(); } /** *
       * Alter attributes. Leave the value blank to drop an attribute.
       * Cannot be used in combination with other fields (except session_id and path) at the moment.
       * 
* * map<string, string> alter_attributes = 14 [(.Ydb.length) = { ... } */ @java.lang.Override public /* nullable */ java.lang.String getAlterAttributesOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAlterAttributes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Alter attributes. Leave the value blank to drop an attribute.
       * Cannot be used in combination with other fields (except session_id and path) at the moment.
       * 
* * map<string, string> alter_attributes = 14 [(.Ydb.length) = { ... } */ @java.lang.Override public java.lang.String getAlterAttributesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAlterAttributes().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearAlterAttributes() { bitField0_ = (bitField0_ & ~0x00002000); internalGetMutableAlterAttributes().getMutableMap() .clear(); return this; } /** *
       * Alter attributes. Leave the value blank to drop an attribute.
       * Cannot be used in combination with other fields (except session_id and path) at the moment.
       * 
* * map<string, string> alter_attributes = 14 [(.Ydb.length) = { ... } */ public Builder removeAlterAttributes( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableAlterAttributes().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableAlterAttributes() { bitField0_ |= 0x00002000; return internalGetMutableAlterAttributes().getMutableMap(); } /** *
       * Alter attributes. Leave the value blank to drop an attribute.
       * Cannot be used in combination with other fields (except session_id and path) at the moment.
       * 
* * map<string, string> alter_attributes = 14 [(.Ydb.length) = { ... } */ public Builder putAlterAttributes( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableAlterAttributes().getMutableMap() .put(key, value); bitField0_ |= 0x00002000; return this; } /** *
       * Alter attributes. Leave the value blank to drop an attribute.
       * Cannot be used in combination with other fields (except session_id and path) at the moment.
       * 
* * map<string, string> alter_attributes = 14 [(.Ydb.length) = { ... } */ public Builder putAllAlterAttributes( java.util.Map values) { internalGetMutableAlterAttributes().getMutableMap() .putAll(values); bitField0_ |= 0x00002000; return this; } private java.lang.Object setCompactionPolicy_ = ""; /** *
       * Set predefined named set of settings for table compaction ["default", "small_table", "log_table"].
       * Set "default" to use default preset.
       * 
* * string set_compaction_policy = 15; * @return The setCompactionPolicy. */ public java.lang.String getSetCompactionPolicy() { java.lang.Object ref = setCompactionPolicy_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); setCompactionPolicy_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Set predefined named set of settings for table compaction ["default", "small_table", "log_table"].
       * Set "default" to use default preset.
       * 
* * string set_compaction_policy = 15; * @return The bytes for setCompactionPolicy. */ public com.google.protobuf.ByteString getSetCompactionPolicyBytes() { java.lang.Object ref = setCompactionPolicy_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); setCompactionPolicy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Set predefined named set of settings for table compaction ["default", "small_table", "log_table"].
       * Set "default" to use default preset.
       * 
* * string set_compaction_policy = 15; * @param value The setCompactionPolicy to set. * @return This builder for chaining. */ public Builder setSetCompactionPolicy( java.lang.String value) { if (value == null) { throw new NullPointerException(); } setCompactionPolicy_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** *
       * Set predefined named set of settings for table compaction ["default", "small_table", "log_table"].
       * Set "default" to use default preset.
       * 
* * string set_compaction_policy = 15; * @return This builder for chaining. */ public Builder clearSetCompactionPolicy() { setCompactionPolicy_ = getDefaultInstance().getSetCompactionPolicy(); bitField0_ = (bitField0_ & ~0x00004000); onChanged(); return this; } /** *
       * Set predefined named set of settings for table compaction ["default", "small_table", "log_table"].
       * Set "default" to use default preset.
       * 
* * string set_compaction_policy = 15; * @param value The bytes for setCompactionPolicy to set. * @return This builder for chaining. */ public Builder setSetCompactionPolicyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); setCompactionPolicy_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } private tech.ydb.proto.table.YdbTable.PartitioningSettings alterPartitioningSettings_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.PartitioningSettings, tech.ydb.proto.table.YdbTable.PartitioningSettings.Builder, tech.ydb.proto.table.YdbTable.PartitioningSettingsOrBuilder> alterPartitioningSettingsBuilder_; /** *
       * Change table partitioning settings
       * 
* * .Ydb.Table.PartitioningSettings alter_partitioning_settings = 16; * @return Whether the alterPartitioningSettings field is set. */ public boolean hasAlterPartitioningSettings() { return ((bitField0_ & 0x00008000) != 0); } /** *
       * Change table partitioning settings
       * 
* * .Ydb.Table.PartitioningSettings alter_partitioning_settings = 16; * @return The alterPartitioningSettings. */ public tech.ydb.proto.table.YdbTable.PartitioningSettings getAlterPartitioningSettings() { if (alterPartitioningSettingsBuilder_ == null) { return alterPartitioningSettings_ == null ? tech.ydb.proto.table.YdbTable.PartitioningSettings.getDefaultInstance() : alterPartitioningSettings_; } else { return alterPartitioningSettingsBuilder_.getMessage(); } } /** *
       * Change table partitioning settings
       * 
* * .Ydb.Table.PartitioningSettings alter_partitioning_settings = 16; */ public Builder setAlterPartitioningSettings(tech.ydb.proto.table.YdbTable.PartitioningSettings value) { if (alterPartitioningSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } alterPartitioningSettings_ = value; } else { alterPartitioningSettingsBuilder_.setMessage(value); } bitField0_ |= 0x00008000; onChanged(); return this; } /** *
       * Change table partitioning settings
       * 
* * .Ydb.Table.PartitioningSettings alter_partitioning_settings = 16; */ public Builder setAlterPartitioningSettings( tech.ydb.proto.table.YdbTable.PartitioningSettings.Builder builderForValue) { if (alterPartitioningSettingsBuilder_ == null) { alterPartitioningSettings_ = builderForValue.build(); } else { alterPartitioningSettingsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00008000; onChanged(); return this; } /** *
       * Change table partitioning settings
       * 
* * .Ydb.Table.PartitioningSettings alter_partitioning_settings = 16; */ public Builder mergeAlterPartitioningSettings(tech.ydb.proto.table.YdbTable.PartitioningSettings value) { if (alterPartitioningSettingsBuilder_ == null) { if (((bitField0_ & 0x00008000) != 0) && alterPartitioningSettings_ != null && alterPartitioningSettings_ != tech.ydb.proto.table.YdbTable.PartitioningSettings.getDefaultInstance()) { getAlterPartitioningSettingsBuilder().mergeFrom(value); } else { alterPartitioningSettings_ = value; } } else { alterPartitioningSettingsBuilder_.mergeFrom(value); } if (alterPartitioningSettings_ != null) { bitField0_ |= 0x00008000; onChanged(); } return this; } /** *
       * Change table partitioning settings
       * 
* * .Ydb.Table.PartitioningSettings alter_partitioning_settings = 16; */ public Builder clearAlterPartitioningSettings() { bitField0_ = (bitField0_ & ~0x00008000); alterPartitioningSettings_ = null; if (alterPartitioningSettingsBuilder_ != null) { alterPartitioningSettingsBuilder_.dispose(); alterPartitioningSettingsBuilder_ = null; } onChanged(); return this; } /** *
       * Change table partitioning settings
       * 
* * .Ydb.Table.PartitioningSettings alter_partitioning_settings = 16; */ public tech.ydb.proto.table.YdbTable.PartitioningSettings.Builder getAlterPartitioningSettingsBuilder() { bitField0_ |= 0x00008000; onChanged(); return getAlterPartitioningSettingsFieldBuilder().getBuilder(); } /** *
       * Change table partitioning settings
       * 
* * .Ydb.Table.PartitioningSettings alter_partitioning_settings = 16; */ public tech.ydb.proto.table.YdbTable.PartitioningSettingsOrBuilder getAlterPartitioningSettingsOrBuilder() { if (alterPartitioningSettingsBuilder_ != null) { return alterPartitioningSettingsBuilder_.getMessageOrBuilder(); } else { return alterPartitioningSettings_ == null ? tech.ydb.proto.table.YdbTable.PartitioningSettings.getDefaultInstance() : alterPartitioningSettings_; } } /** *
       * Change table partitioning settings
       * 
* * .Ydb.Table.PartitioningSettings alter_partitioning_settings = 16; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.PartitioningSettings, tech.ydb.proto.table.YdbTable.PartitioningSettings.Builder, tech.ydb.proto.table.YdbTable.PartitioningSettingsOrBuilder> getAlterPartitioningSettingsFieldBuilder() { if (alterPartitioningSettingsBuilder_ == null) { alterPartitioningSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.PartitioningSettings, tech.ydb.proto.table.YdbTable.PartitioningSettings.Builder, tech.ydb.proto.table.YdbTable.PartitioningSettingsOrBuilder>( getAlterPartitioningSettings(), getParentForChildren(), isClean()); alterPartitioningSettings_ = null; } return alterPartitioningSettingsBuilder_; } private int setKeyBloomFilter_ = 0; /** *
       * Enable/disable bloom filter by key
       * 
* * .Ydb.FeatureFlag.Status set_key_bloom_filter = 17; * @return The enum numeric value on the wire for setKeyBloomFilter. */ @java.lang.Override public int getSetKeyBloomFilterValue() { return setKeyBloomFilter_; } /** *
       * Enable/disable bloom filter by key
       * 
* * .Ydb.FeatureFlag.Status set_key_bloom_filter = 17; * @param value The enum numeric value on the wire for setKeyBloomFilter to set. * @return This builder for chaining. */ public Builder setSetKeyBloomFilterValue(int value) { setKeyBloomFilter_ = value; bitField0_ |= 0x00010000; onChanged(); return this; } /** *
       * Enable/disable bloom filter by key
       * 
* * .Ydb.FeatureFlag.Status set_key_bloom_filter = 17; * @return The setKeyBloomFilter. */ @java.lang.Override public tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getSetKeyBloomFilter() { tech.ydb.proto.common.CommonProtos.FeatureFlag.Status result = tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.forNumber(setKeyBloomFilter_); return result == null ? tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } /** *
       * Enable/disable bloom filter by key
       * 
* * .Ydb.FeatureFlag.Status set_key_bloom_filter = 17; * @param value The setKeyBloomFilter to set. * @return This builder for chaining. */ public Builder setSetKeyBloomFilter(tech.ydb.proto.common.CommonProtos.FeatureFlag.Status value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00010000; setKeyBloomFilter_ = value.getNumber(); onChanged(); return this; } /** *
       * Enable/disable bloom filter by key
       * 
* * .Ydb.FeatureFlag.Status set_key_bloom_filter = 17; * @return This builder for chaining. */ public Builder clearSetKeyBloomFilter() { bitField0_ = (bitField0_ & ~0x00010000); setKeyBloomFilter_ = 0; onChanged(); return this; } private tech.ydb.proto.table.YdbTable.ReadReplicasSettings setReadReplicasSettings_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.ReadReplicasSettings, tech.ydb.proto.table.YdbTable.ReadReplicasSettings.Builder, tech.ydb.proto.table.YdbTable.ReadReplicasSettingsOrBuilder> setReadReplicasSettingsBuilder_; /** *
       * Set read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings set_read_replicas_settings = 18; * @return Whether the setReadReplicasSettings field is set. */ public boolean hasSetReadReplicasSettings() { return ((bitField0_ & 0x00020000) != 0); } /** *
       * Set read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings set_read_replicas_settings = 18; * @return The setReadReplicasSettings. */ public tech.ydb.proto.table.YdbTable.ReadReplicasSettings getSetReadReplicasSettings() { if (setReadReplicasSettingsBuilder_ == null) { return setReadReplicasSettings_ == null ? tech.ydb.proto.table.YdbTable.ReadReplicasSettings.getDefaultInstance() : setReadReplicasSettings_; } else { return setReadReplicasSettingsBuilder_.getMessage(); } } /** *
       * Set read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings set_read_replicas_settings = 18; */ public Builder setSetReadReplicasSettings(tech.ydb.proto.table.YdbTable.ReadReplicasSettings value) { if (setReadReplicasSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } setReadReplicasSettings_ = value; } else { setReadReplicasSettingsBuilder_.setMessage(value); } bitField0_ |= 0x00020000; onChanged(); return this; } /** *
       * Set read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings set_read_replicas_settings = 18; */ public Builder setSetReadReplicasSettings( tech.ydb.proto.table.YdbTable.ReadReplicasSettings.Builder builderForValue) { if (setReadReplicasSettingsBuilder_ == null) { setReadReplicasSettings_ = builderForValue.build(); } else { setReadReplicasSettingsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00020000; onChanged(); return this; } /** *
       * Set read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings set_read_replicas_settings = 18; */ public Builder mergeSetReadReplicasSettings(tech.ydb.proto.table.YdbTable.ReadReplicasSettings value) { if (setReadReplicasSettingsBuilder_ == null) { if (((bitField0_ & 0x00020000) != 0) && setReadReplicasSettings_ != null && setReadReplicasSettings_ != tech.ydb.proto.table.YdbTable.ReadReplicasSettings.getDefaultInstance()) { getSetReadReplicasSettingsBuilder().mergeFrom(value); } else { setReadReplicasSettings_ = value; } } else { setReadReplicasSettingsBuilder_.mergeFrom(value); } if (setReadReplicasSettings_ != null) { bitField0_ |= 0x00020000; onChanged(); } return this; } /** *
       * Set read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings set_read_replicas_settings = 18; */ public Builder clearSetReadReplicasSettings() { bitField0_ = (bitField0_ & ~0x00020000); setReadReplicasSettings_ = null; if (setReadReplicasSettingsBuilder_ != null) { setReadReplicasSettingsBuilder_.dispose(); setReadReplicasSettingsBuilder_ = null; } onChanged(); return this; } /** *
       * Set read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings set_read_replicas_settings = 18; */ public tech.ydb.proto.table.YdbTable.ReadReplicasSettings.Builder getSetReadReplicasSettingsBuilder() { bitField0_ |= 0x00020000; onChanged(); return getSetReadReplicasSettingsFieldBuilder().getBuilder(); } /** *
       * Set read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings set_read_replicas_settings = 18; */ public tech.ydb.proto.table.YdbTable.ReadReplicasSettingsOrBuilder getSetReadReplicasSettingsOrBuilder() { if (setReadReplicasSettingsBuilder_ != null) { return setReadReplicasSettingsBuilder_.getMessageOrBuilder(); } else { return setReadReplicasSettings_ == null ? tech.ydb.proto.table.YdbTable.ReadReplicasSettings.getDefaultInstance() : setReadReplicasSettings_; } } /** *
       * Set read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings set_read_replicas_settings = 18; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.ReadReplicasSettings, tech.ydb.proto.table.YdbTable.ReadReplicasSettings.Builder, tech.ydb.proto.table.YdbTable.ReadReplicasSettingsOrBuilder> getSetReadReplicasSettingsFieldBuilder() { if (setReadReplicasSettingsBuilder_ == null) { setReadReplicasSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.ReadReplicasSettings, tech.ydb.proto.table.YdbTable.ReadReplicasSettings.Builder, tech.ydb.proto.table.YdbTable.ReadReplicasSettingsOrBuilder>( getSetReadReplicasSettings(), getParentForChildren(), isClean()); setReadReplicasSettings_ = null; } return setReadReplicasSettingsBuilder_; } private java.util.List addChangefeeds_ = java.util.Collections.emptyList(); private void ensureAddChangefeedsIsMutable() { if (!((bitField0_ & 0x00040000) != 0)) { addChangefeeds_ = new java.util.ArrayList(addChangefeeds_); bitField0_ |= 0x00040000; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.Changefeed, tech.ydb.proto.table.YdbTable.Changefeed.Builder, tech.ydb.proto.table.YdbTable.ChangefeedOrBuilder> addChangefeedsBuilder_; /** *
       * Add change feeds
       * 
* * repeated .Ydb.Table.Changefeed add_changefeeds = 19; */ public java.util.List getAddChangefeedsList() { if (addChangefeedsBuilder_ == null) { return java.util.Collections.unmodifiableList(addChangefeeds_); } else { return addChangefeedsBuilder_.getMessageList(); } } /** *
       * Add change feeds
       * 
* * repeated .Ydb.Table.Changefeed add_changefeeds = 19; */ public int getAddChangefeedsCount() { if (addChangefeedsBuilder_ == null) { return addChangefeeds_.size(); } else { return addChangefeedsBuilder_.getCount(); } } /** *
       * Add change feeds
       * 
* * repeated .Ydb.Table.Changefeed add_changefeeds = 19; */ public tech.ydb.proto.table.YdbTable.Changefeed getAddChangefeeds(int index) { if (addChangefeedsBuilder_ == null) { return addChangefeeds_.get(index); } else { return addChangefeedsBuilder_.getMessage(index); } } /** *
       * Add change feeds
       * 
* * repeated .Ydb.Table.Changefeed add_changefeeds = 19; */ public Builder setAddChangefeeds( int index, tech.ydb.proto.table.YdbTable.Changefeed value) { if (addChangefeedsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAddChangefeedsIsMutable(); addChangefeeds_.set(index, value); onChanged(); } else { addChangefeedsBuilder_.setMessage(index, value); } return this; } /** *
       * Add change feeds
       * 
* * repeated .Ydb.Table.Changefeed add_changefeeds = 19; */ public Builder setAddChangefeeds( int index, tech.ydb.proto.table.YdbTable.Changefeed.Builder builderForValue) { if (addChangefeedsBuilder_ == null) { ensureAddChangefeedsIsMutable(); addChangefeeds_.set(index, builderForValue.build()); onChanged(); } else { addChangefeedsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Add change feeds
       * 
* * repeated .Ydb.Table.Changefeed add_changefeeds = 19; */ public Builder addAddChangefeeds(tech.ydb.proto.table.YdbTable.Changefeed value) { if (addChangefeedsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAddChangefeedsIsMutable(); addChangefeeds_.add(value); onChanged(); } else { addChangefeedsBuilder_.addMessage(value); } return this; } /** *
       * Add change feeds
       * 
* * repeated .Ydb.Table.Changefeed add_changefeeds = 19; */ public Builder addAddChangefeeds( int index, tech.ydb.proto.table.YdbTable.Changefeed value) { if (addChangefeedsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAddChangefeedsIsMutable(); addChangefeeds_.add(index, value); onChanged(); } else { addChangefeedsBuilder_.addMessage(index, value); } return this; } /** *
       * Add change feeds
       * 
* * repeated .Ydb.Table.Changefeed add_changefeeds = 19; */ public Builder addAddChangefeeds( tech.ydb.proto.table.YdbTable.Changefeed.Builder builderForValue) { if (addChangefeedsBuilder_ == null) { ensureAddChangefeedsIsMutable(); addChangefeeds_.add(builderForValue.build()); onChanged(); } else { addChangefeedsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Add change feeds
       * 
* * repeated .Ydb.Table.Changefeed add_changefeeds = 19; */ public Builder addAddChangefeeds( int index, tech.ydb.proto.table.YdbTable.Changefeed.Builder builderForValue) { if (addChangefeedsBuilder_ == null) { ensureAddChangefeedsIsMutable(); addChangefeeds_.add(index, builderForValue.build()); onChanged(); } else { addChangefeedsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Add change feeds
       * 
* * repeated .Ydb.Table.Changefeed add_changefeeds = 19; */ public Builder addAllAddChangefeeds( java.lang.Iterable values) { if (addChangefeedsBuilder_ == null) { ensureAddChangefeedsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, addChangefeeds_); onChanged(); } else { addChangefeedsBuilder_.addAllMessages(values); } return this; } /** *
       * Add change feeds
       * 
* * repeated .Ydb.Table.Changefeed add_changefeeds = 19; */ public Builder clearAddChangefeeds() { if (addChangefeedsBuilder_ == null) { addChangefeeds_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00040000); onChanged(); } else { addChangefeedsBuilder_.clear(); } return this; } /** *
       * Add change feeds
       * 
* * repeated .Ydb.Table.Changefeed add_changefeeds = 19; */ public Builder removeAddChangefeeds(int index) { if (addChangefeedsBuilder_ == null) { ensureAddChangefeedsIsMutable(); addChangefeeds_.remove(index); onChanged(); } else { addChangefeedsBuilder_.remove(index); } return this; } /** *
       * Add change feeds
       * 
* * repeated .Ydb.Table.Changefeed add_changefeeds = 19; */ public tech.ydb.proto.table.YdbTable.Changefeed.Builder getAddChangefeedsBuilder( int index) { return getAddChangefeedsFieldBuilder().getBuilder(index); } /** *
       * Add change feeds
       * 
* * repeated .Ydb.Table.Changefeed add_changefeeds = 19; */ public tech.ydb.proto.table.YdbTable.ChangefeedOrBuilder getAddChangefeedsOrBuilder( int index) { if (addChangefeedsBuilder_ == null) { return addChangefeeds_.get(index); } else { return addChangefeedsBuilder_.getMessageOrBuilder(index); } } /** *
       * Add change feeds
       * 
* * repeated .Ydb.Table.Changefeed add_changefeeds = 19; */ public java.util.List getAddChangefeedsOrBuilderList() { if (addChangefeedsBuilder_ != null) { return addChangefeedsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(addChangefeeds_); } } /** *
       * Add change feeds
       * 
* * repeated .Ydb.Table.Changefeed add_changefeeds = 19; */ public tech.ydb.proto.table.YdbTable.Changefeed.Builder addAddChangefeedsBuilder() { return getAddChangefeedsFieldBuilder().addBuilder( tech.ydb.proto.table.YdbTable.Changefeed.getDefaultInstance()); } /** *
       * Add change feeds
       * 
* * repeated .Ydb.Table.Changefeed add_changefeeds = 19; */ public tech.ydb.proto.table.YdbTable.Changefeed.Builder addAddChangefeedsBuilder( int index) { return getAddChangefeedsFieldBuilder().addBuilder( index, tech.ydb.proto.table.YdbTable.Changefeed.getDefaultInstance()); } /** *
       * Add change feeds
       * 
* * repeated .Ydb.Table.Changefeed add_changefeeds = 19; */ public java.util.List getAddChangefeedsBuilderList() { return getAddChangefeedsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.Changefeed, tech.ydb.proto.table.YdbTable.Changefeed.Builder, tech.ydb.proto.table.YdbTable.ChangefeedOrBuilder> getAddChangefeedsFieldBuilder() { if (addChangefeedsBuilder_ == null) { addChangefeedsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.Changefeed, tech.ydb.proto.table.YdbTable.Changefeed.Builder, tech.ydb.proto.table.YdbTable.ChangefeedOrBuilder>( addChangefeeds_, ((bitField0_ & 0x00040000) != 0), getParentForChildren(), isClean()); addChangefeeds_ = null; } return addChangefeedsBuilder_; } private com.google.protobuf.LazyStringArrayList dropChangefeeds_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureDropChangefeedsIsMutable() { if (!dropChangefeeds_.isModifiable()) { dropChangefeeds_ = new com.google.protobuf.LazyStringArrayList(dropChangefeeds_); } bitField0_ |= 0x00080000; } /** *
       * Remove change feeds (by its names)
       * 
* * repeated string drop_changefeeds = 20; * @return A list containing the dropChangefeeds. */ public com.google.protobuf.ProtocolStringList getDropChangefeedsList() { dropChangefeeds_.makeImmutable(); return dropChangefeeds_; } /** *
       * Remove change feeds (by its names)
       * 
* * repeated string drop_changefeeds = 20; * @return The count of dropChangefeeds. */ public int getDropChangefeedsCount() { return dropChangefeeds_.size(); } /** *
       * Remove change feeds (by its names)
       * 
* * repeated string drop_changefeeds = 20; * @param index The index of the element to return. * @return The dropChangefeeds at the given index. */ public java.lang.String getDropChangefeeds(int index) { return dropChangefeeds_.get(index); } /** *
       * Remove change feeds (by its names)
       * 
* * repeated string drop_changefeeds = 20; * @param index The index of the value to return. * @return The bytes of the dropChangefeeds at the given index. */ public com.google.protobuf.ByteString getDropChangefeedsBytes(int index) { return dropChangefeeds_.getByteString(index); } /** *
       * Remove change feeds (by its names)
       * 
* * repeated string drop_changefeeds = 20; * @param index The index to set the value at. * @param value The dropChangefeeds to set. * @return This builder for chaining. */ public Builder setDropChangefeeds( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDropChangefeedsIsMutable(); dropChangefeeds_.set(index, value); bitField0_ |= 0x00080000; onChanged(); return this; } /** *
       * Remove change feeds (by its names)
       * 
* * repeated string drop_changefeeds = 20; * @param value The dropChangefeeds to add. * @return This builder for chaining. */ public Builder addDropChangefeeds( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDropChangefeedsIsMutable(); dropChangefeeds_.add(value); bitField0_ |= 0x00080000; onChanged(); return this; } /** *
       * Remove change feeds (by its names)
       * 
* * repeated string drop_changefeeds = 20; * @param values The dropChangefeeds to add. * @return This builder for chaining. */ public Builder addAllDropChangefeeds( java.lang.Iterable values) { ensureDropChangefeedsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, dropChangefeeds_); bitField0_ |= 0x00080000; onChanged(); return this; } /** *
       * Remove change feeds (by its names)
       * 
* * repeated string drop_changefeeds = 20; * @return This builder for chaining. */ public Builder clearDropChangefeeds() { dropChangefeeds_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00080000);; onChanged(); return this; } /** *
       * Remove change feeds (by its names)
       * 
* * repeated string drop_changefeeds = 20; * @param value The bytes of the dropChangefeeds to add. * @return This builder for chaining. */ public Builder addDropChangefeedsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureDropChangefeedsIsMutable(); dropChangefeeds_.add(value); bitField0_ |= 0x00080000; onChanged(); return this; } private java.util.List renameIndexes_ = java.util.Collections.emptyList(); private void ensureRenameIndexesIsMutable() { if (!((bitField0_ & 0x00100000) != 0)) { renameIndexes_ = new java.util.ArrayList(renameIndexes_); bitField0_ |= 0x00100000; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.RenameIndexItem, tech.ydb.proto.table.YdbTable.RenameIndexItem.Builder, tech.ydb.proto.table.YdbTable.RenameIndexItemOrBuilder> renameIndexesBuilder_; /** *
       * Rename existed index
       * 
* * repeated .Ydb.Table.RenameIndexItem rename_indexes = 21; */ public java.util.List getRenameIndexesList() { if (renameIndexesBuilder_ == null) { return java.util.Collections.unmodifiableList(renameIndexes_); } else { return renameIndexesBuilder_.getMessageList(); } } /** *
       * Rename existed index
       * 
* * repeated .Ydb.Table.RenameIndexItem rename_indexes = 21; */ public int getRenameIndexesCount() { if (renameIndexesBuilder_ == null) { return renameIndexes_.size(); } else { return renameIndexesBuilder_.getCount(); } } /** *
       * Rename existed index
       * 
* * repeated .Ydb.Table.RenameIndexItem rename_indexes = 21; */ public tech.ydb.proto.table.YdbTable.RenameIndexItem getRenameIndexes(int index) { if (renameIndexesBuilder_ == null) { return renameIndexes_.get(index); } else { return renameIndexesBuilder_.getMessage(index); } } /** *
       * Rename existed index
       * 
* * repeated .Ydb.Table.RenameIndexItem rename_indexes = 21; */ public Builder setRenameIndexes( int index, tech.ydb.proto.table.YdbTable.RenameIndexItem value) { if (renameIndexesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRenameIndexesIsMutable(); renameIndexes_.set(index, value); onChanged(); } else { renameIndexesBuilder_.setMessage(index, value); } return this; } /** *
       * Rename existed index
       * 
* * repeated .Ydb.Table.RenameIndexItem rename_indexes = 21; */ public Builder setRenameIndexes( int index, tech.ydb.proto.table.YdbTable.RenameIndexItem.Builder builderForValue) { if (renameIndexesBuilder_ == null) { ensureRenameIndexesIsMutable(); renameIndexes_.set(index, builderForValue.build()); onChanged(); } else { renameIndexesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Rename existed index
       * 
* * repeated .Ydb.Table.RenameIndexItem rename_indexes = 21; */ public Builder addRenameIndexes(tech.ydb.proto.table.YdbTable.RenameIndexItem value) { if (renameIndexesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRenameIndexesIsMutable(); renameIndexes_.add(value); onChanged(); } else { renameIndexesBuilder_.addMessage(value); } return this; } /** *
       * Rename existed index
       * 
* * repeated .Ydb.Table.RenameIndexItem rename_indexes = 21; */ public Builder addRenameIndexes( int index, tech.ydb.proto.table.YdbTable.RenameIndexItem value) { if (renameIndexesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRenameIndexesIsMutable(); renameIndexes_.add(index, value); onChanged(); } else { renameIndexesBuilder_.addMessage(index, value); } return this; } /** *
       * Rename existed index
       * 
* * repeated .Ydb.Table.RenameIndexItem rename_indexes = 21; */ public Builder addRenameIndexes( tech.ydb.proto.table.YdbTable.RenameIndexItem.Builder builderForValue) { if (renameIndexesBuilder_ == null) { ensureRenameIndexesIsMutable(); renameIndexes_.add(builderForValue.build()); onChanged(); } else { renameIndexesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Rename existed index
       * 
* * repeated .Ydb.Table.RenameIndexItem rename_indexes = 21; */ public Builder addRenameIndexes( int index, tech.ydb.proto.table.YdbTable.RenameIndexItem.Builder builderForValue) { if (renameIndexesBuilder_ == null) { ensureRenameIndexesIsMutable(); renameIndexes_.add(index, builderForValue.build()); onChanged(); } else { renameIndexesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Rename existed index
       * 
* * repeated .Ydb.Table.RenameIndexItem rename_indexes = 21; */ public Builder addAllRenameIndexes( java.lang.Iterable values) { if (renameIndexesBuilder_ == null) { ensureRenameIndexesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, renameIndexes_); onChanged(); } else { renameIndexesBuilder_.addAllMessages(values); } return this; } /** *
       * Rename existed index
       * 
* * repeated .Ydb.Table.RenameIndexItem rename_indexes = 21; */ public Builder clearRenameIndexes() { if (renameIndexesBuilder_ == null) { renameIndexes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00100000); onChanged(); } else { renameIndexesBuilder_.clear(); } return this; } /** *
       * Rename existed index
       * 
* * repeated .Ydb.Table.RenameIndexItem rename_indexes = 21; */ public Builder removeRenameIndexes(int index) { if (renameIndexesBuilder_ == null) { ensureRenameIndexesIsMutable(); renameIndexes_.remove(index); onChanged(); } else { renameIndexesBuilder_.remove(index); } return this; } /** *
       * Rename existed index
       * 
* * repeated .Ydb.Table.RenameIndexItem rename_indexes = 21; */ public tech.ydb.proto.table.YdbTable.RenameIndexItem.Builder getRenameIndexesBuilder( int index) { return getRenameIndexesFieldBuilder().getBuilder(index); } /** *
       * Rename existed index
       * 
* * repeated .Ydb.Table.RenameIndexItem rename_indexes = 21; */ public tech.ydb.proto.table.YdbTable.RenameIndexItemOrBuilder getRenameIndexesOrBuilder( int index) { if (renameIndexesBuilder_ == null) { return renameIndexes_.get(index); } else { return renameIndexesBuilder_.getMessageOrBuilder(index); } } /** *
       * Rename existed index
       * 
* * repeated .Ydb.Table.RenameIndexItem rename_indexes = 21; */ public java.util.List getRenameIndexesOrBuilderList() { if (renameIndexesBuilder_ != null) { return renameIndexesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(renameIndexes_); } } /** *
       * Rename existed index
       * 
* * repeated .Ydb.Table.RenameIndexItem rename_indexes = 21; */ public tech.ydb.proto.table.YdbTable.RenameIndexItem.Builder addRenameIndexesBuilder() { return getRenameIndexesFieldBuilder().addBuilder( tech.ydb.proto.table.YdbTable.RenameIndexItem.getDefaultInstance()); } /** *
       * Rename existed index
       * 
* * repeated .Ydb.Table.RenameIndexItem rename_indexes = 21; */ public tech.ydb.proto.table.YdbTable.RenameIndexItem.Builder addRenameIndexesBuilder( int index) { return getRenameIndexesFieldBuilder().addBuilder( index, tech.ydb.proto.table.YdbTable.RenameIndexItem.getDefaultInstance()); } /** *
       * Rename existed index
       * 
* * repeated .Ydb.Table.RenameIndexItem rename_indexes = 21; */ public java.util.List getRenameIndexesBuilderList() { return getRenameIndexesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.RenameIndexItem, tech.ydb.proto.table.YdbTable.RenameIndexItem.Builder, tech.ydb.proto.table.YdbTable.RenameIndexItemOrBuilder> getRenameIndexesFieldBuilder() { if (renameIndexesBuilder_ == null) { renameIndexesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.RenameIndexItem, tech.ydb.proto.table.YdbTable.RenameIndexItem.Builder, tech.ydb.proto.table.YdbTable.RenameIndexItemOrBuilder>( renameIndexes_, ((bitField0_ & 0x00100000) != 0), getParentForChildren(), isClean()); renameIndexes_ = null; } return renameIndexesBuilder_; } /** * string set_tiering = 22; * @return Whether the setTiering field is set. */ @java.lang.Override public boolean hasSetTiering() { return tieringActionCase_ == 22; } /** * string set_tiering = 22; * @return The setTiering. */ @java.lang.Override public java.lang.String getSetTiering() { java.lang.Object ref = ""; if (tieringActionCase_ == 22) { ref = tieringAction_; } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (tieringActionCase_ == 22) { tieringAction_ = s; } return s; } else { return (java.lang.String) ref; } } /** * string set_tiering = 22; * @return The bytes for setTiering. */ @java.lang.Override public com.google.protobuf.ByteString getSetTieringBytes() { java.lang.Object ref = ""; if (tieringActionCase_ == 22) { ref = tieringAction_; } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (tieringActionCase_ == 22) { tieringAction_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string set_tiering = 22; * @param value The setTiering to set. * @return This builder for chaining. */ public Builder setSetTiering( java.lang.String value) { if (value == null) { throw new NullPointerException(); } tieringActionCase_ = 22; tieringAction_ = value; onChanged(); return this; } /** * string set_tiering = 22; * @return This builder for chaining. */ public Builder clearSetTiering() { if (tieringActionCase_ == 22) { tieringActionCase_ = 0; tieringAction_ = null; onChanged(); } return this; } /** * string set_tiering = 22; * @param value The bytes for setTiering to set. * @return This builder for chaining. */ public Builder setSetTieringBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tieringActionCase_ = 22; tieringAction_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Empty, com.google.protobuf.Empty.Builder, com.google.protobuf.EmptyOrBuilder> dropTieringBuilder_; /** * .google.protobuf.Empty drop_tiering = 23; * @return Whether the dropTiering field is set. */ @java.lang.Override public boolean hasDropTiering() { return tieringActionCase_ == 23; } /** * .google.protobuf.Empty drop_tiering = 23; * @return The dropTiering. */ @java.lang.Override public com.google.protobuf.Empty getDropTiering() { if (dropTieringBuilder_ == null) { if (tieringActionCase_ == 23) { return (com.google.protobuf.Empty) tieringAction_; } return com.google.protobuf.Empty.getDefaultInstance(); } else { if (tieringActionCase_ == 23) { return dropTieringBuilder_.getMessage(); } return com.google.protobuf.Empty.getDefaultInstance(); } } /** * .google.protobuf.Empty drop_tiering = 23; */ public Builder setDropTiering(com.google.protobuf.Empty value) { if (dropTieringBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tieringAction_ = value; onChanged(); } else { dropTieringBuilder_.setMessage(value); } tieringActionCase_ = 23; return this; } /** * .google.protobuf.Empty drop_tiering = 23; */ public Builder setDropTiering( com.google.protobuf.Empty.Builder builderForValue) { if (dropTieringBuilder_ == null) { tieringAction_ = builderForValue.build(); onChanged(); } else { dropTieringBuilder_.setMessage(builderForValue.build()); } tieringActionCase_ = 23; return this; } /** * .google.protobuf.Empty drop_tiering = 23; */ public Builder mergeDropTiering(com.google.protobuf.Empty value) { if (dropTieringBuilder_ == null) { if (tieringActionCase_ == 23 && tieringAction_ != com.google.protobuf.Empty.getDefaultInstance()) { tieringAction_ = com.google.protobuf.Empty.newBuilder((com.google.protobuf.Empty) tieringAction_) .mergeFrom(value).buildPartial(); } else { tieringAction_ = value; } onChanged(); } else { if (tieringActionCase_ == 23) { dropTieringBuilder_.mergeFrom(value); } else { dropTieringBuilder_.setMessage(value); } } tieringActionCase_ = 23; return this; } /** * .google.protobuf.Empty drop_tiering = 23; */ public Builder clearDropTiering() { if (dropTieringBuilder_ == null) { if (tieringActionCase_ == 23) { tieringActionCase_ = 0; tieringAction_ = null; onChanged(); } } else { if (tieringActionCase_ == 23) { tieringActionCase_ = 0; tieringAction_ = null; } dropTieringBuilder_.clear(); } return this; } /** * .google.protobuf.Empty drop_tiering = 23; */ public com.google.protobuf.Empty.Builder getDropTieringBuilder() { return getDropTieringFieldBuilder().getBuilder(); } /** * .google.protobuf.Empty drop_tiering = 23; */ @java.lang.Override public com.google.protobuf.EmptyOrBuilder getDropTieringOrBuilder() { if ((tieringActionCase_ == 23) && (dropTieringBuilder_ != null)) { return dropTieringBuilder_.getMessageOrBuilder(); } else { if (tieringActionCase_ == 23) { return (com.google.protobuf.Empty) tieringAction_; } return com.google.protobuf.Empty.getDefaultInstance(); } } /** * .google.protobuf.Empty drop_tiering = 23; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Empty, com.google.protobuf.Empty.Builder, com.google.protobuf.EmptyOrBuilder> getDropTieringFieldBuilder() { if (dropTieringBuilder_ == null) { if (!(tieringActionCase_ == 23)) { tieringAction_ = com.google.protobuf.Empty.getDefaultInstance(); } dropTieringBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Empty, com.google.protobuf.Empty.Builder, com.google.protobuf.EmptyOrBuilder>( (com.google.protobuf.Empty) tieringAction_, getParentForChildren(), isClean()); tieringAction_ = null; } tieringActionCase_ = 23; onChanged(); return dropTieringBuilder_; } @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.Table.AlterTableRequest) } // @@protoc_insertion_point(class_scope:Ydb.Table.AlterTableRequest) private static final tech.ydb.proto.table.YdbTable.AlterTableRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.AlterTableRequest(); } public static tech.ydb.proto.table.YdbTable.AlterTableRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AlterTableRequest 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.table.YdbTable.AlterTableRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AlterTableResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.AlterTableResponse) 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.Table.AlterTableResponse} */ public static final class AlterTableResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.AlterTableResponse) AlterTableResponseOrBuilder { private static final long serialVersionUID = 0L; // Use AlterTableResponse.newBuilder() to construct. private AlterTableResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AlterTableResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AlterTableResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_AlterTableResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_AlterTableResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.AlterTableResponse.class, tech.ydb.proto.table.YdbTable.AlterTableResponse.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.table.YdbTable.AlterTableResponse)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.AlterTableResponse other = (tech.ydb.proto.table.YdbTable.AlterTableResponse) 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.table.YdbTable.AlterTableResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.AlterTableResponse 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.table.YdbTable.AlterTableResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.AlterTableResponse 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.table.YdbTable.AlterTableResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.AlterTableResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.AlterTableResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.AlterTableResponse 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.table.YdbTable.AlterTableResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.AlterTableResponse 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.table.YdbTable.AlterTableResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.AlterTableResponse 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.table.YdbTable.AlterTableResponse 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.Table.AlterTableResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.AlterTableResponse) tech.ydb.proto.table.YdbTable.AlterTableResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_AlterTableResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_AlterTableResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.AlterTableResponse.class, tech.ydb.proto.table.YdbTable.AlterTableResponse.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.AlterTableResponse.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.table.YdbTable.internal_static_Ydb_Table_AlterTableResponse_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.AlterTableResponse getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.AlterTableResponse.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.AlterTableResponse build() { tech.ydb.proto.table.YdbTable.AlterTableResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.AlterTableResponse buildPartial() { tech.ydb.proto.table.YdbTable.AlterTableResponse result = new tech.ydb.proto.table.YdbTable.AlterTableResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.AlterTableResponse 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.table.YdbTable.AlterTableResponse) { return mergeFrom((tech.ydb.proto.table.YdbTable.AlterTableResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.AlterTableResponse other) { if (other == tech.ydb.proto.table.YdbTable.AlterTableResponse.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.Table.AlterTableResponse) } // @@protoc_insertion_point(class_scope:Ydb.Table.AlterTableResponse) private static final tech.ydb.proto.table.YdbTable.AlterTableResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.AlterTableResponse(); } public static tech.ydb.proto.table.YdbTable.AlterTableResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AlterTableResponse 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.table.YdbTable.AlterTableResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CopyTableRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.CopyTableRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ java.lang.String getSessionId(); /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ com.google.protobuf.ByteString getSessionIdBytes(); /** *
     * Copy from path
     * 
* * string source_path = 2; * @return The sourcePath. */ java.lang.String getSourcePath(); /** *
     * Copy from path
     * 
* * string source_path = 2; * @return The bytes for sourcePath. */ com.google.protobuf.ByteString getSourcePathBytes(); /** *
     * Copy to path
     * 
* * string destination_path = 3; * @return The destinationPath. */ java.lang.String getDestinationPath(); /** *
     * Copy to path
     * 
* * string destination_path = 3; * @return The bytes for destinationPath. */ com.google.protobuf.ByteString getDestinationPathBytes(); /** * .Ydb.Operations.OperationParams operation_params = 4; * @return Whether the operationParams field is set. */ boolean hasOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 4; * @return The operationParams. */ tech.ydb.proto.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 4; */ tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder(); } /** *
   * Copy table with given path
   * 
* * Protobuf type {@code Ydb.Table.CopyTableRequest} */ public static final class CopyTableRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.CopyTableRequest) CopyTableRequestOrBuilder { private static final long serialVersionUID = 0L; // Use CopyTableRequest.newBuilder() to construct. private CopyTableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CopyTableRequest() { sessionId_ = ""; sourcePath_ = ""; destinationPath_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CopyTableRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CopyTableRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CopyTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CopyTableRequest.class, tech.ydb.proto.table.YdbTable.CopyTableRequest.Builder.class); } private int bitField0_; public static final int SESSION_ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object sessionId_ = ""; /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ @java.lang.Override public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; 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(); sessionId_ = s; return s; } } /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ @java.lang.Override public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SOURCE_PATH_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object sourcePath_ = ""; /** *
     * Copy from path
     * 
* * string source_path = 2; * @return The sourcePath. */ @java.lang.Override public java.lang.String getSourcePath() { java.lang.Object ref = sourcePath_; 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(); sourcePath_ = s; return s; } } /** *
     * Copy from path
     * 
* * string source_path = 2; * @return The bytes for sourcePath. */ @java.lang.Override public com.google.protobuf.ByteString getSourcePathBytes() { java.lang.Object ref = sourcePath_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourcePath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DESTINATION_PATH_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object destinationPath_ = ""; /** *
     * Copy to path
     * 
* * string destination_path = 3; * @return The destinationPath. */ @java.lang.Override public java.lang.String getDestinationPath() { java.lang.Object ref = destinationPath_; 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(); destinationPath_ = s; return s; } } /** *
     * Copy to path
     * 
* * string destination_path = 3; * @return The bytes for destinationPath. */ @java.lang.Override public com.google.protobuf.ByteString getDestinationPathBytes() { java.lang.Object ref = destinationPath_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); destinationPath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OPERATION_PARAMS_FIELD_NUMBER = 4; private tech.ydb.proto.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 4; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 4; * @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 = 4; */ @java.lang.Override public tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } 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(sessionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourcePath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, sourcePath_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destinationPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, destinationPath_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(4, getOperationParams()); } 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(sessionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourcePath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourcePath_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destinationPath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, destinationPath_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getOperationParams()); } 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.table.YdbTable.CopyTableRequest)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.CopyTableRequest other = (tech.ydb.proto.table.YdbTable.CopyTableRequest) obj; if (!getSessionId() .equals(other.getSessionId())) return false; if (!getSourcePath() .equals(other.getSourcePath())) return false; if (!getDestinationPath() .equals(other.getDestinationPath())) return false; if (hasOperationParams() != other.hasOperationParams()) return false; if (hasOperationParams()) { if (!getOperationParams() .equals(other.getOperationParams())) 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) + SESSION_ID_FIELD_NUMBER; hash = (53 * hash) + getSessionId().hashCode(); hash = (37 * hash) + SOURCE_PATH_FIELD_NUMBER; hash = (53 * hash) + getSourcePath().hashCode(); hash = (37 * hash) + DESTINATION_PATH_FIELD_NUMBER; hash = (53 * hash) + getDestinationPath().hashCode(); if (hasOperationParams()) { hash = (37 * hash) + OPERATION_PARAMS_FIELD_NUMBER; hash = (53 * hash) + getOperationParams().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.CopyTableRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CopyTableRequest 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.table.YdbTable.CopyTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CopyTableRequest 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.table.YdbTable.CopyTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CopyTableRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.CopyTableRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CopyTableRequest 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.table.YdbTable.CopyTableRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CopyTableRequest 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.table.YdbTable.CopyTableRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CopyTableRequest 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.table.YdbTable.CopyTableRequest 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; } /** *
     * Copy table with given path
     * 
* * Protobuf type {@code Ydb.Table.CopyTableRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.CopyTableRequest) tech.ydb.proto.table.YdbTable.CopyTableRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CopyTableRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CopyTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CopyTableRequest.class, tech.ydb.proto.table.YdbTable.CopyTableRequest.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.CopyTableRequest.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; sessionId_ = ""; sourcePath_ = ""; destinationPath_ = ""; operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CopyTableRequest_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CopyTableRequest getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.CopyTableRequest.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.CopyTableRequest build() { tech.ydb.proto.table.YdbTable.CopyTableRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CopyTableRequest buildPartial() { tech.ydb.proto.table.YdbTable.CopyTableRequest result = new tech.ydb.proto.table.YdbTable.CopyTableRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.CopyTableRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.sessionId_ = sessionId_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.sourcePath_ = sourcePath_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.destinationPath_ = destinationPath_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000008) != 0)) { result.operationParams_ = operationParamsBuilder_ == null ? operationParams_ : operationParamsBuilder_.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.table.YdbTable.CopyTableRequest) { return mergeFrom((tech.ydb.proto.table.YdbTable.CopyTableRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.CopyTableRequest other) { if (other == tech.ydb.proto.table.YdbTable.CopyTableRequest.getDefaultInstance()) return this; if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getSourcePath().isEmpty()) { sourcePath_ = other.sourcePath_; bitField0_ |= 0x00000002; onChanged(); } if (!other.getDestinationPath().isEmpty()) { destinationPath_ = other.destinationPath_; bitField0_ |= 0x00000004; onChanged(); } if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } 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: { sessionId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { sourcePath_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { destinationPath_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 case 34: { input.readMessage( getOperationParamsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; 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 bitField0_; private java.lang.Object sessionId_ = ""; /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The sessionId. */ public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The bytes for sessionId. */ public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The sessionId to set. * @return This builder for chaining. */ public Builder setSessionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sessionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The bytes for sessionId to set. * @return This builder for chaining. */ public Builder setSessionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sessionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object sourcePath_ = ""; /** *
       * Copy from path
       * 
* * string source_path = 2; * @return The sourcePath. */ public java.lang.String getSourcePath() { java.lang.Object ref = sourcePath_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourcePath_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Copy from path
       * 
* * string source_path = 2; * @return The bytes for sourcePath. */ public com.google.protobuf.ByteString getSourcePathBytes() { java.lang.Object ref = sourcePath_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourcePath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Copy from path
       * 
* * string source_path = 2; * @param value The sourcePath to set. * @return This builder for chaining. */ public Builder setSourcePath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sourcePath_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Copy from path
       * 
* * string source_path = 2; * @return This builder for chaining. */ public Builder clearSourcePath() { sourcePath_ = getDefaultInstance().getSourcePath(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * Copy from path
       * 
* * string source_path = 2; * @param value The bytes for sourcePath to set. * @return This builder for chaining. */ public Builder setSourcePathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourcePath_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.lang.Object destinationPath_ = ""; /** *
       * Copy to path
       * 
* * string destination_path = 3; * @return The destinationPath. */ public java.lang.String getDestinationPath() { java.lang.Object ref = destinationPath_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationPath_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Copy to path
       * 
* * string destination_path = 3; * @return The bytes for destinationPath. */ public com.google.protobuf.ByteString getDestinationPathBytes() { java.lang.Object ref = destinationPath_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); destinationPath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Copy to path
       * 
* * string destination_path = 3; * @param value The destinationPath to set. * @return This builder for chaining. */ public Builder setDestinationPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } destinationPath_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * Copy to path
       * 
* * string destination_path = 3; * @return This builder for chaining. */ public Builder clearDestinationPath() { destinationPath_ = getDefaultInstance().getDestinationPath(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** *
       * Copy to path
       * 
* * string destination_path = 3; * @param value The bytes for destinationPath to set. * @return This builder for chaining. */ public Builder setDestinationPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); destinationPath_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } 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 = 4; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return ((bitField0_ & 0x00000008) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 4; * @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 = 4; */ 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_ |= 0x00000008; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 4; */ public Builder setOperationParams( tech.ydb.proto.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 4; */ public Builder mergeOperationParams(tech.ydb.proto.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && operationParams_ != null && operationParams_ != tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance()) { getOperationParamsBuilder().mergeFrom(value); } else { operationParams_ = value; } } else { operationParamsBuilder_.mergeFrom(value); } if (operationParams_ != null) { bitField0_ |= 0x00000008; onChanged(); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 4; */ public Builder clearOperationParams() { bitField0_ = (bitField0_ & ~0x00000008); operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 4; */ public tech.ydb.proto.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { bitField0_ |= 0x00000008; onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 4; */ 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 = 4; */ 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_; } @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.Table.CopyTableRequest) } // @@protoc_insertion_point(class_scope:Ydb.Table.CopyTableRequest) private static final tech.ydb.proto.table.YdbTable.CopyTableRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.CopyTableRequest(); } public static tech.ydb.proto.table.YdbTable.CopyTableRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CopyTableRequest 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.table.YdbTable.CopyTableRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CopyTableResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.CopyTableResponse) 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.Table.CopyTableResponse} */ public static final class CopyTableResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.CopyTableResponse) CopyTableResponseOrBuilder { private static final long serialVersionUID = 0L; // Use CopyTableResponse.newBuilder() to construct. private CopyTableResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CopyTableResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CopyTableResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CopyTableResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CopyTableResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CopyTableResponse.class, tech.ydb.proto.table.YdbTable.CopyTableResponse.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.table.YdbTable.CopyTableResponse)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.CopyTableResponse other = (tech.ydb.proto.table.YdbTable.CopyTableResponse) 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.table.YdbTable.CopyTableResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CopyTableResponse 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.table.YdbTable.CopyTableResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CopyTableResponse 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.table.YdbTable.CopyTableResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CopyTableResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.CopyTableResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CopyTableResponse 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.table.YdbTable.CopyTableResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CopyTableResponse 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.table.YdbTable.CopyTableResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CopyTableResponse 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.table.YdbTable.CopyTableResponse 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.Table.CopyTableResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.CopyTableResponse) tech.ydb.proto.table.YdbTable.CopyTableResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CopyTableResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CopyTableResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CopyTableResponse.class, tech.ydb.proto.table.YdbTable.CopyTableResponse.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.CopyTableResponse.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.table.YdbTable.internal_static_Ydb_Table_CopyTableResponse_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CopyTableResponse getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.CopyTableResponse.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.CopyTableResponse build() { tech.ydb.proto.table.YdbTable.CopyTableResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CopyTableResponse buildPartial() { tech.ydb.proto.table.YdbTable.CopyTableResponse result = new tech.ydb.proto.table.YdbTable.CopyTableResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.CopyTableResponse 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.table.YdbTable.CopyTableResponse) { return mergeFrom((tech.ydb.proto.table.YdbTable.CopyTableResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.CopyTableResponse other) { if (other == tech.ydb.proto.table.YdbTable.CopyTableResponse.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.Table.CopyTableResponse) } // @@protoc_insertion_point(class_scope:Ydb.Table.CopyTableResponse) private static final tech.ydb.proto.table.YdbTable.CopyTableResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.CopyTableResponse(); } public static tech.ydb.proto.table.YdbTable.CopyTableResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CopyTableResponse 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.table.YdbTable.CopyTableResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CopyTableItemOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.CopyTableItem) com.google.protobuf.MessageOrBuilder { /** *
     * Copy from path
     * 
* * string source_path = 1; * @return The sourcePath. */ java.lang.String getSourcePath(); /** *
     * Copy from path
     * 
* * string source_path = 1; * @return The bytes for sourcePath. */ com.google.protobuf.ByteString getSourcePathBytes(); /** *
     * Copy to path
     * 
* * string destination_path = 2; * @return The destinationPath. */ java.lang.String getDestinationPath(); /** *
     * Copy to path
     * 
* * string destination_path = 2; * @return The bytes for destinationPath. */ com.google.protobuf.ByteString getDestinationPathBytes(); /** *
     * Copy options
     * 
* * bool omit_indexes = 3; * @return The omitIndexes. */ boolean getOmitIndexes(); } /** * Protobuf type {@code Ydb.Table.CopyTableItem} */ public static final class CopyTableItem extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.CopyTableItem) CopyTableItemOrBuilder { private static final long serialVersionUID = 0L; // Use CopyTableItem.newBuilder() to construct. private CopyTableItem(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CopyTableItem() { sourcePath_ = ""; destinationPath_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CopyTableItem(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CopyTableItem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CopyTableItem_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CopyTableItem.class, tech.ydb.proto.table.YdbTable.CopyTableItem.Builder.class); } public static final int SOURCE_PATH_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object sourcePath_ = ""; /** *
     * Copy from path
     * 
* * string source_path = 1; * @return The sourcePath. */ @java.lang.Override public java.lang.String getSourcePath() { java.lang.Object ref = sourcePath_; 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(); sourcePath_ = s; return s; } } /** *
     * Copy from path
     * 
* * string source_path = 1; * @return The bytes for sourcePath. */ @java.lang.Override public com.google.protobuf.ByteString getSourcePathBytes() { java.lang.Object ref = sourcePath_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourcePath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DESTINATION_PATH_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object destinationPath_ = ""; /** *
     * Copy to path
     * 
* * string destination_path = 2; * @return The destinationPath. */ @java.lang.Override public java.lang.String getDestinationPath() { java.lang.Object ref = destinationPath_; 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(); destinationPath_ = s; return s; } } /** *
     * Copy to path
     * 
* * string destination_path = 2; * @return The bytes for destinationPath. */ @java.lang.Override public com.google.protobuf.ByteString getDestinationPathBytes() { java.lang.Object ref = destinationPath_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); destinationPath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OMIT_INDEXES_FIELD_NUMBER = 3; private boolean omitIndexes_ = false; /** *
     * Copy options
     * 
* * bool omit_indexes = 3; * @return The omitIndexes. */ @java.lang.Override public boolean getOmitIndexes() { return omitIndexes_; } 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(sourcePath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sourcePath_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destinationPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, destinationPath_); } if (omitIndexes_ != false) { output.writeBool(3, omitIndexes_); } 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(sourcePath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sourcePath_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destinationPath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, destinationPath_); } if (omitIndexes_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, omitIndexes_); } 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.table.YdbTable.CopyTableItem)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.CopyTableItem other = (tech.ydb.proto.table.YdbTable.CopyTableItem) obj; if (!getSourcePath() .equals(other.getSourcePath())) return false; if (!getDestinationPath() .equals(other.getDestinationPath())) return false; if (getOmitIndexes() != other.getOmitIndexes()) 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) + SOURCE_PATH_FIELD_NUMBER; hash = (53 * hash) + getSourcePath().hashCode(); hash = (37 * hash) + DESTINATION_PATH_FIELD_NUMBER; hash = (53 * hash) + getDestinationPath().hashCode(); hash = (37 * hash) + OMIT_INDEXES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getOmitIndexes()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.CopyTableItem parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CopyTableItem 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.table.YdbTable.CopyTableItem parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CopyTableItem 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.table.YdbTable.CopyTableItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CopyTableItem parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.CopyTableItem parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CopyTableItem 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.table.YdbTable.CopyTableItem parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CopyTableItem 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.table.YdbTable.CopyTableItem parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CopyTableItem 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.table.YdbTable.CopyTableItem 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.Table.CopyTableItem} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.CopyTableItem) tech.ydb.proto.table.YdbTable.CopyTableItemOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CopyTableItem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CopyTableItem_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CopyTableItem.class, tech.ydb.proto.table.YdbTable.CopyTableItem.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.CopyTableItem.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; sourcePath_ = ""; destinationPath_ = ""; omitIndexes_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CopyTableItem_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CopyTableItem getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.CopyTableItem.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.CopyTableItem build() { tech.ydb.proto.table.YdbTable.CopyTableItem result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CopyTableItem buildPartial() { tech.ydb.proto.table.YdbTable.CopyTableItem result = new tech.ydb.proto.table.YdbTable.CopyTableItem(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.CopyTableItem result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.sourcePath_ = sourcePath_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.destinationPath_ = destinationPath_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.omitIndexes_ = omitIndexes_; } } @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.table.YdbTable.CopyTableItem) { return mergeFrom((tech.ydb.proto.table.YdbTable.CopyTableItem)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.CopyTableItem other) { if (other == tech.ydb.proto.table.YdbTable.CopyTableItem.getDefaultInstance()) return this; if (!other.getSourcePath().isEmpty()) { sourcePath_ = other.sourcePath_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getDestinationPath().isEmpty()) { destinationPath_ = other.destinationPath_; bitField0_ |= 0x00000002; onChanged(); } if (other.getOmitIndexes() != false) { setOmitIndexes(other.getOmitIndexes()); } 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: { sourcePath_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { destinationPath_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 24: { omitIndexes_ = input.readBool(); bitField0_ |= 0x00000004; break; } // case 24 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 sourcePath_ = ""; /** *
       * Copy from path
       * 
* * string source_path = 1; * @return The sourcePath. */ public java.lang.String getSourcePath() { java.lang.Object ref = sourcePath_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourcePath_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Copy from path
       * 
* * string source_path = 1; * @return The bytes for sourcePath. */ public com.google.protobuf.ByteString getSourcePathBytes() { java.lang.Object ref = sourcePath_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourcePath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Copy from path
       * 
* * string source_path = 1; * @param value The sourcePath to set. * @return This builder for chaining. */ public Builder setSourcePath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sourcePath_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Copy from path
       * 
* * string source_path = 1; * @return This builder for chaining. */ public Builder clearSourcePath() { sourcePath_ = getDefaultInstance().getSourcePath(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Copy from path
       * 
* * string source_path = 1; * @param value The bytes for sourcePath to set. * @return This builder for chaining. */ public Builder setSourcePathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourcePath_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object destinationPath_ = ""; /** *
       * Copy to path
       * 
* * string destination_path = 2; * @return The destinationPath. */ public java.lang.String getDestinationPath() { java.lang.Object ref = destinationPath_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationPath_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Copy to path
       * 
* * string destination_path = 2; * @return The bytes for destinationPath. */ public com.google.protobuf.ByteString getDestinationPathBytes() { java.lang.Object ref = destinationPath_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); destinationPath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Copy to path
       * 
* * string destination_path = 2; * @param value The destinationPath to set. * @return This builder for chaining. */ public Builder setDestinationPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } destinationPath_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Copy to path
       * 
* * string destination_path = 2; * @return This builder for chaining. */ public Builder clearDestinationPath() { destinationPath_ = getDefaultInstance().getDestinationPath(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * Copy to path
       * 
* * string destination_path = 2; * @param value The bytes for destinationPath to set. * @return This builder for chaining. */ public Builder setDestinationPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); destinationPath_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private boolean omitIndexes_ ; /** *
       * Copy options
       * 
* * bool omit_indexes = 3; * @return The omitIndexes. */ @java.lang.Override public boolean getOmitIndexes() { return omitIndexes_; } /** *
       * Copy options
       * 
* * bool omit_indexes = 3; * @param value The omitIndexes to set. * @return This builder for chaining. */ public Builder setOmitIndexes(boolean value) { omitIndexes_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * Copy options
       * 
* * bool omit_indexes = 3; * @return This builder for chaining. */ public Builder clearOmitIndexes() { bitField0_ = (bitField0_ & ~0x00000004); omitIndexes_ = false; 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.Table.CopyTableItem) } // @@protoc_insertion_point(class_scope:Ydb.Table.CopyTableItem) private static final tech.ydb.proto.table.YdbTable.CopyTableItem DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.CopyTableItem(); } public static tech.ydb.proto.table.YdbTable.CopyTableItem getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CopyTableItem 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.table.YdbTable.CopyTableItem getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CopyTablesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.CopyTablesRequest) 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(); /** *
     * Session identifier
     * 
* * string session_id = 2; * @return The sessionId. */ java.lang.String getSessionId(); /** *
     * Session identifier
     * 
* * string session_id = 2; * @return The bytes for sessionId. */ com.google.protobuf.ByteString getSessionIdBytes(); /** *
     * Source and destination paths which describe copies
     * 
* * repeated .Ydb.Table.CopyTableItem tables = 3; */ java.util.List getTablesList(); /** *
     * Source and destination paths which describe copies
     * 
* * repeated .Ydb.Table.CopyTableItem tables = 3; */ tech.ydb.proto.table.YdbTable.CopyTableItem getTables(int index); /** *
     * Source and destination paths which describe copies
     * 
* * repeated .Ydb.Table.CopyTableItem tables = 3; */ int getTablesCount(); /** *
     * Source and destination paths which describe copies
     * 
* * repeated .Ydb.Table.CopyTableItem tables = 3; */ java.util.List getTablesOrBuilderList(); /** *
     * Source and destination paths which describe copies
     * 
* * repeated .Ydb.Table.CopyTableItem tables = 3; */ tech.ydb.proto.table.YdbTable.CopyTableItemOrBuilder getTablesOrBuilder( int index); } /** *
   * Creates consistent copy of given tables.
   * 
* * Protobuf type {@code Ydb.Table.CopyTablesRequest} */ public static final class CopyTablesRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.CopyTablesRequest) CopyTablesRequestOrBuilder { private static final long serialVersionUID = 0L; // Use CopyTablesRequest.newBuilder() to construct. private CopyTablesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CopyTablesRequest() { sessionId_ = ""; tables_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CopyTablesRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CopyTablesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CopyTablesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CopyTablesRequest.class, tech.ydb.proto.table.YdbTable.CopyTablesRequest.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 SESSION_ID_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object sessionId_ = ""; /** *
     * Session identifier
     * 
* * string session_id = 2; * @return The sessionId. */ @java.lang.Override public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; 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(); sessionId_ = s; return s; } } /** *
     * Session identifier
     * 
* * string session_id = 2; * @return The bytes for sessionId. */ @java.lang.Override public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TABLES_FIELD_NUMBER = 3; @SuppressWarnings("serial") private java.util.List tables_; /** *
     * Source and destination paths which describe copies
     * 
* * repeated .Ydb.Table.CopyTableItem tables = 3; */ @java.lang.Override public java.util.List getTablesList() { return tables_; } /** *
     * Source and destination paths which describe copies
     * 
* * repeated .Ydb.Table.CopyTableItem tables = 3; */ @java.lang.Override public java.util.List getTablesOrBuilderList() { return tables_; } /** *
     * Source and destination paths which describe copies
     * 
* * repeated .Ydb.Table.CopyTableItem tables = 3; */ @java.lang.Override public int getTablesCount() { return tables_.size(); } /** *
     * Source and destination paths which describe copies
     * 
* * repeated .Ydb.Table.CopyTableItem tables = 3; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.CopyTableItem getTables(int index) { return tables_.get(index); } /** *
     * Source and destination paths which describe copies
     * 
* * repeated .Ydb.Table.CopyTableItem tables = 3; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.CopyTableItemOrBuilder getTablesOrBuilder( int index) { return tables_.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, getOperationParams()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sessionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, sessionId_); } for (int i = 0; i < tables_.size(); i++) { output.writeMessage(3, tables_.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, getOperationParams()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sessionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sessionId_); } for (int i = 0; i < tables_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, tables_.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.table.YdbTable.CopyTablesRequest)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.CopyTablesRequest other = (tech.ydb.proto.table.YdbTable.CopyTablesRequest) obj; if (hasOperationParams() != other.hasOperationParams()) return false; if (hasOperationParams()) { if (!getOperationParams() .equals(other.getOperationParams())) return false; } if (!getSessionId() .equals(other.getSessionId())) return false; if (!getTablesList() .equals(other.getTablesList())) 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) + SESSION_ID_FIELD_NUMBER; hash = (53 * hash) + getSessionId().hashCode(); if (getTablesCount() > 0) { hash = (37 * hash) + TABLES_FIELD_NUMBER; hash = (53 * hash) + getTablesList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.CopyTablesRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CopyTablesRequest 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.table.YdbTable.CopyTablesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CopyTablesRequest 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.table.YdbTable.CopyTablesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CopyTablesRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.CopyTablesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CopyTablesRequest 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.table.YdbTable.CopyTablesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CopyTablesRequest 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.table.YdbTable.CopyTablesRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CopyTablesRequest 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.table.YdbTable.CopyTablesRequest 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; } /** *
     * Creates consistent copy of given tables.
     * 
* * Protobuf type {@code Ydb.Table.CopyTablesRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.CopyTablesRequest) tech.ydb.proto.table.YdbTable.CopyTablesRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CopyTablesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CopyTablesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CopyTablesRequest.class, tech.ydb.proto.table.YdbTable.CopyTablesRequest.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.CopyTablesRequest.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(); getTablesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } sessionId_ = ""; if (tablesBuilder_ == null) { tables_ = java.util.Collections.emptyList(); } else { tables_ = null; tablesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CopyTablesRequest_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CopyTablesRequest getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.CopyTablesRequest.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.CopyTablesRequest build() { tech.ydb.proto.table.YdbTable.CopyTablesRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CopyTablesRequest buildPartial() { tech.ydb.proto.table.YdbTable.CopyTablesRequest result = new tech.ydb.proto.table.YdbTable.CopyTablesRequest(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(tech.ydb.proto.table.YdbTable.CopyTablesRequest result) { if (tablesBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { tables_ = java.util.Collections.unmodifiableList(tables_); bitField0_ = (bitField0_ & ~0x00000004); } result.tables_ = tables_; } else { result.tables_ = tablesBuilder_.build(); } } private void buildPartial0(tech.ydb.proto.table.YdbTable.CopyTablesRequest 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.sessionId_ = sessionId_; } 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.table.YdbTable.CopyTablesRequest) { return mergeFrom((tech.ydb.proto.table.YdbTable.CopyTablesRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.CopyTablesRequest other) { if (other == tech.ydb.proto.table.YdbTable.CopyTablesRequest.getDefaultInstance()) return this; if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; bitField0_ |= 0x00000002; onChanged(); } if (tablesBuilder_ == null) { if (!other.tables_.isEmpty()) { if (tables_.isEmpty()) { tables_ = other.tables_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureTablesIsMutable(); tables_.addAll(other.tables_); } onChanged(); } } else { if (!other.tables_.isEmpty()) { if (tablesBuilder_.isEmpty()) { tablesBuilder_.dispose(); tablesBuilder_ = null; tables_ = other.tables_; bitField0_ = (bitField0_ & ~0x00000004); tablesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTablesFieldBuilder() : null; } else { tablesBuilder_.addAllMessages(other.tables_); } } } 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: { sessionId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { tech.ydb.proto.table.YdbTable.CopyTableItem m = input.readMessage( tech.ydb.proto.table.YdbTable.CopyTableItem.parser(), extensionRegistry); if (tablesBuilder_ == null) { ensureTablesIsMutable(); tables_.add(m); } else { tablesBuilder_.addMessage(m); } break; } // case 26 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 sessionId_ = ""; /** *
       * Session identifier
       * 
* * string session_id = 2; * @return The sessionId. */ public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 2; * @return The bytes for sessionId. */ public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 2; * @param value The sessionId to set. * @return This builder for chaining. */ public Builder setSessionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sessionId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 2; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 2; * @param value The bytes for sessionId to set. * @return This builder for chaining. */ public Builder setSessionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sessionId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.util.List tables_ = java.util.Collections.emptyList(); private void ensureTablesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { tables_ = new java.util.ArrayList(tables_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.CopyTableItem, tech.ydb.proto.table.YdbTable.CopyTableItem.Builder, tech.ydb.proto.table.YdbTable.CopyTableItemOrBuilder> tablesBuilder_; /** *
       * Source and destination paths which describe copies
       * 
* * repeated .Ydb.Table.CopyTableItem tables = 3; */ public java.util.List getTablesList() { if (tablesBuilder_ == null) { return java.util.Collections.unmodifiableList(tables_); } else { return tablesBuilder_.getMessageList(); } } /** *
       * Source and destination paths which describe copies
       * 
* * repeated .Ydb.Table.CopyTableItem tables = 3; */ public int getTablesCount() { if (tablesBuilder_ == null) { return tables_.size(); } else { return tablesBuilder_.getCount(); } } /** *
       * Source and destination paths which describe copies
       * 
* * repeated .Ydb.Table.CopyTableItem tables = 3; */ public tech.ydb.proto.table.YdbTable.CopyTableItem getTables(int index) { if (tablesBuilder_ == null) { return tables_.get(index); } else { return tablesBuilder_.getMessage(index); } } /** *
       * Source and destination paths which describe copies
       * 
* * repeated .Ydb.Table.CopyTableItem tables = 3; */ public Builder setTables( int index, tech.ydb.proto.table.YdbTable.CopyTableItem value) { if (tablesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTablesIsMutable(); tables_.set(index, value); onChanged(); } else { tablesBuilder_.setMessage(index, value); } return this; } /** *
       * Source and destination paths which describe copies
       * 
* * repeated .Ydb.Table.CopyTableItem tables = 3; */ public Builder setTables( int index, tech.ydb.proto.table.YdbTable.CopyTableItem.Builder builderForValue) { if (tablesBuilder_ == null) { ensureTablesIsMutable(); tables_.set(index, builderForValue.build()); onChanged(); } else { tablesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Source and destination paths which describe copies
       * 
* * repeated .Ydb.Table.CopyTableItem tables = 3; */ public Builder addTables(tech.ydb.proto.table.YdbTable.CopyTableItem value) { if (tablesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTablesIsMutable(); tables_.add(value); onChanged(); } else { tablesBuilder_.addMessage(value); } return this; } /** *
       * Source and destination paths which describe copies
       * 
* * repeated .Ydb.Table.CopyTableItem tables = 3; */ public Builder addTables( int index, tech.ydb.proto.table.YdbTable.CopyTableItem value) { if (tablesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTablesIsMutable(); tables_.add(index, value); onChanged(); } else { tablesBuilder_.addMessage(index, value); } return this; } /** *
       * Source and destination paths which describe copies
       * 
* * repeated .Ydb.Table.CopyTableItem tables = 3; */ public Builder addTables( tech.ydb.proto.table.YdbTable.CopyTableItem.Builder builderForValue) { if (tablesBuilder_ == null) { ensureTablesIsMutable(); tables_.add(builderForValue.build()); onChanged(); } else { tablesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Source and destination paths which describe copies
       * 
* * repeated .Ydb.Table.CopyTableItem tables = 3; */ public Builder addTables( int index, tech.ydb.proto.table.YdbTable.CopyTableItem.Builder builderForValue) { if (tablesBuilder_ == null) { ensureTablesIsMutable(); tables_.add(index, builderForValue.build()); onChanged(); } else { tablesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Source and destination paths which describe copies
       * 
* * repeated .Ydb.Table.CopyTableItem tables = 3; */ public Builder addAllTables( java.lang.Iterable values) { if (tablesBuilder_ == null) { ensureTablesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, tables_); onChanged(); } else { tablesBuilder_.addAllMessages(values); } return this; } /** *
       * Source and destination paths which describe copies
       * 
* * repeated .Ydb.Table.CopyTableItem tables = 3; */ public Builder clearTables() { if (tablesBuilder_ == null) { tables_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { tablesBuilder_.clear(); } return this; } /** *
       * Source and destination paths which describe copies
       * 
* * repeated .Ydb.Table.CopyTableItem tables = 3; */ public Builder removeTables(int index) { if (tablesBuilder_ == null) { ensureTablesIsMutable(); tables_.remove(index); onChanged(); } else { tablesBuilder_.remove(index); } return this; } /** *
       * Source and destination paths which describe copies
       * 
* * repeated .Ydb.Table.CopyTableItem tables = 3; */ public tech.ydb.proto.table.YdbTable.CopyTableItem.Builder getTablesBuilder( int index) { return getTablesFieldBuilder().getBuilder(index); } /** *
       * Source and destination paths which describe copies
       * 
* * repeated .Ydb.Table.CopyTableItem tables = 3; */ public tech.ydb.proto.table.YdbTable.CopyTableItemOrBuilder getTablesOrBuilder( int index) { if (tablesBuilder_ == null) { return tables_.get(index); } else { return tablesBuilder_.getMessageOrBuilder(index); } } /** *
       * Source and destination paths which describe copies
       * 
* * repeated .Ydb.Table.CopyTableItem tables = 3; */ public java.util.List getTablesOrBuilderList() { if (tablesBuilder_ != null) { return tablesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(tables_); } } /** *
       * Source and destination paths which describe copies
       * 
* * repeated .Ydb.Table.CopyTableItem tables = 3; */ public tech.ydb.proto.table.YdbTable.CopyTableItem.Builder addTablesBuilder() { return getTablesFieldBuilder().addBuilder( tech.ydb.proto.table.YdbTable.CopyTableItem.getDefaultInstance()); } /** *
       * Source and destination paths which describe copies
       * 
* * repeated .Ydb.Table.CopyTableItem tables = 3; */ public tech.ydb.proto.table.YdbTable.CopyTableItem.Builder addTablesBuilder( int index) { return getTablesFieldBuilder().addBuilder( index, tech.ydb.proto.table.YdbTable.CopyTableItem.getDefaultInstance()); } /** *
       * Source and destination paths which describe copies
       * 
* * repeated .Ydb.Table.CopyTableItem tables = 3; */ public java.util.List getTablesBuilderList() { return getTablesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.CopyTableItem, tech.ydb.proto.table.YdbTable.CopyTableItem.Builder, tech.ydb.proto.table.YdbTable.CopyTableItemOrBuilder> getTablesFieldBuilder() { if (tablesBuilder_ == null) { tablesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.CopyTableItem, tech.ydb.proto.table.YdbTable.CopyTableItem.Builder, tech.ydb.proto.table.YdbTable.CopyTableItemOrBuilder>( tables_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); tables_ = null; } return tablesBuilder_; } @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.Table.CopyTablesRequest) } // @@protoc_insertion_point(class_scope:Ydb.Table.CopyTablesRequest) private static final tech.ydb.proto.table.YdbTable.CopyTablesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.CopyTablesRequest(); } public static tech.ydb.proto.table.YdbTable.CopyTablesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CopyTablesRequest 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.table.YdbTable.CopyTablesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CopyTablesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.CopyTablesResponse) 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.Table.CopyTablesResponse} */ public static final class CopyTablesResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.CopyTablesResponse) CopyTablesResponseOrBuilder { private static final long serialVersionUID = 0L; // Use CopyTablesResponse.newBuilder() to construct. private CopyTablesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CopyTablesResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CopyTablesResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CopyTablesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CopyTablesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CopyTablesResponse.class, tech.ydb.proto.table.YdbTable.CopyTablesResponse.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.table.YdbTable.CopyTablesResponse)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.CopyTablesResponse other = (tech.ydb.proto.table.YdbTable.CopyTablesResponse) 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.table.YdbTable.CopyTablesResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CopyTablesResponse 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.table.YdbTable.CopyTablesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CopyTablesResponse 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.table.YdbTable.CopyTablesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CopyTablesResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.CopyTablesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CopyTablesResponse 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.table.YdbTable.CopyTablesResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CopyTablesResponse 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.table.YdbTable.CopyTablesResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CopyTablesResponse 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.table.YdbTable.CopyTablesResponse 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.Table.CopyTablesResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.CopyTablesResponse) tech.ydb.proto.table.YdbTable.CopyTablesResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CopyTablesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CopyTablesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CopyTablesResponse.class, tech.ydb.proto.table.YdbTable.CopyTablesResponse.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.CopyTablesResponse.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.table.YdbTable.internal_static_Ydb_Table_CopyTablesResponse_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CopyTablesResponse getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.CopyTablesResponse.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.CopyTablesResponse build() { tech.ydb.proto.table.YdbTable.CopyTablesResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CopyTablesResponse buildPartial() { tech.ydb.proto.table.YdbTable.CopyTablesResponse result = new tech.ydb.proto.table.YdbTable.CopyTablesResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.CopyTablesResponse 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.table.YdbTable.CopyTablesResponse) { return mergeFrom((tech.ydb.proto.table.YdbTable.CopyTablesResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.CopyTablesResponse other) { if (other == tech.ydb.proto.table.YdbTable.CopyTablesResponse.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.Table.CopyTablesResponse) } // @@protoc_insertion_point(class_scope:Ydb.Table.CopyTablesResponse) private static final tech.ydb.proto.table.YdbTable.CopyTablesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.CopyTablesResponse(); } public static tech.ydb.proto.table.YdbTable.CopyTablesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CopyTablesResponse 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.table.YdbTable.CopyTablesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RenameTableItemOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.RenameTableItem) com.google.protobuf.MessageOrBuilder { /** *
     * Full path
     * 
* * string source_path = 1; * @return The sourcePath. */ java.lang.String getSourcePath(); /** *
     * Full path
     * 
* * string source_path = 1; * @return The bytes for sourcePath. */ com.google.protobuf.ByteString getSourcePathBytes(); /** *
     * Full path
     * 
* * string destination_path = 2; * @return The destinationPath. */ java.lang.String getDestinationPath(); /** *
     * Full path
     * 
* * string destination_path = 2; * @return The bytes for destinationPath. */ com.google.protobuf.ByteString getDestinationPathBytes(); /** *
     * Move options
     * 
* * bool replace_destination = 3; * @return The replaceDestination. */ boolean getReplaceDestination(); } /** * Protobuf type {@code Ydb.Table.RenameTableItem} */ public static final class RenameTableItem extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.RenameTableItem) RenameTableItemOrBuilder { private static final long serialVersionUID = 0L; // Use RenameTableItem.newBuilder() to construct. private RenameTableItem(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RenameTableItem() { sourcePath_ = ""; destinationPath_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RenameTableItem(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_RenameTableItem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_RenameTableItem_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.RenameTableItem.class, tech.ydb.proto.table.YdbTable.RenameTableItem.Builder.class); } public static final int SOURCE_PATH_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object sourcePath_ = ""; /** *
     * Full path
     * 
* * string source_path = 1; * @return The sourcePath. */ @java.lang.Override public java.lang.String getSourcePath() { java.lang.Object ref = sourcePath_; 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(); sourcePath_ = s; return s; } } /** *
     * Full path
     * 
* * string source_path = 1; * @return The bytes for sourcePath. */ @java.lang.Override public com.google.protobuf.ByteString getSourcePathBytes() { java.lang.Object ref = sourcePath_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourcePath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DESTINATION_PATH_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object destinationPath_ = ""; /** *
     * Full path
     * 
* * string destination_path = 2; * @return The destinationPath. */ @java.lang.Override public java.lang.String getDestinationPath() { java.lang.Object ref = destinationPath_; 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(); destinationPath_ = s; return s; } } /** *
     * Full path
     * 
* * string destination_path = 2; * @return The bytes for destinationPath. */ @java.lang.Override public com.google.protobuf.ByteString getDestinationPathBytes() { java.lang.Object ref = destinationPath_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); destinationPath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int REPLACE_DESTINATION_FIELD_NUMBER = 3; private boolean replaceDestination_ = false; /** *
     * Move options
     * 
* * bool replace_destination = 3; * @return The replaceDestination. */ @java.lang.Override public boolean getReplaceDestination() { return replaceDestination_; } 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(sourcePath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sourcePath_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destinationPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, destinationPath_); } if (replaceDestination_ != false) { output.writeBool(3, replaceDestination_); } 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(sourcePath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sourcePath_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destinationPath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, destinationPath_); } if (replaceDestination_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, replaceDestination_); } 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.table.YdbTable.RenameTableItem)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.RenameTableItem other = (tech.ydb.proto.table.YdbTable.RenameTableItem) obj; if (!getSourcePath() .equals(other.getSourcePath())) return false; if (!getDestinationPath() .equals(other.getDestinationPath())) return false; if (getReplaceDestination() != other.getReplaceDestination()) 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) + SOURCE_PATH_FIELD_NUMBER; hash = (53 * hash) + getSourcePath().hashCode(); hash = (37 * hash) + DESTINATION_PATH_FIELD_NUMBER; hash = (53 * hash) + getDestinationPath().hashCode(); hash = (37 * hash) + REPLACE_DESTINATION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getReplaceDestination()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.RenameTableItem parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.RenameTableItem 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.table.YdbTable.RenameTableItem parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.RenameTableItem 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.table.YdbTable.RenameTableItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.RenameTableItem parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.RenameTableItem parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.RenameTableItem 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.table.YdbTable.RenameTableItem parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.RenameTableItem 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.table.YdbTable.RenameTableItem parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.RenameTableItem 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.table.YdbTable.RenameTableItem 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.Table.RenameTableItem} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.RenameTableItem) tech.ydb.proto.table.YdbTable.RenameTableItemOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_RenameTableItem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_RenameTableItem_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.RenameTableItem.class, tech.ydb.proto.table.YdbTable.RenameTableItem.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.RenameTableItem.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; sourcePath_ = ""; destinationPath_ = ""; replaceDestination_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_RenameTableItem_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.RenameTableItem getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.RenameTableItem.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.RenameTableItem build() { tech.ydb.proto.table.YdbTable.RenameTableItem result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.RenameTableItem buildPartial() { tech.ydb.proto.table.YdbTable.RenameTableItem result = new tech.ydb.proto.table.YdbTable.RenameTableItem(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.RenameTableItem result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.sourcePath_ = sourcePath_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.destinationPath_ = destinationPath_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.replaceDestination_ = replaceDestination_; } } @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.table.YdbTable.RenameTableItem) { return mergeFrom((tech.ydb.proto.table.YdbTable.RenameTableItem)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.RenameTableItem other) { if (other == tech.ydb.proto.table.YdbTable.RenameTableItem.getDefaultInstance()) return this; if (!other.getSourcePath().isEmpty()) { sourcePath_ = other.sourcePath_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getDestinationPath().isEmpty()) { destinationPath_ = other.destinationPath_; bitField0_ |= 0x00000002; onChanged(); } if (other.getReplaceDestination() != false) { setReplaceDestination(other.getReplaceDestination()); } 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: { sourcePath_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { destinationPath_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 24: { replaceDestination_ = input.readBool(); bitField0_ |= 0x00000004; break; } // case 24 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 sourcePath_ = ""; /** *
       * Full path
       * 
* * string source_path = 1; * @return The sourcePath. */ public java.lang.String getSourcePath() { java.lang.Object ref = sourcePath_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourcePath_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Full path
       * 
* * string source_path = 1; * @return The bytes for sourcePath. */ public com.google.protobuf.ByteString getSourcePathBytes() { java.lang.Object ref = sourcePath_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourcePath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Full path
       * 
* * string source_path = 1; * @param value The sourcePath to set. * @return This builder for chaining. */ public Builder setSourcePath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sourcePath_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Full path
       * 
* * string source_path = 1; * @return This builder for chaining. */ public Builder clearSourcePath() { sourcePath_ = getDefaultInstance().getSourcePath(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Full path
       * 
* * string source_path = 1; * @param value The bytes for sourcePath to set. * @return This builder for chaining. */ public Builder setSourcePathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourcePath_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object destinationPath_ = ""; /** *
       * Full path
       * 
* * string destination_path = 2; * @return The destinationPath. */ public java.lang.String getDestinationPath() { java.lang.Object ref = destinationPath_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationPath_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Full path
       * 
* * string destination_path = 2; * @return The bytes for destinationPath. */ public com.google.protobuf.ByteString getDestinationPathBytes() { java.lang.Object ref = destinationPath_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); destinationPath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Full path
       * 
* * string destination_path = 2; * @param value The destinationPath to set. * @return This builder for chaining. */ public Builder setDestinationPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } destinationPath_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Full path
       * 
* * string destination_path = 2; * @return This builder for chaining. */ public Builder clearDestinationPath() { destinationPath_ = getDefaultInstance().getDestinationPath(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * Full path
       * 
* * string destination_path = 2; * @param value The bytes for destinationPath to set. * @return This builder for chaining. */ public Builder setDestinationPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); destinationPath_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private boolean replaceDestination_ ; /** *
       * Move options
       * 
* * bool replace_destination = 3; * @return The replaceDestination. */ @java.lang.Override public boolean getReplaceDestination() { return replaceDestination_; } /** *
       * Move options
       * 
* * bool replace_destination = 3; * @param value The replaceDestination to set. * @return This builder for chaining. */ public Builder setReplaceDestination(boolean value) { replaceDestination_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * Move options
       * 
* * bool replace_destination = 3; * @return This builder for chaining. */ public Builder clearReplaceDestination() { bitField0_ = (bitField0_ & ~0x00000004); replaceDestination_ = false; 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.Table.RenameTableItem) } // @@protoc_insertion_point(class_scope:Ydb.Table.RenameTableItem) private static final tech.ydb.proto.table.YdbTable.RenameTableItem DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.RenameTableItem(); } public static tech.ydb.proto.table.YdbTable.RenameTableItem getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RenameTableItem 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.table.YdbTable.RenameTableItem getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RenameTablesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.RenameTablesRequest) 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(); /** *
     * Session identifier
     * 
* * string session_id = 2; * @return The sessionId. */ java.lang.String getSessionId(); /** *
     * Session identifier
     * 
* * string session_id = 2; * @return The bytes for sessionId. */ com.google.protobuf.ByteString getSessionIdBytes(); /** *
     * Source and destination paths inside RenameTableItem describe rename actions
     * 
* * repeated .Ydb.Table.RenameTableItem tables = 3; */ java.util.List getTablesList(); /** *
     * Source and destination paths inside RenameTableItem describe rename actions
     * 
* * repeated .Ydb.Table.RenameTableItem tables = 3; */ tech.ydb.proto.table.YdbTable.RenameTableItem getTables(int index); /** *
     * Source and destination paths inside RenameTableItem describe rename actions
     * 
* * repeated .Ydb.Table.RenameTableItem tables = 3; */ int getTablesCount(); /** *
     * Source and destination paths inside RenameTableItem describe rename actions
     * 
* * repeated .Ydb.Table.RenameTableItem tables = 3; */ java.util.List getTablesOrBuilderList(); /** *
     * Source and destination paths inside RenameTableItem describe rename actions
     * 
* * repeated .Ydb.Table.RenameTableItem tables = 3; */ tech.ydb.proto.table.YdbTable.RenameTableItemOrBuilder getTablesOrBuilder( int index); } /** *
   * Moves given tables
   * 
* * Protobuf type {@code Ydb.Table.RenameTablesRequest} */ public static final class RenameTablesRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.RenameTablesRequest) RenameTablesRequestOrBuilder { private static final long serialVersionUID = 0L; // Use RenameTablesRequest.newBuilder() to construct. private RenameTablesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RenameTablesRequest() { sessionId_ = ""; tables_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RenameTablesRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_RenameTablesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_RenameTablesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.RenameTablesRequest.class, tech.ydb.proto.table.YdbTable.RenameTablesRequest.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 SESSION_ID_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object sessionId_ = ""; /** *
     * Session identifier
     * 
* * string session_id = 2; * @return The sessionId. */ @java.lang.Override public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; 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(); sessionId_ = s; return s; } } /** *
     * Session identifier
     * 
* * string session_id = 2; * @return The bytes for sessionId. */ @java.lang.Override public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TABLES_FIELD_NUMBER = 3; @SuppressWarnings("serial") private java.util.List tables_; /** *
     * Source and destination paths inside RenameTableItem describe rename actions
     * 
* * repeated .Ydb.Table.RenameTableItem tables = 3; */ @java.lang.Override public java.util.List getTablesList() { return tables_; } /** *
     * Source and destination paths inside RenameTableItem describe rename actions
     * 
* * repeated .Ydb.Table.RenameTableItem tables = 3; */ @java.lang.Override public java.util.List getTablesOrBuilderList() { return tables_; } /** *
     * Source and destination paths inside RenameTableItem describe rename actions
     * 
* * repeated .Ydb.Table.RenameTableItem tables = 3; */ @java.lang.Override public int getTablesCount() { return tables_.size(); } /** *
     * Source and destination paths inside RenameTableItem describe rename actions
     * 
* * repeated .Ydb.Table.RenameTableItem tables = 3; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.RenameTableItem getTables(int index) { return tables_.get(index); } /** *
     * Source and destination paths inside RenameTableItem describe rename actions
     * 
* * repeated .Ydb.Table.RenameTableItem tables = 3; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.RenameTableItemOrBuilder getTablesOrBuilder( int index) { return tables_.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, getOperationParams()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sessionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, sessionId_); } for (int i = 0; i < tables_.size(); i++) { output.writeMessage(3, tables_.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, getOperationParams()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sessionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sessionId_); } for (int i = 0; i < tables_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, tables_.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.table.YdbTable.RenameTablesRequest)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.RenameTablesRequest other = (tech.ydb.proto.table.YdbTable.RenameTablesRequest) obj; if (hasOperationParams() != other.hasOperationParams()) return false; if (hasOperationParams()) { if (!getOperationParams() .equals(other.getOperationParams())) return false; } if (!getSessionId() .equals(other.getSessionId())) return false; if (!getTablesList() .equals(other.getTablesList())) 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) + SESSION_ID_FIELD_NUMBER; hash = (53 * hash) + getSessionId().hashCode(); if (getTablesCount() > 0) { hash = (37 * hash) + TABLES_FIELD_NUMBER; hash = (53 * hash) + getTablesList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.RenameTablesRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.RenameTablesRequest 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.table.YdbTable.RenameTablesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.RenameTablesRequest 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.table.YdbTable.RenameTablesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.RenameTablesRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.RenameTablesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.RenameTablesRequest 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.table.YdbTable.RenameTablesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.RenameTablesRequest 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.table.YdbTable.RenameTablesRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.RenameTablesRequest 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.table.YdbTable.RenameTablesRequest 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; } /** *
     * Moves given tables
     * 
* * Protobuf type {@code Ydb.Table.RenameTablesRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.RenameTablesRequest) tech.ydb.proto.table.YdbTable.RenameTablesRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_RenameTablesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_RenameTablesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.RenameTablesRequest.class, tech.ydb.proto.table.YdbTable.RenameTablesRequest.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.RenameTablesRequest.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(); getTablesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } sessionId_ = ""; if (tablesBuilder_ == null) { tables_ = java.util.Collections.emptyList(); } else { tables_ = null; tablesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_RenameTablesRequest_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.RenameTablesRequest getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.RenameTablesRequest.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.RenameTablesRequest build() { tech.ydb.proto.table.YdbTable.RenameTablesRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.RenameTablesRequest buildPartial() { tech.ydb.proto.table.YdbTable.RenameTablesRequest result = new tech.ydb.proto.table.YdbTable.RenameTablesRequest(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(tech.ydb.proto.table.YdbTable.RenameTablesRequest result) { if (tablesBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { tables_ = java.util.Collections.unmodifiableList(tables_); bitField0_ = (bitField0_ & ~0x00000004); } result.tables_ = tables_; } else { result.tables_ = tablesBuilder_.build(); } } private void buildPartial0(tech.ydb.proto.table.YdbTable.RenameTablesRequest 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.sessionId_ = sessionId_; } 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.table.YdbTable.RenameTablesRequest) { return mergeFrom((tech.ydb.proto.table.YdbTable.RenameTablesRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.RenameTablesRequest other) { if (other == tech.ydb.proto.table.YdbTable.RenameTablesRequest.getDefaultInstance()) return this; if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; bitField0_ |= 0x00000002; onChanged(); } if (tablesBuilder_ == null) { if (!other.tables_.isEmpty()) { if (tables_.isEmpty()) { tables_ = other.tables_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureTablesIsMutable(); tables_.addAll(other.tables_); } onChanged(); } } else { if (!other.tables_.isEmpty()) { if (tablesBuilder_.isEmpty()) { tablesBuilder_.dispose(); tablesBuilder_ = null; tables_ = other.tables_; bitField0_ = (bitField0_ & ~0x00000004); tablesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTablesFieldBuilder() : null; } else { tablesBuilder_.addAllMessages(other.tables_); } } } 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: { sessionId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { tech.ydb.proto.table.YdbTable.RenameTableItem m = input.readMessage( tech.ydb.proto.table.YdbTable.RenameTableItem.parser(), extensionRegistry); if (tablesBuilder_ == null) { ensureTablesIsMutable(); tables_.add(m); } else { tablesBuilder_.addMessage(m); } break; } // case 26 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 sessionId_ = ""; /** *
       * Session identifier
       * 
* * string session_id = 2; * @return The sessionId. */ public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 2; * @return The bytes for sessionId. */ public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 2; * @param value The sessionId to set. * @return This builder for chaining. */ public Builder setSessionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sessionId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 2; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 2; * @param value The bytes for sessionId to set. * @return This builder for chaining. */ public Builder setSessionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sessionId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.util.List tables_ = java.util.Collections.emptyList(); private void ensureTablesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { tables_ = new java.util.ArrayList(tables_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.RenameTableItem, tech.ydb.proto.table.YdbTable.RenameTableItem.Builder, tech.ydb.proto.table.YdbTable.RenameTableItemOrBuilder> tablesBuilder_; /** *
       * Source and destination paths inside RenameTableItem describe rename actions
       * 
* * repeated .Ydb.Table.RenameTableItem tables = 3; */ public java.util.List getTablesList() { if (tablesBuilder_ == null) { return java.util.Collections.unmodifiableList(tables_); } else { return tablesBuilder_.getMessageList(); } } /** *
       * Source and destination paths inside RenameTableItem describe rename actions
       * 
* * repeated .Ydb.Table.RenameTableItem tables = 3; */ public int getTablesCount() { if (tablesBuilder_ == null) { return tables_.size(); } else { return tablesBuilder_.getCount(); } } /** *
       * Source and destination paths inside RenameTableItem describe rename actions
       * 
* * repeated .Ydb.Table.RenameTableItem tables = 3; */ public tech.ydb.proto.table.YdbTable.RenameTableItem getTables(int index) { if (tablesBuilder_ == null) { return tables_.get(index); } else { return tablesBuilder_.getMessage(index); } } /** *
       * Source and destination paths inside RenameTableItem describe rename actions
       * 
* * repeated .Ydb.Table.RenameTableItem tables = 3; */ public Builder setTables( int index, tech.ydb.proto.table.YdbTable.RenameTableItem value) { if (tablesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTablesIsMutable(); tables_.set(index, value); onChanged(); } else { tablesBuilder_.setMessage(index, value); } return this; } /** *
       * Source and destination paths inside RenameTableItem describe rename actions
       * 
* * repeated .Ydb.Table.RenameTableItem tables = 3; */ public Builder setTables( int index, tech.ydb.proto.table.YdbTable.RenameTableItem.Builder builderForValue) { if (tablesBuilder_ == null) { ensureTablesIsMutable(); tables_.set(index, builderForValue.build()); onChanged(); } else { tablesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Source and destination paths inside RenameTableItem describe rename actions
       * 
* * repeated .Ydb.Table.RenameTableItem tables = 3; */ public Builder addTables(tech.ydb.proto.table.YdbTable.RenameTableItem value) { if (tablesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTablesIsMutable(); tables_.add(value); onChanged(); } else { tablesBuilder_.addMessage(value); } return this; } /** *
       * Source and destination paths inside RenameTableItem describe rename actions
       * 
* * repeated .Ydb.Table.RenameTableItem tables = 3; */ public Builder addTables( int index, tech.ydb.proto.table.YdbTable.RenameTableItem value) { if (tablesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTablesIsMutable(); tables_.add(index, value); onChanged(); } else { tablesBuilder_.addMessage(index, value); } return this; } /** *
       * Source and destination paths inside RenameTableItem describe rename actions
       * 
* * repeated .Ydb.Table.RenameTableItem tables = 3; */ public Builder addTables( tech.ydb.proto.table.YdbTable.RenameTableItem.Builder builderForValue) { if (tablesBuilder_ == null) { ensureTablesIsMutable(); tables_.add(builderForValue.build()); onChanged(); } else { tablesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Source and destination paths inside RenameTableItem describe rename actions
       * 
* * repeated .Ydb.Table.RenameTableItem tables = 3; */ public Builder addTables( int index, tech.ydb.proto.table.YdbTable.RenameTableItem.Builder builderForValue) { if (tablesBuilder_ == null) { ensureTablesIsMutable(); tables_.add(index, builderForValue.build()); onChanged(); } else { tablesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Source and destination paths inside RenameTableItem describe rename actions
       * 
* * repeated .Ydb.Table.RenameTableItem tables = 3; */ public Builder addAllTables( java.lang.Iterable values) { if (tablesBuilder_ == null) { ensureTablesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, tables_); onChanged(); } else { tablesBuilder_.addAllMessages(values); } return this; } /** *
       * Source and destination paths inside RenameTableItem describe rename actions
       * 
* * repeated .Ydb.Table.RenameTableItem tables = 3; */ public Builder clearTables() { if (tablesBuilder_ == null) { tables_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { tablesBuilder_.clear(); } return this; } /** *
       * Source and destination paths inside RenameTableItem describe rename actions
       * 
* * repeated .Ydb.Table.RenameTableItem tables = 3; */ public Builder removeTables(int index) { if (tablesBuilder_ == null) { ensureTablesIsMutable(); tables_.remove(index); onChanged(); } else { tablesBuilder_.remove(index); } return this; } /** *
       * Source and destination paths inside RenameTableItem describe rename actions
       * 
* * repeated .Ydb.Table.RenameTableItem tables = 3; */ public tech.ydb.proto.table.YdbTable.RenameTableItem.Builder getTablesBuilder( int index) { return getTablesFieldBuilder().getBuilder(index); } /** *
       * Source and destination paths inside RenameTableItem describe rename actions
       * 
* * repeated .Ydb.Table.RenameTableItem tables = 3; */ public tech.ydb.proto.table.YdbTable.RenameTableItemOrBuilder getTablesOrBuilder( int index) { if (tablesBuilder_ == null) { return tables_.get(index); } else { return tablesBuilder_.getMessageOrBuilder(index); } } /** *
       * Source and destination paths inside RenameTableItem describe rename actions
       * 
* * repeated .Ydb.Table.RenameTableItem tables = 3; */ public java.util.List getTablesOrBuilderList() { if (tablesBuilder_ != null) { return tablesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(tables_); } } /** *
       * Source and destination paths inside RenameTableItem describe rename actions
       * 
* * repeated .Ydb.Table.RenameTableItem tables = 3; */ public tech.ydb.proto.table.YdbTable.RenameTableItem.Builder addTablesBuilder() { return getTablesFieldBuilder().addBuilder( tech.ydb.proto.table.YdbTable.RenameTableItem.getDefaultInstance()); } /** *
       * Source and destination paths inside RenameTableItem describe rename actions
       * 
* * repeated .Ydb.Table.RenameTableItem tables = 3; */ public tech.ydb.proto.table.YdbTable.RenameTableItem.Builder addTablesBuilder( int index) { return getTablesFieldBuilder().addBuilder( index, tech.ydb.proto.table.YdbTable.RenameTableItem.getDefaultInstance()); } /** *
       * Source and destination paths inside RenameTableItem describe rename actions
       * 
* * repeated .Ydb.Table.RenameTableItem tables = 3; */ public java.util.List getTablesBuilderList() { return getTablesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.RenameTableItem, tech.ydb.proto.table.YdbTable.RenameTableItem.Builder, tech.ydb.proto.table.YdbTable.RenameTableItemOrBuilder> getTablesFieldBuilder() { if (tablesBuilder_ == null) { tablesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.RenameTableItem, tech.ydb.proto.table.YdbTable.RenameTableItem.Builder, tech.ydb.proto.table.YdbTable.RenameTableItemOrBuilder>( tables_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); tables_ = null; } return tablesBuilder_; } @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.Table.RenameTablesRequest) } // @@protoc_insertion_point(class_scope:Ydb.Table.RenameTablesRequest) private static final tech.ydb.proto.table.YdbTable.RenameTablesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.RenameTablesRequest(); } public static tech.ydb.proto.table.YdbTable.RenameTablesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RenameTablesRequest 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.table.YdbTable.RenameTablesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RenameTablesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.RenameTablesResponse) 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.Table.RenameTablesResponse} */ public static final class RenameTablesResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.RenameTablesResponse) RenameTablesResponseOrBuilder { private static final long serialVersionUID = 0L; // Use RenameTablesResponse.newBuilder() to construct. private RenameTablesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RenameTablesResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RenameTablesResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_RenameTablesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_RenameTablesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.RenameTablesResponse.class, tech.ydb.proto.table.YdbTable.RenameTablesResponse.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.table.YdbTable.RenameTablesResponse)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.RenameTablesResponse other = (tech.ydb.proto.table.YdbTable.RenameTablesResponse) 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.table.YdbTable.RenameTablesResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.RenameTablesResponse 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.table.YdbTable.RenameTablesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.RenameTablesResponse 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.table.YdbTable.RenameTablesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.RenameTablesResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.RenameTablesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.RenameTablesResponse 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.table.YdbTable.RenameTablesResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.RenameTablesResponse 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.table.YdbTable.RenameTablesResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.RenameTablesResponse 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.table.YdbTable.RenameTablesResponse 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.Table.RenameTablesResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.RenameTablesResponse) tech.ydb.proto.table.YdbTable.RenameTablesResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_RenameTablesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_RenameTablesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.RenameTablesResponse.class, tech.ydb.proto.table.YdbTable.RenameTablesResponse.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.RenameTablesResponse.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.table.YdbTable.internal_static_Ydb_Table_RenameTablesResponse_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.RenameTablesResponse getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.RenameTablesResponse.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.RenameTablesResponse build() { tech.ydb.proto.table.YdbTable.RenameTablesResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.RenameTablesResponse buildPartial() { tech.ydb.proto.table.YdbTable.RenameTablesResponse result = new tech.ydb.proto.table.YdbTable.RenameTablesResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.RenameTablesResponse 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.table.YdbTable.RenameTablesResponse) { return mergeFrom((tech.ydb.proto.table.YdbTable.RenameTablesResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.RenameTablesResponse other) { if (other == tech.ydb.proto.table.YdbTable.RenameTablesResponse.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.Table.RenameTablesResponse) } // @@protoc_insertion_point(class_scope:Ydb.Table.RenameTablesResponse) private static final tech.ydb.proto.table.YdbTable.RenameTablesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.RenameTablesResponse(); } public static tech.ydb.proto.table.YdbTable.RenameTablesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RenameTablesResponse 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.table.YdbTable.RenameTablesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DescribeTableRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.DescribeTableRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ java.lang.String getSessionId(); /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ com.google.protobuf.ByteString getSessionIdBytes(); /** *
     * Full path
     * 
* * string path = 2; * @return The path. */ java.lang.String getPath(); /** *
     * Full path
     * 
* * string path = 2; * @return The bytes for path. */ com.google.protobuf.ByteString getPathBytes(); /** * .Ydb.Operations.OperationParams operation_params = 4; * @return Whether the operationParams field is set. */ boolean hasOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 4; * @return The operationParams. */ tech.ydb.proto.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 4; */ tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder(); /** *
     * Includes shard key distribution info
     * 
* * bool include_shard_key_bounds = 5; * @return The includeShardKeyBounds. */ boolean getIncludeShardKeyBounds(); /** *
     * Includes table statistics
     * 
* * bool include_table_stats = 6; * @return The includeTableStats. */ boolean getIncludeTableStats(); /** *
     * Includes partition statistics (required include_table_statistics)
     * 
* * bool include_partition_stats = 7; * @return The includePartitionStats. */ boolean getIncludePartitionStats(); } /** *
   * Describe table with given path
   * 
* * Protobuf type {@code Ydb.Table.DescribeTableRequest} */ public static final class DescribeTableRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.DescribeTableRequest) DescribeTableRequestOrBuilder { private static final long serialVersionUID = 0L; // Use DescribeTableRequest.newBuilder() to construct. private DescribeTableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DescribeTableRequest() { sessionId_ = ""; path_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DescribeTableRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DescribeTableRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DescribeTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.DescribeTableRequest.class, tech.ydb.proto.table.YdbTable.DescribeTableRequest.Builder.class); } private int bitField0_; public static final int SESSION_ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object sessionId_ = ""; /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ @java.lang.Override public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; 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(); sessionId_ = s; return s; } } /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ @java.lang.Override public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PATH_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object path_ = ""; /** *
     * Full 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; } } /** *
     * Full path
     * 
* * 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 OPERATION_PARAMS_FIELD_NUMBER = 4; private tech.ydb.proto.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 4; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 4; * @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 = 4; */ @java.lang.Override public tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } public static final int INCLUDE_SHARD_KEY_BOUNDS_FIELD_NUMBER = 5; private boolean includeShardKeyBounds_ = false; /** *
     * Includes shard key distribution info
     * 
* * bool include_shard_key_bounds = 5; * @return The includeShardKeyBounds. */ @java.lang.Override public boolean getIncludeShardKeyBounds() { return includeShardKeyBounds_; } public static final int INCLUDE_TABLE_STATS_FIELD_NUMBER = 6; private boolean includeTableStats_ = false; /** *
     * Includes table statistics
     * 
* * bool include_table_stats = 6; * @return The includeTableStats. */ @java.lang.Override public boolean getIncludeTableStats() { return includeTableStats_; } public static final int INCLUDE_PARTITION_STATS_FIELD_NUMBER = 7; private boolean includePartitionStats_ = false; /** *
     * Includes partition statistics (required include_table_statistics)
     * 
* * bool include_partition_stats = 7; * @return The includePartitionStats. */ @java.lang.Override public boolean getIncludePartitionStats() { return includePartitionStats_; } 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(sessionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(4, getOperationParams()); } if (includeShardKeyBounds_ != false) { output.writeBool(5, includeShardKeyBounds_); } if (includeTableStats_ != false) { output.writeBool(6, includeTableStats_); } if (includePartitionStats_ != false) { output.writeBool(7, includePartitionStats_); } 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(sessionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getOperationParams()); } if (includeShardKeyBounds_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, includeShardKeyBounds_); } if (includeTableStats_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(6, includeTableStats_); } if (includePartitionStats_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(7, includePartitionStats_); } 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.table.YdbTable.DescribeTableRequest)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.DescribeTableRequest other = (tech.ydb.proto.table.YdbTable.DescribeTableRequest) obj; if (!getSessionId() .equals(other.getSessionId())) return false; if (!getPath() .equals(other.getPath())) return false; if (hasOperationParams() != other.hasOperationParams()) return false; if (hasOperationParams()) { if (!getOperationParams() .equals(other.getOperationParams())) return false; } if (getIncludeShardKeyBounds() != other.getIncludeShardKeyBounds()) return false; if (getIncludeTableStats() != other.getIncludeTableStats()) return false; if (getIncludePartitionStats() != other.getIncludePartitionStats()) 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) + SESSION_ID_FIELD_NUMBER; hash = (53 * hash) + getSessionId().hashCode(); hash = (37 * hash) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); if (hasOperationParams()) { hash = (37 * hash) + OPERATION_PARAMS_FIELD_NUMBER; hash = (53 * hash) + getOperationParams().hashCode(); } hash = (37 * hash) + INCLUDE_SHARD_KEY_BOUNDS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIncludeShardKeyBounds()); hash = (37 * hash) + INCLUDE_TABLE_STATS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIncludeTableStats()); hash = (37 * hash) + INCLUDE_PARTITION_STATS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIncludePartitionStats()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.DescribeTableRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.DescribeTableRequest 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.table.YdbTable.DescribeTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.DescribeTableRequest 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.table.YdbTable.DescribeTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.DescribeTableRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.DescribeTableRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.DescribeTableRequest 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.table.YdbTable.DescribeTableRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.DescribeTableRequest 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.table.YdbTable.DescribeTableRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.DescribeTableRequest 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.table.YdbTable.DescribeTableRequest 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; } /** *
     * Describe table with given path
     * 
* * Protobuf type {@code Ydb.Table.DescribeTableRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.DescribeTableRequest) tech.ydb.proto.table.YdbTable.DescribeTableRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DescribeTableRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DescribeTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.DescribeTableRequest.class, tech.ydb.proto.table.YdbTable.DescribeTableRequest.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.DescribeTableRequest.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; sessionId_ = ""; path_ = ""; operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } includeShardKeyBounds_ = false; includeTableStats_ = false; includePartitionStats_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DescribeTableRequest_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.DescribeTableRequest getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.DescribeTableRequest.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.DescribeTableRequest build() { tech.ydb.proto.table.YdbTable.DescribeTableRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.DescribeTableRequest buildPartial() { tech.ydb.proto.table.YdbTable.DescribeTableRequest result = new tech.ydb.proto.table.YdbTable.DescribeTableRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.DescribeTableRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.sessionId_ = sessionId_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.path_ = path_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { result.operationParams_ = operationParamsBuilder_ == null ? operationParams_ : operationParamsBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { result.includeShardKeyBounds_ = includeShardKeyBounds_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.includeTableStats_ = includeTableStats_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.includePartitionStats_ = includePartitionStats_; } 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.table.YdbTable.DescribeTableRequest) { return mergeFrom((tech.ydb.proto.table.YdbTable.DescribeTableRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.DescribeTableRequest other) { if (other == tech.ydb.proto.table.YdbTable.DescribeTableRequest.getDefaultInstance()) return this; if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getPath().isEmpty()) { path_ = other.path_; bitField0_ |= 0x00000002; onChanged(); } if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } if (other.getIncludeShardKeyBounds() != false) { setIncludeShardKeyBounds(other.getIncludeShardKeyBounds()); } if (other.getIncludeTableStats() != false) { setIncludeTableStats(other.getIncludeTableStats()); } if (other.getIncludePartitionStats() != false) { setIncludePartitionStats(other.getIncludePartitionStats()); } 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: { sessionId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { path_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 34: { input.readMessage( getOperationParamsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 34 case 40: { includeShardKeyBounds_ = input.readBool(); bitField0_ |= 0x00000008; break; } // case 40 case 48: { includeTableStats_ = input.readBool(); bitField0_ |= 0x00000010; break; } // case 48 case 56: { includePartitionStats_ = input.readBool(); bitField0_ |= 0x00000020; break; } // case 56 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 sessionId_ = ""; /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The sessionId. */ public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The bytes for sessionId. */ public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The sessionId to set. * @return This builder for chaining. */ public Builder setSessionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sessionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The bytes for sessionId to set. * @return This builder for chaining. */ public Builder setSessionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sessionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object path_ = ""; /** *
       * Full 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; } } /** *
       * Full path
       * 
* * 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; } } /** *
       * Full path
       * 
* * 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; } /** *
       * Full path
       * 
* * string path = 2; * @return This builder for chaining. */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * Full path
       * 
* * 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 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 = 4; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return ((bitField0_ & 0x00000004) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 4; * @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 = 4; */ 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_ |= 0x00000004; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 4; */ public Builder setOperationParams( tech.ydb.proto.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 4; */ public Builder mergeOperationParams(tech.ydb.proto.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && operationParams_ != null && operationParams_ != tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance()) { getOperationParamsBuilder().mergeFrom(value); } else { operationParams_ = value; } } else { operationParamsBuilder_.mergeFrom(value); } if (operationParams_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 4; */ public Builder clearOperationParams() { bitField0_ = (bitField0_ & ~0x00000004); operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 4; */ public tech.ydb.proto.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { bitField0_ |= 0x00000004; onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 4; */ 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 = 4; */ 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 boolean includeShardKeyBounds_ ; /** *
       * Includes shard key distribution info
       * 
* * bool include_shard_key_bounds = 5; * @return The includeShardKeyBounds. */ @java.lang.Override public boolean getIncludeShardKeyBounds() { return includeShardKeyBounds_; } /** *
       * Includes shard key distribution info
       * 
* * bool include_shard_key_bounds = 5; * @param value The includeShardKeyBounds to set. * @return This builder for chaining. */ public Builder setIncludeShardKeyBounds(boolean value) { includeShardKeyBounds_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * Includes shard key distribution info
       * 
* * bool include_shard_key_bounds = 5; * @return This builder for chaining. */ public Builder clearIncludeShardKeyBounds() { bitField0_ = (bitField0_ & ~0x00000008); includeShardKeyBounds_ = false; onChanged(); return this; } private boolean includeTableStats_ ; /** *
       * Includes table statistics
       * 
* * bool include_table_stats = 6; * @return The includeTableStats. */ @java.lang.Override public boolean getIncludeTableStats() { return includeTableStats_; } /** *
       * Includes table statistics
       * 
* * bool include_table_stats = 6; * @param value The includeTableStats to set. * @return This builder for chaining. */ public Builder setIncludeTableStats(boolean value) { includeTableStats_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * Includes table statistics
       * 
* * bool include_table_stats = 6; * @return This builder for chaining. */ public Builder clearIncludeTableStats() { bitField0_ = (bitField0_ & ~0x00000010); includeTableStats_ = false; onChanged(); return this; } private boolean includePartitionStats_ ; /** *
       * Includes partition statistics (required include_table_statistics)
       * 
* * bool include_partition_stats = 7; * @return The includePartitionStats. */ @java.lang.Override public boolean getIncludePartitionStats() { return includePartitionStats_; } /** *
       * Includes partition statistics (required include_table_statistics)
       * 
* * bool include_partition_stats = 7; * @param value The includePartitionStats to set. * @return This builder for chaining. */ public Builder setIncludePartitionStats(boolean value) { includePartitionStats_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * Includes partition statistics (required include_table_statistics)
       * 
* * bool include_partition_stats = 7; * @return This builder for chaining. */ public Builder clearIncludePartitionStats() { bitField0_ = (bitField0_ & ~0x00000020); includePartitionStats_ = false; 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.Table.DescribeTableRequest) } // @@protoc_insertion_point(class_scope:Ydb.Table.DescribeTableRequest) private static final tech.ydb.proto.table.YdbTable.DescribeTableRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.DescribeTableRequest(); } public static tech.ydb.proto.table.YdbTable.DescribeTableRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DescribeTableRequest 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.table.YdbTable.DescribeTableRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DescribeTableResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.DescribeTableResponse) com.google.protobuf.MessageOrBuilder { /** *
     * Holds DescribeTableResult in case of successful call
     * 
* * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ boolean hasOperation(); /** *
     * Holds DescribeTableResult in case of successful call
     * 
* * .Ydb.Operations.Operation operation = 1; * @return The operation. */ tech.ydb.proto.OperationProtos.Operation getOperation(); /** *
     * Holds DescribeTableResult in case of successful call
     * 
* * .Ydb.Operations.Operation operation = 1; */ tech.ydb.proto.OperationProtos.OperationOrBuilder getOperationOrBuilder(); } /** * Protobuf type {@code Ydb.Table.DescribeTableResponse} */ public static final class DescribeTableResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.DescribeTableResponse) DescribeTableResponseOrBuilder { private static final long serialVersionUID = 0L; // Use DescribeTableResponse.newBuilder() to construct. private DescribeTableResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DescribeTableResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DescribeTableResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DescribeTableResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DescribeTableResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.DescribeTableResponse.class, tech.ydb.proto.table.YdbTable.DescribeTableResponse.Builder.class); } private int bitField0_; public static final int OPERATION_FIELD_NUMBER = 1; private tech.ydb.proto.OperationProtos.Operation operation_; /** *
     * Holds DescribeTableResult 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 DescribeTableResult 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 DescribeTableResult 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.table.YdbTable.DescribeTableResponse)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.DescribeTableResponse other = (tech.ydb.proto.table.YdbTable.DescribeTableResponse) 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.table.YdbTable.DescribeTableResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.DescribeTableResponse 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.table.YdbTable.DescribeTableResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.DescribeTableResponse 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.table.YdbTable.DescribeTableResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.DescribeTableResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.DescribeTableResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.DescribeTableResponse 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.table.YdbTable.DescribeTableResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.DescribeTableResponse 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.table.YdbTable.DescribeTableResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.DescribeTableResponse 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.table.YdbTable.DescribeTableResponse 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.Table.DescribeTableResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.DescribeTableResponse) tech.ydb.proto.table.YdbTable.DescribeTableResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DescribeTableResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DescribeTableResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.DescribeTableResponse.class, tech.ydb.proto.table.YdbTable.DescribeTableResponse.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.DescribeTableResponse.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.table.YdbTable.internal_static_Ydb_Table_DescribeTableResponse_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.DescribeTableResponse getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.DescribeTableResponse.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.DescribeTableResponse build() { tech.ydb.proto.table.YdbTable.DescribeTableResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.DescribeTableResponse buildPartial() { tech.ydb.proto.table.YdbTable.DescribeTableResponse result = new tech.ydb.proto.table.YdbTable.DescribeTableResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.DescribeTableResponse 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.table.YdbTable.DescribeTableResponse) { return mergeFrom((tech.ydb.proto.table.YdbTable.DescribeTableResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.DescribeTableResponse other) { if (other == tech.ydb.proto.table.YdbTable.DescribeTableResponse.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 DescribeTableResult 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 DescribeTableResult 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 DescribeTableResult 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 DescribeTableResult 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 DescribeTableResult 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 DescribeTableResult 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 DescribeTableResult 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 DescribeTableResult 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 DescribeTableResult 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.Table.DescribeTableResponse) } // @@protoc_insertion_point(class_scope:Ydb.Table.DescribeTableResponse) private static final tech.ydb.proto.table.YdbTable.DescribeTableResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.DescribeTableResponse(); } public static tech.ydb.proto.table.YdbTable.DescribeTableResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DescribeTableResponse 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.table.YdbTable.DescribeTableResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DescribeTableResultOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.DescribeTableResult) com.google.protobuf.MessageOrBuilder { /** *
     * Description of scheme object
     * 
* * .Ydb.Scheme.Entry self = 1; * @return Whether the self field is set. */ boolean hasSelf(); /** *
     * Description of scheme object
     * 
* * .Ydb.Scheme.Entry self = 1; * @return The self. */ tech.ydb.proto.scheme.SchemeOperationProtos.Entry getSelf(); /** *
     * Description of scheme object
     * 
* * .Ydb.Scheme.Entry self = 1; */ tech.ydb.proto.scheme.SchemeOperationProtos.EntryOrBuilder getSelfOrBuilder(); /** *
     * List of columns
     * 
* * repeated .Ydb.Table.ColumnMeta columns = 2; */ java.util.List getColumnsList(); /** *
     * List of columns
     * 
* * repeated .Ydb.Table.ColumnMeta columns = 2; */ tech.ydb.proto.table.YdbTable.ColumnMeta getColumns(int index); /** *
     * List of columns
     * 
* * repeated .Ydb.Table.ColumnMeta columns = 2; */ int getColumnsCount(); /** *
     * List of columns
     * 
* * repeated .Ydb.Table.ColumnMeta columns = 2; */ java.util.List getColumnsOrBuilderList(); /** *
     * List of columns
     * 
* * repeated .Ydb.Table.ColumnMeta columns = 2; */ tech.ydb.proto.table.YdbTable.ColumnMetaOrBuilder getColumnsOrBuilder( int index); /** *
     * List of primary key columns
     * 
* * repeated string primary_key = 3; * @return A list containing the primaryKey. */ java.util.List getPrimaryKeyList(); /** *
     * List of primary key columns
     * 
* * repeated string primary_key = 3; * @return The count of primaryKey. */ int getPrimaryKeyCount(); /** *
     * List of primary key columns
     * 
* * repeated string primary_key = 3; * @param index The index of the element to return. * @return The primaryKey at the given index. */ java.lang.String getPrimaryKey(int index); /** *
     * List of primary key columns
     * 
* * repeated string primary_key = 3; * @param index The index of the value to return. * @return The bytes of the primaryKey at the given index. */ com.google.protobuf.ByteString getPrimaryKeyBytes(int index); /** *
     * List of key ranges for shard
     * 
* * repeated .Ydb.TypedValue shard_key_bounds = 4; */ java.util.List getShardKeyBoundsList(); /** *
     * List of key ranges for shard
     * 
* * repeated .Ydb.TypedValue shard_key_bounds = 4; */ tech.ydb.proto.ValueProtos.TypedValue getShardKeyBounds(int index); /** *
     * List of key ranges for shard
     * 
* * repeated .Ydb.TypedValue shard_key_bounds = 4; */ int getShardKeyBoundsCount(); /** *
     * List of key ranges for shard
     * 
* * repeated .Ydb.TypedValue shard_key_bounds = 4; */ java.util.List getShardKeyBoundsOrBuilderList(); /** *
     * List of key ranges for shard
     * 
* * repeated .Ydb.TypedValue shard_key_bounds = 4; */ tech.ydb.proto.ValueProtos.TypedValueOrBuilder getShardKeyBoundsOrBuilder( int index); /** *
     * List of indexes
     * 
* * repeated .Ydb.Table.TableIndexDescription indexes = 5; */ java.util.List getIndexesList(); /** *
     * List of indexes
     * 
* * repeated .Ydb.Table.TableIndexDescription indexes = 5; */ tech.ydb.proto.table.YdbTable.TableIndexDescription getIndexes(int index); /** *
     * List of indexes
     * 
* * repeated .Ydb.Table.TableIndexDescription indexes = 5; */ int getIndexesCount(); /** *
     * List of indexes
     * 
* * repeated .Ydb.Table.TableIndexDescription indexes = 5; */ java.util.List getIndexesOrBuilderList(); /** *
     * List of indexes
     * 
* * repeated .Ydb.Table.TableIndexDescription indexes = 5; */ tech.ydb.proto.table.YdbTable.TableIndexDescriptionOrBuilder getIndexesOrBuilder( int index); /** *
     * Statistics of table
     * 
* * .Ydb.Table.TableStats table_stats = 6; * @return Whether the tableStats field is set. */ boolean hasTableStats(); /** *
     * Statistics of table
     * 
* * .Ydb.Table.TableStats table_stats = 6; * @return The tableStats. */ tech.ydb.proto.table.YdbTable.TableStats getTableStats(); /** *
     * Statistics of table
     * 
* * .Ydb.Table.TableStats table_stats = 6; */ tech.ydb.proto.table.YdbTable.TableStatsOrBuilder getTableStatsOrBuilder(); /** *
     * TTL params
     * 
* * .Ydb.Table.TtlSettings ttl_settings = 7; * @return Whether the ttlSettings field is set. */ boolean hasTtlSettings(); /** *
     * TTL params
     * 
* * .Ydb.Table.TtlSettings ttl_settings = 7; * @return The ttlSettings. */ tech.ydb.proto.table.YdbTable.TtlSettings getTtlSettings(); /** *
     * TTL params
     * 
* * .Ydb.Table.TtlSettings ttl_settings = 7; */ tech.ydb.proto.table.YdbTable.TtlSettingsOrBuilder getTtlSettingsOrBuilder(); /** *
     * Storage settings for table
     * 
* * .Ydb.Table.StorageSettings storage_settings = 8; * @return Whether the storageSettings field is set. */ boolean hasStorageSettings(); /** *
     * Storage settings for table
     * 
* * .Ydb.Table.StorageSettings storage_settings = 8; * @return The storageSettings. */ tech.ydb.proto.table.YdbTable.StorageSettings getStorageSettings(); /** *
     * Storage settings for table
     * 
* * .Ydb.Table.StorageSettings storage_settings = 8; */ tech.ydb.proto.table.YdbTable.StorageSettingsOrBuilder getStorageSettingsOrBuilder(); /** *
     * Column families
     * 
* * repeated .Ydb.Table.ColumnFamily column_families = 9; */ java.util.List getColumnFamiliesList(); /** *
     * Column families
     * 
* * repeated .Ydb.Table.ColumnFamily column_families = 9; */ tech.ydb.proto.table.YdbTable.ColumnFamily getColumnFamilies(int index); /** *
     * Column families
     * 
* * repeated .Ydb.Table.ColumnFamily column_families = 9; */ int getColumnFamiliesCount(); /** *
     * Column families
     * 
* * repeated .Ydb.Table.ColumnFamily column_families = 9; */ java.util.List getColumnFamiliesOrBuilderList(); /** *
     * Column families
     * 
* * repeated .Ydb.Table.ColumnFamily column_families = 9; */ tech.ydb.proto.table.YdbTable.ColumnFamilyOrBuilder getColumnFamiliesOrBuilder( int index); /** *
     * Attributes
     * 
* * map<string, string> attributes = 10; */ int getAttributesCount(); /** *
     * Attributes
     * 
* * map<string, string> attributes = 10; */ boolean containsAttributes( java.lang.String key); /** * Use {@link #getAttributesMap()} instead. */ @java.lang.Deprecated java.util.Map getAttributes(); /** *
     * Attributes
     * 
* * map<string, string> attributes = 10; */ java.util.Map getAttributesMap(); /** *
     * Attributes
     * 
* * map<string, string> attributes = 10; */ /* nullable */ java.lang.String getAttributesOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** *
     * Attributes
     * 
* * map<string, string> attributes = 10; */ java.lang.String getAttributesOrThrow( java.lang.String key); /** *
     * Partitioning settings for table
     * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 12; * @return Whether the partitioningSettings field is set. */ boolean hasPartitioningSettings(); /** *
     * Partitioning settings for table
     * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 12; * @return The partitioningSettings. */ tech.ydb.proto.table.YdbTable.PartitioningSettings getPartitioningSettings(); /** *
     * Partitioning settings for table
     * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 12; */ tech.ydb.proto.table.YdbTable.PartitioningSettingsOrBuilder getPartitioningSettingsOrBuilder(); /** *
     * Bloom filter by key
     * 
* * .Ydb.FeatureFlag.Status key_bloom_filter = 13; * @return The enum numeric value on the wire for keyBloomFilter. */ int getKeyBloomFilterValue(); /** *
     * Bloom filter by key
     * 
* * .Ydb.FeatureFlag.Status key_bloom_filter = 13; * @return The keyBloomFilter. */ tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getKeyBloomFilter(); /** *
     * Read replicas settings for table
     * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 14; * @return Whether the readReplicasSettings field is set. */ boolean hasReadReplicasSettings(); /** *
     * Read replicas settings for table
     * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 14; * @return The readReplicasSettings. */ tech.ydb.proto.table.YdbTable.ReadReplicasSettings getReadReplicasSettings(); /** *
     * Read replicas settings for table
     * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 14; */ tech.ydb.proto.table.YdbTable.ReadReplicasSettingsOrBuilder getReadReplicasSettingsOrBuilder(); /** *
     * List of changefeeds
     * 
* * repeated .Ydb.Table.ChangefeedDescription changefeeds = 15; */ java.util.List getChangefeedsList(); /** *
     * List of changefeeds
     * 
* * repeated .Ydb.Table.ChangefeedDescription changefeeds = 15; */ tech.ydb.proto.table.YdbTable.ChangefeedDescription getChangefeeds(int index); /** *
     * List of changefeeds
     * 
* * repeated .Ydb.Table.ChangefeedDescription changefeeds = 15; */ int getChangefeedsCount(); /** *
     * List of changefeeds
     * 
* * repeated .Ydb.Table.ChangefeedDescription changefeeds = 15; */ java.util.List getChangefeedsOrBuilderList(); /** *
     * List of changefeeds
     * 
* * repeated .Ydb.Table.ChangefeedDescription changefeeds = 15; */ tech.ydb.proto.table.YdbTable.ChangefeedDescriptionOrBuilder getChangefeedsOrBuilder( int index); /** *
     * Tiering rules name
     * 
* * string tiering = 16; * @return The tiering. */ java.lang.String getTiering(); /** *
     * Tiering rules name
     * 
* * string tiering = 16; * @return The bytes for tiering. */ com.google.protobuf.ByteString getTieringBytes(); /** *
     * Is temporary table
     * 
* * bool temporary = 17; * @return The temporary. */ boolean getTemporary(); /** *
     * Is table column or row oriented
     * 
* * .Ydb.Table.StoreType store_type = 18; * @return The enum numeric value on the wire for storeType. */ int getStoreTypeValue(); /** *
     * Is table column or row oriented
     * 
* * .Ydb.Table.StoreType store_type = 18; * @return The storeType. */ tech.ydb.proto.table.YdbTable.StoreType getStoreType(); } /** * Protobuf type {@code Ydb.Table.DescribeTableResult} */ public static final class DescribeTableResult extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.DescribeTableResult) DescribeTableResultOrBuilder { private static final long serialVersionUID = 0L; // Use DescribeTableResult.newBuilder() to construct. private DescribeTableResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DescribeTableResult() { columns_ = java.util.Collections.emptyList(); primaryKey_ = com.google.protobuf.LazyStringArrayList.emptyList(); shardKeyBounds_ = java.util.Collections.emptyList(); indexes_ = java.util.Collections.emptyList(); columnFamilies_ = java.util.Collections.emptyList(); keyBloomFilter_ = 0; changefeeds_ = java.util.Collections.emptyList(); tiering_ = ""; storeType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DescribeTableResult(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DescribeTableResult_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 10: return internalGetAttributes(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DescribeTableResult_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.DescribeTableResult.class, tech.ydb.proto.table.YdbTable.DescribeTableResult.Builder.class); } private int bitField0_; public static final int SELF_FIELD_NUMBER = 1; private tech.ydb.proto.scheme.SchemeOperationProtos.Entry self_; /** *
     * Description of scheme object
     * 
* * .Ydb.Scheme.Entry self = 1; * @return Whether the self field is set. */ @java.lang.Override public boolean hasSelf() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Description of scheme object
     * 
* * .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_; } /** *
     * Description of scheme object
     * 
* * .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 COLUMNS_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List columns_; /** *
     * List of columns
     * 
* * repeated .Ydb.Table.ColumnMeta columns = 2; */ @java.lang.Override public java.util.List getColumnsList() { return columns_; } /** *
     * List of columns
     * 
* * repeated .Ydb.Table.ColumnMeta columns = 2; */ @java.lang.Override public java.util.List getColumnsOrBuilderList() { return columns_; } /** *
     * List of columns
     * 
* * repeated .Ydb.Table.ColumnMeta columns = 2; */ @java.lang.Override public int getColumnsCount() { return columns_.size(); } /** *
     * List of columns
     * 
* * repeated .Ydb.Table.ColumnMeta columns = 2; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ColumnMeta getColumns(int index) { return columns_.get(index); } /** *
     * List of columns
     * 
* * repeated .Ydb.Table.ColumnMeta columns = 2; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ColumnMetaOrBuilder getColumnsOrBuilder( int index) { return columns_.get(index); } public static final int PRIMARY_KEY_FIELD_NUMBER = 3; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList primaryKey_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * List of primary key columns
     * 
* * repeated string primary_key = 3; * @return A list containing the primaryKey. */ public com.google.protobuf.ProtocolStringList getPrimaryKeyList() { return primaryKey_; } /** *
     * List of primary key columns
     * 
* * repeated string primary_key = 3; * @return The count of primaryKey. */ public int getPrimaryKeyCount() { return primaryKey_.size(); } /** *
     * List of primary key columns
     * 
* * repeated string primary_key = 3; * @param index The index of the element to return. * @return The primaryKey at the given index. */ public java.lang.String getPrimaryKey(int index) { return primaryKey_.get(index); } /** *
     * List of primary key columns
     * 
* * repeated string primary_key = 3; * @param index The index of the value to return. * @return The bytes of the primaryKey at the given index. */ public com.google.protobuf.ByteString getPrimaryKeyBytes(int index) { return primaryKey_.getByteString(index); } public static final int SHARD_KEY_BOUNDS_FIELD_NUMBER = 4; @SuppressWarnings("serial") private java.util.List shardKeyBounds_; /** *
     * List of key ranges for shard
     * 
* * repeated .Ydb.TypedValue shard_key_bounds = 4; */ @java.lang.Override public java.util.List getShardKeyBoundsList() { return shardKeyBounds_; } /** *
     * List of key ranges for shard
     * 
* * repeated .Ydb.TypedValue shard_key_bounds = 4; */ @java.lang.Override public java.util.List getShardKeyBoundsOrBuilderList() { return shardKeyBounds_; } /** *
     * List of key ranges for shard
     * 
* * repeated .Ydb.TypedValue shard_key_bounds = 4; */ @java.lang.Override public int getShardKeyBoundsCount() { return shardKeyBounds_.size(); } /** *
     * List of key ranges for shard
     * 
* * repeated .Ydb.TypedValue shard_key_bounds = 4; */ @java.lang.Override public tech.ydb.proto.ValueProtos.TypedValue getShardKeyBounds(int index) { return shardKeyBounds_.get(index); } /** *
     * List of key ranges for shard
     * 
* * repeated .Ydb.TypedValue shard_key_bounds = 4; */ @java.lang.Override public tech.ydb.proto.ValueProtos.TypedValueOrBuilder getShardKeyBoundsOrBuilder( int index) { return shardKeyBounds_.get(index); } public static final int INDEXES_FIELD_NUMBER = 5; @SuppressWarnings("serial") private java.util.List indexes_; /** *
     * List of indexes
     * 
* * repeated .Ydb.Table.TableIndexDescription indexes = 5; */ @java.lang.Override public java.util.List getIndexesList() { return indexes_; } /** *
     * List of indexes
     * 
* * repeated .Ydb.Table.TableIndexDescription indexes = 5; */ @java.lang.Override public java.util.List getIndexesOrBuilderList() { return indexes_; } /** *
     * List of indexes
     * 
* * repeated .Ydb.Table.TableIndexDescription indexes = 5; */ @java.lang.Override public int getIndexesCount() { return indexes_.size(); } /** *
     * List of indexes
     * 
* * repeated .Ydb.Table.TableIndexDescription indexes = 5; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TableIndexDescription getIndexes(int index) { return indexes_.get(index); } /** *
     * List of indexes
     * 
* * repeated .Ydb.Table.TableIndexDescription indexes = 5; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TableIndexDescriptionOrBuilder getIndexesOrBuilder( int index) { return indexes_.get(index); } public static final int TABLE_STATS_FIELD_NUMBER = 6; private tech.ydb.proto.table.YdbTable.TableStats tableStats_; /** *
     * Statistics of table
     * 
* * .Ydb.Table.TableStats table_stats = 6; * @return Whether the tableStats field is set. */ @java.lang.Override public boolean hasTableStats() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Statistics of table
     * 
* * .Ydb.Table.TableStats table_stats = 6; * @return The tableStats. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TableStats getTableStats() { return tableStats_ == null ? tech.ydb.proto.table.YdbTable.TableStats.getDefaultInstance() : tableStats_; } /** *
     * Statistics of table
     * 
* * .Ydb.Table.TableStats table_stats = 6; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TableStatsOrBuilder getTableStatsOrBuilder() { return tableStats_ == null ? tech.ydb.proto.table.YdbTable.TableStats.getDefaultInstance() : tableStats_; } public static final int TTL_SETTINGS_FIELD_NUMBER = 7; private tech.ydb.proto.table.YdbTable.TtlSettings ttlSettings_; /** *
     * TTL params
     * 
* * .Ydb.Table.TtlSettings ttl_settings = 7; * @return Whether the ttlSettings field is set. */ @java.lang.Override public boolean hasTtlSettings() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * TTL params
     * 
* * .Ydb.Table.TtlSettings ttl_settings = 7; * @return The ttlSettings. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TtlSettings getTtlSettings() { return ttlSettings_ == null ? tech.ydb.proto.table.YdbTable.TtlSettings.getDefaultInstance() : ttlSettings_; } /** *
     * TTL params
     * 
* * .Ydb.Table.TtlSettings ttl_settings = 7; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TtlSettingsOrBuilder getTtlSettingsOrBuilder() { return ttlSettings_ == null ? tech.ydb.proto.table.YdbTable.TtlSettings.getDefaultInstance() : ttlSettings_; } public static final int STORAGE_SETTINGS_FIELD_NUMBER = 8; private tech.ydb.proto.table.YdbTable.StorageSettings storageSettings_; /** *
     * Storage settings for table
     * 
* * .Ydb.Table.StorageSettings storage_settings = 8; * @return Whether the storageSettings field is set. */ @java.lang.Override public boolean hasStorageSettings() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Storage settings for table
     * 
* * .Ydb.Table.StorageSettings storage_settings = 8; * @return The storageSettings. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StorageSettings getStorageSettings() { return storageSettings_ == null ? tech.ydb.proto.table.YdbTable.StorageSettings.getDefaultInstance() : storageSettings_; } /** *
     * Storage settings for table
     * 
* * .Ydb.Table.StorageSettings storage_settings = 8; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StorageSettingsOrBuilder getStorageSettingsOrBuilder() { return storageSettings_ == null ? tech.ydb.proto.table.YdbTable.StorageSettings.getDefaultInstance() : storageSettings_; } public static final int COLUMN_FAMILIES_FIELD_NUMBER = 9; @SuppressWarnings("serial") private java.util.List columnFamilies_; /** *
     * Column families
     * 
* * repeated .Ydb.Table.ColumnFamily column_families = 9; */ @java.lang.Override public java.util.List getColumnFamiliesList() { return columnFamilies_; } /** *
     * Column families
     * 
* * repeated .Ydb.Table.ColumnFamily column_families = 9; */ @java.lang.Override public java.util.List getColumnFamiliesOrBuilderList() { return columnFamilies_; } /** *
     * Column families
     * 
* * repeated .Ydb.Table.ColumnFamily column_families = 9; */ @java.lang.Override public int getColumnFamiliesCount() { return columnFamilies_.size(); } /** *
     * Column families
     * 
* * repeated .Ydb.Table.ColumnFamily column_families = 9; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ColumnFamily getColumnFamilies(int index) { return columnFamilies_.get(index); } /** *
     * Column families
     * 
* * repeated .Ydb.Table.ColumnFamily column_families = 9; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ColumnFamilyOrBuilder getColumnFamiliesOrBuilder( int index) { return columnFamilies_.get(index); } public static final int ATTRIBUTES_FIELD_NUMBER = 10; private static final class AttributesDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DescribeTableResult_AttributesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } @SuppressWarnings("serial") private com.google.protobuf.MapField< java.lang.String, java.lang.String> attributes_; private com.google.protobuf.MapField internalGetAttributes() { if (attributes_ == null) { return com.google.protobuf.MapField.emptyMapField( AttributesDefaultEntryHolder.defaultEntry); } return attributes_; } public int getAttributesCount() { return internalGetAttributes().getMap().size(); } /** *
     * Attributes
     * 
* * map<string, string> attributes = 10; */ @java.lang.Override public boolean containsAttributes( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetAttributes().getMap().containsKey(key); } /** * Use {@link #getAttributesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAttributes() { return getAttributesMap(); } /** *
     * Attributes
     * 
* * map<string, string> attributes = 10; */ @java.lang.Override public java.util.Map getAttributesMap() { return internalGetAttributes().getMap(); } /** *
     * Attributes
     * 
* * map<string, string> attributes = 10; */ @java.lang.Override public /* nullable */ java.lang.String getAttributesOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAttributes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Attributes
     * 
* * map<string, string> attributes = 10; */ @java.lang.Override public java.lang.String getAttributesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAttributes().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int PARTITIONING_SETTINGS_FIELD_NUMBER = 12; private tech.ydb.proto.table.YdbTable.PartitioningSettings partitioningSettings_; /** *
     * Partitioning settings for table
     * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 12; * @return Whether the partitioningSettings field is set. */ @java.lang.Override public boolean hasPartitioningSettings() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Partitioning settings for table
     * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 12; * @return The partitioningSettings. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.PartitioningSettings getPartitioningSettings() { return partitioningSettings_ == null ? tech.ydb.proto.table.YdbTable.PartitioningSettings.getDefaultInstance() : partitioningSettings_; } /** *
     * Partitioning settings for table
     * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 12; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.PartitioningSettingsOrBuilder getPartitioningSettingsOrBuilder() { return partitioningSettings_ == null ? tech.ydb.proto.table.YdbTable.PartitioningSettings.getDefaultInstance() : partitioningSettings_; } public static final int KEY_BLOOM_FILTER_FIELD_NUMBER = 13; private int keyBloomFilter_ = 0; /** *
     * Bloom filter by key
     * 
* * .Ydb.FeatureFlag.Status key_bloom_filter = 13; * @return The enum numeric value on the wire for keyBloomFilter. */ @java.lang.Override public int getKeyBloomFilterValue() { return keyBloomFilter_; } /** *
     * Bloom filter by key
     * 
* * .Ydb.FeatureFlag.Status key_bloom_filter = 13; * @return The keyBloomFilter. */ @java.lang.Override public tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getKeyBloomFilter() { tech.ydb.proto.common.CommonProtos.FeatureFlag.Status result = tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.forNumber(keyBloomFilter_); return result == null ? tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } public static final int READ_REPLICAS_SETTINGS_FIELD_NUMBER = 14; private tech.ydb.proto.table.YdbTable.ReadReplicasSettings readReplicasSettings_; /** *
     * Read replicas settings for table
     * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 14; * @return Whether the readReplicasSettings field is set. */ @java.lang.Override public boolean hasReadReplicasSettings() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * Read replicas settings for table
     * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 14; * @return The readReplicasSettings. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ReadReplicasSettings getReadReplicasSettings() { return readReplicasSettings_ == null ? tech.ydb.proto.table.YdbTable.ReadReplicasSettings.getDefaultInstance() : readReplicasSettings_; } /** *
     * Read replicas settings for table
     * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 14; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ReadReplicasSettingsOrBuilder getReadReplicasSettingsOrBuilder() { return readReplicasSettings_ == null ? tech.ydb.proto.table.YdbTable.ReadReplicasSettings.getDefaultInstance() : readReplicasSettings_; } public static final int CHANGEFEEDS_FIELD_NUMBER = 15; @SuppressWarnings("serial") private java.util.List changefeeds_; /** *
     * List of changefeeds
     * 
* * repeated .Ydb.Table.ChangefeedDescription changefeeds = 15; */ @java.lang.Override public java.util.List getChangefeedsList() { return changefeeds_; } /** *
     * List of changefeeds
     * 
* * repeated .Ydb.Table.ChangefeedDescription changefeeds = 15; */ @java.lang.Override public java.util.List getChangefeedsOrBuilderList() { return changefeeds_; } /** *
     * List of changefeeds
     * 
* * repeated .Ydb.Table.ChangefeedDescription changefeeds = 15; */ @java.lang.Override public int getChangefeedsCount() { return changefeeds_.size(); } /** *
     * List of changefeeds
     * 
* * repeated .Ydb.Table.ChangefeedDescription changefeeds = 15; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ChangefeedDescription getChangefeeds(int index) { return changefeeds_.get(index); } /** *
     * List of changefeeds
     * 
* * repeated .Ydb.Table.ChangefeedDescription changefeeds = 15; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ChangefeedDescriptionOrBuilder getChangefeedsOrBuilder( int index) { return changefeeds_.get(index); } public static final int TIERING_FIELD_NUMBER = 16; @SuppressWarnings("serial") private volatile java.lang.Object tiering_ = ""; /** *
     * Tiering rules name
     * 
* * string tiering = 16; * @return The tiering. */ @java.lang.Override public java.lang.String getTiering() { java.lang.Object ref = tiering_; 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(); tiering_ = s; return s; } } /** *
     * Tiering rules name
     * 
* * string tiering = 16; * @return The bytes for tiering. */ @java.lang.Override public com.google.protobuf.ByteString getTieringBytes() { java.lang.Object ref = tiering_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tiering_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TEMPORARY_FIELD_NUMBER = 17; private boolean temporary_ = false; /** *
     * Is temporary table
     * 
* * bool temporary = 17; * @return The temporary. */ @java.lang.Override public boolean getTemporary() { return temporary_; } public static final int STORE_TYPE_FIELD_NUMBER = 18; private int storeType_ = 0; /** *
     * Is table column or row oriented
     * 
* * .Ydb.Table.StoreType store_type = 18; * @return The enum numeric value on the wire for storeType. */ @java.lang.Override public int getStoreTypeValue() { return storeType_; } /** *
     * Is table column or row oriented
     * 
* * .Ydb.Table.StoreType store_type = 18; * @return The storeType. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StoreType getStoreType() { tech.ydb.proto.table.YdbTable.StoreType result = tech.ydb.proto.table.YdbTable.StoreType.forNumber(storeType_); return result == null ? tech.ydb.proto.table.YdbTable.StoreType.UNRECOGNIZED : result; } 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 < columns_.size(); i++) { output.writeMessage(2, columns_.get(i)); } for (int i = 0; i < primaryKey_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, primaryKey_.getRaw(i)); } for (int i = 0; i < shardKeyBounds_.size(); i++) { output.writeMessage(4, shardKeyBounds_.get(i)); } for (int i = 0; i < indexes_.size(); i++) { output.writeMessage(5, indexes_.get(i)); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(6, getTableStats()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(7, getTtlSettings()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(8, getStorageSettings()); } for (int i = 0; i < columnFamilies_.size(); i++) { output.writeMessage(9, columnFamilies_.get(i)); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetAttributes(), AttributesDefaultEntryHolder.defaultEntry, 10); if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(12, getPartitioningSettings()); } if (keyBloomFilter_ != tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(13, keyBloomFilter_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(14, getReadReplicasSettings()); } for (int i = 0; i < changefeeds_.size(); i++) { output.writeMessage(15, changefeeds_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tiering_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 16, tiering_); } if (temporary_ != false) { output.writeBool(17, temporary_); } if (storeType_ != tech.ydb.proto.table.YdbTable.StoreType.STORE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(18, storeType_); } 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 < columns_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, columns_.get(i)); } { int dataSize = 0; for (int i = 0; i < primaryKey_.size(); i++) { dataSize += computeStringSizeNoTag(primaryKey_.getRaw(i)); } size += dataSize; size += 1 * getPrimaryKeyList().size(); } for (int i = 0; i < shardKeyBounds_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, shardKeyBounds_.get(i)); } for (int i = 0; i < indexes_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, indexes_.get(i)); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getTableStats()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getTtlSettings()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getStorageSettings()); } for (int i = 0; i < columnFamilies_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, columnFamilies_.get(i)); } for (java.util.Map.Entry entry : internalGetAttributes().getMap().entrySet()) { com.google.protobuf.MapEntry attributes__ = AttributesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, attributes__); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, getPartitioningSettings()); } if (keyBloomFilter_ != tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(13, keyBloomFilter_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, getReadReplicasSettings()); } for (int i = 0; i < changefeeds_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, changefeeds_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tiering_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, tiering_); } if (temporary_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(17, temporary_); } if (storeType_ != tech.ydb.proto.table.YdbTable.StoreType.STORE_TYPE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(18, storeType_); } 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.table.YdbTable.DescribeTableResult)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.DescribeTableResult other = (tech.ydb.proto.table.YdbTable.DescribeTableResult) obj; if (hasSelf() != other.hasSelf()) return false; if (hasSelf()) { if (!getSelf() .equals(other.getSelf())) return false; } if (!getColumnsList() .equals(other.getColumnsList())) return false; if (!getPrimaryKeyList() .equals(other.getPrimaryKeyList())) return false; if (!getShardKeyBoundsList() .equals(other.getShardKeyBoundsList())) return false; if (!getIndexesList() .equals(other.getIndexesList())) return false; if (hasTableStats() != other.hasTableStats()) return false; if (hasTableStats()) { if (!getTableStats() .equals(other.getTableStats())) return false; } if (hasTtlSettings() != other.hasTtlSettings()) return false; if (hasTtlSettings()) { if (!getTtlSettings() .equals(other.getTtlSettings())) return false; } if (hasStorageSettings() != other.hasStorageSettings()) return false; if (hasStorageSettings()) { if (!getStorageSettings() .equals(other.getStorageSettings())) return false; } if (!getColumnFamiliesList() .equals(other.getColumnFamiliesList())) return false; if (!internalGetAttributes().equals( other.internalGetAttributes())) return false; if (hasPartitioningSettings() != other.hasPartitioningSettings()) return false; if (hasPartitioningSettings()) { if (!getPartitioningSettings() .equals(other.getPartitioningSettings())) return false; } if (keyBloomFilter_ != other.keyBloomFilter_) return false; if (hasReadReplicasSettings() != other.hasReadReplicasSettings()) return false; if (hasReadReplicasSettings()) { if (!getReadReplicasSettings() .equals(other.getReadReplicasSettings())) return false; } if (!getChangefeedsList() .equals(other.getChangefeedsList())) return false; if (!getTiering() .equals(other.getTiering())) return false; if (getTemporary() != other.getTemporary()) return false; if (storeType_ != other.storeType_) 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 (getColumnsCount() > 0) { hash = (37 * hash) + COLUMNS_FIELD_NUMBER; hash = (53 * hash) + getColumnsList().hashCode(); } if (getPrimaryKeyCount() > 0) { hash = (37 * hash) + PRIMARY_KEY_FIELD_NUMBER; hash = (53 * hash) + getPrimaryKeyList().hashCode(); } if (getShardKeyBoundsCount() > 0) { hash = (37 * hash) + SHARD_KEY_BOUNDS_FIELD_NUMBER; hash = (53 * hash) + getShardKeyBoundsList().hashCode(); } if (getIndexesCount() > 0) { hash = (37 * hash) + INDEXES_FIELD_NUMBER; hash = (53 * hash) + getIndexesList().hashCode(); } if (hasTableStats()) { hash = (37 * hash) + TABLE_STATS_FIELD_NUMBER; hash = (53 * hash) + getTableStats().hashCode(); } if (hasTtlSettings()) { hash = (37 * hash) + TTL_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getTtlSettings().hashCode(); } if (hasStorageSettings()) { hash = (37 * hash) + STORAGE_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getStorageSettings().hashCode(); } if (getColumnFamiliesCount() > 0) { hash = (37 * hash) + COLUMN_FAMILIES_FIELD_NUMBER; hash = (53 * hash) + getColumnFamiliesList().hashCode(); } if (!internalGetAttributes().getMap().isEmpty()) { hash = (37 * hash) + ATTRIBUTES_FIELD_NUMBER; hash = (53 * hash) + internalGetAttributes().hashCode(); } if (hasPartitioningSettings()) { hash = (37 * hash) + PARTITIONING_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getPartitioningSettings().hashCode(); } hash = (37 * hash) + KEY_BLOOM_FILTER_FIELD_NUMBER; hash = (53 * hash) + keyBloomFilter_; if (hasReadReplicasSettings()) { hash = (37 * hash) + READ_REPLICAS_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getReadReplicasSettings().hashCode(); } if (getChangefeedsCount() > 0) { hash = (37 * hash) + CHANGEFEEDS_FIELD_NUMBER; hash = (53 * hash) + getChangefeedsList().hashCode(); } hash = (37 * hash) + TIERING_FIELD_NUMBER; hash = (53 * hash) + getTiering().hashCode(); hash = (37 * hash) + TEMPORARY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getTemporary()); hash = (37 * hash) + STORE_TYPE_FIELD_NUMBER; hash = (53 * hash) + storeType_; hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.DescribeTableResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.DescribeTableResult 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.table.YdbTable.DescribeTableResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.DescribeTableResult 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.table.YdbTable.DescribeTableResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.DescribeTableResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.DescribeTableResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.DescribeTableResult 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.table.YdbTable.DescribeTableResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.DescribeTableResult 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.table.YdbTable.DescribeTableResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.DescribeTableResult 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.table.YdbTable.DescribeTableResult 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.Table.DescribeTableResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.DescribeTableResult) tech.ydb.proto.table.YdbTable.DescribeTableResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DescribeTableResult_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 10: return internalGetAttributes(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 10: return internalGetMutableAttributes(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DescribeTableResult_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.DescribeTableResult.class, tech.ydb.proto.table.YdbTable.DescribeTableResult.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.DescribeTableResult.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(); getColumnsFieldBuilder(); getShardKeyBoundsFieldBuilder(); getIndexesFieldBuilder(); getTableStatsFieldBuilder(); getTtlSettingsFieldBuilder(); getStorageSettingsFieldBuilder(); getColumnFamiliesFieldBuilder(); getPartitioningSettingsFieldBuilder(); getReadReplicasSettingsFieldBuilder(); getChangefeedsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; self_ = null; if (selfBuilder_ != null) { selfBuilder_.dispose(); selfBuilder_ = null; } if (columnsBuilder_ == null) { columns_ = java.util.Collections.emptyList(); } else { columns_ = null; columnsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); primaryKey_ = com.google.protobuf.LazyStringArrayList.emptyList(); if (shardKeyBoundsBuilder_ == null) { shardKeyBounds_ = java.util.Collections.emptyList(); } else { shardKeyBounds_ = null; shardKeyBoundsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); if (indexesBuilder_ == null) { indexes_ = java.util.Collections.emptyList(); } else { indexes_ = null; indexesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); tableStats_ = null; if (tableStatsBuilder_ != null) { tableStatsBuilder_.dispose(); tableStatsBuilder_ = null; } ttlSettings_ = null; if (ttlSettingsBuilder_ != null) { ttlSettingsBuilder_.dispose(); ttlSettingsBuilder_ = null; } storageSettings_ = null; if (storageSettingsBuilder_ != null) { storageSettingsBuilder_.dispose(); storageSettingsBuilder_ = null; } if (columnFamiliesBuilder_ == null) { columnFamilies_ = java.util.Collections.emptyList(); } else { columnFamilies_ = null; columnFamiliesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); internalGetMutableAttributes().clear(); partitioningSettings_ = null; if (partitioningSettingsBuilder_ != null) { partitioningSettingsBuilder_.dispose(); partitioningSettingsBuilder_ = null; } keyBloomFilter_ = 0; readReplicasSettings_ = null; if (readReplicasSettingsBuilder_ != null) { readReplicasSettingsBuilder_.dispose(); readReplicasSettingsBuilder_ = null; } if (changefeedsBuilder_ == null) { changefeeds_ = java.util.Collections.emptyList(); } else { changefeeds_ = null; changefeedsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00002000); tiering_ = ""; temporary_ = false; storeType_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DescribeTableResult_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.DescribeTableResult getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.DescribeTableResult.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.DescribeTableResult build() { tech.ydb.proto.table.YdbTable.DescribeTableResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.DescribeTableResult buildPartial() { tech.ydb.proto.table.YdbTable.DescribeTableResult result = new tech.ydb.proto.table.YdbTable.DescribeTableResult(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(tech.ydb.proto.table.YdbTable.DescribeTableResult result) { if (columnsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { columns_ = java.util.Collections.unmodifiableList(columns_); bitField0_ = (bitField0_ & ~0x00000002); } result.columns_ = columns_; } else { result.columns_ = columnsBuilder_.build(); } if (shardKeyBoundsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { shardKeyBounds_ = java.util.Collections.unmodifiableList(shardKeyBounds_); bitField0_ = (bitField0_ & ~0x00000008); } result.shardKeyBounds_ = shardKeyBounds_; } else { result.shardKeyBounds_ = shardKeyBoundsBuilder_.build(); } if (indexesBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { indexes_ = java.util.Collections.unmodifiableList(indexes_); bitField0_ = (bitField0_ & ~0x00000010); } result.indexes_ = indexes_; } else { result.indexes_ = indexesBuilder_.build(); } if (columnFamiliesBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0)) { columnFamilies_ = java.util.Collections.unmodifiableList(columnFamilies_); bitField0_ = (bitField0_ & ~0x00000100); } result.columnFamilies_ = columnFamilies_; } else { result.columnFamilies_ = columnFamiliesBuilder_.build(); } if (changefeedsBuilder_ == null) { if (((bitField0_ & 0x00002000) != 0)) { changefeeds_ = java.util.Collections.unmodifiableList(changefeeds_); bitField0_ = (bitField0_ & ~0x00002000); } result.changefeeds_ = changefeeds_; } else { result.changefeeds_ = changefeedsBuilder_.build(); } } private void buildPartial0(tech.ydb.proto.table.YdbTable.DescribeTableResult result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.self_ = selfBuilder_ == null ? self_ : selfBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { primaryKey_.makeImmutable(); result.primaryKey_ = primaryKey_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.tableStats_ = tableStatsBuilder_ == null ? tableStats_ : tableStatsBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000040) != 0)) { result.ttlSettings_ = ttlSettingsBuilder_ == null ? ttlSettings_ : ttlSettingsBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000080) != 0)) { result.storageSettings_ = storageSettingsBuilder_ == null ? storageSettings_ : storageSettingsBuilder_.build(); to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000200) != 0)) { result.attributes_ = internalGetAttributes(); result.attributes_.makeImmutable(); } if (((from_bitField0_ & 0x00000400) != 0)) { result.partitioningSettings_ = partitioningSettingsBuilder_ == null ? partitioningSettings_ : partitioningSettingsBuilder_.build(); to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000800) != 0)) { result.keyBloomFilter_ = keyBloomFilter_; } if (((from_bitField0_ & 0x00001000) != 0)) { result.readReplicasSettings_ = readReplicasSettingsBuilder_ == null ? readReplicasSettings_ : readReplicasSettingsBuilder_.build(); to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00004000) != 0)) { result.tiering_ = tiering_; } if (((from_bitField0_ & 0x00008000) != 0)) { result.temporary_ = temporary_; } if (((from_bitField0_ & 0x00010000) != 0)) { result.storeType_ = storeType_; } 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.table.YdbTable.DescribeTableResult) { return mergeFrom((tech.ydb.proto.table.YdbTable.DescribeTableResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.DescribeTableResult other) { if (other == tech.ydb.proto.table.YdbTable.DescribeTableResult.getDefaultInstance()) return this; if (other.hasSelf()) { mergeSelf(other.getSelf()); } if (columnsBuilder_ == null) { if (!other.columns_.isEmpty()) { if (columns_.isEmpty()) { columns_ = other.columns_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureColumnsIsMutable(); columns_.addAll(other.columns_); } onChanged(); } } else { if (!other.columns_.isEmpty()) { if (columnsBuilder_.isEmpty()) { columnsBuilder_.dispose(); columnsBuilder_ = null; columns_ = other.columns_; bitField0_ = (bitField0_ & ~0x00000002); columnsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getColumnsFieldBuilder() : null; } else { columnsBuilder_.addAllMessages(other.columns_); } } } if (!other.primaryKey_.isEmpty()) { if (primaryKey_.isEmpty()) { primaryKey_ = other.primaryKey_; bitField0_ |= 0x00000004; } else { ensurePrimaryKeyIsMutable(); primaryKey_.addAll(other.primaryKey_); } onChanged(); } if (shardKeyBoundsBuilder_ == null) { if (!other.shardKeyBounds_.isEmpty()) { if (shardKeyBounds_.isEmpty()) { shardKeyBounds_ = other.shardKeyBounds_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureShardKeyBoundsIsMutable(); shardKeyBounds_.addAll(other.shardKeyBounds_); } onChanged(); } } else { if (!other.shardKeyBounds_.isEmpty()) { if (shardKeyBoundsBuilder_.isEmpty()) { shardKeyBoundsBuilder_.dispose(); shardKeyBoundsBuilder_ = null; shardKeyBounds_ = other.shardKeyBounds_; bitField0_ = (bitField0_ & ~0x00000008); shardKeyBoundsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getShardKeyBoundsFieldBuilder() : null; } else { shardKeyBoundsBuilder_.addAllMessages(other.shardKeyBounds_); } } } if (indexesBuilder_ == null) { if (!other.indexes_.isEmpty()) { if (indexes_.isEmpty()) { indexes_ = other.indexes_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureIndexesIsMutable(); indexes_.addAll(other.indexes_); } onChanged(); } } else { if (!other.indexes_.isEmpty()) { if (indexesBuilder_.isEmpty()) { indexesBuilder_.dispose(); indexesBuilder_ = null; indexes_ = other.indexes_; bitField0_ = (bitField0_ & ~0x00000010); indexesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getIndexesFieldBuilder() : null; } else { indexesBuilder_.addAllMessages(other.indexes_); } } } if (other.hasTableStats()) { mergeTableStats(other.getTableStats()); } if (other.hasTtlSettings()) { mergeTtlSettings(other.getTtlSettings()); } if (other.hasStorageSettings()) { mergeStorageSettings(other.getStorageSettings()); } if (columnFamiliesBuilder_ == null) { if (!other.columnFamilies_.isEmpty()) { if (columnFamilies_.isEmpty()) { columnFamilies_ = other.columnFamilies_; bitField0_ = (bitField0_ & ~0x00000100); } else { ensureColumnFamiliesIsMutable(); columnFamilies_.addAll(other.columnFamilies_); } onChanged(); } } else { if (!other.columnFamilies_.isEmpty()) { if (columnFamiliesBuilder_.isEmpty()) { columnFamiliesBuilder_.dispose(); columnFamiliesBuilder_ = null; columnFamilies_ = other.columnFamilies_; bitField0_ = (bitField0_ & ~0x00000100); columnFamiliesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getColumnFamiliesFieldBuilder() : null; } else { columnFamiliesBuilder_.addAllMessages(other.columnFamilies_); } } } internalGetMutableAttributes().mergeFrom( other.internalGetAttributes()); bitField0_ |= 0x00000200; if (other.hasPartitioningSettings()) { mergePartitioningSettings(other.getPartitioningSettings()); } if (other.keyBloomFilter_ != 0) { setKeyBloomFilterValue(other.getKeyBloomFilterValue()); } if (other.hasReadReplicasSettings()) { mergeReadReplicasSettings(other.getReadReplicasSettings()); } if (changefeedsBuilder_ == null) { if (!other.changefeeds_.isEmpty()) { if (changefeeds_.isEmpty()) { changefeeds_ = other.changefeeds_; bitField0_ = (bitField0_ & ~0x00002000); } else { ensureChangefeedsIsMutable(); changefeeds_.addAll(other.changefeeds_); } onChanged(); } } else { if (!other.changefeeds_.isEmpty()) { if (changefeedsBuilder_.isEmpty()) { changefeedsBuilder_.dispose(); changefeedsBuilder_ = null; changefeeds_ = other.changefeeds_; bitField0_ = (bitField0_ & ~0x00002000); changefeedsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getChangefeedsFieldBuilder() : null; } else { changefeedsBuilder_.addAllMessages(other.changefeeds_); } } } if (!other.getTiering().isEmpty()) { tiering_ = other.tiering_; bitField0_ |= 0x00004000; onChanged(); } if (other.getTemporary() != false) { setTemporary(other.getTemporary()); } if (other.storeType_ != 0) { setStoreTypeValue(other.getStoreTypeValue()); } 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.table.YdbTable.ColumnMeta m = input.readMessage( tech.ydb.proto.table.YdbTable.ColumnMeta.parser(), extensionRegistry); if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.add(m); } else { columnsBuilder_.addMessage(m); } break; } // case 18 case 26: { java.lang.String s = input.readStringRequireUtf8(); ensurePrimaryKeyIsMutable(); primaryKey_.add(s); break; } // case 26 case 34: { tech.ydb.proto.ValueProtos.TypedValue m = input.readMessage( tech.ydb.proto.ValueProtos.TypedValue.parser(), extensionRegistry); if (shardKeyBoundsBuilder_ == null) { ensureShardKeyBoundsIsMutable(); shardKeyBounds_.add(m); } else { shardKeyBoundsBuilder_.addMessage(m); } break; } // case 34 case 42: { tech.ydb.proto.table.YdbTable.TableIndexDescription m = input.readMessage( tech.ydb.proto.table.YdbTable.TableIndexDescription.parser(), extensionRegistry); if (indexesBuilder_ == null) { ensureIndexesIsMutable(); indexes_.add(m); } else { indexesBuilder_.addMessage(m); } break; } // case 42 case 50: { input.readMessage( getTableStatsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000020; break; } // case 50 case 58: { input.readMessage( getTtlSettingsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000040; break; } // case 58 case 66: { input.readMessage( getStorageSettingsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000080; break; } // case 66 case 74: { tech.ydb.proto.table.YdbTable.ColumnFamily m = input.readMessage( tech.ydb.proto.table.YdbTable.ColumnFamily.parser(), extensionRegistry); if (columnFamiliesBuilder_ == null) { ensureColumnFamiliesIsMutable(); columnFamilies_.add(m); } else { columnFamiliesBuilder_.addMessage(m); } break; } // case 74 case 82: { com.google.protobuf.MapEntry attributes__ = input.readMessage( AttributesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableAttributes().getMutableMap().put( attributes__.getKey(), attributes__.getValue()); bitField0_ |= 0x00000200; break; } // case 82 case 98: { input.readMessage( getPartitioningSettingsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000400; break; } // case 98 case 104: { keyBloomFilter_ = input.readEnum(); bitField0_ |= 0x00000800; break; } // case 104 case 114: { input.readMessage( getReadReplicasSettingsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00001000; break; } // case 114 case 122: { tech.ydb.proto.table.YdbTable.ChangefeedDescription m = input.readMessage( tech.ydb.proto.table.YdbTable.ChangefeedDescription.parser(), extensionRegistry); if (changefeedsBuilder_ == null) { ensureChangefeedsIsMutable(); changefeeds_.add(m); } else { changefeedsBuilder_.addMessage(m); } break; } // case 122 case 130: { tiering_ = input.readStringRequireUtf8(); bitField0_ |= 0x00004000; break; } // case 130 case 136: { temporary_ = input.readBool(); bitField0_ |= 0x00008000; break; } // case 136 case 144: { storeType_ = input.readEnum(); bitField0_ |= 0x00010000; break; } // case 144 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_; /** *
       * Description of scheme object
       * 
* * .Ydb.Scheme.Entry self = 1; * @return Whether the self field is set. */ public boolean hasSelf() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Description of scheme object
       * 
* * .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(); } } /** *
       * Description of scheme object
       * 
* * .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; } /** *
       * Description of scheme object
       * 
* * .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; } /** *
       * Description of scheme object
       * 
* * .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; } /** *
       * Description of scheme object
       * 
* * .Ydb.Scheme.Entry self = 1; */ public Builder clearSelf() { bitField0_ = (bitField0_ & ~0x00000001); self_ = null; if (selfBuilder_ != null) { selfBuilder_.dispose(); selfBuilder_ = null; } onChanged(); return this; } /** *
       * Description of scheme object
       * 
* * .Ydb.Scheme.Entry self = 1; */ public tech.ydb.proto.scheme.SchemeOperationProtos.Entry.Builder getSelfBuilder() { bitField0_ |= 0x00000001; onChanged(); return getSelfFieldBuilder().getBuilder(); } /** *
       * Description of scheme object
       * 
* * .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_; } } /** *
       * Description of scheme object
       * 
* * .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 columns_ = java.util.Collections.emptyList(); private void ensureColumnsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { columns_ = new java.util.ArrayList(columns_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ColumnMeta, tech.ydb.proto.table.YdbTable.ColumnMeta.Builder, tech.ydb.proto.table.YdbTable.ColumnMetaOrBuilder> columnsBuilder_; /** *
       * List of columns
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 2; */ public java.util.List getColumnsList() { if (columnsBuilder_ == null) { return java.util.Collections.unmodifiableList(columns_); } else { return columnsBuilder_.getMessageList(); } } /** *
       * List of columns
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 2; */ public int getColumnsCount() { if (columnsBuilder_ == null) { return columns_.size(); } else { return columnsBuilder_.getCount(); } } /** *
       * List of columns
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 2; */ public tech.ydb.proto.table.YdbTable.ColumnMeta getColumns(int index) { if (columnsBuilder_ == null) { return columns_.get(index); } else { return columnsBuilder_.getMessage(index); } } /** *
       * List of columns
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 2; */ public Builder setColumns( int index, tech.ydb.proto.table.YdbTable.ColumnMeta value) { if (columnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.set(index, value); onChanged(); } else { columnsBuilder_.setMessage(index, value); } return this; } /** *
       * List of columns
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 2; */ public Builder setColumns( int index, tech.ydb.proto.table.YdbTable.ColumnMeta.Builder builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.set(index, builderForValue.build()); onChanged(); } else { columnsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * List of columns
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 2; */ public Builder addColumns(tech.ydb.proto.table.YdbTable.ColumnMeta value) { if (columnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.add(value); onChanged(); } else { columnsBuilder_.addMessage(value); } return this; } /** *
       * List of columns
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 2; */ public Builder addColumns( int index, tech.ydb.proto.table.YdbTable.ColumnMeta value) { if (columnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.add(index, value); onChanged(); } else { columnsBuilder_.addMessage(index, value); } return this; } /** *
       * List of columns
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 2; */ public Builder addColumns( tech.ydb.proto.table.YdbTable.ColumnMeta.Builder builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.add(builderForValue.build()); onChanged(); } else { columnsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * List of columns
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 2; */ public Builder addColumns( int index, tech.ydb.proto.table.YdbTable.ColumnMeta.Builder builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.add(index, builderForValue.build()); onChanged(); } else { columnsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * List of columns
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 2; */ public Builder addAllColumns( java.lang.Iterable values) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, columns_); onChanged(); } else { columnsBuilder_.addAllMessages(values); } return this; } /** *
       * List of columns
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 2; */ public Builder clearColumns() { if (columnsBuilder_ == null) { columns_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { columnsBuilder_.clear(); } return this; } /** *
       * List of columns
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 2; */ public Builder removeColumns(int index) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.remove(index); onChanged(); } else { columnsBuilder_.remove(index); } return this; } /** *
       * List of columns
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 2; */ public tech.ydb.proto.table.YdbTable.ColumnMeta.Builder getColumnsBuilder( int index) { return getColumnsFieldBuilder().getBuilder(index); } /** *
       * List of columns
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 2; */ public tech.ydb.proto.table.YdbTable.ColumnMetaOrBuilder getColumnsOrBuilder( int index) { if (columnsBuilder_ == null) { return columns_.get(index); } else { return columnsBuilder_.getMessageOrBuilder(index); } } /** *
       * List of columns
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 2; */ public java.util.List getColumnsOrBuilderList() { if (columnsBuilder_ != null) { return columnsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(columns_); } } /** *
       * List of columns
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 2; */ public tech.ydb.proto.table.YdbTable.ColumnMeta.Builder addColumnsBuilder() { return getColumnsFieldBuilder().addBuilder( tech.ydb.proto.table.YdbTable.ColumnMeta.getDefaultInstance()); } /** *
       * List of columns
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 2; */ public tech.ydb.proto.table.YdbTable.ColumnMeta.Builder addColumnsBuilder( int index) { return getColumnsFieldBuilder().addBuilder( index, tech.ydb.proto.table.YdbTable.ColumnMeta.getDefaultInstance()); } /** *
       * List of columns
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 2; */ public java.util.List getColumnsBuilderList() { return getColumnsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ColumnMeta, tech.ydb.proto.table.YdbTable.ColumnMeta.Builder, tech.ydb.proto.table.YdbTable.ColumnMetaOrBuilder> getColumnsFieldBuilder() { if (columnsBuilder_ == null) { columnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ColumnMeta, tech.ydb.proto.table.YdbTable.ColumnMeta.Builder, tech.ydb.proto.table.YdbTable.ColumnMetaOrBuilder>( columns_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); columns_ = null; } return columnsBuilder_; } private com.google.protobuf.LazyStringArrayList primaryKey_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensurePrimaryKeyIsMutable() { if (!primaryKey_.isModifiable()) { primaryKey_ = new com.google.protobuf.LazyStringArrayList(primaryKey_); } bitField0_ |= 0x00000004; } /** *
       * List of primary key columns
       * 
* * repeated string primary_key = 3; * @return A list containing the primaryKey. */ public com.google.protobuf.ProtocolStringList getPrimaryKeyList() { primaryKey_.makeImmutable(); return primaryKey_; } /** *
       * List of primary key columns
       * 
* * repeated string primary_key = 3; * @return The count of primaryKey. */ public int getPrimaryKeyCount() { return primaryKey_.size(); } /** *
       * List of primary key columns
       * 
* * repeated string primary_key = 3; * @param index The index of the element to return. * @return The primaryKey at the given index. */ public java.lang.String getPrimaryKey(int index) { return primaryKey_.get(index); } /** *
       * List of primary key columns
       * 
* * repeated string primary_key = 3; * @param index The index of the value to return. * @return The bytes of the primaryKey at the given index. */ public com.google.protobuf.ByteString getPrimaryKeyBytes(int index) { return primaryKey_.getByteString(index); } /** *
       * List of primary key columns
       * 
* * repeated string primary_key = 3; * @param index The index to set the value at. * @param value The primaryKey to set. * @return This builder for chaining. */ public Builder setPrimaryKey( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePrimaryKeyIsMutable(); primaryKey_.set(index, value); bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * List of primary key columns
       * 
* * repeated string primary_key = 3; * @param value The primaryKey to add. * @return This builder for chaining. */ public Builder addPrimaryKey( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePrimaryKeyIsMutable(); primaryKey_.add(value); bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * List of primary key columns
       * 
* * repeated string primary_key = 3; * @param values The primaryKey to add. * @return This builder for chaining. */ public Builder addAllPrimaryKey( java.lang.Iterable values) { ensurePrimaryKeyIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, primaryKey_); bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * List of primary key columns
       * 
* * repeated string primary_key = 3; * @return This builder for chaining. */ public Builder clearPrimaryKey() { primaryKey_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** *
       * List of primary key columns
       * 
* * repeated string primary_key = 3; * @param value The bytes of the primaryKey to add. * @return This builder for chaining. */ public Builder addPrimaryKeyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePrimaryKeyIsMutable(); primaryKey_.add(value); bitField0_ |= 0x00000004; onChanged(); return this; } private java.util.List shardKeyBounds_ = java.util.Collections.emptyList(); private void ensureShardKeyBoundsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { shardKeyBounds_ = new java.util.ArrayList(shardKeyBounds_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.ValueProtos.TypedValue, tech.ydb.proto.ValueProtos.TypedValue.Builder, tech.ydb.proto.ValueProtos.TypedValueOrBuilder> shardKeyBoundsBuilder_; /** *
       * List of key ranges for shard
       * 
* * repeated .Ydb.TypedValue shard_key_bounds = 4; */ public java.util.List getShardKeyBoundsList() { if (shardKeyBoundsBuilder_ == null) { return java.util.Collections.unmodifiableList(shardKeyBounds_); } else { return shardKeyBoundsBuilder_.getMessageList(); } } /** *
       * List of key ranges for shard
       * 
* * repeated .Ydb.TypedValue shard_key_bounds = 4; */ public int getShardKeyBoundsCount() { if (shardKeyBoundsBuilder_ == null) { return shardKeyBounds_.size(); } else { return shardKeyBoundsBuilder_.getCount(); } } /** *
       * List of key ranges for shard
       * 
* * repeated .Ydb.TypedValue shard_key_bounds = 4; */ public tech.ydb.proto.ValueProtos.TypedValue getShardKeyBounds(int index) { if (shardKeyBoundsBuilder_ == null) { return shardKeyBounds_.get(index); } else { return shardKeyBoundsBuilder_.getMessage(index); } } /** *
       * List of key ranges for shard
       * 
* * repeated .Ydb.TypedValue shard_key_bounds = 4; */ public Builder setShardKeyBounds( int index, tech.ydb.proto.ValueProtos.TypedValue value) { if (shardKeyBoundsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureShardKeyBoundsIsMutable(); shardKeyBounds_.set(index, value); onChanged(); } else { shardKeyBoundsBuilder_.setMessage(index, value); } return this; } /** *
       * List of key ranges for shard
       * 
* * repeated .Ydb.TypedValue shard_key_bounds = 4; */ public Builder setShardKeyBounds( int index, tech.ydb.proto.ValueProtos.TypedValue.Builder builderForValue) { if (shardKeyBoundsBuilder_ == null) { ensureShardKeyBoundsIsMutable(); shardKeyBounds_.set(index, builderForValue.build()); onChanged(); } else { shardKeyBoundsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * List of key ranges for shard
       * 
* * repeated .Ydb.TypedValue shard_key_bounds = 4; */ public Builder addShardKeyBounds(tech.ydb.proto.ValueProtos.TypedValue value) { if (shardKeyBoundsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureShardKeyBoundsIsMutable(); shardKeyBounds_.add(value); onChanged(); } else { shardKeyBoundsBuilder_.addMessage(value); } return this; } /** *
       * List of key ranges for shard
       * 
* * repeated .Ydb.TypedValue shard_key_bounds = 4; */ public Builder addShardKeyBounds( int index, tech.ydb.proto.ValueProtos.TypedValue value) { if (shardKeyBoundsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureShardKeyBoundsIsMutable(); shardKeyBounds_.add(index, value); onChanged(); } else { shardKeyBoundsBuilder_.addMessage(index, value); } return this; } /** *
       * List of key ranges for shard
       * 
* * repeated .Ydb.TypedValue shard_key_bounds = 4; */ public Builder addShardKeyBounds( tech.ydb.proto.ValueProtos.TypedValue.Builder builderForValue) { if (shardKeyBoundsBuilder_ == null) { ensureShardKeyBoundsIsMutable(); shardKeyBounds_.add(builderForValue.build()); onChanged(); } else { shardKeyBoundsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * List of key ranges for shard
       * 
* * repeated .Ydb.TypedValue shard_key_bounds = 4; */ public Builder addShardKeyBounds( int index, tech.ydb.proto.ValueProtos.TypedValue.Builder builderForValue) { if (shardKeyBoundsBuilder_ == null) { ensureShardKeyBoundsIsMutable(); shardKeyBounds_.add(index, builderForValue.build()); onChanged(); } else { shardKeyBoundsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * List of key ranges for shard
       * 
* * repeated .Ydb.TypedValue shard_key_bounds = 4; */ public Builder addAllShardKeyBounds( java.lang.Iterable values) { if (shardKeyBoundsBuilder_ == null) { ensureShardKeyBoundsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, shardKeyBounds_); onChanged(); } else { shardKeyBoundsBuilder_.addAllMessages(values); } return this; } /** *
       * List of key ranges for shard
       * 
* * repeated .Ydb.TypedValue shard_key_bounds = 4; */ public Builder clearShardKeyBounds() { if (shardKeyBoundsBuilder_ == null) { shardKeyBounds_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { shardKeyBoundsBuilder_.clear(); } return this; } /** *
       * List of key ranges for shard
       * 
* * repeated .Ydb.TypedValue shard_key_bounds = 4; */ public Builder removeShardKeyBounds(int index) { if (shardKeyBoundsBuilder_ == null) { ensureShardKeyBoundsIsMutable(); shardKeyBounds_.remove(index); onChanged(); } else { shardKeyBoundsBuilder_.remove(index); } return this; } /** *
       * List of key ranges for shard
       * 
* * repeated .Ydb.TypedValue shard_key_bounds = 4; */ public tech.ydb.proto.ValueProtos.TypedValue.Builder getShardKeyBoundsBuilder( int index) { return getShardKeyBoundsFieldBuilder().getBuilder(index); } /** *
       * List of key ranges for shard
       * 
* * repeated .Ydb.TypedValue shard_key_bounds = 4; */ public tech.ydb.proto.ValueProtos.TypedValueOrBuilder getShardKeyBoundsOrBuilder( int index) { if (shardKeyBoundsBuilder_ == null) { return shardKeyBounds_.get(index); } else { return shardKeyBoundsBuilder_.getMessageOrBuilder(index); } } /** *
       * List of key ranges for shard
       * 
* * repeated .Ydb.TypedValue shard_key_bounds = 4; */ public java.util.List getShardKeyBoundsOrBuilderList() { if (shardKeyBoundsBuilder_ != null) { return shardKeyBoundsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(shardKeyBounds_); } } /** *
       * List of key ranges for shard
       * 
* * repeated .Ydb.TypedValue shard_key_bounds = 4; */ public tech.ydb.proto.ValueProtos.TypedValue.Builder addShardKeyBoundsBuilder() { return getShardKeyBoundsFieldBuilder().addBuilder( tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance()); } /** *
       * List of key ranges for shard
       * 
* * repeated .Ydb.TypedValue shard_key_bounds = 4; */ public tech.ydb.proto.ValueProtos.TypedValue.Builder addShardKeyBoundsBuilder( int index) { return getShardKeyBoundsFieldBuilder().addBuilder( index, tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance()); } /** *
       * List of key ranges for shard
       * 
* * repeated .Ydb.TypedValue shard_key_bounds = 4; */ public java.util.List getShardKeyBoundsBuilderList() { return getShardKeyBoundsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.ValueProtos.TypedValue, tech.ydb.proto.ValueProtos.TypedValue.Builder, tech.ydb.proto.ValueProtos.TypedValueOrBuilder> getShardKeyBoundsFieldBuilder() { if (shardKeyBoundsBuilder_ == null) { shardKeyBoundsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.ValueProtos.TypedValue, tech.ydb.proto.ValueProtos.TypedValue.Builder, tech.ydb.proto.ValueProtos.TypedValueOrBuilder>( shardKeyBounds_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); shardKeyBounds_ = null; } return shardKeyBoundsBuilder_; } private java.util.List indexes_ = java.util.Collections.emptyList(); private void ensureIndexesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { indexes_ = new java.util.ArrayList(indexes_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.TableIndexDescription, tech.ydb.proto.table.YdbTable.TableIndexDescription.Builder, tech.ydb.proto.table.YdbTable.TableIndexDescriptionOrBuilder> indexesBuilder_; /** *
       * List of indexes
       * 
* * repeated .Ydb.Table.TableIndexDescription indexes = 5; */ public java.util.List getIndexesList() { if (indexesBuilder_ == null) { return java.util.Collections.unmodifiableList(indexes_); } else { return indexesBuilder_.getMessageList(); } } /** *
       * List of indexes
       * 
* * repeated .Ydb.Table.TableIndexDescription indexes = 5; */ public int getIndexesCount() { if (indexesBuilder_ == null) { return indexes_.size(); } else { return indexesBuilder_.getCount(); } } /** *
       * List of indexes
       * 
* * repeated .Ydb.Table.TableIndexDescription indexes = 5; */ public tech.ydb.proto.table.YdbTable.TableIndexDescription getIndexes(int index) { if (indexesBuilder_ == null) { return indexes_.get(index); } else { return indexesBuilder_.getMessage(index); } } /** *
       * List of indexes
       * 
* * repeated .Ydb.Table.TableIndexDescription indexes = 5; */ public Builder setIndexes( int index, tech.ydb.proto.table.YdbTable.TableIndexDescription value) { if (indexesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureIndexesIsMutable(); indexes_.set(index, value); onChanged(); } else { indexesBuilder_.setMessage(index, value); } return this; } /** *
       * List of indexes
       * 
* * repeated .Ydb.Table.TableIndexDescription indexes = 5; */ public Builder setIndexes( int index, tech.ydb.proto.table.YdbTable.TableIndexDescription.Builder builderForValue) { if (indexesBuilder_ == null) { ensureIndexesIsMutable(); indexes_.set(index, builderForValue.build()); onChanged(); } else { indexesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * List of indexes
       * 
* * repeated .Ydb.Table.TableIndexDescription indexes = 5; */ public Builder addIndexes(tech.ydb.proto.table.YdbTable.TableIndexDescription value) { if (indexesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureIndexesIsMutable(); indexes_.add(value); onChanged(); } else { indexesBuilder_.addMessage(value); } return this; } /** *
       * List of indexes
       * 
* * repeated .Ydb.Table.TableIndexDescription indexes = 5; */ public Builder addIndexes( int index, tech.ydb.proto.table.YdbTable.TableIndexDescription value) { if (indexesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureIndexesIsMutable(); indexes_.add(index, value); onChanged(); } else { indexesBuilder_.addMessage(index, value); } return this; } /** *
       * List of indexes
       * 
* * repeated .Ydb.Table.TableIndexDescription indexes = 5; */ public Builder addIndexes( tech.ydb.proto.table.YdbTable.TableIndexDescription.Builder builderForValue) { if (indexesBuilder_ == null) { ensureIndexesIsMutable(); indexes_.add(builderForValue.build()); onChanged(); } else { indexesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * List of indexes
       * 
* * repeated .Ydb.Table.TableIndexDescription indexes = 5; */ public Builder addIndexes( int index, tech.ydb.proto.table.YdbTable.TableIndexDescription.Builder builderForValue) { if (indexesBuilder_ == null) { ensureIndexesIsMutable(); indexes_.add(index, builderForValue.build()); onChanged(); } else { indexesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * List of indexes
       * 
* * repeated .Ydb.Table.TableIndexDescription indexes = 5; */ public Builder addAllIndexes( java.lang.Iterable values) { if (indexesBuilder_ == null) { ensureIndexesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, indexes_); onChanged(); } else { indexesBuilder_.addAllMessages(values); } return this; } /** *
       * List of indexes
       * 
* * repeated .Ydb.Table.TableIndexDescription indexes = 5; */ public Builder clearIndexes() { if (indexesBuilder_ == null) { indexes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { indexesBuilder_.clear(); } return this; } /** *
       * List of indexes
       * 
* * repeated .Ydb.Table.TableIndexDescription indexes = 5; */ public Builder removeIndexes(int index) { if (indexesBuilder_ == null) { ensureIndexesIsMutable(); indexes_.remove(index); onChanged(); } else { indexesBuilder_.remove(index); } return this; } /** *
       * List of indexes
       * 
* * repeated .Ydb.Table.TableIndexDescription indexes = 5; */ public tech.ydb.proto.table.YdbTable.TableIndexDescription.Builder getIndexesBuilder( int index) { return getIndexesFieldBuilder().getBuilder(index); } /** *
       * List of indexes
       * 
* * repeated .Ydb.Table.TableIndexDescription indexes = 5; */ public tech.ydb.proto.table.YdbTable.TableIndexDescriptionOrBuilder getIndexesOrBuilder( int index) { if (indexesBuilder_ == null) { return indexes_.get(index); } else { return indexesBuilder_.getMessageOrBuilder(index); } } /** *
       * List of indexes
       * 
* * repeated .Ydb.Table.TableIndexDescription indexes = 5; */ public java.util.List getIndexesOrBuilderList() { if (indexesBuilder_ != null) { return indexesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(indexes_); } } /** *
       * List of indexes
       * 
* * repeated .Ydb.Table.TableIndexDescription indexes = 5; */ public tech.ydb.proto.table.YdbTable.TableIndexDescription.Builder addIndexesBuilder() { return getIndexesFieldBuilder().addBuilder( tech.ydb.proto.table.YdbTable.TableIndexDescription.getDefaultInstance()); } /** *
       * List of indexes
       * 
* * repeated .Ydb.Table.TableIndexDescription indexes = 5; */ public tech.ydb.proto.table.YdbTable.TableIndexDescription.Builder addIndexesBuilder( int index) { return getIndexesFieldBuilder().addBuilder( index, tech.ydb.proto.table.YdbTable.TableIndexDescription.getDefaultInstance()); } /** *
       * List of indexes
       * 
* * repeated .Ydb.Table.TableIndexDescription indexes = 5; */ public java.util.List getIndexesBuilderList() { return getIndexesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.TableIndexDescription, tech.ydb.proto.table.YdbTable.TableIndexDescription.Builder, tech.ydb.proto.table.YdbTable.TableIndexDescriptionOrBuilder> getIndexesFieldBuilder() { if (indexesBuilder_ == null) { indexesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.TableIndexDescription, tech.ydb.proto.table.YdbTable.TableIndexDescription.Builder, tech.ydb.proto.table.YdbTable.TableIndexDescriptionOrBuilder>( indexes_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); indexes_ = null; } return indexesBuilder_; } private tech.ydb.proto.table.YdbTable.TableStats tableStats_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.TableStats, tech.ydb.proto.table.YdbTable.TableStats.Builder, tech.ydb.proto.table.YdbTable.TableStatsOrBuilder> tableStatsBuilder_; /** *
       * Statistics of table
       * 
* * .Ydb.Table.TableStats table_stats = 6; * @return Whether the tableStats field is set. */ public boolean hasTableStats() { return ((bitField0_ & 0x00000020) != 0); } /** *
       * Statistics of table
       * 
* * .Ydb.Table.TableStats table_stats = 6; * @return The tableStats. */ public tech.ydb.proto.table.YdbTable.TableStats getTableStats() { if (tableStatsBuilder_ == null) { return tableStats_ == null ? tech.ydb.proto.table.YdbTable.TableStats.getDefaultInstance() : tableStats_; } else { return tableStatsBuilder_.getMessage(); } } /** *
       * Statistics of table
       * 
* * .Ydb.Table.TableStats table_stats = 6; */ public Builder setTableStats(tech.ydb.proto.table.YdbTable.TableStats value) { if (tableStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tableStats_ = value; } else { tableStatsBuilder_.setMessage(value); } bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * Statistics of table
       * 
* * .Ydb.Table.TableStats table_stats = 6; */ public Builder setTableStats( tech.ydb.proto.table.YdbTable.TableStats.Builder builderForValue) { if (tableStatsBuilder_ == null) { tableStats_ = builderForValue.build(); } else { tableStatsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * Statistics of table
       * 
* * .Ydb.Table.TableStats table_stats = 6; */ public Builder mergeTableStats(tech.ydb.proto.table.YdbTable.TableStats value) { if (tableStatsBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && tableStats_ != null && tableStats_ != tech.ydb.proto.table.YdbTable.TableStats.getDefaultInstance()) { getTableStatsBuilder().mergeFrom(value); } else { tableStats_ = value; } } else { tableStatsBuilder_.mergeFrom(value); } if (tableStats_ != null) { bitField0_ |= 0x00000020; onChanged(); } return this; } /** *
       * Statistics of table
       * 
* * .Ydb.Table.TableStats table_stats = 6; */ public Builder clearTableStats() { bitField0_ = (bitField0_ & ~0x00000020); tableStats_ = null; if (tableStatsBuilder_ != null) { tableStatsBuilder_.dispose(); tableStatsBuilder_ = null; } onChanged(); return this; } /** *
       * Statistics of table
       * 
* * .Ydb.Table.TableStats table_stats = 6; */ public tech.ydb.proto.table.YdbTable.TableStats.Builder getTableStatsBuilder() { bitField0_ |= 0x00000020; onChanged(); return getTableStatsFieldBuilder().getBuilder(); } /** *
       * Statistics of table
       * 
* * .Ydb.Table.TableStats table_stats = 6; */ public tech.ydb.proto.table.YdbTable.TableStatsOrBuilder getTableStatsOrBuilder() { if (tableStatsBuilder_ != null) { return tableStatsBuilder_.getMessageOrBuilder(); } else { return tableStats_ == null ? tech.ydb.proto.table.YdbTable.TableStats.getDefaultInstance() : tableStats_; } } /** *
       * Statistics of table
       * 
* * .Ydb.Table.TableStats table_stats = 6; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.TableStats, tech.ydb.proto.table.YdbTable.TableStats.Builder, tech.ydb.proto.table.YdbTable.TableStatsOrBuilder> getTableStatsFieldBuilder() { if (tableStatsBuilder_ == null) { tableStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.TableStats, tech.ydb.proto.table.YdbTable.TableStats.Builder, tech.ydb.proto.table.YdbTable.TableStatsOrBuilder>( getTableStats(), getParentForChildren(), isClean()); tableStats_ = null; } return tableStatsBuilder_; } private tech.ydb.proto.table.YdbTable.TtlSettings ttlSettings_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.TtlSettings, tech.ydb.proto.table.YdbTable.TtlSettings.Builder, tech.ydb.proto.table.YdbTable.TtlSettingsOrBuilder> ttlSettingsBuilder_; /** *
       * TTL params
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 7; * @return Whether the ttlSettings field is set. */ public boolean hasTtlSettings() { return ((bitField0_ & 0x00000040) != 0); } /** *
       * TTL params
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 7; * @return The ttlSettings. */ public tech.ydb.proto.table.YdbTable.TtlSettings getTtlSettings() { if (ttlSettingsBuilder_ == null) { return ttlSettings_ == null ? tech.ydb.proto.table.YdbTable.TtlSettings.getDefaultInstance() : ttlSettings_; } else { return ttlSettingsBuilder_.getMessage(); } } /** *
       * TTL params
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 7; */ public Builder setTtlSettings(tech.ydb.proto.table.YdbTable.TtlSettings value) { if (ttlSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ttlSettings_ = value; } else { ttlSettingsBuilder_.setMessage(value); } bitField0_ |= 0x00000040; onChanged(); return this; } /** *
       * TTL params
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 7; */ public Builder setTtlSettings( tech.ydb.proto.table.YdbTable.TtlSettings.Builder builderForValue) { if (ttlSettingsBuilder_ == null) { ttlSettings_ = builderForValue.build(); } else { ttlSettingsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; onChanged(); return this; } /** *
       * TTL params
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 7; */ public Builder mergeTtlSettings(tech.ydb.proto.table.YdbTable.TtlSettings value) { if (ttlSettingsBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0) && ttlSettings_ != null && ttlSettings_ != tech.ydb.proto.table.YdbTable.TtlSettings.getDefaultInstance()) { getTtlSettingsBuilder().mergeFrom(value); } else { ttlSettings_ = value; } } else { ttlSettingsBuilder_.mergeFrom(value); } if (ttlSettings_ != null) { bitField0_ |= 0x00000040; onChanged(); } return this; } /** *
       * TTL params
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 7; */ public Builder clearTtlSettings() { bitField0_ = (bitField0_ & ~0x00000040); ttlSettings_ = null; if (ttlSettingsBuilder_ != null) { ttlSettingsBuilder_.dispose(); ttlSettingsBuilder_ = null; } onChanged(); return this; } /** *
       * TTL params
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 7; */ public tech.ydb.proto.table.YdbTable.TtlSettings.Builder getTtlSettingsBuilder() { bitField0_ |= 0x00000040; onChanged(); return getTtlSettingsFieldBuilder().getBuilder(); } /** *
       * TTL params
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 7; */ public tech.ydb.proto.table.YdbTable.TtlSettingsOrBuilder getTtlSettingsOrBuilder() { if (ttlSettingsBuilder_ != null) { return ttlSettingsBuilder_.getMessageOrBuilder(); } else { return ttlSettings_ == null ? tech.ydb.proto.table.YdbTable.TtlSettings.getDefaultInstance() : ttlSettings_; } } /** *
       * TTL params
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 7; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.TtlSettings, tech.ydb.proto.table.YdbTable.TtlSettings.Builder, tech.ydb.proto.table.YdbTable.TtlSettingsOrBuilder> getTtlSettingsFieldBuilder() { if (ttlSettingsBuilder_ == null) { ttlSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.TtlSettings, tech.ydb.proto.table.YdbTable.TtlSettings.Builder, tech.ydb.proto.table.YdbTable.TtlSettingsOrBuilder>( getTtlSettings(), getParentForChildren(), isClean()); ttlSettings_ = null; } return ttlSettingsBuilder_; } private tech.ydb.proto.table.YdbTable.StorageSettings storageSettings_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StorageSettings, tech.ydb.proto.table.YdbTable.StorageSettings.Builder, tech.ydb.proto.table.YdbTable.StorageSettingsOrBuilder> storageSettingsBuilder_; /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 8; * @return Whether the storageSettings field is set. */ public boolean hasStorageSettings() { return ((bitField0_ & 0x00000080) != 0); } /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 8; * @return The storageSettings. */ public tech.ydb.proto.table.YdbTable.StorageSettings getStorageSettings() { if (storageSettingsBuilder_ == null) { return storageSettings_ == null ? tech.ydb.proto.table.YdbTable.StorageSettings.getDefaultInstance() : storageSettings_; } else { return storageSettingsBuilder_.getMessage(); } } /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 8; */ public Builder setStorageSettings(tech.ydb.proto.table.YdbTable.StorageSettings value) { if (storageSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } storageSettings_ = value; } else { storageSettingsBuilder_.setMessage(value); } bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 8; */ public Builder setStorageSettings( tech.ydb.proto.table.YdbTable.StorageSettings.Builder builderForValue) { if (storageSettingsBuilder_ == null) { storageSettings_ = builderForValue.build(); } else { storageSettingsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 8; */ public Builder mergeStorageSettings(tech.ydb.proto.table.YdbTable.StorageSettings value) { if (storageSettingsBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0) && storageSettings_ != null && storageSettings_ != tech.ydb.proto.table.YdbTable.StorageSettings.getDefaultInstance()) { getStorageSettingsBuilder().mergeFrom(value); } else { storageSettings_ = value; } } else { storageSettingsBuilder_.mergeFrom(value); } if (storageSettings_ != null) { bitField0_ |= 0x00000080; onChanged(); } return this; } /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 8; */ public Builder clearStorageSettings() { bitField0_ = (bitField0_ & ~0x00000080); storageSettings_ = null; if (storageSettingsBuilder_ != null) { storageSettingsBuilder_.dispose(); storageSettingsBuilder_ = null; } onChanged(); return this; } /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 8; */ public tech.ydb.proto.table.YdbTable.StorageSettings.Builder getStorageSettingsBuilder() { bitField0_ |= 0x00000080; onChanged(); return getStorageSettingsFieldBuilder().getBuilder(); } /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 8; */ public tech.ydb.proto.table.YdbTable.StorageSettingsOrBuilder getStorageSettingsOrBuilder() { if (storageSettingsBuilder_ != null) { return storageSettingsBuilder_.getMessageOrBuilder(); } else { return storageSettings_ == null ? tech.ydb.proto.table.YdbTable.StorageSettings.getDefaultInstance() : storageSettings_; } } /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 8; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StorageSettings, tech.ydb.proto.table.YdbTable.StorageSettings.Builder, tech.ydb.proto.table.YdbTable.StorageSettingsOrBuilder> getStorageSettingsFieldBuilder() { if (storageSettingsBuilder_ == null) { storageSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StorageSettings, tech.ydb.proto.table.YdbTable.StorageSettings.Builder, tech.ydb.proto.table.YdbTable.StorageSettingsOrBuilder>( getStorageSettings(), getParentForChildren(), isClean()); storageSettings_ = null; } return storageSettingsBuilder_; } private java.util.List columnFamilies_ = java.util.Collections.emptyList(); private void ensureColumnFamiliesIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { columnFamilies_ = new java.util.ArrayList(columnFamilies_); bitField0_ |= 0x00000100; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ColumnFamily, tech.ydb.proto.table.YdbTable.ColumnFamily.Builder, tech.ydb.proto.table.YdbTable.ColumnFamilyOrBuilder> columnFamiliesBuilder_; /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 9; */ public java.util.List getColumnFamiliesList() { if (columnFamiliesBuilder_ == null) { return java.util.Collections.unmodifiableList(columnFamilies_); } else { return columnFamiliesBuilder_.getMessageList(); } } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 9; */ public int getColumnFamiliesCount() { if (columnFamiliesBuilder_ == null) { return columnFamilies_.size(); } else { return columnFamiliesBuilder_.getCount(); } } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 9; */ public tech.ydb.proto.table.YdbTable.ColumnFamily getColumnFamilies(int index) { if (columnFamiliesBuilder_ == null) { return columnFamilies_.get(index); } else { return columnFamiliesBuilder_.getMessage(index); } } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 9; */ public Builder setColumnFamilies( int index, tech.ydb.proto.table.YdbTable.ColumnFamily value) { if (columnFamiliesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnFamiliesIsMutable(); columnFamilies_.set(index, value); onChanged(); } else { columnFamiliesBuilder_.setMessage(index, value); } return this; } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 9; */ public Builder setColumnFamilies( int index, tech.ydb.proto.table.YdbTable.ColumnFamily.Builder builderForValue) { if (columnFamiliesBuilder_ == null) { ensureColumnFamiliesIsMutable(); columnFamilies_.set(index, builderForValue.build()); onChanged(); } else { columnFamiliesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 9; */ public Builder addColumnFamilies(tech.ydb.proto.table.YdbTable.ColumnFamily value) { if (columnFamiliesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnFamiliesIsMutable(); columnFamilies_.add(value); onChanged(); } else { columnFamiliesBuilder_.addMessage(value); } return this; } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 9; */ public Builder addColumnFamilies( int index, tech.ydb.proto.table.YdbTable.ColumnFamily value) { if (columnFamiliesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnFamiliesIsMutable(); columnFamilies_.add(index, value); onChanged(); } else { columnFamiliesBuilder_.addMessage(index, value); } return this; } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 9; */ public Builder addColumnFamilies( tech.ydb.proto.table.YdbTable.ColumnFamily.Builder builderForValue) { if (columnFamiliesBuilder_ == null) { ensureColumnFamiliesIsMutable(); columnFamilies_.add(builderForValue.build()); onChanged(); } else { columnFamiliesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 9; */ public Builder addColumnFamilies( int index, tech.ydb.proto.table.YdbTable.ColumnFamily.Builder builderForValue) { if (columnFamiliesBuilder_ == null) { ensureColumnFamiliesIsMutable(); columnFamilies_.add(index, builderForValue.build()); onChanged(); } else { columnFamiliesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 9; */ public Builder addAllColumnFamilies( java.lang.Iterable values) { if (columnFamiliesBuilder_ == null) { ensureColumnFamiliesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, columnFamilies_); onChanged(); } else { columnFamiliesBuilder_.addAllMessages(values); } return this; } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 9; */ public Builder clearColumnFamilies() { if (columnFamiliesBuilder_ == null) { columnFamilies_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); } else { columnFamiliesBuilder_.clear(); } return this; } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 9; */ public Builder removeColumnFamilies(int index) { if (columnFamiliesBuilder_ == null) { ensureColumnFamiliesIsMutable(); columnFamilies_.remove(index); onChanged(); } else { columnFamiliesBuilder_.remove(index); } return this; } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 9; */ public tech.ydb.proto.table.YdbTable.ColumnFamily.Builder getColumnFamiliesBuilder( int index) { return getColumnFamiliesFieldBuilder().getBuilder(index); } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 9; */ public tech.ydb.proto.table.YdbTable.ColumnFamilyOrBuilder getColumnFamiliesOrBuilder( int index) { if (columnFamiliesBuilder_ == null) { return columnFamilies_.get(index); } else { return columnFamiliesBuilder_.getMessageOrBuilder(index); } } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 9; */ public java.util.List getColumnFamiliesOrBuilderList() { if (columnFamiliesBuilder_ != null) { return columnFamiliesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(columnFamilies_); } } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 9; */ public tech.ydb.proto.table.YdbTable.ColumnFamily.Builder addColumnFamiliesBuilder() { return getColumnFamiliesFieldBuilder().addBuilder( tech.ydb.proto.table.YdbTable.ColumnFamily.getDefaultInstance()); } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 9; */ public tech.ydb.proto.table.YdbTable.ColumnFamily.Builder addColumnFamiliesBuilder( int index) { return getColumnFamiliesFieldBuilder().addBuilder( index, tech.ydb.proto.table.YdbTable.ColumnFamily.getDefaultInstance()); } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 9; */ public java.util.List getColumnFamiliesBuilderList() { return getColumnFamiliesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ColumnFamily, tech.ydb.proto.table.YdbTable.ColumnFamily.Builder, tech.ydb.proto.table.YdbTable.ColumnFamilyOrBuilder> getColumnFamiliesFieldBuilder() { if (columnFamiliesBuilder_ == null) { columnFamiliesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ColumnFamily, tech.ydb.proto.table.YdbTable.ColumnFamily.Builder, tech.ydb.proto.table.YdbTable.ColumnFamilyOrBuilder>( columnFamilies_, ((bitField0_ & 0x00000100) != 0), getParentForChildren(), isClean()); columnFamilies_ = null; } return columnFamiliesBuilder_; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> attributes_; private com.google.protobuf.MapField internalGetAttributes() { if (attributes_ == null) { return com.google.protobuf.MapField.emptyMapField( AttributesDefaultEntryHolder.defaultEntry); } return attributes_; } private com.google.protobuf.MapField internalGetMutableAttributes() { if (attributes_ == null) { attributes_ = com.google.protobuf.MapField.newMapField( AttributesDefaultEntryHolder.defaultEntry); } if (!attributes_.isMutable()) { attributes_ = attributes_.copy(); } bitField0_ |= 0x00000200; onChanged(); return attributes_; } public int getAttributesCount() { return internalGetAttributes().getMap().size(); } /** *
       * Attributes
       * 
* * map<string, string> attributes = 10; */ @java.lang.Override public boolean containsAttributes( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetAttributes().getMap().containsKey(key); } /** * Use {@link #getAttributesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAttributes() { return getAttributesMap(); } /** *
       * Attributes
       * 
* * map<string, string> attributes = 10; */ @java.lang.Override public java.util.Map getAttributesMap() { return internalGetAttributes().getMap(); } /** *
       * Attributes
       * 
* * map<string, string> attributes = 10; */ @java.lang.Override public /* nullable */ java.lang.String getAttributesOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAttributes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Attributes
       * 
* * map<string, string> attributes = 10; */ @java.lang.Override public java.lang.String getAttributesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAttributes().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearAttributes() { bitField0_ = (bitField0_ & ~0x00000200); internalGetMutableAttributes().getMutableMap() .clear(); return this; } /** *
       * Attributes
       * 
* * map<string, string> attributes = 10; */ public Builder removeAttributes( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableAttributes().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableAttributes() { bitField0_ |= 0x00000200; return internalGetMutableAttributes().getMutableMap(); } /** *
       * Attributes
       * 
* * map<string, string> attributes = 10; */ public Builder putAttributes( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableAttributes().getMutableMap() .put(key, value); bitField0_ |= 0x00000200; return this; } /** *
       * Attributes
       * 
* * map<string, string> attributes = 10; */ public Builder putAllAttributes( java.util.Map values) { internalGetMutableAttributes().getMutableMap() .putAll(values); bitField0_ |= 0x00000200; return this; } private tech.ydb.proto.table.YdbTable.PartitioningSettings partitioningSettings_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.PartitioningSettings, tech.ydb.proto.table.YdbTable.PartitioningSettings.Builder, tech.ydb.proto.table.YdbTable.PartitioningSettingsOrBuilder> partitioningSettingsBuilder_; /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 12; * @return Whether the partitioningSettings field is set. */ public boolean hasPartitioningSettings() { return ((bitField0_ & 0x00000400) != 0); } /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 12; * @return The partitioningSettings. */ public tech.ydb.proto.table.YdbTable.PartitioningSettings getPartitioningSettings() { if (partitioningSettingsBuilder_ == null) { return partitioningSettings_ == null ? tech.ydb.proto.table.YdbTable.PartitioningSettings.getDefaultInstance() : partitioningSettings_; } else { return partitioningSettingsBuilder_.getMessage(); } } /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 12; */ public Builder setPartitioningSettings(tech.ydb.proto.table.YdbTable.PartitioningSettings value) { if (partitioningSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } partitioningSettings_ = value; } else { partitioningSettingsBuilder_.setMessage(value); } bitField0_ |= 0x00000400; onChanged(); return this; } /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 12; */ public Builder setPartitioningSettings( tech.ydb.proto.table.YdbTable.PartitioningSettings.Builder builderForValue) { if (partitioningSettingsBuilder_ == null) { partitioningSettings_ = builderForValue.build(); } else { partitioningSettingsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000400; onChanged(); return this; } /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 12; */ public Builder mergePartitioningSettings(tech.ydb.proto.table.YdbTable.PartitioningSettings value) { if (partitioningSettingsBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0) && partitioningSettings_ != null && partitioningSettings_ != tech.ydb.proto.table.YdbTable.PartitioningSettings.getDefaultInstance()) { getPartitioningSettingsBuilder().mergeFrom(value); } else { partitioningSettings_ = value; } } else { partitioningSettingsBuilder_.mergeFrom(value); } if (partitioningSettings_ != null) { bitField0_ |= 0x00000400; onChanged(); } return this; } /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 12; */ public Builder clearPartitioningSettings() { bitField0_ = (bitField0_ & ~0x00000400); partitioningSettings_ = null; if (partitioningSettingsBuilder_ != null) { partitioningSettingsBuilder_.dispose(); partitioningSettingsBuilder_ = null; } onChanged(); return this; } /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 12; */ public tech.ydb.proto.table.YdbTable.PartitioningSettings.Builder getPartitioningSettingsBuilder() { bitField0_ |= 0x00000400; onChanged(); return getPartitioningSettingsFieldBuilder().getBuilder(); } /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 12; */ public tech.ydb.proto.table.YdbTable.PartitioningSettingsOrBuilder getPartitioningSettingsOrBuilder() { if (partitioningSettingsBuilder_ != null) { return partitioningSettingsBuilder_.getMessageOrBuilder(); } else { return partitioningSettings_ == null ? tech.ydb.proto.table.YdbTable.PartitioningSettings.getDefaultInstance() : partitioningSettings_; } } /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 12; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.PartitioningSettings, tech.ydb.proto.table.YdbTable.PartitioningSettings.Builder, tech.ydb.proto.table.YdbTable.PartitioningSettingsOrBuilder> getPartitioningSettingsFieldBuilder() { if (partitioningSettingsBuilder_ == null) { partitioningSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.PartitioningSettings, tech.ydb.proto.table.YdbTable.PartitioningSettings.Builder, tech.ydb.proto.table.YdbTable.PartitioningSettingsOrBuilder>( getPartitioningSettings(), getParentForChildren(), isClean()); partitioningSettings_ = null; } return partitioningSettingsBuilder_; } private int keyBloomFilter_ = 0; /** *
       * Bloom filter by key
       * 
* * .Ydb.FeatureFlag.Status key_bloom_filter = 13; * @return The enum numeric value on the wire for keyBloomFilter. */ @java.lang.Override public int getKeyBloomFilterValue() { return keyBloomFilter_; } /** *
       * Bloom filter by key
       * 
* * .Ydb.FeatureFlag.Status key_bloom_filter = 13; * @param value The enum numeric value on the wire for keyBloomFilter to set. * @return This builder for chaining. */ public Builder setKeyBloomFilterValue(int value) { keyBloomFilter_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** *
       * Bloom filter by key
       * 
* * .Ydb.FeatureFlag.Status key_bloom_filter = 13; * @return The keyBloomFilter. */ @java.lang.Override public tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getKeyBloomFilter() { tech.ydb.proto.common.CommonProtos.FeatureFlag.Status result = tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.forNumber(keyBloomFilter_); return result == null ? tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } /** *
       * Bloom filter by key
       * 
* * .Ydb.FeatureFlag.Status key_bloom_filter = 13; * @param value The keyBloomFilter to set. * @return This builder for chaining. */ public Builder setKeyBloomFilter(tech.ydb.proto.common.CommonProtos.FeatureFlag.Status value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000800; keyBloomFilter_ = value.getNumber(); onChanged(); return this; } /** *
       * Bloom filter by key
       * 
* * .Ydb.FeatureFlag.Status key_bloom_filter = 13; * @return This builder for chaining. */ public Builder clearKeyBloomFilter() { bitField0_ = (bitField0_ & ~0x00000800); keyBloomFilter_ = 0; onChanged(); return this; } private tech.ydb.proto.table.YdbTable.ReadReplicasSettings readReplicasSettings_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.ReadReplicasSettings, tech.ydb.proto.table.YdbTable.ReadReplicasSettings.Builder, tech.ydb.proto.table.YdbTable.ReadReplicasSettingsOrBuilder> readReplicasSettingsBuilder_; /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 14; * @return Whether the readReplicasSettings field is set. */ public boolean hasReadReplicasSettings() { return ((bitField0_ & 0x00001000) != 0); } /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 14; * @return The readReplicasSettings. */ public tech.ydb.proto.table.YdbTable.ReadReplicasSettings getReadReplicasSettings() { if (readReplicasSettingsBuilder_ == null) { return readReplicasSettings_ == null ? tech.ydb.proto.table.YdbTable.ReadReplicasSettings.getDefaultInstance() : readReplicasSettings_; } else { return readReplicasSettingsBuilder_.getMessage(); } } /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 14; */ public Builder setReadReplicasSettings(tech.ydb.proto.table.YdbTable.ReadReplicasSettings value) { if (readReplicasSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } readReplicasSettings_ = value; } else { readReplicasSettingsBuilder_.setMessage(value); } bitField0_ |= 0x00001000; onChanged(); return this; } /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 14; */ public Builder setReadReplicasSettings( tech.ydb.proto.table.YdbTable.ReadReplicasSettings.Builder builderForValue) { if (readReplicasSettingsBuilder_ == null) { readReplicasSettings_ = builderForValue.build(); } else { readReplicasSettingsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00001000; onChanged(); return this; } /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 14; */ public Builder mergeReadReplicasSettings(tech.ydb.proto.table.YdbTable.ReadReplicasSettings value) { if (readReplicasSettingsBuilder_ == null) { if (((bitField0_ & 0x00001000) != 0) && readReplicasSettings_ != null && readReplicasSettings_ != tech.ydb.proto.table.YdbTable.ReadReplicasSettings.getDefaultInstance()) { getReadReplicasSettingsBuilder().mergeFrom(value); } else { readReplicasSettings_ = value; } } else { readReplicasSettingsBuilder_.mergeFrom(value); } if (readReplicasSettings_ != null) { bitField0_ |= 0x00001000; onChanged(); } return this; } /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 14; */ public Builder clearReadReplicasSettings() { bitField0_ = (bitField0_ & ~0x00001000); readReplicasSettings_ = null; if (readReplicasSettingsBuilder_ != null) { readReplicasSettingsBuilder_.dispose(); readReplicasSettingsBuilder_ = null; } onChanged(); return this; } /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 14; */ public tech.ydb.proto.table.YdbTable.ReadReplicasSettings.Builder getReadReplicasSettingsBuilder() { bitField0_ |= 0x00001000; onChanged(); return getReadReplicasSettingsFieldBuilder().getBuilder(); } /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 14; */ public tech.ydb.proto.table.YdbTable.ReadReplicasSettingsOrBuilder getReadReplicasSettingsOrBuilder() { if (readReplicasSettingsBuilder_ != null) { return readReplicasSettingsBuilder_.getMessageOrBuilder(); } else { return readReplicasSettings_ == null ? tech.ydb.proto.table.YdbTable.ReadReplicasSettings.getDefaultInstance() : readReplicasSettings_; } } /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 14; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.ReadReplicasSettings, tech.ydb.proto.table.YdbTable.ReadReplicasSettings.Builder, tech.ydb.proto.table.YdbTable.ReadReplicasSettingsOrBuilder> getReadReplicasSettingsFieldBuilder() { if (readReplicasSettingsBuilder_ == null) { readReplicasSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.ReadReplicasSettings, tech.ydb.proto.table.YdbTable.ReadReplicasSettings.Builder, tech.ydb.proto.table.YdbTable.ReadReplicasSettingsOrBuilder>( getReadReplicasSettings(), getParentForChildren(), isClean()); readReplicasSettings_ = null; } return readReplicasSettingsBuilder_; } private java.util.List changefeeds_ = java.util.Collections.emptyList(); private void ensureChangefeedsIsMutable() { if (!((bitField0_ & 0x00002000) != 0)) { changefeeds_ = new java.util.ArrayList(changefeeds_); bitField0_ |= 0x00002000; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ChangefeedDescription, tech.ydb.proto.table.YdbTable.ChangefeedDescription.Builder, tech.ydb.proto.table.YdbTable.ChangefeedDescriptionOrBuilder> changefeedsBuilder_; /** *
       * List of changefeeds
       * 
* * repeated .Ydb.Table.ChangefeedDescription changefeeds = 15; */ public java.util.List getChangefeedsList() { if (changefeedsBuilder_ == null) { return java.util.Collections.unmodifiableList(changefeeds_); } else { return changefeedsBuilder_.getMessageList(); } } /** *
       * List of changefeeds
       * 
* * repeated .Ydb.Table.ChangefeedDescription changefeeds = 15; */ public int getChangefeedsCount() { if (changefeedsBuilder_ == null) { return changefeeds_.size(); } else { return changefeedsBuilder_.getCount(); } } /** *
       * List of changefeeds
       * 
* * repeated .Ydb.Table.ChangefeedDescription changefeeds = 15; */ public tech.ydb.proto.table.YdbTable.ChangefeedDescription getChangefeeds(int index) { if (changefeedsBuilder_ == null) { return changefeeds_.get(index); } else { return changefeedsBuilder_.getMessage(index); } } /** *
       * List of changefeeds
       * 
* * repeated .Ydb.Table.ChangefeedDescription changefeeds = 15; */ public Builder setChangefeeds( int index, tech.ydb.proto.table.YdbTable.ChangefeedDescription value) { if (changefeedsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureChangefeedsIsMutable(); changefeeds_.set(index, value); onChanged(); } else { changefeedsBuilder_.setMessage(index, value); } return this; } /** *
       * List of changefeeds
       * 
* * repeated .Ydb.Table.ChangefeedDescription changefeeds = 15; */ public Builder setChangefeeds( int index, tech.ydb.proto.table.YdbTable.ChangefeedDescription.Builder builderForValue) { if (changefeedsBuilder_ == null) { ensureChangefeedsIsMutable(); changefeeds_.set(index, builderForValue.build()); onChanged(); } else { changefeedsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * List of changefeeds
       * 
* * repeated .Ydb.Table.ChangefeedDescription changefeeds = 15; */ public Builder addChangefeeds(tech.ydb.proto.table.YdbTable.ChangefeedDescription value) { if (changefeedsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureChangefeedsIsMutable(); changefeeds_.add(value); onChanged(); } else { changefeedsBuilder_.addMessage(value); } return this; } /** *
       * List of changefeeds
       * 
* * repeated .Ydb.Table.ChangefeedDescription changefeeds = 15; */ public Builder addChangefeeds( int index, tech.ydb.proto.table.YdbTable.ChangefeedDescription value) { if (changefeedsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureChangefeedsIsMutable(); changefeeds_.add(index, value); onChanged(); } else { changefeedsBuilder_.addMessage(index, value); } return this; } /** *
       * List of changefeeds
       * 
* * repeated .Ydb.Table.ChangefeedDescription changefeeds = 15; */ public Builder addChangefeeds( tech.ydb.proto.table.YdbTable.ChangefeedDescription.Builder builderForValue) { if (changefeedsBuilder_ == null) { ensureChangefeedsIsMutable(); changefeeds_.add(builderForValue.build()); onChanged(); } else { changefeedsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * List of changefeeds
       * 
* * repeated .Ydb.Table.ChangefeedDescription changefeeds = 15; */ public Builder addChangefeeds( int index, tech.ydb.proto.table.YdbTable.ChangefeedDescription.Builder builderForValue) { if (changefeedsBuilder_ == null) { ensureChangefeedsIsMutable(); changefeeds_.add(index, builderForValue.build()); onChanged(); } else { changefeedsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * List of changefeeds
       * 
* * repeated .Ydb.Table.ChangefeedDescription changefeeds = 15; */ public Builder addAllChangefeeds( java.lang.Iterable values) { if (changefeedsBuilder_ == null) { ensureChangefeedsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, changefeeds_); onChanged(); } else { changefeedsBuilder_.addAllMessages(values); } return this; } /** *
       * List of changefeeds
       * 
* * repeated .Ydb.Table.ChangefeedDescription changefeeds = 15; */ public Builder clearChangefeeds() { if (changefeedsBuilder_ == null) { changefeeds_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00002000); onChanged(); } else { changefeedsBuilder_.clear(); } return this; } /** *
       * List of changefeeds
       * 
* * repeated .Ydb.Table.ChangefeedDescription changefeeds = 15; */ public Builder removeChangefeeds(int index) { if (changefeedsBuilder_ == null) { ensureChangefeedsIsMutable(); changefeeds_.remove(index); onChanged(); } else { changefeedsBuilder_.remove(index); } return this; } /** *
       * List of changefeeds
       * 
* * repeated .Ydb.Table.ChangefeedDescription changefeeds = 15; */ public tech.ydb.proto.table.YdbTable.ChangefeedDescription.Builder getChangefeedsBuilder( int index) { return getChangefeedsFieldBuilder().getBuilder(index); } /** *
       * List of changefeeds
       * 
* * repeated .Ydb.Table.ChangefeedDescription changefeeds = 15; */ public tech.ydb.proto.table.YdbTable.ChangefeedDescriptionOrBuilder getChangefeedsOrBuilder( int index) { if (changefeedsBuilder_ == null) { return changefeeds_.get(index); } else { return changefeedsBuilder_.getMessageOrBuilder(index); } } /** *
       * List of changefeeds
       * 
* * repeated .Ydb.Table.ChangefeedDescription changefeeds = 15; */ public java.util.List getChangefeedsOrBuilderList() { if (changefeedsBuilder_ != null) { return changefeedsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(changefeeds_); } } /** *
       * List of changefeeds
       * 
* * repeated .Ydb.Table.ChangefeedDescription changefeeds = 15; */ public tech.ydb.proto.table.YdbTable.ChangefeedDescription.Builder addChangefeedsBuilder() { return getChangefeedsFieldBuilder().addBuilder( tech.ydb.proto.table.YdbTable.ChangefeedDescription.getDefaultInstance()); } /** *
       * List of changefeeds
       * 
* * repeated .Ydb.Table.ChangefeedDescription changefeeds = 15; */ public tech.ydb.proto.table.YdbTable.ChangefeedDescription.Builder addChangefeedsBuilder( int index) { return getChangefeedsFieldBuilder().addBuilder( index, tech.ydb.proto.table.YdbTable.ChangefeedDescription.getDefaultInstance()); } /** *
       * List of changefeeds
       * 
* * repeated .Ydb.Table.ChangefeedDescription changefeeds = 15; */ public java.util.List getChangefeedsBuilderList() { return getChangefeedsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ChangefeedDescription, tech.ydb.proto.table.YdbTable.ChangefeedDescription.Builder, tech.ydb.proto.table.YdbTable.ChangefeedDescriptionOrBuilder> getChangefeedsFieldBuilder() { if (changefeedsBuilder_ == null) { changefeedsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ChangefeedDescription, tech.ydb.proto.table.YdbTable.ChangefeedDescription.Builder, tech.ydb.proto.table.YdbTable.ChangefeedDescriptionOrBuilder>( changefeeds_, ((bitField0_ & 0x00002000) != 0), getParentForChildren(), isClean()); changefeeds_ = null; } return changefeedsBuilder_; } private java.lang.Object tiering_ = ""; /** *
       * Tiering rules name
       * 
* * string tiering = 16; * @return The tiering. */ public java.lang.String getTiering() { java.lang.Object ref = tiering_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tiering_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Tiering rules name
       * 
* * string tiering = 16; * @return The bytes for tiering. */ public com.google.protobuf.ByteString getTieringBytes() { java.lang.Object ref = tiering_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tiering_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Tiering rules name
       * 
* * string tiering = 16; * @param value The tiering to set. * @return This builder for chaining. */ public Builder setTiering( java.lang.String value) { if (value == null) { throw new NullPointerException(); } tiering_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** *
       * Tiering rules name
       * 
* * string tiering = 16; * @return This builder for chaining. */ public Builder clearTiering() { tiering_ = getDefaultInstance().getTiering(); bitField0_ = (bitField0_ & ~0x00004000); onChanged(); return this; } /** *
       * Tiering rules name
       * 
* * string tiering = 16; * @param value The bytes for tiering to set. * @return This builder for chaining. */ public Builder setTieringBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tiering_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } private boolean temporary_ ; /** *
       * Is temporary table
       * 
* * bool temporary = 17; * @return The temporary. */ @java.lang.Override public boolean getTemporary() { return temporary_; } /** *
       * Is temporary table
       * 
* * bool temporary = 17; * @param value The temporary to set. * @return This builder for chaining. */ public Builder setTemporary(boolean value) { temporary_ = value; bitField0_ |= 0x00008000; onChanged(); return this; } /** *
       * Is temporary table
       * 
* * bool temporary = 17; * @return This builder for chaining. */ public Builder clearTemporary() { bitField0_ = (bitField0_ & ~0x00008000); temporary_ = false; onChanged(); return this; } private int storeType_ = 0; /** *
       * Is table column or row oriented
       * 
* * .Ydb.Table.StoreType store_type = 18; * @return The enum numeric value on the wire for storeType. */ @java.lang.Override public int getStoreTypeValue() { return storeType_; } /** *
       * Is table column or row oriented
       * 
* * .Ydb.Table.StoreType store_type = 18; * @param value The enum numeric value on the wire for storeType to set. * @return This builder for chaining. */ public Builder setStoreTypeValue(int value) { storeType_ = value; bitField0_ |= 0x00010000; onChanged(); return this; } /** *
       * Is table column or row oriented
       * 
* * .Ydb.Table.StoreType store_type = 18; * @return The storeType. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StoreType getStoreType() { tech.ydb.proto.table.YdbTable.StoreType result = tech.ydb.proto.table.YdbTable.StoreType.forNumber(storeType_); return result == null ? tech.ydb.proto.table.YdbTable.StoreType.UNRECOGNIZED : result; } /** *
       * Is table column or row oriented
       * 
* * .Ydb.Table.StoreType store_type = 18; * @param value The storeType to set. * @return This builder for chaining. */ public Builder setStoreType(tech.ydb.proto.table.YdbTable.StoreType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00010000; storeType_ = value.getNumber(); onChanged(); return this; } /** *
       * Is table column or row oriented
       * 
* * .Ydb.Table.StoreType store_type = 18; * @return This builder for chaining. */ public Builder clearStoreType() { bitField0_ = (bitField0_ & ~0x00010000); storeType_ = 0; 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.Table.DescribeTableResult) } // @@protoc_insertion_point(class_scope:Ydb.Table.DescribeTableResult) private static final tech.ydb.proto.table.YdbTable.DescribeTableResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.DescribeTableResult(); } public static tech.ydb.proto.table.YdbTable.DescribeTableResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DescribeTableResult 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.table.YdbTable.DescribeTableResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.Query) com.google.protobuf.MessageOrBuilder { /** *
     * SQL program
     * 
* * string yql_text = 1; * @return Whether the yqlText field is set. */ boolean hasYqlText(); /** *
     * SQL program
     * 
* * string yql_text = 1; * @return The yqlText. */ java.lang.String getYqlText(); /** *
     * SQL program
     * 
* * string yql_text = 1; * @return The bytes for yqlText. */ com.google.protobuf.ByteString getYqlTextBytes(); /** *
     * Prepared query id
     * 
* * string id = 2; * @return Whether the id field is set. */ boolean hasId(); /** *
     * Prepared query id
     * 
* * string id = 2; * @return The id. */ java.lang.String getId(); /** *
     * Prepared query id
     * 
* * string id = 2; * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); tech.ydb.proto.table.YdbTable.Query.QueryCase getQueryCase(); } /** * Protobuf type {@code Ydb.Table.Query} */ public static final class Query extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.Query) QueryOrBuilder { private static final long serialVersionUID = 0L; // Use Query.newBuilder() to construct. private Query(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Query() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Query(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_Query_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_Query_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.Query.class, tech.ydb.proto.table.YdbTable.Query.Builder.class); } private int queryCase_ = 0; @SuppressWarnings("serial") private java.lang.Object query_; public enum QueryCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { YQL_TEXT(1), ID(2), QUERY_NOT_SET(0); private final int value; private QueryCase(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 QueryCase valueOf(int value) { return forNumber(value); } public static QueryCase forNumber(int value) { switch (value) { case 1: return YQL_TEXT; case 2: return ID; case 0: return QUERY_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public QueryCase getQueryCase() { return QueryCase.forNumber( queryCase_); } public static final int YQL_TEXT_FIELD_NUMBER = 1; /** *
     * SQL program
     * 
* * string yql_text = 1; * @return Whether the yqlText field is set. */ public boolean hasYqlText() { return queryCase_ == 1; } /** *
     * SQL program
     * 
* * string yql_text = 1; * @return The yqlText. */ public java.lang.String getYqlText() { java.lang.Object ref = ""; if (queryCase_ == 1) { ref = query_; } 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 (queryCase_ == 1) { query_ = s; } return s; } } /** *
     * SQL program
     * 
* * string yql_text = 1; * @return The bytes for yqlText. */ public com.google.protobuf.ByteString getYqlTextBytes() { java.lang.Object ref = ""; if (queryCase_ == 1) { ref = query_; } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (queryCase_ == 1) { query_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ID_FIELD_NUMBER = 2; /** *
     * Prepared query id
     * 
* * string id = 2; * @return Whether the id field is set. */ public boolean hasId() { return queryCase_ == 2; } /** *
     * Prepared query id
     * 
* * string id = 2; * @return The id. */ public java.lang.String getId() { java.lang.Object ref = ""; if (queryCase_ == 2) { ref = query_; } 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 (queryCase_ == 2) { query_ = s; } return s; } } /** *
     * Prepared query id
     * 
* * string id = 2; * @return The bytes for id. */ public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = ""; if (queryCase_ == 2) { ref = query_; } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (queryCase_ == 2) { query_ = 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 (queryCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, query_); } if (queryCase_ == 2) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, query_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (queryCase_ == 1) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, query_); } if (queryCase_ == 2) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, query_); } 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.table.YdbTable.Query)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.Query other = (tech.ydb.proto.table.YdbTable.Query) obj; if (!getQueryCase().equals(other.getQueryCase())) return false; switch (queryCase_) { case 1: if (!getYqlText() .equals(other.getYqlText())) return false; break; case 2: if (!getId() .equals(other.getId())) 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 (queryCase_) { case 1: hash = (37 * hash) + YQL_TEXT_FIELD_NUMBER; hash = (53 * hash) + getYqlText().hashCode(); break; case 2: hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.Query parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.Query 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.table.YdbTable.Query parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.Query 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.table.YdbTable.Query parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.Query parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.Query parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.Query 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.table.YdbTable.Query parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.Query 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.table.YdbTable.Query parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.Query 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.table.YdbTable.Query 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.Table.Query} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.Query) tech.ydb.proto.table.YdbTable.QueryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_Query_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_Query_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.Query.class, tech.ydb.proto.table.YdbTable.Query.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.Query.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; queryCase_ = 0; query_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_Query_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.Query getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.Query.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.Query build() { tech.ydb.proto.table.YdbTable.Query result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.Query buildPartial() { tech.ydb.proto.table.YdbTable.Query result = new tech.ydb.proto.table.YdbTable.Query(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.Query result) { int from_bitField0_ = bitField0_; } private void buildPartialOneofs(tech.ydb.proto.table.YdbTable.Query result) { result.queryCase_ = queryCase_; result.query_ = this.query_; } @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.table.YdbTable.Query) { return mergeFrom((tech.ydb.proto.table.YdbTable.Query)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.Query other) { if (other == tech.ydb.proto.table.YdbTable.Query.getDefaultInstance()) return this; switch (other.getQueryCase()) { case YQL_TEXT: { queryCase_ = 1; query_ = other.query_; onChanged(); break; } case ID: { queryCase_ = 2; query_ = other.query_; onChanged(); break; } case QUERY_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: { java.lang.String s = input.readStringRequireUtf8(); queryCase_ = 1; query_ = s; break; } // case 10 case 18: { java.lang.String s = input.readStringRequireUtf8(); queryCase_ = 2; query_ = 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 queryCase_ = 0; private java.lang.Object query_; public QueryCase getQueryCase() { return QueryCase.forNumber( queryCase_); } public Builder clearQuery() { queryCase_ = 0; query_ = null; onChanged(); return this; } private int bitField0_; /** *
       * SQL program
       * 
* * string yql_text = 1; * @return Whether the yqlText field is set. */ @java.lang.Override public boolean hasYqlText() { return queryCase_ == 1; } /** *
       * SQL program
       * 
* * string yql_text = 1; * @return The yqlText. */ @java.lang.Override public java.lang.String getYqlText() { java.lang.Object ref = ""; if (queryCase_ == 1) { ref = query_; } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (queryCase_ == 1) { query_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * SQL program
       * 
* * string yql_text = 1; * @return The bytes for yqlText. */ @java.lang.Override public com.google.protobuf.ByteString getYqlTextBytes() { java.lang.Object ref = ""; if (queryCase_ == 1) { ref = query_; } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (queryCase_ == 1) { query_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * SQL program
       * 
* * string yql_text = 1; * @param value The yqlText to set. * @return This builder for chaining. */ public Builder setYqlText( java.lang.String value) { if (value == null) { throw new NullPointerException(); } queryCase_ = 1; query_ = value; onChanged(); return this; } /** *
       * SQL program
       * 
* * string yql_text = 1; * @return This builder for chaining. */ public Builder clearYqlText() { if (queryCase_ == 1) { queryCase_ = 0; query_ = null; onChanged(); } return this; } /** *
       * SQL program
       * 
* * string yql_text = 1; * @param value The bytes for yqlText to set. * @return This builder for chaining. */ public Builder setYqlTextBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); queryCase_ = 1; query_ = value; onChanged(); return this; } /** *
       * Prepared query id
       * 
* * string id = 2; * @return Whether the id field is set. */ @java.lang.Override public boolean hasId() { return queryCase_ == 2; } /** *
       * Prepared query id
       * 
* * string id = 2; * @return The id. */ @java.lang.Override public java.lang.String getId() { java.lang.Object ref = ""; if (queryCase_ == 2) { ref = query_; } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (queryCase_ == 2) { query_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Prepared query id
       * 
* * string id = 2; * @return The bytes for id. */ @java.lang.Override public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = ""; if (queryCase_ == 2) { ref = query_; } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (queryCase_ == 2) { query_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Prepared query id
       * 
* * string id = 2; * @param value The id to set. * @return This builder for chaining. */ public Builder setId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } queryCase_ = 2; query_ = value; onChanged(); return this; } /** *
       * Prepared query id
       * 
* * string id = 2; * @return This builder for chaining. */ public Builder clearId() { if (queryCase_ == 2) { queryCase_ = 0; query_ = null; onChanged(); } return this; } /** *
       * Prepared query id
       * 
* * string id = 2; * @param value The bytes for id to set. * @return This builder for chaining. */ public Builder setIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); queryCase_ = 2; query_ = 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.Table.Query) } // @@protoc_insertion_point(class_scope:Ydb.Table.Query) private static final tech.ydb.proto.table.YdbTable.Query DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.Query(); } public static tech.ydb.proto.table.YdbTable.Query getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Query 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.table.YdbTable.Query getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SerializableModeSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.SerializableModeSettings) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code Ydb.Table.SerializableModeSettings} */ public static final class SerializableModeSettings extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.SerializableModeSettings) SerializableModeSettingsOrBuilder { private static final long serialVersionUID = 0L; // Use SerializableModeSettings.newBuilder() to construct. private SerializableModeSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SerializableModeSettings() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SerializableModeSettings(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_SerializableModeSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_SerializableModeSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.SerializableModeSettings.class, tech.ydb.proto.table.YdbTable.SerializableModeSettings.Builder.class); } 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 { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; 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.table.YdbTable.SerializableModeSettings)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.SerializableModeSettings other = (tech.ydb.proto.table.YdbTable.SerializableModeSettings) obj; 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 = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.SerializableModeSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.SerializableModeSettings 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.table.YdbTable.SerializableModeSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.SerializableModeSettings 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.table.YdbTable.SerializableModeSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.SerializableModeSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.SerializableModeSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.SerializableModeSettings 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.table.YdbTable.SerializableModeSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.SerializableModeSettings 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.table.YdbTable.SerializableModeSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.SerializableModeSettings 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.table.YdbTable.SerializableModeSettings 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.Table.SerializableModeSettings} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.SerializableModeSettings) tech.ydb.proto.table.YdbTable.SerializableModeSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_SerializableModeSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_SerializableModeSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.SerializableModeSettings.class, tech.ydb.proto.table.YdbTable.SerializableModeSettings.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.SerializableModeSettings.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_SerializableModeSettings_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.SerializableModeSettings getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.SerializableModeSettings.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.SerializableModeSettings build() { tech.ydb.proto.table.YdbTable.SerializableModeSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.SerializableModeSettings buildPartial() { tech.ydb.proto.table.YdbTable.SerializableModeSettings result = new tech.ydb.proto.table.YdbTable.SerializableModeSettings(this); onBuilt(); return result; } @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.table.YdbTable.SerializableModeSettings) { return mergeFrom((tech.ydb.proto.table.YdbTable.SerializableModeSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.SerializableModeSettings other) { if (other == tech.ydb.proto.table.YdbTable.SerializableModeSettings.getDefaultInstance()) return this; 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; 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; } @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.Table.SerializableModeSettings) } // @@protoc_insertion_point(class_scope:Ydb.Table.SerializableModeSettings) private static final tech.ydb.proto.table.YdbTable.SerializableModeSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.SerializableModeSettings(); } public static tech.ydb.proto.table.YdbTable.SerializableModeSettings getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SerializableModeSettings 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.table.YdbTable.SerializableModeSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface OnlineModeSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.OnlineModeSettings) com.google.protobuf.MessageOrBuilder { /** * bool allow_inconsistent_reads = 1; * @return The allowInconsistentReads. */ boolean getAllowInconsistentReads(); } /** * Protobuf type {@code Ydb.Table.OnlineModeSettings} */ public static final class OnlineModeSettings extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.OnlineModeSettings) OnlineModeSettingsOrBuilder { private static final long serialVersionUID = 0L; // Use OnlineModeSettings.newBuilder() to construct. private OnlineModeSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private OnlineModeSettings() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new OnlineModeSettings(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_OnlineModeSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_OnlineModeSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.OnlineModeSettings.class, tech.ydb.proto.table.YdbTable.OnlineModeSettings.Builder.class); } public static final int ALLOW_INCONSISTENT_READS_FIELD_NUMBER = 1; private boolean allowInconsistentReads_ = false; /** * bool allow_inconsistent_reads = 1; * @return The allowInconsistentReads. */ @java.lang.Override public boolean getAllowInconsistentReads() { return allowInconsistentReads_; } 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 (allowInconsistentReads_ != false) { output.writeBool(1, allowInconsistentReads_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (allowInconsistentReads_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, allowInconsistentReads_); } 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.table.YdbTable.OnlineModeSettings)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.OnlineModeSettings other = (tech.ydb.proto.table.YdbTable.OnlineModeSettings) obj; if (getAllowInconsistentReads() != other.getAllowInconsistentReads()) 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) + ALLOW_INCONSISTENT_READS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getAllowInconsistentReads()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.OnlineModeSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.OnlineModeSettings 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.table.YdbTable.OnlineModeSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.OnlineModeSettings 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.table.YdbTable.OnlineModeSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.OnlineModeSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.OnlineModeSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.OnlineModeSettings 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.table.YdbTable.OnlineModeSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.OnlineModeSettings 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.table.YdbTable.OnlineModeSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.OnlineModeSettings 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.table.YdbTable.OnlineModeSettings 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.Table.OnlineModeSettings} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.OnlineModeSettings) tech.ydb.proto.table.YdbTable.OnlineModeSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_OnlineModeSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_OnlineModeSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.OnlineModeSettings.class, tech.ydb.proto.table.YdbTable.OnlineModeSettings.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.OnlineModeSettings.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; allowInconsistentReads_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_OnlineModeSettings_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.OnlineModeSettings getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.OnlineModeSettings.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.OnlineModeSettings build() { tech.ydb.proto.table.YdbTable.OnlineModeSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.OnlineModeSettings buildPartial() { tech.ydb.proto.table.YdbTable.OnlineModeSettings result = new tech.ydb.proto.table.YdbTable.OnlineModeSettings(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.OnlineModeSettings result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.allowInconsistentReads_ = allowInconsistentReads_; } } @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.table.YdbTable.OnlineModeSettings) { return mergeFrom((tech.ydb.proto.table.YdbTable.OnlineModeSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.OnlineModeSettings other) { if (other == tech.ydb.proto.table.YdbTable.OnlineModeSettings.getDefaultInstance()) return this; if (other.getAllowInconsistentReads() != false) { setAllowInconsistentReads(other.getAllowInconsistentReads()); } 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 8: { allowInconsistentReads_ = input.readBool(); bitField0_ |= 0x00000001; break; } // case 8 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 boolean allowInconsistentReads_ ; /** * bool allow_inconsistent_reads = 1; * @return The allowInconsistentReads. */ @java.lang.Override public boolean getAllowInconsistentReads() { return allowInconsistentReads_; } /** * bool allow_inconsistent_reads = 1; * @param value The allowInconsistentReads to set. * @return This builder for chaining. */ public Builder setAllowInconsistentReads(boolean value) { allowInconsistentReads_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * bool allow_inconsistent_reads = 1; * @return This builder for chaining. */ public Builder clearAllowInconsistentReads() { bitField0_ = (bitField0_ & ~0x00000001); allowInconsistentReads_ = false; 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.Table.OnlineModeSettings) } // @@protoc_insertion_point(class_scope:Ydb.Table.OnlineModeSettings) private static final tech.ydb.proto.table.YdbTable.OnlineModeSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.OnlineModeSettings(); } public static tech.ydb.proto.table.YdbTable.OnlineModeSettings getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public OnlineModeSettings 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.table.YdbTable.OnlineModeSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StaleModeSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.StaleModeSettings) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code Ydb.Table.StaleModeSettings} */ public static final class StaleModeSettings extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.StaleModeSettings) StaleModeSettingsOrBuilder { private static final long serialVersionUID = 0L; // Use StaleModeSettings.newBuilder() to construct. private StaleModeSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StaleModeSettings() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new StaleModeSettings(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_StaleModeSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_StaleModeSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.StaleModeSettings.class, tech.ydb.proto.table.YdbTable.StaleModeSettings.Builder.class); } 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 { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; 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.table.YdbTable.StaleModeSettings)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.StaleModeSettings other = (tech.ydb.proto.table.YdbTable.StaleModeSettings) obj; 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 = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.StaleModeSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.StaleModeSettings 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.table.YdbTable.StaleModeSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.StaleModeSettings 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.table.YdbTable.StaleModeSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.StaleModeSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.StaleModeSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.StaleModeSettings 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.table.YdbTable.StaleModeSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.StaleModeSettings 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.table.YdbTable.StaleModeSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.StaleModeSettings 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.table.YdbTable.StaleModeSettings 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.Table.StaleModeSettings} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.StaleModeSettings) tech.ydb.proto.table.YdbTable.StaleModeSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_StaleModeSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_StaleModeSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.StaleModeSettings.class, tech.ydb.proto.table.YdbTable.StaleModeSettings.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.StaleModeSettings.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_StaleModeSettings_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.StaleModeSettings getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.StaleModeSettings.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.StaleModeSettings build() { tech.ydb.proto.table.YdbTable.StaleModeSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.StaleModeSettings buildPartial() { tech.ydb.proto.table.YdbTable.StaleModeSettings result = new tech.ydb.proto.table.YdbTable.StaleModeSettings(this); onBuilt(); return result; } @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.table.YdbTable.StaleModeSettings) { return mergeFrom((tech.ydb.proto.table.YdbTable.StaleModeSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.StaleModeSettings other) { if (other == tech.ydb.proto.table.YdbTable.StaleModeSettings.getDefaultInstance()) return this; 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; 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; } @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.Table.StaleModeSettings) } // @@protoc_insertion_point(class_scope:Ydb.Table.StaleModeSettings) private static final tech.ydb.proto.table.YdbTable.StaleModeSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.StaleModeSettings(); } public static tech.ydb.proto.table.YdbTable.StaleModeSettings getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public StaleModeSettings 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.table.YdbTable.StaleModeSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SnapshotModeSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.SnapshotModeSettings) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code Ydb.Table.SnapshotModeSettings} */ public static final class SnapshotModeSettings extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.SnapshotModeSettings) SnapshotModeSettingsOrBuilder { private static final long serialVersionUID = 0L; // Use SnapshotModeSettings.newBuilder() to construct. private SnapshotModeSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SnapshotModeSettings() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SnapshotModeSettings(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_SnapshotModeSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_SnapshotModeSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.SnapshotModeSettings.class, tech.ydb.proto.table.YdbTable.SnapshotModeSettings.Builder.class); } 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 { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; 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.table.YdbTable.SnapshotModeSettings)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.SnapshotModeSettings other = (tech.ydb.proto.table.YdbTable.SnapshotModeSettings) obj; 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 = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.SnapshotModeSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.SnapshotModeSettings 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.table.YdbTable.SnapshotModeSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.SnapshotModeSettings 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.table.YdbTable.SnapshotModeSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.SnapshotModeSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.SnapshotModeSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.SnapshotModeSettings 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.table.YdbTable.SnapshotModeSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.SnapshotModeSettings 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.table.YdbTable.SnapshotModeSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.SnapshotModeSettings 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.table.YdbTable.SnapshotModeSettings 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.Table.SnapshotModeSettings} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.SnapshotModeSettings) tech.ydb.proto.table.YdbTable.SnapshotModeSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_SnapshotModeSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_SnapshotModeSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.SnapshotModeSettings.class, tech.ydb.proto.table.YdbTable.SnapshotModeSettings.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.SnapshotModeSettings.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_SnapshotModeSettings_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.SnapshotModeSettings getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.SnapshotModeSettings.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.SnapshotModeSettings build() { tech.ydb.proto.table.YdbTable.SnapshotModeSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.SnapshotModeSettings buildPartial() { tech.ydb.proto.table.YdbTable.SnapshotModeSettings result = new tech.ydb.proto.table.YdbTable.SnapshotModeSettings(this); onBuilt(); return result; } @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.table.YdbTable.SnapshotModeSettings) { return mergeFrom((tech.ydb.proto.table.YdbTable.SnapshotModeSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.SnapshotModeSettings other) { if (other == tech.ydb.proto.table.YdbTable.SnapshotModeSettings.getDefaultInstance()) return this; 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; 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; } @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.Table.SnapshotModeSettings) } // @@protoc_insertion_point(class_scope:Ydb.Table.SnapshotModeSettings) private static final tech.ydb.proto.table.YdbTable.SnapshotModeSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.SnapshotModeSettings(); } public static tech.ydb.proto.table.YdbTable.SnapshotModeSettings getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnapshotModeSettings 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.table.YdbTable.SnapshotModeSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TransactionSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.TransactionSettings) com.google.protobuf.MessageOrBuilder { /** * .Ydb.Table.SerializableModeSettings serializable_read_write = 1; * @return Whether the serializableReadWrite field is set. */ boolean hasSerializableReadWrite(); /** * .Ydb.Table.SerializableModeSettings serializable_read_write = 1; * @return The serializableReadWrite. */ tech.ydb.proto.table.YdbTable.SerializableModeSettings getSerializableReadWrite(); /** * .Ydb.Table.SerializableModeSettings serializable_read_write = 1; */ tech.ydb.proto.table.YdbTable.SerializableModeSettingsOrBuilder getSerializableReadWriteOrBuilder(); /** * .Ydb.Table.OnlineModeSettings online_read_only = 2; * @return Whether the onlineReadOnly field is set. */ boolean hasOnlineReadOnly(); /** * .Ydb.Table.OnlineModeSettings online_read_only = 2; * @return The onlineReadOnly. */ tech.ydb.proto.table.YdbTable.OnlineModeSettings getOnlineReadOnly(); /** * .Ydb.Table.OnlineModeSettings online_read_only = 2; */ tech.ydb.proto.table.YdbTable.OnlineModeSettingsOrBuilder getOnlineReadOnlyOrBuilder(); /** * .Ydb.Table.StaleModeSettings stale_read_only = 3; * @return Whether the staleReadOnly field is set. */ boolean hasStaleReadOnly(); /** * .Ydb.Table.StaleModeSettings stale_read_only = 3; * @return The staleReadOnly. */ tech.ydb.proto.table.YdbTable.StaleModeSettings getStaleReadOnly(); /** * .Ydb.Table.StaleModeSettings stale_read_only = 3; */ tech.ydb.proto.table.YdbTable.StaleModeSettingsOrBuilder getStaleReadOnlyOrBuilder(); /** * .Ydb.Table.SnapshotModeSettings snapshot_read_only = 4; * @return Whether the snapshotReadOnly field is set. */ boolean hasSnapshotReadOnly(); /** * .Ydb.Table.SnapshotModeSettings snapshot_read_only = 4; * @return The snapshotReadOnly. */ tech.ydb.proto.table.YdbTable.SnapshotModeSettings getSnapshotReadOnly(); /** * .Ydb.Table.SnapshotModeSettings snapshot_read_only = 4; */ tech.ydb.proto.table.YdbTable.SnapshotModeSettingsOrBuilder getSnapshotReadOnlyOrBuilder(); tech.ydb.proto.table.YdbTable.TransactionSettings.TxModeCase getTxModeCase(); } /** * Protobuf type {@code Ydb.Table.TransactionSettings} */ public static final class TransactionSettings extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.TransactionSettings) TransactionSettingsOrBuilder { private static final long serialVersionUID = 0L; // Use TransactionSettings.newBuilder() to construct. private TransactionSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TransactionSettings() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TransactionSettings(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TransactionSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TransactionSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.TransactionSettings.class, tech.ydb.proto.table.YdbTable.TransactionSettings.Builder.class); } private int txModeCase_ = 0; @SuppressWarnings("serial") private java.lang.Object txMode_; public enum TxModeCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { SERIALIZABLE_READ_WRITE(1), ONLINE_READ_ONLY(2), STALE_READ_ONLY(3), SNAPSHOT_READ_ONLY(4), TXMODE_NOT_SET(0); private final int value; private TxModeCase(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 TxModeCase valueOf(int value) { return forNumber(value); } public static TxModeCase forNumber(int value) { switch (value) { case 1: return SERIALIZABLE_READ_WRITE; case 2: return ONLINE_READ_ONLY; case 3: return STALE_READ_ONLY; case 4: return SNAPSHOT_READ_ONLY; case 0: return TXMODE_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public TxModeCase getTxModeCase() { return TxModeCase.forNumber( txModeCase_); } public static final int SERIALIZABLE_READ_WRITE_FIELD_NUMBER = 1; /** * .Ydb.Table.SerializableModeSettings serializable_read_write = 1; * @return Whether the serializableReadWrite field is set. */ @java.lang.Override public boolean hasSerializableReadWrite() { return txModeCase_ == 1; } /** * .Ydb.Table.SerializableModeSettings serializable_read_write = 1; * @return The serializableReadWrite. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.SerializableModeSettings getSerializableReadWrite() { if (txModeCase_ == 1) { return (tech.ydb.proto.table.YdbTable.SerializableModeSettings) txMode_; } return tech.ydb.proto.table.YdbTable.SerializableModeSettings.getDefaultInstance(); } /** * .Ydb.Table.SerializableModeSettings serializable_read_write = 1; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.SerializableModeSettingsOrBuilder getSerializableReadWriteOrBuilder() { if (txModeCase_ == 1) { return (tech.ydb.proto.table.YdbTable.SerializableModeSettings) txMode_; } return tech.ydb.proto.table.YdbTable.SerializableModeSettings.getDefaultInstance(); } public static final int ONLINE_READ_ONLY_FIELD_NUMBER = 2; /** * .Ydb.Table.OnlineModeSettings online_read_only = 2; * @return Whether the onlineReadOnly field is set. */ @java.lang.Override public boolean hasOnlineReadOnly() { return txModeCase_ == 2; } /** * .Ydb.Table.OnlineModeSettings online_read_only = 2; * @return The onlineReadOnly. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.OnlineModeSettings getOnlineReadOnly() { if (txModeCase_ == 2) { return (tech.ydb.proto.table.YdbTable.OnlineModeSettings) txMode_; } return tech.ydb.proto.table.YdbTable.OnlineModeSettings.getDefaultInstance(); } /** * .Ydb.Table.OnlineModeSettings online_read_only = 2; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.OnlineModeSettingsOrBuilder getOnlineReadOnlyOrBuilder() { if (txModeCase_ == 2) { return (tech.ydb.proto.table.YdbTable.OnlineModeSettings) txMode_; } return tech.ydb.proto.table.YdbTable.OnlineModeSettings.getDefaultInstance(); } public static final int STALE_READ_ONLY_FIELD_NUMBER = 3; /** * .Ydb.Table.StaleModeSettings stale_read_only = 3; * @return Whether the staleReadOnly field is set. */ @java.lang.Override public boolean hasStaleReadOnly() { return txModeCase_ == 3; } /** * .Ydb.Table.StaleModeSettings stale_read_only = 3; * @return The staleReadOnly. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StaleModeSettings getStaleReadOnly() { if (txModeCase_ == 3) { return (tech.ydb.proto.table.YdbTable.StaleModeSettings) txMode_; } return tech.ydb.proto.table.YdbTable.StaleModeSettings.getDefaultInstance(); } /** * .Ydb.Table.StaleModeSettings stale_read_only = 3; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StaleModeSettingsOrBuilder getStaleReadOnlyOrBuilder() { if (txModeCase_ == 3) { return (tech.ydb.proto.table.YdbTable.StaleModeSettings) txMode_; } return tech.ydb.proto.table.YdbTable.StaleModeSettings.getDefaultInstance(); } public static final int SNAPSHOT_READ_ONLY_FIELD_NUMBER = 4; /** * .Ydb.Table.SnapshotModeSettings snapshot_read_only = 4; * @return Whether the snapshotReadOnly field is set. */ @java.lang.Override public boolean hasSnapshotReadOnly() { return txModeCase_ == 4; } /** * .Ydb.Table.SnapshotModeSettings snapshot_read_only = 4; * @return The snapshotReadOnly. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.SnapshotModeSettings getSnapshotReadOnly() { if (txModeCase_ == 4) { return (tech.ydb.proto.table.YdbTable.SnapshotModeSettings) txMode_; } return tech.ydb.proto.table.YdbTable.SnapshotModeSettings.getDefaultInstance(); } /** * .Ydb.Table.SnapshotModeSettings snapshot_read_only = 4; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.SnapshotModeSettingsOrBuilder getSnapshotReadOnlyOrBuilder() { if (txModeCase_ == 4) { return (tech.ydb.proto.table.YdbTable.SnapshotModeSettings) txMode_; } return tech.ydb.proto.table.YdbTable.SnapshotModeSettings.getDefaultInstance(); } 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 (txModeCase_ == 1) { output.writeMessage(1, (tech.ydb.proto.table.YdbTable.SerializableModeSettings) txMode_); } if (txModeCase_ == 2) { output.writeMessage(2, (tech.ydb.proto.table.YdbTable.OnlineModeSettings) txMode_); } if (txModeCase_ == 3) { output.writeMessage(3, (tech.ydb.proto.table.YdbTable.StaleModeSettings) txMode_); } if (txModeCase_ == 4) { output.writeMessage(4, (tech.ydb.proto.table.YdbTable.SnapshotModeSettings) txMode_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (txModeCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, (tech.ydb.proto.table.YdbTable.SerializableModeSettings) txMode_); } if (txModeCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (tech.ydb.proto.table.YdbTable.OnlineModeSettings) txMode_); } if (txModeCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (tech.ydb.proto.table.YdbTable.StaleModeSettings) txMode_); } if (txModeCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, (tech.ydb.proto.table.YdbTable.SnapshotModeSettings) txMode_); } 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.table.YdbTable.TransactionSettings)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.TransactionSettings other = (tech.ydb.proto.table.YdbTable.TransactionSettings) obj; if (!getTxModeCase().equals(other.getTxModeCase())) return false; switch (txModeCase_) { case 1: if (!getSerializableReadWrite() .equals(other.getSerializableReadWrite())) return false; break; case 2: if (!getOnlineReadOnly() .equals(other.getOnlineReadOnly())) return false; break; case 3: if (!getStaleReadOnly() .equals(other.getStaleReadOnly())) return false; break; case 4: if (!getSnapshotReadOnly() .equals(other.getSnapshotReadOnly())) 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 (txModeCase_) { case 1: hash = (37 * hash) + SERIALIZABLE_READ_WRITE_FIELD_NUMBER; hash = (53 * hash) + getSerializableReadWrite().hashCode(); break; case 2: hash = (37 * hash) + ONLINE_READ_ONLY_FIELD_NUMBER; hash = (53 * hash) + getOnlineReadOnly().hashCode(); break; case 3: hash = (37 * hash) + STALE_READ_ONLY_FIELD_NUMBER; hash = (53 * hash) + getStaleReadOnly().hashCode(); break; case 4: hash = (37 * hash) + SNAPSHOT_READ_ONLY_FIELD_NUMBER; hash = (53 * hash) + getSnapshotReadOnly().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.TransactionSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.TransactionSettings 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.table.YdbTable.TransactionSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.TransactionSettings 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.table.YdbTable.TransactionSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.TransactionSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.TransactionSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.TransactionSettings 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.table.YdbTable.TransactionSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.TransactionSettings 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.table.YdbTable.TransactionSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.TransactionSettings 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.table.YdbTable.TransactionSettings 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.Table.TransactionSettings} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.TransactionSettings) tech.ydb.proto.table.YdbTable.TransactionSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TransactionSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TransactionSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.TransactionSettings.class, tech.ydb.proto.table.YdbTable.TransactionSettings.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.TransactionSettings.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (serializableReadWriteBuilder_ != null) { serializableReadWriteBuilder_.clear(); } if (onlineReadOnlyBuilder_ != null) { onlineReadOnlyBuilder_.clear(); } if (staleReadOnlyBuilder_ != null) { staleReadOnlyBuilder_.clear(); } if (snapshotReadOnlyBuilder_ != null) { snapshotReadOnlyBuilder_.clear(); } txModeCase_ = 0; txMode_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TransactionSettings_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.TransactionSettings getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.TransactionSettings.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.TransactionSettings build() { tech.ydb.proto.table.YdbTable.TransactionSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.TransactionSettings buildPartial() { tech.ydb.proto.table.YdbTable.TransactionSettings result = new tech.ydb.proto.table.YdbTable.TransactionSettings(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.TransactionSettings result) { int from_bitField0_ = bitField0_; } private void buildPartialOneofs(tech.ydb.proto.table.YdbTable.TransactionSettings result) { result.txModeCase_ = txModeCase_; result.txMode_ = this.txMode_; if (txModeCase_ == 1 && serializableReadWriteBuilder_ != null) { result.txMode_ = serializableReadWriteBuilder_.build(); } if (txModeCase_ == 2 && onlineReadOnlyBuilder_ != null) { result.txMode_ = onlineReadOnlyBuilder_.build(); } if (txModeCase_ == 3 && staleReadOnlyBuilder_ != null) { result.txMode_ = staleReadOnlyBuilder_.build(); } if (txModeCase_ == 4 && snapshotReadOnlyBuilder_ != null) { result.txMode_ = snapshotReadOnlyBuilder_.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.table.YdbTable.TransactionSettings) { return mergeFrom((tech.ydb.proto.table.YdbTable.TransactionSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.TransactionSettings other) { if (other == tech.ydb.proto.table.YdbTable.TransactionSettings.getDefaultInstance()) return this; switch (other.getTxModeCase()) { case SERIALIZABLE_READ_WRITE: { mergeSerializableReadWrite(other.getSerializableReadWrite()); break; } case ONLINE_READ_ONLY: { mergeOnlineReadOnly(other.getOnlineReadOnly()); break; } case STALE_READ_ONLY: { mergeStaleReadOnly(other.getStaleReadOnly()); break; } case SNAPSHOT_READ_ONLY: { mergeSnapshotReadOnly(other.getSnapshotReadOnly()); break; } case TXMODE_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( getSerializableReadWriteFieldBuilder().getBuilder(), extensionRegistry); txModeCase_ = 1; break; } // case 10 case 18: { input.readMessage( getOnlineReadOnlyFieldBuilder().getBuilder(), extensionRegistry); txModeCase_ = 2; break; } // case 18 case 26: { input.readMessage( getStaleReadOnlyFieldBuilder().getBuilder(), extensionRegistry); txModeCase_ = 3; break; } // case 26 case 34: { input.readMessage( getSnapshotReadOnlyFieldBuilder().getBuilder(), extensionRegistry); txModeCase_ = 4; 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 txModeCase_ = 0; private java.lang.Object txMode_; public TxModeCase getTxModeCase() { return TxModeCase.forNumber( txModeCase_); } public Builder clearTxMode() { txModeCase_ = 0; txMode_ = null; onChanged(); return this; } private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.SerializableModeSettings, tech.ydb.proto.table.YdbTable.SerializableModeSettings.Builder, tech.ydb.proto.table.YdbTable.SerializableModeSettingsOrBuilder> serializableReadWriteBuilder_; /** * .Ydb.Table.SerializableModeSettings serializable_read_write = 1; * @return Whether the serializableReadWrite field is set. */ @java.lang.Override public boolean hasSerializableReadWrite() { return txModeCase_ == 1; } /** * .Ydb.Table.SerializableModeSettings serializable_read_write = 1; * @return The serializableReadWrite. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.SerializableModeSettings getSerializableReadWrite() { if (serializableReadWriteBuilder_ == null) { if (txModeCase_ == 1) { return (tech.ydb.proto.table.YdbTable.SerializableModeSettings) txMode_; } return tech.ydb.proto.table.YdbTable.SerializableModeSettings.getDefaultInstance(); } else { if (txModeCase_ == 1) { return serializableReadWriteBuilder_.getMessage(); } return tech.ydb.proto.table.YdbTable.SerializableModeSettings.getDefaultInstance(); } } /** * .Ydb.Table.SerializableModeSettings serializable_read_write = 1; */ public Builder setSerializableReadWrite(tech.ydb.proto.table.YdbTable.SerializableModeSettings value) { if (serializableReadWriteBuilder_ == null) { if (value == null) { throw new NullPointerException(); } txMode_ = value; onChanged(); } else { serializableReadWriteBuilder_.setMessage(value); } txModeCase_ = 1; return this; } /** * .Ydb.Table.SerializableModeSettings serializable_read_write = 1; */ public Builder setSerializableReadWrite( tech.ydb.proto.table.YdbTable.SerializableModeSettings.Builder builderForValue) { if (serializableReadWriteBuilder_ == null) { txMode_ = builderForValue.build(); onChanged(); } else { serializableReadWriteBuilder_.setMessage(builderForValue.build()); } txModeCase_ = 1; return this; } /** * .Ydb.Table.SerializableModeSettings serializable_read_write = 1; */ public Builder mergeSerializableReadWrite(tech.ydb.proto.table.YdbTable.SerializableModeSettings value) { if (serializableReadWriteBuilder_ == null) { if (txModeCase_ == 1 && txMode_ != tech.ydb.proto.table.YdbTable.SerializableModeSettings.getDefaultInstance()) { txMode_ = tech.ydb.proto.table.YdbTable.SerializableModeSettings.newBuilder((tech.ydb.proto.table.YdbTable.SerializableModeSettings) txMode_) .mergeFrom(value).buildPartial(); } else { txMode_ = value; } onChanged(); } else { if (txModeCase_ == 1) { serializableReadWriteBuilder_.mergeFrom(value); } else { serializableReadWriteBuilder_.setMessage(value); } } txModeCase_ = 1; return this; } /** * .Ydb.Table.SerializableModeSettings serializable_read_write = 1; */ public Builder clearSerializableReadWrite() { if (serializableReadWriteBuilder_ == null) { if (txModeCase_ == 1) { txModeCase_ = 0; txMode_ = null; onChanged(); } } else { if (txModeCase_ == 1) { txModeCase_ = 0; txMode_ = null; } serializableReadWriteBuilder_.clear(); } return this; } /** * .Ydb.Table.SerializableModeSettings serializable_read_write = 1; */ public tech.ydb.proto.table.YdbTable.SerializableModeSettings.Builder getSerializableReadWriteBuilder() { return getSerializableReadWriteFieldBuilder().getBuilder(); } /** * .Ydb.Table.SerializableModeSettings serializable_read_write = 1; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.SerializableModeSettingsOrBuilder getSerializableReadWriteOrBuilder() { if ((txModeCase_ == 1) && (serializableReadWriteBuilder_ != null)) { return serializableReadWriteBuilder_.getMessageOrBuilder(); } else { if (txModeCase_ == 1) { return (tech.ydb.proto.table.YdbTable.SerializableModeSettings) txMode_; } return tech.ydb.proto.table.YdbTable.SerializableModeSettings.getDefaultInstance(); } } /** * .Ydb.Table.SerializableModeSettings serializable_read_write = 1; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.SerializableModeSettings, tech.ydb.proto.table.YdbTable.SerializableModeSettings.Builder, tech.ydb.proto.table.YdbTable.SerializableModeSettingsOrBuilder> getSerializableReadWriteFieldBuilder() { if (serializableReadWriteBuilder_ == null) { if (!(txModeCase_ == 1)) { txMode_ = tech.ydb.proto.table.YdbTable.SerializableModeSettings.getDefaultInstance(); } serializableReadWriteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.SerializableModeSettings, tech.ydb.proto.table.YdbTable.SerializableModeSettings.Builder, tech.ydb.proto.table.YdbTable.SerializableModeSettingsOrBuilder>( (tech.ydb.proto.table.YdbTable.SerializableModeSettings) txMode_, getParentForChildren(), isClean()); txMode_ = null; } txModeCase_ = 1; onChanged(); return serializableReadWriteBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.OnlineModeSettings, tech.ydb.proto.table.YdbTable.OnlineModeSettings.Builder, tech.ydb.proto.table.YdbTable.OnlineModeSettingsOrBuilder> onlineReadOnlyBuilder_; /** * .Ydb.Table.OnlineModeSettings online_read_only = 2; * @return Whether the onlineReadOnly field is set. */ @java.lang.Override public boolean hasOnlineReadOnly() { return txModeCase_ == 2; } /** * .Ydb.Table.OnlineModeSettings online_read_only = 2; * @return The onlineReadOnly. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.OnlineModeSettings getOnlineReadOnly() { if (onlineReadOnlyBuilder_ == null) { if (txModeCase_ == 2) { return (tech.ydb.proto.table.YdbTable.OnlineModeSettings) txMode_; } return tech.ydb.proto.table.YdbTable.OnlineModeSettings.getDefaultInstance(); } else { if (txModeCase_ == 2) { return onlineReadOnlyBuilder_.getMessage(); } return tech.ydb.proto.table.YdbTable.OnlineModeSettings.getDefaultInstance(); } } /** * .Ydb.Table.OnlineModeSettings online_read_only = 2; */ public Builder setOnlineReadOnly(tech.ydb.proto.table.YdbTable.OnlineModeSettings value) { if (onlineReadOnlyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } txMode_ = value; onChanged(); } else { onlineReadOnlyBuilder_.setMessage(value); } txModeCase_ = 2; return this; } /** * .Ydb.Table.OnlineModeSettings online_read_only = 2; */ public Builder setOnlineReadOnly( tech.ydb.proto.table.YdbTable.OnlineModeSettings.Builder builderForValue) { if (onlineReadOnlyBuilder_ == null) { txMode_ = builderForValue.build(); onChanged(); } else { onlineReadOnlyBuilder_.setMessage(builderForValue.build()); } txModeCase_ = 2; return this; } /** * .Ydb.Table.OnlineModeSettings online_read_only = 2; */ public Builder mergeOnlineReadOnly(tech.ydb.proto.table.YdbTable.OnlineModeSettings value) { if (onlineReadOnlyBuilder_ == null) { if (txModeCase_ == 2 && txMode_ != tech.ydb.proto.table.YdbTable.OnlineModeSettings.getDefaultInstance()) { txMode_ = tech.ydb.proto.table.YdbTable.OnlineModeSettings.newBuilder((tech.ydb.proto.table.YdbTable.OnlineModeSettings) txMode_) .mergeFrom(value).buildPartial(); } else { txMode_ = value; } onChanged(); } else { if (txModeCase_ == 2) { onlineReadOnlyBuilder_.mergeFrom(value); } else { onlineReadOnlyBuilder_.setMessage(value); } } txModeCase_ = 2; return this; } /** * .Ydb.Table.OnlineModeSettings online_read_only = 2; */ public Builder clearOnlineReadOnly() { if (onlineReadOnlyBuilder_ == null) { if (txModeCase_ == 2) { txModeCase_ = 0; txMode_ = null; onChanged(); } } else { if (txModeCase_ == 2) { txModeCase_ = 0; txMode_ = null; } onlineReadOnlyBuilder_.clear(); } return this; } /** * .Ydb.Table.OnlineModeSettings online_read_only = 2; */ public tech.ydb.proto.table.YdbTable.OnlineModeSettings.Builder getOnlineReadOnlyBuilder() { return getOnlineReadOnlyFieldBuilder().getBuilder(); } /** * .Ydb.Table.OnlineModeSettings online_read_only = 2; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.OnlineModeSettingsOrBuilder getOnlineReadOnlyOrBuilder() { if ((txModeCase_ == 2) && (onlineReadOnlyBuilder_ != null)) { return onlineReadOnlyBuilder_.getMessageOrBuilder(); } else { if (txModeCase_ == 2) { return (tech.ydb.proto.table.YdbTable.OnlineModeSettings) txMode_; } return tech.ydb.proto.table.YdbTable.OnlineModeSettings.getDefaultInstance(); } } /** * .Ydb.Table.OnlineModeSettings online_read_only = 2; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.OnlineModeSettings, tech.ydb.proto.table.YdbTable.OnlineModeSettings.Builder, tech.ydb.proto.table.YdbTable.OnlineModeSettingsOrBuilder> getOnlineReadOnlyFieldBuilder() { if (onlineReadOnlyBuilder_ == null) { if (!(txModeCase_ == 2)) { txMode_ = tech.ydb.proto.table.YdbTable.OnlineModeSettings.getDefaultInstance(); } onlineReadOnlyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.OnlineModeSettings, tech.ydb.proto.table.YdbTable.OnlineModeSettings.Builder, tech.ydb.proto.table.YdbTable.OnlineModeSettingsOrBuilder>( (tech.ydb.proto.table.YdbTable.OnlineModeSettings) txMode_, getParentForChildren(), isClean()); txMode_ = null; } txModeCase_ = 2; onChanged(); return onlineReadOnlyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StaleModeSettings, tech.ydb.proto.table.YdbTable.StaleModeSettings.Builder, tech.ydb.proto.table.YdbTable.StaleModeSettingsOrBuilder> staleReadOnlyBuilder_; /** * .Ydb.Table.StaleModeSettings stale_read_only = 3; * @return Whether the staleReadOnly field is set. */ @java.lang.Override public boolean hasStaleReadOnly() { return txModeCase_ == 3; } /** * .Ydb.Table.StaleModeSettings stale_read_only = 3; * @return The staleReadOnly. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StaleModeSettings getStaleReadOnly() { if (staleReadOnlyBuilder_ == null) { if (txModeCase_ == 3) { return (tech.ydb.proto.table.YdbTable.StaleModeSettings) txMode_; } return tech.ydb.proto.table.YdbTable.StaleModeSettings.getDefaultInstance(); } else { if (txModeCase_ == 3) { return staleReadOnlyBuilder_.getMessage(); } return tech.ydb.proto.table.YdbTable.StaleModeSettings.getDefaultInstance(); } } /** * .Ydb.Table.StaleModeSettings stale_read_only = 3; */ public Builder setStaleReadOnly(tech.ydb.proto.table.YdbTable.StaleModeSettings value) { if (staleReadOnlyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } txMode_ = value; onChanged(); } else { staleReadOnlyBuilder_.setMessage(value); } txModeCase_ = 3; return this; } /** * .Ydb.Table.StaleModeSettings stale_read_only = 3; */ public Builder setStaleReadOnly( tech.ydb.proto.table.YdbTable.StaleModeSettings.Builder builderForValue) { if (staleReadOnlyBuilder_ == null) { txMode_ = builderForValue.build(); onChanged(); } else { staleReadOnlyBuilder_.setMessage(builderForValue.build()); } txModeCase_ = 3; return this; } /** * .Ydb.Table.StaleModeSettings stale_read_only = 3; */ public Builder mergeStaleReadOnly(tech.ydb.proto.table.YdbTable.StaleModeSettings value) { if (staleReadOnlyBuilder_ == null) { if (txModeCase_ == 3 && txMode_ != tech.ydb.proto.table.YdbTable.StaleModeSettings.getDefaultInstance()) { txMode_ = tech.ydb.proto.table.YdbTable.StaleModeSettings.newBuilder((tech.ydb.proto.table.YdbTable.StaleModeSettings) txMode_) .mergeFrom(value).buildPartial(); } else { txMode_ = value; } onChanged(); } else { if (txModeCase_ == 3) { staleReadOnlyBuilder_.mergeFrom(value); } else { staleReadOnlyBuilder_.setMessage(value); } } txModeCase_ = 3; return this; } /** * .Ydb.Table.StaleModeSettings stale_read_only = 3; */ public Builder clearStaleReadOnly() { if (staleReadOnlyBuilder_ == null) { if (txModeCase_ == 3) { txModeCase_ = 0; txMode_ = null; onChanged(); } } else { if (txModeCase_ == 3) { txModeCase_ = 0; txMode_ = null; } staleReadOnlyBuilder_.clear(); } return this; } /** * .Ydb.Table.StaleModeSettings stale_read_only = 3; */ public tech.ydb.proto.table.YdbTable.StaleModeSettings.Builder getStaleReadOnlyBuilder() { return getStaleReadOnlyFieldBuilder().getBuilder(); } /** * .Ydb.Table.StaleModeSettings stale_read_only = 3; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StaleModeSettingsOrBuilder getStaleReadOnlyOrBuilder() { if ((txModeCase_ == 3) && (staleReadOnlyBuilder_ != null)) { return staleReadOnlyBuilder_.getMessageOrBuilder(); } else { if (txModeCase_ == 3) { return (tech.ydb.proto.table.YdbTable.StaleModeSettings) txMode_; } return tech.ydb.proto.table.YdbTable.StaleModeSettings.getDefaultInstance(); } } /** * .Ydb.Table.StaleModeSettings stale_read_only = 3; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StaleModeSettings, tech.ydb.proto.table.YdbTable.StaleModeSettings.Builder, tech.ydb.proto.table.YdbTable.StaleModeSettingsOrBuilder> getStaleReadOnlyFieldBuilder() { if (staleReadOnlyBuilder_ == null) { if (!(txModeCase_ == 3)) { txMode_ = tech.ydb.proto.table.YdbTable.StaleModeSettings.getDefaultInstance(); } staleReadOnlyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.StaleModeSettings, tech.ydb.proto.table.YdbTable.StaleModeSettings.Builder, tech.ydb.proto.table.YdbTable.StaleModeSettingsOrBuilder>( (tech.ydb.proto.table.YdbTable.StaleModeSettings) txMode_, getParentForChildren(), isClean()); txMode_ = null; } txModeCase_ = 3; onChanged(); return staleReadOnlyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.SnapshotModeSettings, tech.ydb.proto.table.YdbTable.SnapshotModeSettings.Builder, tech.ydb.proto.table.YdbTable.SnapshotModeSettingsOrBuilder> snapshotReadOnlyBuilder_; /** * .Ydb.Table.SnapshotModeSettings snapshot_read_only = 4; * @return Whether the snapshotReadOnly field is set. */ @java.lang.Override public boolean hasSnapshotReadOnly() { return txModeCase_ == 4; } /** * .Ydb.Table.SnapshotModeSettings snapshot_read_only = 4; * @return The snapshotReadOnly. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.SnapshotModeSettings getSnapshotReadOnly() { if (snapshotReadOnlyBuilder_ == null) { if (txModeCase_ == 4) { return (tech.ydb.proto.table.YdbTable.SnapshotModeSettings) txMode_; } return tech.ydb.proto.table.YdbTable.SnapshotModeSettings.getDefaultInstance(); } else { if (txModeCase_ == 4) { return snapshotReadOnlyBuilder_.getMessage(); } return tech.ydb.proto.table.YdbTable.SnapshotModeSettings.getDefaultInstance(); } } /** * .Ydb.Table.SnapshotModeSettings snapshot_read_only = 4; */ public Builder setSnapshotReadOnly(tech.ydb.proto.table.YdbTable.SnapshotModeSettings value) { if (snapshotReadOnlyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } txMode_ = value; onChanged(); } else { snapshotReadOnlyBuilder_.setMessage(value); } txModeCase_ = 4; return this; } /** * .Ydb.Table.SnapshotModeSettings snapshot_read_only = 4; */ public Builder setSnapshotReadOnly( tech.ydb.proto.table.YdbTable.SnapshotModeSettings.Builder builderForValue) { if (snapshotReadOnlyBuilder_ == null) { txMode_ = builderForValue.build(); onChanged(); } else { snapshotReadOnlyBuilder_.setMessage(builderForValue.build()); } txModeCase_ = 4; return this; } /** * .Ydb.Table.SnapshotModeSettings snapshot_read_only = 4; */ public Builder mergeSnapshotReadOnly(tech.ydb.proto.table.YdbTable.SnapshotModeSettings value) { if (snapshotReadOnlyBuilder_ == null) { if (txModeCase_ == 4 && txMode_ != tech.ydb.proto.table.YdbTable.SnapshotModeSettings.getDefaultInstance()) { txMode_ = tech.ydb.proto.table.YdbTable.SnapshotModeSettings.newBuilder((tech.ydb.proto.table.YdbTable.SnapshotModeSettings) txMode_) .mergeFrom(value).buildPartial(); } else { txMode_ = value; } onChanged(); } else { if (txModeCase_ == 4) { snapshotReadOnlyBuilder_.mergeFrom(value); } else { snapshotReadOnlyBuilder_.setMessage(value); } } txModeCase_ = 4; return this; } /** * .Ydb.Table.SnapshotModeSettings snapshot_read_only = 4; */ public Builder clearSnapshotReadOnly() { if (snapshotReadOnlyBuilder_ == null) { if (txModeCase_ == 4) { txModeCase_ = 0; txMode_ = null; onChanged(); } } else { if (txModeCase_ == 4) { txModeCase_ = 0; txMode_ = null; } snapshotReadOnlyBuilder_.clear(); } return this; } /** * .Ydb.Table.SnapshotModeSettings snapshot_read_only = 4; */ public tech.ydb.proto.table.YdbTable.SnapshotModeSettings.Builder getSnapshotReadOnlyBuilder() { return getSnapshotReadOnlyFieldBuilder().getBuilder(); } /** * .Ydb.Table.SnapshotModeSettings snapshot_read_only = 4; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.SnapshotModeSettingsOrBuilder getSnapshotReadOnlyOrBuilder() { if ((txModeCase_ == 4) && (snapshotReadOnlyBuilder_ != null)) { return snapshotReadOnlyBuilder_.getMessageOrBuilder(); } else { if (txModeCase_ == 4) { return (tech.ydb.proto.table.YdbTable.SnapshotModeSettings) txMode_; } return tech.ydb.proto.table.YdbTable.SnapshotModeSettings.getDefaultInstance(); } } /** * .Ydb.Table.SnapshotModeSettings snapshot_read_only = 4; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.SnapshotModeSettings, tech.ydb.proto.table.YdbTable.SnapshotModeSettings.Builder, tech.ydb.proto.table.YdbTable.SnapshotModeSettingsOrBuilder> getSnapshotReadOnlyFieldBuilder() { if (snapshotReadOnlyBuilder_ == null) { if (!(txModeCase_ == 4)) { txMode_ = tech.ydb.proto.table.YdbTable.SnapshotModeSettings.getDefaultInstance(); } snapshotReadOnlyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.SnapshotModeSettings, tech.ydb.proto.table.YdbTable.SnapshotModeSettings.Builder, tech.ydb.proto.table.YdbTable.SnapshotModeSettingsOrBuilder>( (tech.ydb.proto.table.YdbTable.SnapshotModeSettings) txMode_, getParentForChildren(), isClean()); txMode_ = null; } txModeCase_ = 4; onChanged(); return snapshotReadOnlyBuilder_; } @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.Table.TransactionSettings) } // @@protoc_insertion_point(class_scope:Ydb.Table.TransactionSettings) private static final tech.ydb.proto.table.YdbTable.TransactionSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.TransactionSettings(); } public static tech.ydb.proto.table.YdbTable.TransactionSettings getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TransactionSettings 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.table.YdbTable.TransactionSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TransactionControlOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.TransactionControl) com.google.protobuf.MessageOrBuilder { /** * string tx_id = 1; * @return Whether the txId field is set. */ boolean hasTxId(); /** * string tx_id = 1; * @return The txId. */ java.lang.String getTxId(); /** * string tx_id = 1; * @return The bytes for txId. */ com.google.protobuf.ByteString getTxIdBytes(); /** * .Ydb.Table.TransactionSettings begin_tx = 2; * @return Whether the beginTx field is set. */ boolean hasBeginTx(); /** * .Ydb.Table.TransactionSettings begin_tx = 2; * @return The beginTx. */ tech.ydb.proto.table.YdbTable.TransactionSettings getBeginTx(); /** * .Ydb.Table.TransactionSettings begin_tx = 2; */ tech.ydb.proto.table.YdbTable.TransactionSettingsOrBuilder getBeginTxOrBuilder(); /** * bool commit_tx = 10; * @return The commitTx. */ boolean getCommitTx(); tech.ydb.proto.table.YdbTable.TransactionControl.TxSelectorCase getTxSelectorCase(); } /** * Protobuf type {@code Ydb.Table.TransactionControl} */ public static final class TransactionControl extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.TransactionControl) TransactionControlOrBuilder { private static final long serialVersionUID = 0L; // Use TransactionControl.newBuilder() to construct. private TransactionControl(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TransactionControl() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TransactionControl(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TransactionControl_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TransactionControl_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.TransactionControl.class, tech.ydb.proto.table.YdbTable.TransactionControl.Builder.class); } private int txSelectorCase_ = 0; @SuppressWarnings("serial") private java.lang.Object txSelector_; public enum TxSelectorCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TX_ID(1), BEGIN_TX(2), TXSELECTOR_NOT_SET(0); private final int value; private TxSelectorCase(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 TxSelectorCase valueOf(int value) { return forNumber(value); } public static TxSelectorCase forNumber(int value) { switch (value) { case 1: return TX_ID; case 2: return BEGIN_TX; case 0: return TXSELECTOR_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public TxSelectorCase getTxSelectorCase() { return TxSelectorCase.forNumber( txSelectorCase_); } public static final int TX_ID_FIELD_NUMBER = 1; /** * string tx_id = 1; * @return Whether the txId field is set. */ public boolean hasTxId() { return txSelectorCase_ == 1; } /** * string tx_id = 1; * @return The txId. */ public java.lang.String getTxId() { java.lang.Object ref = ""; if (txSelectorCase_ == 1) { ref = txSelector_; } 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 (txSelectorCase_ == 1) { txSelector_ = s; } return s; } } /** * string tx_id = 1; * @return The bytes for txId. */ public com.google.protobuf.ByteString getTxIdBytes() { java.lang.Object ref = ""; if (txSelectorCase_ == 1) { ref = txSelector_; } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (txSelectorCase_ == 1) { txSelector_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int BEGIN_TX_FIELD_NUMBER = 2; /** * .Ydb.Table.TransactionSettings begin_tx = 2; * @return Whether the beginTx field is set. */ @java.lang.Override public boolean hasBeginTx() { return txSelectorCase_ == 2; } /** * .Ydb.Table.TransactionSettings begin_tx = 2; * @return The beginTx. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TransactionSettings getBeginTx() { if (txSelectorCase_ == 2) { return (tech.ydb.proto.table.YdbTable.TransactionSettings) txSelector_; } return tech.ydb.proto.table.YdbTable.TransactionSettings.getDefaultInstance(); } /** * .Ydb.Table.TransactionSettings begin_tx = 2; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TransactionSettingsOrBuilder getBeginTxOrBuilder() { if (txSelectorCase_ == 2) { return (tech.ydb.proto.table.YdbTable.TransactionSettings) txSelector_; } return tech.ydb.proto.table.YdbTable.TransactionSettings.getDefaultInstance(); } public static final int COMMIT_TX_FIELD_NUMBER = 10; private boolean commitTx_ = false; /** * bool commit_tx = 10; * @return The commitTx. */ @java.lang.Override public boolean getCommitTx() { return commitTx_; } 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 (txSelectorCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, txSelector_); } if (txSelectorCase_ == 2) { output.writeMessage(2, (tech.ydb.proto.table.YdbTable.TransactionSettings) txSelector_); } if (commitTx_ != false) { output.writeBool(10, commitTx_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (txSelectorCase_ == 1) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, txSelector_); } if (txSelectorCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (tech.ydb.proto.table.YdbTable.TransactionSettings) txSelector_); } if (commitTx_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(10, commitTx_); } 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.table.YdbTable.TransactionControl)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.TransactionControl other = (tech.ydb.proto.table.YdbTable.TransactionControl) obj; if (getCommitTx() != other.getCommitTx()) return false; if (!getTxSelectorCase().equals(other.getTxSelectorCase())) return false; switch (txSelectorCase_) { case 1: if (!getTxId() .equals(other.getTxId())) return false; break; case 2: if (!getBeginTx() .equals(other.getBeginTx())) 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(); hash = (37 * hash) + COMMIT_TX_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getCommitTx()); switch (txSelectorCase_) { case 1: hash = (37 * hash) + TX_ID_FIELD_NUMBER; hash = (53 * hash) + getTxId().hashCode(); break; case 2: hash = (37 * hash) + BEGIN_TX_FIELD_NUMBER; hash = (53 * hash) + getBeginTx().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.TransactionControl parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.TransactionControl 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.table.YdbTable.TransactionControl parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.TransactionControl 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.table.YdbTable.TransactionControl parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.TransactionControl parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.TransactionControl parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.TransactionControl 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.table.YdbTable.TransactionControl parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.TransactionControl 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.table.YdbTable.TransactionControl parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.TransactionControl 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.table.YdbTable.TransactionControl 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.Table.TransactionControl} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.TransactionControl) tech.ydb.proto.table.YdbTable.TransactionControlOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TransactionControl_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TransactionControl_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.TransactionControl.class, tech.ydb.proto.table.YdbTable.TransactionControl.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.TransactionControl.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (beginTxBuilder_ != null) { beginTxBuilder_.clear(); } commitTx_ = false; txSelectorCase_ = 0; txSelector_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TransactionControl_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.TransactionControl getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.TransactionControl.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.TransactionControl build() { tech.ydb.proto.table.YdbTable.TransactionControl result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.TransactionControl buildPartial() { tech.ydb.proto.table.YdbTable.TransactionControl result = new tech.ydb.proto.table.YdbTable.TransactionControl(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.TransactionControl result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000004) != 0)) { result.commitTx_ = commitTx_; } } private void buildPartialOneofs(tech.ydb.proto.table.YdbTable.TransactionControl result) { result.txSelectorCase_ = txSelectorCase_; result.txSelector_ = this.txSelector_; if (txSelectorCase_ == 2 && beginTxBuilder_ != null) { result.txSelector_ = beginTxBuilder_.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.table.YdbTable.TransactionControl) { return mergeFrom((tech.ydb.proto.table.YdbTable.TransactionControl)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.TransactionControl other) { if (other == tech.ydb.proto.table.YdbTable.TransactionControl.getDefaultInstance()) return this; if (other.getCommitTx() != false) { setCommitTx(other.getCommitTx()); } switch (other.getTxSelectorCase()) { case TX_ID: { txSelectorCase_ = 1; txSelector_ = other.txSelector_; onChanged(); break; } case BEGIN_TX: { mergeBeginTx(other.getBeginTx()); break; } case TXSELECTOR_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: { java.lang.String s = input.readStringRequireUtf8(); txSelectorCase_ = 1; txSelector_ = s; break; } // case 10 case 18: { input.readMessage( getBeginTxFieldBuilder().getBuilder(), extensionRegistry); txSelectorCase_ = 2; break; } // case 18 case 80: { commitTx_ = input.readBool(); bitField0_ |= 0x00000004; break; } // case 80 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 txSelectorCase_ = 0; private java.lang.Object txSelector_; public TxSelectorCase getTxSelectorCase() { return TxSelectorCase.forNumber( txSelectorCase_); } public Builder clearTxSelector() { txSelectorCase_ = 0; txSelector_ = null; onChanged(); return this; } private int bitField0_; /** * string tx_id = 1; * @return Whether the txId field is set. */ @java.lang.Override public boolean hasTxId() { return txSelectorCase_ == 1; } /** * string tx_id = 1; * @return The txId. */ @java.lang.Override public java.lang.String getTxId() { java.lang.Object ref = ""; if (txSelectorCase_ == 1) { ref = txSelector_; } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (txSelectorCase_ == 1) { txSelector_ = s; } return s; } else { return (java.lang.String) ref; } } /** * string tx_id = 1; * @return The bytes for txId. */ @java.lang.Override public com.google.protobuf.ByteString getTxIdBytes() { java.lang.Object ref = ""; if (txSelectorCase_ == 1) { ref = txSelector_; } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (txSelectorCase_ == 1) { txSelector_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string tx_id = 1; * @param value The txId to set. * @return This builder for chaining. */ public Builder setTxId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } txSelectorCase_ = 1; txSelector_ = value; onChanged(); return this; } /** * string tx_id = 1; * @return This builder for chaining. */ public Builder clearTxId() { if (txSelectorCase_ == 1) { txSelectorCase_ = 0; txSelector_ = null; onChanged(); } return this; } /** * string tx_id = 1; * @param value The bytes for txId to set. * @return This builder for chaining. */ public Builder setTxIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); txSelectorCase_ = 1; txSelector_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.TransactionSettings, tech.ydb.proto.table.YdbTable.TransactionSettings.Builder, tech.ydb.proto.table.YdbTable.TransactionSettingsOrBuilder> beginTxBuilder_; /** * .Ydb.Table.TransactionSettings begin_tx = 2; * @return Whether the beginTx field is set. */ @java.lang.Override public boolean hasBeginTx() { return txSelectorCase_ == 2; } /** * .Ydb.Table.TransactionSettings begin_tx = 2; * @return The beginTx. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TransactionSettings getBeginTx() { if (beginTxBuilder_ == null) { if (txSelectorCase_ == 2) { return (tech.ydb.proto.table.YdbTable.TransactionSettings) txSelector_; } return tech.ydb.proto.table.YdbTable.TransactionSettings.getDefaultInstance(); } else { if (txSelectorCase_ == 2) { return beginTxBuilder_.getMessage(); } return tech.ydb.proto.table.YdbTable.TransactionSettings.getDefaultInstance(); } } /** * .Ydb.Table.TransactionSettings begin_tx = 2; */ public Builder setBeginTx(tech.ydb.proto.table.YdbTable.TransactionSettings value) { if (beginTxBuilder_ == null) { if (value == null) { throw new NullPointerException(); } txSelector_ = value; onChanged(); } else { beginTxBuilder_.setMessage(value); } txSelectorCase_ = 2; return this; } /** * .Ydb.Table.TransactionSettings begin_tx = 2; */ public Builder setBeginTx( tech.ydb.proto.table.YdbTable.TransactionSettings.Builder builderForValue) { if (beginTxBuilder_ == null) { txSelector_ = builderForValue.build(); onChanged(); } else { beginTxBuilder_.setMessage(builderForValue.build()); } txSelectorCase_ = 2; return this; } /** * .Ydb.Table.TransactionSettings begin_tx = 2; */ public Builder mergeBeginTx(tech.ydb.proto.table.YdbTable.TransactionSettings value) { if (beginTxBuilder_ == null) { if (txSelectorCase_ == 2 && txSelector_ != tech.ydb.proto.table.YdbTable.TransactionSettings.getDefaultInstance()) { txSelector_ = tech.ydb.proto.table.YdbTable.TransactionSettings.newBuilder((tech.ydb.proto.table.YdbTable.TransactionSettings) txSelector_) .mergeFrom(value).buildPartial(); } else { txSelector_ = value; } onChanged(); } else { if (txSelectorCase_ == 2) { beginTxBuilder_.mergeFrom(value); } else { beginTxBuilder_.setMessage(value); } } txSelectorCase_ = 2; return this; } /** * .Ydb.Table.TransactionSettings begin_tx = 2; */ public Builder clearBeginTx() { if (beginTxBuilder_ == null) { if (txSelectorCase_ == 2) { txSelectorCase_ = 0; txSelector_ = null; onChanged(); } } else { if (txSelectorCase_ == 2) { txSelectorCase_ = 0; txSelector_ = null; } beginTxBuilder_.clear(); } return this; } /** * .Ydb.Table.TransactionSettings begin_tx = 2; */ public tech.ydb.proto.table.YdbTable.TransactionSettings.Builder getBeginTxBuilder() { return getBeginTxFieldBuilder().getBuilder(); } /** * .Ydb.Table.TransactionSettings begin_tx = 2; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TransactionSettingsOrBuilder getBeginTxOrBuilder() { if ((txSelectorCase_ == 2) && (beginTxBuilder_ != null)) { return beginTxBuilder_.getMessageOrBuilder(); } else { if (txSelectorCase_ == 2) { return (tech.ydb.proto.table.YdbTable.TransactionSettings) txSelector_; } return tech.ydb.proto.table.YdbTable.TransactionSettings.getDefaultInstance(); } } /** * .Ydb.Table.TransactionSettings begin_tx = 2; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.TransactionSettings, tech.ydb.proto.table.YdbTable.TransactionSettings.Builder, tech.ydb.proto.table.YdbTable.TransactionSettingsOrBuilder> getBeginTxFieldBuilder() { if (beginTxBuilder_ == null) { if (!(txSelectorCase_ == 2)) { txSelector_ = tech.ydb.proto.table.YdbTable.TransactionSettings.getDefaultInstance(); } beginTxBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.TransactionSettings, tech.ydb.proto.table.YdbTable.TransactionSettings.Builder, tech.ydb.proto.table.YdbTable.TransactionSettingsOrBuilder>( (tech.ydb.proto.table.YdbTable.TransactionSettings) txSelector_, getParentForChildren(), isClean()); txSelector_ = null; } txSelectorCase_ = 2; onChanged(); return beginTxBuilder_; } private boolean commitTx_ ; /** * bool commit_tx = 10; * @return The commitTx. */ @java.lang.Override public boolean getCommitTx() { return commitTx_; } /** * bool commit_tx = 10; * @param value The commitTx to set. * @return This builder for chaining. */ public Builder setCommitTx(boolean value) { commitTx_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * bool commit_tx = 10; * @return This builder for chaining. */ public Builder clearCommitTx() { bitField0_ = (bitField0_ & ~0x00000004); commitTx_ = false; 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.Table.TransactionControl) } // @@protoc_insertion_point(class_scope:Ydb.Table.TransactionControl) private static final tech.ydb.proto.table.YdbTable.TransactionControl DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.TransactionControl(); } public static tech.ydb.proto.table.YdbTable.TransactionControl getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TransactionControl 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.table.YdbTable.TransactionControl getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryCachePolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.QueryCachePolicy) com.google.protobuf.MessageOrBuilder { /** * bool keep_in_cache = 1; * @return The keepInCache. */ boolean getKeepInCache(); } /** * Protobuf type {@code Ydb.Table.QueryCachePolicy} */ public static final class QueryCachePolicy extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.QueryCachePolicy) QueryCachePolicyOrBuilder { private static final long serialVersionUID = 0L; // Use QueryCachePolicy.newBuilder() to construct. private QueryCachePolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryCachePolicy() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryCachePolicy(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_QueryCachePolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_QueryCachePolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.QueryCachePolicy.class, tech.ydb.proto.table.YdbTable.QueryCachePolicy.Builder.class); } public static final int KEEP_IN_CACHE_FIELD_NUMBER = 1; private boolean keepInCache_ = false; /** * bool keep_in_cache = 1; * @return The keepInCache. */ @java.lang.Override public boolean getKeepInCache() { return keepInCache_; } 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 (keepInCache_ != false) { output.writeBool(1, keepInCache_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (keepInCache_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, keepInCache_); } 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.table.YdbTable.QueryCachePolicy)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.QueryCachePolicy other = (tech.ydb.proto.table.YdbTable.QueryCachePolicy) obj; if (getKeepInCache() != other.getKeepInCache()) 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) + KEEP_IN_CACHE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getKeepInCache()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.QueryCachePolicy parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.QueryCachePolicy 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.table.YdbTable.QueryCachePolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.QueryCachePolicy 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.table.YdbTable.QueryCachePolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.QueryCachePolicy parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.QueryCachePolicy parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.QueryCachePolicy 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.table.YdbTable.QueryCachePolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.QueryCachePolicy 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.table.YdbTable.QueryCachePolicy parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.QueryCachePolicy 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.table.YdbTable.QueryCachePolicy 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.Table.QueryCachePolicy} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.QueryCachePolicy) tech.ydb.proto.table.YdbTable.QueryCachePolicyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_QueryCachePolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_QueryCachePolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.QueryCachePolicy.class, tech.ydb.proto.table.YdbTable.QueryCachePolicy.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.QueryCachePolicy.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; keepInCache_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_QueryCachePolicy_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.QueryCachePolicy getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.QueryCachePolicy.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.QueryCachePolicy build() { tech.ydb.proto.table.YdbTable.QueryCachePolicy result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.QueryCachePolicy buildPartial() { tech.ydb.proto.table.YdbTable.QueryCachePolicy result = new tech.ydb.proto.table.YdbTable.QueryCachePolicy(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.QueryCachePolicy result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.keepInCache_ = keepInCache_; } } @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.table.YdbTable.QueryCachePolicy) { return mergeFrom((tech.ydb.proto.table.YdbTable.QueryCachePolicy)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.QueryCachePolicy other) { if (other == tech.ydb.proto.table.YdbTable.QueryCachePolicy.getDefaultInstance()) return this; if (other.getKeepInCache() != false) { setKeepInCache(other.getKeepInCache()); } 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 8: { keepInCache_ = input.readBool(); bitField0_ |= 0x00000001; break; } // case 8 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 boolean keepInCache_ ; /** * bool keep_in_cache = 1; * @return The keepInCache. */ @java.lang.Override public boolean getKeepInCache() { return keepInCache_; } /** * bool keep_in_cache = 1; * @param value The keepInCache to set. * @return This builder for chaining. */ public Builder setKeepInCache(boolean value) { keepInCache_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * bool keep_in_cache = 1; * @return This builder for chaining. */ public Builder clearKeepInCache() { bitField0_ = (bitField0_ & ~0x00000001); keepInCache_ = false; 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.Table.QueryCachePolicy) } // @@protoc_insertion_point(class_scope:Ydb.Table.QueryCachePolicy) private static final tech.ydb.proto.table.YdbTable.QueryCachePolicy DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.QueryCachePolicy(); } public static tech.ydb.proto.table.YdbTable.QueryCachePolicy getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryCachePolicy 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.table.YdbTable.QueryCachePolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryStatsCollectionOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.QueryStatsCollection) com.google.protobuf.MessageOrBuilder { } /** *
   * Collect and return query execution stats
   * 
* * Protobuf type {@code Ydb.Table.QueryStatsCollection} */ public static final class QueryStatsCollection extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.QueryStatsCollection) QueryStatsCollectionOrBuilder { private static final long serialVersionUID = 0L; // Use QueryStatsCollection.newBuilder() to construct. private QueryStatsCollection(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryStatsCollection() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryStatsCollection(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_QueryStatsCollection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_QueryStatsCollection_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.QueryStatsCollection.class, tech.ydb.proto.table.YdbTable.QueryStatsCollection.Builder.class); } /** * Protobuf enum {@code Ydb.Table.QueryStatsCollection.Mode} */ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { /** * STATS_COLLECTION_UNSPECIFIED = 0; */ STATS_COLLECTION_UNSPECIFIED(0), /** *
       * Stats collection is disabled
       * 
* * STATS_COLLECTION_NONE = 1; */ STATS_COLLECTION_NONE(1), /** *
       * Aggregated stats of reads, updates and deletes per table
       * 
* * STATS_COLLECTION_BASIC = 2; */ STATS_COLLECTION_BASIC(2), /** *
       * Add execution stats and plan on top of STATS_COLLECTION_BASIC
       * 
* * STATS_COLLECTION_FULL = 3; */ STATS_COLLECTION_FULL(3), /** *
       * Detailed execution stats including stats for individual tasks and channels
       * 
* * STATS_COLLECTION_PROFILE = 4; */ STATS_COLLECTION_PROFILE(4), UNRECOGNIZED(-1), ; /** * STATS_COLLECTION_UNSPECIFIED = 0; */ public static final int STATS_COLLECTION_UNSPECIFIED_VALUE = 0; /** *
       * Stats collection is disabled
       * 
* * STATS_COLLECTION_NONE = 1; */ public static final int STATS_COLLECTION_NONE_VALUE = 1; /** *
       * Aggregated stats of reads, updates and deletes per table
       * 
* * STATS_COLLECTION_BASIC = 2; */ public static final int STATS_COLLECTION_BASIC_VALUE = 2; /** *
       * Add execution stats and plan on top of STATS_COLLECTION_BASIC
       * 
* * STATS_COLLECTION_FULL = 3; */ public static final int STATS_COLLECTION_FULL_VALUE = 3; /** *
       * Detailed execution stats including stats for individual tasks and channels
       * 
* * STATS_COLLECTION_PROFILE = 4; */ public static final int STATS_COLLECTION_PROFILE_VALUE = 4; 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 Mode 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 Mode forNumber(int value) { switch (value) { case 0: return STATS_COLLECTION_UNSPECIFIED; case 1: return STATS_COLLECTION_NONE; case 2: return STATS_COLLECTION_BASIC; case 3: return STATS_COLLECTION_FULL; case 4: return STATS_COLLECTION_PROFILE; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Mode> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Mode findValueByNumber(int number) { return Mode.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.table.YdbTable.QueryStatsCollection.getDescriptor().getEnumTypes().get(0); } private static final Mode[] VALUES = values(); public static Mode 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 Mode(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Ydb.Table.QueryStatsCollection.Mode) } 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 { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; 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.table.YdbTable.QueryStatsCollection)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.QueryStatsCollection other = (tech.ydb.proto.table.YdbTable.QueryStatsCollection) obj; 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 = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.QueryStatsCollection parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.QueryStatsCollection 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.table.YdbTable.QueryStatsCollection parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.QueryStatsCollection 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.table.YdbTable.QueryStatsCollection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.QueryStatsCollection parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.QueryStatsCollection parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.QueryStatsCollection 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.table.YdbTable.QueryStatsCollection parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.QueryStatsCollection 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.table.YdbTable.QueryStatsCollection parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.QueryStatsCollection 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.table.YdbTable.QueryStatsCollection 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; } /** *
     * Collect and return query execution stats
     * 
* * Protobuf type {@code Ydb.Table.QueryStatsCollection} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.QueryStatsCollection) tech.ydb.proto.table.YdbTable.QueryStatsCollectionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_QueryStatsCollection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_QueryStatsCollection_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.QueryStatsCollection.class, tech.ydb.proto.table.YdbTable.QueryStatsCollection.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.QueryStatsCollection.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_QueryStatsCollection_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.QueryStatsCollection getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.QueryStatsCollection.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.QueryStatsCollection build() { tech.ydb.proto.table.YdbTable.QueryStatsCollection result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.QueryStatsCollection buildPartial() { tech.ydb.proto.table.YdbTable.QueryStatsCollection result = new tech.ydb.proto.table.YdbTable.QueryStatsCollection(this); onBuilt(); return result; } @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.table.YdbTable.QueryStatsCollection) { return mergeFrom((tech.ydb.proto.table.YdbTable.QueryStatsCollection)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.QueryStatsCollection other) { if (other == tech.ydb.proto.table.YdbTable.QueryStatsCollection.getDefaultInstance()) return this; 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; 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; } @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.Table.QueryStatsCollection) } // @@protoc_insertion_point(class_scope:Ydb.Table.QueryStatsCollection) private static final tech.ydb.proto.table.YdbTable.QueryStatsCollection DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.QueryStatsCollection(); } public static tech.ydb.proto.table.YdbTable.QueryStatsCollection getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryStatsCollection 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.table.YdbTable.QueryStatsCollection getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExecuteDataQueryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.ExecuteDataQueryRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ java.lang.String getSessionId(); /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ com.google.protobuf.ByteString getSessionIdBytes(); /** * .Ydb.Table.TransactionControl tx_control = 2; * @return Whether the txControl field is set. */ boolean hasTxControl(); /** * .Ydb.Table.TransactionControl tx_control = 2; * @return The txControl. */ tech.ydb.proto.table.YdbTable.TransactionControl getTxControl(); /** * .Ydb.Table.TransactionControl tx_control = 2; */ tech.ydb.proto.table.YdbTable.TransactionControlOrBuilder getTxControlOrBuilder(); /** * .Ydb.Table.Query query = 3; * @return Whether the query field is set. */ boolean hasQuery(); /** * .Ydb.Table.Query query = 3; * @return The query. */ tech.ydb.proto.table.YdbTable.Query getQuery(); /** * .Ydb.Table.Query query = 3; */ tech.ydb.proto.table.YdbTable.QueryOrBuilder getQueryOrBuilder(); /** *
     * Map of query parameters (optional)
     * 
* * map<string, .Ydb.TypedValue> parameters = 4; */ int getParametersCount(); /** *
     * Map of query parameters (optional)
     * 
* * map<string, .Ydb.TypedValue> parameters = 4; */ boolean containsParameters( java.lang.String key); /** * Use {@link #getParametersMap()} instead. */ @java.lang.Deprecated java.util.Map getParameters(); /** *
     * Map of query parameters (optional)
     * 
* * map<string, .Ydb.TypedValue> parameters = 4; */ java.util.Map getParametersMap(); /** *
     * Map of query parameters (optional)
     * 
* * map<string, .Ydb.TypedValue> parameters = 4; */ /* nullable */ tech.ydb.proto.ValueProtos.TypedValue getParametersOrDefault( java.lang.String key, /* nullable */ tech.ydb.proto.ValueProtos.TypedValue defaultValue); /** *
     * Map of query parameters (optional)
     * 
* * map<string, .Ydb.TypedValue> parameters = 4; */ tech.ydb.proto.ValueProtos.TypedValue getParametersOrThrow( java.lang.String key); /** * .Ydb.Table.QueryCachePolicy query_cache_policy = 5; * @return Whether the queryCachePolicy field is set. */ boolean hasQueryCachePolicy(); /** * .Ydb.Table.QueryCachePolicy query_cache_policy = 5; * @return The queryCachePolicy. */ tech.ydb.proto.table.YdbTable.QueryCachePolicy getQueryCachePolicy(); /** * .Ydb.Table.QueryCachePolicy query_cache_policy = 5; */ tech.ydb.proto.table.YdbTable.QueryCachePolicyOrBuilder getQueryCachePolicyOrBuilder(); /** * .Ydb.Operations.OperationParams operation_params = 6; * @return Whether the operationParams field is set. */ boolean hasOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 6; * @return The operationParams. */ tech.ydb.proto.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 6; */ tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder(); /** * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 7; * @return The enum numeric value on the wire for collectStats. */ int getCollectStatsValue(); /** * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 7; * @return The collectStats. */ tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode getCollectStats(); } /** * Protobuf type {@code Ydb.Table.ExecuteDataQueryRequest} */ public static final class ExecuteDataQueryRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.ExecuteDataQueryRequest) ExecuteDataQueryRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ExecuteDataQueryRequest.newBuilder() to construct. private ExecuteDataQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExecuteDataQueryRequest() { sessionId_ = ""; collectStats_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExecuteDataQueryRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteDataQueryRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 4: return internalGetParameters(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteDataQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest.class, tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest.Builder.class); } private int bitField0_; public static final int SESSION_ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object sessionId_ = ""; /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ @java.lang.Override public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; 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(); sessionId_ = s; return s; } } /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ @java.lang.Override public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TX_CONTROL_FIELD_NUMBER = 2; private tech.ydb.proto.table.YdbTable.TransactionControl txControl_; /** * .Ydb.Table.TransactionControl tx_control = 2; * @return Whether the txControl field is set. */ @java.lang.Override public boolean hasTxControl() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.Table.TransactionControl tx_control = 2; * @return The txControl. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TransactionControl getTxControl() { return txControl_ == null ? tech.ydb.proto.table.YdbTable.TransactionControl.getDefaultInstance() : txControl_; } /** * .Ydb.Table.TransactionControl tx_control = 2; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TransactionControlOrBuilder getTxControlOrBuilder() { return txControl_ == null ? tech.ydb.proto.table.YdbTable.TransactionControl.getDefaultInstance() : txControl_; } public static final int QUERY_FIELD_NUMBER = 3; private tech.ydb.proto.table.YdbTable.Query query_; /** * .Ydb.Table.Query query = 3; * @return Whether the query field is set. */ @java.lang.Override public boolean hasQuery() { return ((bitField0_ & 0x00000002) != 0); } /** * .Ydb.Table.Query query = 3; * @return The query. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.Query getQuery() { return query_ == null ? tech.ydb.proto.table.YdbTable.Query.getDefaultInstance() : query_; } /** * .Ydb.Table.Query query = 3; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.QueryOrBuilder getQueryOrBuilder() { return query_ == null ? tech.ydb.proto.table.YdbTable.Query.getDefaultInstance() : query_; } public static final int PARAMETERS_FIELD_NUMBER = 4; private static final class ParametersDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, tech.ydb.proto.ValueProtos.TypedValue> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteDataQueryRequest_ParametersEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance()); } @SuppressWarnings("serial") private com.google.protobuf.MapField< java.lang.String, tech.ydb.proto.ValueProtos.TypedValue> parameters_; private com.google.protobuf.MapField internalGetParameters() { if (parameters_ == null) { return com.google.protobuf.MapField.emptyMapField( ParametersDefaultEntryHolder.defaultEntry); } return parameters_; } public int getParametersCount() { return internalGetParameters().getMap().size(); } /** *
     * Map of query parameters (optional)
     * 
* * map<string, .Ydb.TypedValue> parameters = 4; */ @java.lang.Override public boolean containsParameters( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetParameters().getMap().containsKey(key); } /** * Use {@link #getParametersMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getParameters() { return getParametersMap(); } /** *
     * Map of query parameters (optional)
     * 
* * map<string, .Ydb.TypedValue> parameters = 4; */ @java.lang.Override public java.util.Map getParametersMap() { return internalGetParameters().getMap(); } /** *
     * Map of query parameters (optional)
     * 
* * map<string, .Ydb.TypedValue> parameters = 4; */ @java.lang.Override public /* nullable */ tech.ydb.proto.ValueProtos.TypedValue getParametersOrDefault( java.lang.String key, /* nullable */ tech.ydb.proto.ValueProtos.TypedValue defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetParameters().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Map of query parameters (optional)
     * 
* * map<string, .Ydb.TypedValue> parameters = 4; */ @java.lang.Override public tech.ydb.proto.ValueProtos.TypedValue getParametersOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetParameters().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int QUERY_CACHE_POLICY_FIELD_NUMBER = 5; private tech.ydb.proto.table.YdbTable.QueryCachePolicy queryCachePolicy_; /** * .Ydb.Table.QueryCachePolicy query_cache_policy = 5; * @return Whether the queryCachePolicy field is set. */ @java.lang.Override public boolean hasQueryCachePolicy() { return ((bitField0_ & 0x00000004) != 0); } /** * .Ydb.Table.QueryCachePolicy query_cache_policy = 5; * @return The queryCachePolicy. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.QueryCachePolicy getQueryCachePolicy() { return queryCachePolicy_ == null ? tech.ydb.proto.table.YdbTable.QueryCachePolicy.getDefaultInstance() : queryCachePolicy_; } /** * .Ydb.Table.QueryCachePolicy query_cache_policy = 5; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.QueryCachePolicyOrBuilder getQueryCachePolicyOrBuilder() { return queryCachePolicy_ == null ? tech.ydb.proto.table.YdbTable.QueryCachePolicy.getDefaultInstance() : queryCachePolicy_; } public static final int OPERATION_PARAMS_FIELD_NUMBER = 6; private tech.ydb.proto.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 6; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return ((bitField0_ & 0x00000008) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 6; * @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 = 6; */ @java.lang.Override public tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } public static final int COLLECT_STATS_FIELD_NUMBER = 7; private int collectStats_ = 0; /** * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 7; * @return The enum numeric value on the wire for collectStats. */ @java.lang.Override public int getCollectStatsValue() { return collectStats_; } /** * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 7; * @return The collectStats. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode getCollectStats() { tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode result = tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode.forNumber(collectStats_); return result == null ? tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode.UNRECOGNIZED : result; } 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(sessionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getTxControl()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getQuery()); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetParameters(), ParametersDefaultEntryHolder.defaultEntry, 4); if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(5, getQueryCachePolicy()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(6, getOperationParams()); } if (collectStats_ != tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode.STATS_COLLECTION_UNSPECIFIED.getNumber()) { output.writeEnum(7, collectStats_); } 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(sessionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getTxControl()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getQuery()); } for (java.util.Map.Entry entry : internalGetParameters().getMap().entrySet()) { com.google.protobuf.MapEntry parameters__ = ParametersDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, parameters__); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getQueryCachePolicy()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getOperationParams()); } if (collectStats_ != tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode.STATS_COLLECTION_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(7, collectStats_); } 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.table.YdbTable.ExecuteDataQueryRequest)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest other = (tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest) obj; if (!getSessionId() .equals(other.getSessionId())) return false; if (hasTxControl() != other.hasTxControl()) return false; if (hasTxControl()) { if (!getTxControl() .equals(other.getTxControl())) return false; } if (hasQuery() != other.hasQuery()) return false; if (hasQuery()) { if (!getQuery() .equals(other.getQuery())) return false; } if (!internalGetParameters().equals( other.internalGetParameters())) return false; if (hasQueryCachePolicy() != other.hasQueryCachePolicy()) return false; if (hasQueryCachePolicy()) { if (!getQueryCachePolicy() .equals(other.getQueryCachePolicy())) return false; } if (hasOperationParams() != other.hasOperationParams()) return false; if (hasOperationParams()) { if (!getOperationParams() .equals(other.getOperationParams())) return false; } if (collectStats_ != other.collectStats_) 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) + SESSION_ID_FIELD_NUMBER; hash = (53 * hash) + getSessionId().hashCode(); if (hasTxControl()) { hash = (37 * hash) + TX_CONTROL_FIELD_NUMBER; hash = (53 * hash) + getTxControl().hashCode(); } if (hasQuery()) { hash = (37 * hash) + QUERY_FIELD_NUMBER; hash = (53 * hash) + getQuery().hashCode(); } if (!internalGetParameters().getMap().isEmpty()) { hash = (37 * hash) + PARAMETERS_FIELD_NUMBER; hash = (53 * hash) + internalGetParameters().hashCode(); } if (hasQueryCachePolicy()) { hash = (37 * hash) + QUERY_CACHE_POLICY_FIELD_NUMBER; hash = (53 * hash) + getQueryCachePolicy().hashCode(); } if (hasOperationParams()) { hash = (37 * hash) + OPERATION_PARAMS_FIELD_NUMBER; hash = (53 * hash) + getOperationParams().hashCode(); } hash = (37 * hash) + COLLECT_STATS_FIELD_NUMBER; hash = (53 * hash) + collectStats_; hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest 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.table.YdbTable.ExecuteDataQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest 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.table.YdbTable.ExecuteDataQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest 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.table.YdbTable.ExecuteDataQueryRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest 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.table.YdbTable.ExecuteDataQueryRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest 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.table.YdbTable.ExecuteDataQueryRequest 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.Table.ExecuteDataQueryRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.ExecuteDataQueryRequest) tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteDataQueryRequest_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 4: return internalGetParameters(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 4: return internalGetMutableParameters(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteDataQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest.class, tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTxControlFieldBuilder(); getQueryFieldBuilder(); getQueryCachePolicyFieldBuilder(); getOperationParamsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; sessionId_ = ""; txControl_ = null; if (txControlBuilder_ != null) { txControlBuilder_.dispose(); txControlBuilder_ = null; } query_ = null; if (queryBuilder_ != null) { queryBuilder_.dispose(); queryBuilder_ = null; } internalGetMutableParameters().clear(); queryCachePolicy_ = null; if (queryCachePolicyBuilder_ != null) { queryCachePolicyBuilder_.dispose(); queryCachePolicyBuilder_ = null; } operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } collectStats_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteDataQueryRequest_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest build() { tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest buildPartial() { tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest result = new tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.sessionId_ = sessionId_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.txControl_ = txControlBuilder_ == null ? txControl_ : txControlBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.query_ = queryBuilder_ == null ? query_ : queryBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { result.parameters_ = internalGetParameters(); result.parameters_.makeImmutable(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.queryCachePolicy_ = queryCachePolicyBuilder_ == null ? queryCachePolicy_ : queryCachePolicyBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000020) != 0)) { result.operationParams_ = operationParamsBuilder_ == null ? operationParams_ : operationParamsBuilder_.build(); to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000040) != 0)) { result.collectStats_ = collectStats_; } 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.table.YdbTable.ExecuteDataQueryRequest) { return mergeFrom((tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest other) { if (other == tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest.getDefaultInstance()) return this; if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasTxControl()) { mergeTxControl(other.getTxControl()); } if (other.hasQuery()) { mergeQuery(other.getQuery()); } internalGetMutableParameters().mergeFrom( other.internalGetParameters()); bitField0_ |= 0x00000008; if (other.hasQueryCachePolicy()) { mergeQueryCachePolicy(other.getQueryCachePolicy()); } if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } if (other.collectStats_ != 0) { setCollectStatsValue(other.getCollectStatsValue()); } 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: { sessionId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getTxControlFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage( getQueryFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 34: { com.google.protobuf.MapEntry parameters__ = input.readMessage( ParametersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableParameters().getMutableMap().put( parameters__.getKey(), parameters__.getValue()); bitField0_ |= 0x00000008; break; } // case 34 case 42: { input.readMessage( getQueryCachePolicyFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 42 case 50: { input.readMessage( getOperationParamsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000020; break; } // case 50 case 56: { collectStats_ = input.readEnum(); bitField0_ |= 0x00000040; break; } // case 56 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 sessionId_ = ""; /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The sessionId. */ public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The bytes for sessionId. */ public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The sessionId to set. * @return This builder for chaining. */ public Builder setSessionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sessionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The bytes for sessionId to set. * @return This builder for chaining. */ public Builder setSessionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sessionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private tech.ydb.proto.table.YdbTable.TransactionControl txControl_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.TransactionControl, tech.ydb.proto.table.YdbTable.TransactionControl.Builder, tech.ydb.proto.table.YdbTable.TransactionControlOrBuilder> txControlBuilder_; /** * .Ydb.Table.TransactionControl tx_control = 2; * @return Whether the txControl field is set. */ public boolean hasTxControl() { return ((bitField0_ & 0x00000002) != 0); } /** * .Ydb.Table.TransactionControl tx_control = 2; * @return The txControl. */ public tech.ydb.proto.table.YdbTable.TransactionControl getTxControl() { if (txControlBuilder_ == null) { return txControl_ == null ? tech.ydb.proto.table.YdbTable.TransactionControl.getDefaultInstance() : txControl_; } else { return txControlBuilder_.getMessage(); } } /** * .Ydb.Table.TransactionControl tx_control = 2; */ public Builder setTxControl(tech.ydb.proto.table.YdbTable.TransactionControl value) { if (txControlBuilder_ == null) { if (value == null) { throw new NullPointerException(); } txControl_ = value; } else { txControlBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * .Ydb.Table.TransactionControl tx_control = 2; */ public Builder setTxControl( tech.ydb.proto.table.YdbTable.TransactionControl.Builder builderForValue) { if (txControlBuilder_ == null) { txControl_ = builderForValue.build(); } else { txControlBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * .Ydb.Table.TransactionControl tx_control = 2; */ public Builder mergeTxControl(tech.ydb.proto.table.YdbTable.TransactionControl value) { if (txControlBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && txControl_ != null && txControl_ != tech.ydb.proto.table.YdbTable.TransactionControl.getDefaultInstance()) { getTxControlBuilder().mergeFrom(value); } else { txControl_ = value; } } else { txControlBuilder_.mergeFrom(value); } if (txControl_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** * .Ydb.Table.TransactionControl tx_control = 2; */ public Builder clearTxControl() { bitField0_ = (bitField0_ & ~0x00000002); txControl_ = null; if (txControlBuilder_ != null) { txControlBuilder_.dispose(); txControlBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Table.TransactionControl tx_control = 2; */ public tech.ydb.proto.table.YdbTable.TransactionControl.Builder getTxControlBuilder() { bitField0_ |= 0x00000002; onChanged(); return getTxControlFieldBuilder().getBuilder(); } /** * .Ydb.Table.TransactionControl tx_control = 2; */ public tech.ydb.proto.table.YdbTable.TransactionControlOrBuilder getTxControlOrBuilder() { if (txControlBuilder_ != null) { return txControlBuilder_.getMessageOrBuilder(); } else { return txControl_ == null ? tech.ydb.proto.table.YdbTable.TransactionControl.getDefaultInstance() : txControl_; } } /** * .Ydb.Table.TransactionControl tx_control = 2; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.TransactionControl, tech.ydb.proto.table.YdbTable.TransactionControl.Builder, tech.ydb.proto.table.YdbTable.TransactionControlOrBuilder> getTxControlFieldBuilder() { if (txControlBuilder_ == null) { txControlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.TransactionControl, tech.ydb.proto.table.YdbTable.TransactionControl.Builder, tech.ydb.proto.table.YdbTable.TransactionControlOrBuilder>( getTxControl(), getParentForChildren(), isClean()); txControl_ = null; } return txControlBuilder_; } private tech.ydb.proto.table.YdbTable.Query query_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.Query, tech.ydb.proto.table.YdbTable.Query.Builder, tech.ydb.proto.table.YdbTable.QueryOrBuilder> queryBuilder_; /** * .Ydb.Table.Query query = 3; * @return Whether the query field is set. */ public boolean hasQuery() { return ((bitField0_ & 0x00000004) != 0); } /** * .Ydb.Table.Query query = 3; * @return The query. */ public tech.ydb.proto.table.YdbTable.Query getQuery() { if (queryBuilder_ == null) { return query_ == null ? tech.ydb.proto.table.YdbTable.Query.getDefaultInstance() : query_; } else { return queryBuilder_.getMessage(); } } /** * .Ydb.Table.Query query = 3; */ public Builder setQuery(tech.ydb.proto.table.YdbTable.Query value) { if (queryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } query_ = value; } else { queryBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * .Ydb.Table.Query query = 3; */ public Builder setQuery( tech.ydb.proto.table.YdbTable.Query.Builder builderForValue) { if (queryBuilder_ == null) { query_ = builderForValue.build(); } else { queryBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * .Ydb.Table.Query query = 3; */ public Builder mergeQuery(tech.ydb.proto.table.YdbTable.Query value) { if (queryBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && query_ != null && query_ != tech.ydb.proto.table.YdbTable.Query.getDefaultInstance()) { getQueryBuilder().mergeFrom(value); } else { query_ = value; } } else { queryBuilder_.mergeFrom(value); } if (query_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * .Ydb.Table.Query query = 3; */ public Builder clearQuery() { bitField0_ = (bitField0_ & ~0x00000004); query_ = null; if (queryBuilder_ != null) { queryBuilder_.dispose(); queryBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Table.Query query = 3; */ public tech.ydb.proto.table.YdbTable.Query.Builder getQueryBuilder() { bitField0_ |= 0x00000004; onChanged(); return getQueryFieldBuilder().getBuilder(); } /** * .Ydb.Table.Query query = 3; */ public tech.ydb.proto.table.YdbTable.QueryOrBuilder getQueryOrBuilder() { if (queryBuilder_ != null) { return queryBuilder_.getMessageOrBuilder(); } else { return query_ == null ? tech.ydb.proto.table.YdbTable.Query.getDefaultInstance() : query_; } } /** * .Ydb.Table.Query query = 3; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.Query, tech.ydb.proto.table.YdbTable.Query.Builder, tech.ydb.proto.table.YdbTable.QueryOrBuilder> getQueryFieldBuilder() { if (queryBuilder_ == null) { queryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.Query, tech.ydb.proto.table.YdbTable.Query.Builder, tech.ydb.proto.table.YdbTable.QueryOrBuilder>( getQuery(), getParentForChildren(), isClean()); query_ = null; } return queryBuilder_; } private com.google.protobuf.MapField< java.lang.String, tech.ydb.proto.ValueProtos.TypedValue> parameters_; private com.google.protobuf.MapField internalGetParameters() { if (parameters_ == null) { return com.google.protobuf.MapField.emptyMapField( ParametersDefaultEntryHolder.defaultEntry); } return parameters_; } private com.google.protobuf.MapField internalGetMutableParameters() { if (parameters_ == null) { parameters_ = com.google.protobuf.MapField.newMapField( ParametersDefaultEntryHolder.defaultEntry); } if (!parameters_.isMutable()) { parameters_ = parameters_.copy(); } bitField0_ |= 0x00000008; onChanged(); return parameters_; } public int getParametersCount() { return internalGetParameters().getMap().size(); } /** *
       * Map of query parameters (optional)
       * 
* * map<string, .Ydb.TypedValue> parameters = 4; */ @java.lang.Override public boolean containsParameters( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetParameters().getMap().containsKey(key); } /** * Use {@link #getParametersMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getParameters() { return getParametersMap(); } /** *
       * Map of query parameters (optional)
       * 
* * map<string, .Ydb.TypedValue> parameters = 4; */ @java.lang.Override public java.util.Map getParametersMap() { return internalGetParameters().getMap(); } /** *
       * Map of query parameters (optional)
       * 
* * map<string, .Ydb.TypedValue> parameters = 4; */ @java.lang.Override public /* nullable */ tech.ydb.proto.ValueProtos.TypedValue getParametersOrDefault( java.lang.String key, /* nullable */ tech.ydb.proto.ValueProtos.TypedValue defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetParameters().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Map of query parameters (optional)
       * 
* * map<string, .Ydb.TypedValue> parameters = 4; */ @java.lang.Override public tech.ydb.proto.ValueProtos.TypedValue getParametersOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetParameters().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearParameters() { bitField0_ = (bitField0_ & ~0x00000008); internalGetMutableParameters().getMutableMap() .clear(); return this; } /** *
       * Map of query parameters (optional)
       * 
* * map<string, .Ydb.TypedValue> parameters = 4; */ public Builder removeParameters( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableParameters().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableParameters() { bitField0_ |= 0x00000008; return internalGetMutableParameters().getMutableMap(); } /** *
       * Map of query parameters (optional)
       * 
* * map<string, .Ydb.TypedValue> parameters = 4; */ public Builder putParameters( java.lang.String key, tech.ydb.proto.ValueProtos.TypedValue value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableParameters().getMutableMap() .put(key, value); bitField0_ |= 0x00000008; return this; } /** *
       * Map of query parameters (optional)
       * 
* * map<string, .Ydb.TypedValue> parameters = 4; */ public Builder putAllParameters( java.util.Map values) { internalGetMutableParameters().getMutableMap() .putAll(values); bitField0_ |= 0x00000008; return this; } private tech.ydb.proto.table.YdbTable.QueryCachePolicy queryCachePolicy_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.QueryCachePolicy, tech.ydb.proto.table.YdbTable.QueryCachePolicy.Builder, tech.ydb.proto.table.YdbTable.QueryCachePolicyOrBuilder> queryCachePolicyBuilder_; /** * .Ydb.Table.QueryCachePolicy query_cache_policy = 5; * @return Whether the queryCachePolicy field is set. */ public boolean hasQueryCachePolicy() { return ((bitField0_ & 0x00000010) != 0); } /** * .Ydb.Table.QueryCachePolicy query_cache_policy = 5; * @return The queryCachePolicy. */ public tech.ydb.proto.table.YdbTable.QueryCachePolicy getQueryCachePolicy() { if (queryCachePolicyBuilder_ == null) { return queryCachePolicy_ == null ? tech.ydb.proto.table.YdbTable.QueryCachePolicy.getDefaultInstance() : queryCachePolicy_; } else { return queryCachePolicyBuilder_.getMessage(); } } /** * .Ydb.Table.QueryCachePolicy query_cache_policy = 5; */ public Builder setQueryCachePolicy(tech.ydb.proto.table.YdbTable.QueryCachePolicy value) { if (queryCachePolicyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } queryCachePolicy_ = value; } else { queryCachePolicyBuilder_.setMessage(value); } bitField0_ |= 0x00000010; onChanged(); return this; } /** * .Ydb.Table.QueryCachePolicy query_cache_policy = 5; */ public Builder setQueryCachePolicy( tech.ydb.proto.table.YdbTable.QueryCachePolicy.Builder builderForValue) { if (queryCachePolicyBuilder_ == null) { queryCachePolicy_ = builderForValue.build(); } else { queryCachePolicyBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; onChanged(); return this; } /** * .Ydb.Table.QueryCachePolicy query_cache_policy = 5; */ public Builder mergeQueryCachePolicy(tech.ydb.proto.table.YdbTable.QueryCachePolicy value) { if (queryCachePolicyBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && queryCachePolicy_ != null && queryCachePolicy_ != tech.ydb.proto.table.YdbTable.QueryCachePolicy.getDefaultInstance()) { getQueryCachePolicyBuilder().mergeFrom(value); } else { queryCachePolicy_ = value; } } else { queryCachePolicyBuilder_.mergeFrom(value); } if (queryCachePolicy_ != null) { bitField0_ |= 0x00000010; onChanged(); } return this; } /** * .Ydb.Table.QueryCachePolicy query_cache_policy = 5; */ public Builder clearQueryCachePolicy() { bitField0_ = (bitField0_ & ~0x00000010); queryCachePolicy_ = null; if (queryCachePolicyBuilder_ != null) { queryCachePolicyBuilder_.dispose(); queryCachePolicyBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Table.QueryCachePolicy query_cache_policy = 5; */ public tech.ydb.proto.table.YdbTable.QueryCachePolicy.Builder getQueryCachePolicyBuilder() { bitField0_ |= 0x00000010; onChanged(); return getQueryCachePolicyFieldBuilder().getBuilder(); } /** * .Ydb.Table.QueryCachePolicy query_cache_policy = 5; */ public tech.ydb.proto.table.YdbTable.QueryCachePolicyOrBuilder getQueryCachePolicyOrBuilder() { if (queryCachePolicyBuilder_ != null) { return queryCachePolicyBuilder_.getMessageOrBuilder(); } else { return queryCachePolicy_ == null ? tech.ydb.proto.table.YdbTable.QueryCachePolicy.getDefaultInstance() : queryCachePolicy_; } } /** * .Ydb.Table.QueryCachePolicy query_cache_policy = 5; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.QueryCachePolicy, tech.ydb.proto.table.YdbTable.QueryCachePolicy.Builder, tech.ydb.proto.table.YdbTable.QueryCachePolicyOrBuilder> getQueryCachePolicyFieldBuilder() { if (queryCachePolicyBuilder_ == null) { queryCachePolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.QueryCachePolicy, tech.ydb.proto.table.YdbTable.QueryCachePolicy.Builder, tech.ydb.proto.table.YdbTable.QueryCachePolicyOrBuilder>( getQueryCachePolicy(), getParentForChildren(), isClean()); queryCachePolicy_ = null; } return queryCachePolicyBuilder_; } 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 = 6; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return ((bitField0_ & 0x00000020) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 6; * @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 = 6; */ 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_ |= 0x00000020; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 6; */ public Builder setOperationParams( tech.ydb.proto.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 6; */ public Builder mergeOperationParams(tech.ydb.proto.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && operationParams_ != null && operationParams_ != tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance()) { getOperationParamsBuilder().mergeFrom(value); } else { operationParams_ = value; } } else { operationParamsBuilder_.mergeFrom(value); } if (operationParams_ != null) { bitField0_ |= 0x00000020; onChanged(); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 6; */ public Builder clearOperationParams() { bitField0_ = (bitField0_ & ~0x00000020); operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 6; */ public tech.ydb.proto.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { bitField0_ |= 0x00000020; onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 6; */ 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 = 6; */ 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 int collectStats_ = 0; /** * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 7; * @return The enum numeric value on the wire for collectStats. */ @java.lang.Override public int getCollectStatsValue() { return collectStats_; } /** * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 7; * @param value The enum numeric value on the wire for collectStats to set. * @return This builder for chaining. */ public Builder setCollectStatsValue(int value) { collectStats_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 7; * @return The collectStats. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode getCollectStats() { tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode result = tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode.forNumber(collectStats_); return result == null ? tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode.UNRECOGNIZED : result; } /** * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 7; * @param value The collectStats to set. * @return This builder for chaining. */ public Builder setCollectStats(tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; collectStats_ = value.getNumber(); onChanged(); return this; } /** * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 7; * @return This builder for chaining. */ public Builder clearCollectStats() { bitField0_ = (bitField0_ & ~0x00000040); collectStats_ = 0; 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.Table.ExecuteDataQueryRequest) } // @@protoc_insertion_point(class_scope:Ydb.Table.ExecuteDataQueryRequest) private static final tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest(); } public static tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExecuteDataQueryRequest 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.table.YdbTable.ExecuteDataQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExecuteDataQueryResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.ExecuteDataQueryResponse) 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.Table.ExecuteDataQueryResponse} */ public static final class ExecuteDataQueryResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.ExecuteDataQueryResponse) ExecuteDataQueryResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ExecuteDataQueryResponse.newBuilder() to construct. private ExecuteDataQueryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExecuteDataQueryResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExecuteDataQueryResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteDataQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteDataQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ExecuteDataQueryResponse.class, tech.ydb.proto.table.YdbTable.ExecuteDataQueryResponse.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.table.YdbTable.ExecuteDataQueryResponse)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.ExecuteDataQueryResponse other = (tech.ydb.proto.table.YdbTable.ExecuteDataQueryResponse) 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.table.YdbTable.ExecuteDataQueryResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExecuteDataQueryResponse 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.table.YdbTable.ExecuteDataQueryResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExecuteDataQueryResponse 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.table.YdbTable.ExecuteDataQueryResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExecuteDataQueryResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.ExecuteDataQueryResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExecuteDataQueryResponse 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.table.YdbTable.ExecuteDataQueryResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExecuteDataQueryResponse 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.table.YdbTable.ExecuteDataQueryResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExecuteDataQueryResponse 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.table.YdbTable.ExecuteDataQueryResponse 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.Table.ExecuteDataQueryResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.ExecuteDataQueryResponse) tech.ydb.proto.table.YdbTable.ExecuteDataQueryResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteDataQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteDataQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ExecuteDataQueryResponse.class, tech.ydb.proto.table.YdbTable.ExecuteDataQueryResponse.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.ExecuteDataQueryResponse.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.table.YdbTable.internal_static_Ydb_Table_ExecuteDataQueryResponse_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecuteDataQueryResponse getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.ExecuteDataQueryResponse.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecuteDataQueryResponse build() { tech.ydb.proto.table.YdbTable.ExecuteDataQueryResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecuteDataQueryResponse buildPartial() { tech.ydb.proto.table.YdbTable.ExecuteDataQueryResponse result = new tech.ydb.proto.table.YdbTable.ExecuteDataQueryResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.ExecuteDataQueryResponse 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.table.YdbTable.ExecuteDataQueryResponse) { return mergeFrom((tech.ydb.proto.table.YdbTable.ExecuteDataQueryResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.ExecuteDataQueryResponse other) { if (other == tech.ydb.proto.table.YdbTable.ExecuteDataQueryResponse.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.Table.ExecuteDataQueryResponse) } // @@protoc_insertion_point(class_scope:Ydb.Table.ExecuteDataQueryResponse) private static final tech.ydb.proto.table.YdbTable.ExecuteDataQueryResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.ExecuteDataQueryResponse(); } public static tech.ydb.proto.table.YdbTable.ExecuteDataQueryResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExecuteDataQueryResponse 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.table.YdbTable.ExecuteDataQueryResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExecuteSchemeQueryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.ExecuteSchemeQueryRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ java.lang.String getSessionId(); /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ com.google.protobuf.ByteString getSessionIdBytes(); /** *
     * SQL text
     * 
* * string yql_text = 2; * @return The yqlText. */ java.lang.String getYqlText(); /** *
     * SQL text
     * 
* * string yql_text = 2; * @return The bytes for yqlText. */ com.google.protobuf.ByteString getYqlTextBytes(); /** * .Ydb.Operations.OperationParams operation_params = 3; * @return Whether the operationParams field is set. */ boolean hasOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 3; * @return The operationParams. */ tech.ydb.proto.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 3; */ tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder(); } /** * Protobuf type {@code Ydb.Table.ExecuteSchemeQueryRequest} */ public static final class ExecuteSchemeQueryRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.ExecuteSchemeQueryRequest) ExecuteSchemeQueryRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ExecuteSchemeQueryRequest.newBuilder() to construct. private ExecuteSchemeQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExecuteSchemeQueryRequest() { sessionId_ = ""; yqlText_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExecuteSchemeQueryRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteSchemeQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteSchemeQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest.class, tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest.Builder.class); } private int bitField0_; public static final int SESSION_ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object sessionId_ = ""; /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ @java.lang.Override public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; 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(); sessionId_ = s; return s; } } /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ @java.lang.Override public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int YQL_TEXT_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object yqlText_ = ""; /** *
     * SQL text
     * 
* * string yql_text = 2; * @return The yqlText. */ @java.lang.Override public java.lang.String getYqlText() { java.lang.Object ref = yqlText_; 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(); yqlText_ = s; return s; } } /** *
     * SQL text
     * 
* * string yql_text = 2; * @return The bytes for yqlText. */ @java.lang.Override public com.google.protobuf.ByteString getYqlTextBytes() { java.lang.Object ref = yqlText_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); yqlText_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OPERATION_PARAMS_FIELD_NUMBER = 3; private tech.ydb.proto.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 3; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 3; * @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 = 3; */ @java.lang.Override public tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } 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(sessionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(yqlText_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, yqlText_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getOperationParams()); } 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(sessionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(yqlText_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, yqlText_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getOperationParams()); } 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.table.YdbTable.ExecuteSchemeQueryRequest)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest other = (tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest) obj; if (!getSessionId() .equals(other.getSessionId())) return false; if (!getYqlText() .equals(other.getYqlText())) return false; if (hasOperationParams() != other.hasOperationParams()) return false; if (hasOperationParams()) { if (!getOperationParams() .equals(other.getOperationParams())) 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) + SESSION_ID_FIELD_NUMBER; hash = (53 * hash) + getSessionId().hashCode(); hash = (37 * hash) + YQL_TEXT_FIELD_NUMBER; hash = (53 * hash) + getYqlText().hashCode(); if (hasOperationParams()) { hash = (37 * hash) + OPERATION_PARAMS_FIELD_NUMBER; hash = (53 * hash) + getOperationParams().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest 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.table.YdbTable.ExecuteSchemeQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest 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.table.YdbTable.ExecuteSchemeQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest 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.table.YdbTable.ExecuteSchemeQueryRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest 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.table.YdbTable.ExecuteSchemeQueryRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest 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.table.YdbTable.ExecuteSchemeQueryRequest 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.Table.ExecuteSchemeQueryRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.ExecuteSchemeQueryRequest) tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteSchemeQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteSchemeQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest.class, tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest.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; sessionId_ = ""; yqlText_ = ""; operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteSchemeQueryRequest_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest build() { tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest buildPartial() { tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest result = new tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.sessionId_ = sessionId_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.yqlText_ = yqlText_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { result.operationParams_ = operationParamsBuilder_ == null ? operationParams_ : operationParamsBuilder_.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.table.YdbTable.ExecuteSchemeQueryRequest) { return mergeFrom((tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest other) { if (other == tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest.getDefaultInstance()) return this; if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getYqlText().isEmpty()) { yqlText_ = other.yqlText_; bitField0_ |= 0x00000002; onChanged(); } if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } 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: { sessionId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { yqlText_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage( getOperationParamsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 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 sessionId_ = ""; /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The sessionId. */ public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The bytes for sessionId. */ public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The sessionId to set. * @return This builder for chaining. */ public Builder setSessionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sessionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The bytes for sessionId to set. * @return This builder for chaining. */ public Builder setSessionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sessionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object yqlText_ = ""; /** *
       * SQL text
       * 
* * string yql_text = 2; * @return The yqlText. */ public java.lang.String getYqlText() { java.lang.Object ref = yqlText_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); yqlText_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * SQL text
       * 
* * string yql_text = 2; * @return The bytes for yqlText. */ public com.google.protobuf.ByteString getYqlTextBytes() { java.lang.Object ref = yqlText_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); yqlText_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * SQL text
       * 
* * string yql_text = 2; * @param value The yqlText to set. * @return This builder for chaining. */ public Builder setYqlText( java.lang.String value) { if (value == null) { throw new NullPointerException(); } yqlText_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * SQL text
       * 
* * string yql_text = 2; * @return This builder for chaining. */ public Builder clearYqlText() { yqlText_ = getDefaultInstance().getYqlText(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * SQL text
       * 
* * string yql_text = 2; * @param value The bytes for yqlText to set. * @return This builder for chaining. */ public Builder setYqlTextBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); yqlText_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } 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 = 3; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return ((bitField0_ & 0x00000004) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 3; * @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 = 3; */ 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_ |= 0x00000004; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder setOperationParams( tech.ydb.proto.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder mergeOperationParams(tech.ydb.proto.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && operationParams_ != null && operationParams_ != tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance()) { getOperationParamsBuilder().mergeFrom(value); } else { operationParams_ = value; } } else { operationParamsBuilder_.mergeFrom(value); } if (operationParams_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder clearOperationParams() { bitField0_ = (bitField0_ & ~0x00000004); operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public tech.ydb.proto.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { bitField0_ |= 0x00000004; onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 3; */ 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 = 3; */ 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_; } @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.Table.ExecuteSchemeQueryRequest) } // @@protoc_insertion_point(class_scope:Ydb.Table.ExecuteSchemeQueryRequest) private static final tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest(); } public static tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExecuteSchemeQueryRequest 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.table.YdbTable.ExecuteSchemeQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExecuteSchemeQueryResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.ExecuteSchemeQueryResponse) 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.Table.ExecuteSchemeQueryResponse} */ public static final class ExecuteSchemeQueryResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.ExecuteSchemeQueryResponse) ExecuteSchemeQueryResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ExecuteSchemeQueryResponse.newBuilder() to construct. private ExecuteSchemeQueryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExecuteSchemeQueryResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExecuteSchemeQueryResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteSchemeQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteSchemeQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryResponse.class, tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryResponse.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.table.YdbTable.ExecuteSchemeQueryResponse)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryResponse other = (tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryResponse) 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.table.YdbTable.ExecuteSchemeQueryResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryResponse 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.table.YdbTable.ExecuteSchemeQueryResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryResponse 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.table.YdbTable.ExecuteSchemeQueryResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryResponse 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.table.YdbTable.ExecuteSchemeQueryResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryResponse 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.table.YdbTable.ExecuteSchemeQueryResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryResponse 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.table.YdbTable.ExecuteSchemeQueryResponse 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.Table.ExecuteSchemeQueryResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.ExecuteSchemeQueryResponse) tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteSchemeQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteSchemeQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryResponse.class, tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryResponse.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryResponse.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.table.YdbTable.internal_static_Ydb_Table_ExecuteSchemeQueryResponse_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryResponse getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryResponse.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryResponse build() { tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryResponse buildPartial() { tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryResponse result = new tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryResponse 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.table.YdbTable.ExecuteSchemeQueryResponse) { return mergeFrom((tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryResponse other) { if (other == tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryResponse.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.Table.ExecuteSchemeQueryResponse) } // @@protoc_insertion_point(class_scope:Ydb.Table.ExecuteSchemeQueryResponse) private static final tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryResponse(); } public static tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExecuteSchemeQueryResponse 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.table.YdbTable.ExecuteSchemeQueryResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TransactionMetaOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.TransactionMeta) com.google.protobuf.MessageOrBuilder { /** *
     * Transaction identifier
     * 
* * string id = 1; * @return The id. */ java.lang.String getId(); /** *
     * Transaction identifier
     * 
* * string id = 1; * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); } /** *
   * Holds transaction id
   * 
* * Protobuf type {@code Ydb.Table.TransactionMeta} */ public static final class TransactionMeta extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.TransactionMeta) TransactionMetaOrBuilder { private static final long serialVersionUID = 0L; // Use TransactionMeta.newBuilder() to construct. private TransactionMeta(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TransactionMeta() { id_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TransactionMeta(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TransactionMeta_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TransactionMeta_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.TransactionMeta.class, tech.ydb.proto.table.YdbTable.TransactionMeta.Builder.class); } public static final int ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** *
     * Transaction identifier
     * 
* * string id = 1; * @return The id. */ @java.lang.Override public java.lang.String getId() { java.lang.Object ref = id_; 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(); id_ = s; return s; } } /** *
     * Transaction identifier
     * 
* * string id = 1; * @return The bytes for id. */ @java.lang.Override public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } 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(id_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } 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.table.YdbTable.TransactionMeta)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.TransactionMeta other = (tech.ydb.proto.table.YdbTable.TransactionMeta) obj; if (!getId() .equals(other.getId())) 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) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.TransactionMeta parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.TransactionMeta 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.table.YdbTable.TransactionMeta parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.TransactionMeta 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.table.YdbTable.TransactionMeta parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.TransactionMeta parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.TransactionMeta parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.TransactionMeta 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.table.YdbTable.TransactionMeta parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.TransactionMeta 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.table.YdbTable.TransactionMeta parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.TransactionMeta 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.table.YdbTable.TransactionMeta 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; } /** *
     * Holds transaction id
     * 
* * Protobuf type {@code Ydb.Table.TransactionMeta} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.TransactionMeta) tech.ydb.proto.table.YdbTable.TransactionMetaOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TransactionMeta_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TransactionMeta_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.TransactionMeta.class, tech.ydb.proto.table.YdbTable.TransactionMeta.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.TransactionMeta.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; id_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TransactionMeta_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.TransactionMeta getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.TransactionMeta.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.TransactionMeta build() { tech.ydb.proto.table.YdbTable.TransactionMeta result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.TransactionMeta buildPartial() { tech.ydb.proto.table.YdbTable.TransactionMeta result = new tech.ydb.proto.table.YdbTable.TransactionMeta(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.TransactionMeta result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.id_ = id_; } } @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.table.YdbTable.TransactionMeta) { return mergeFrom((tech.ydb.proto.table.YdbTable.TransactionMeta)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.TransactionMeta other) { if (other == tech.ydb.proto.table.YdbTable.TransactionMeta.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; bitField0_ |= 0x00000001; 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: { id_ = input.readStringRequireUtf8(); 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 java.lang.Object id_ = ""; /** *
       * Transaction identifier
       * 
* * string id = 1; * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Transaction identifier
       * 
* * string id = 1; * @return The bytes for id. */ public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Transaction identifier
       * 
* * string id = 1; * @param value The id to set. * @return This builder for chaining. */ public Builder setId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } id_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Transaction identifier
       * 
* * string id = 1; * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Transaction identifier
       * 
* * string id = 1; * @param value The bytes for id to set. * @return This builder for chaining. */ public Builder setIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000001; 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.Table.TransactionMeta) } // @@protoc_insertion_point(class_scope:Ydb.Table.TransactionMeta) private static final tech.ydb.proto.table.YdbTable.TransactionMeta DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.TransactionMeta(); } public static tech.ydb.proto.table.YdbTable.TransactionMeta getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TransactionMeta 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.table.YdbTable.TransactionMeta getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryMetaOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.QueryMeta) com.google.protobuf.MessageOrBuilder { /** *
     * Query identifier
     * 
* * string id = 1; * @return The id. */ java.lang.String getId(); /** *
     * Query identifier
     * 
* * string id = 1; * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); /** *
     * Type of parameters
     * 
* * map<string, .Ydb.Type> parameters_types = 2; */ int getParametersTypesCount(); /** *
     * Type of parameters
     * 
* * map<string, .Ydb.Type> parameters_types = 2; */ boolean containsParametersTypes( java.lang.String key); /** * Use {@link #getParametersTypesMap()} instead. */ @java.lang.Deprecated java.util.Map getParametersTypes(); /** *
     * Type of parameters
     * 
* * map<string, .Ydb.Type> parameters_types = 2; */ java.util.Map getParametersTypesMap(); /** *
     * Type of parameters
     * 
* * map<string, .Ydb.Type> parameters_types = 2; */ /* nullable */ tech.ydb.proto.ValueProtos.Type getParametersTypesOrDefault( java.lang.String key, /* nullable */ tech.ydb.proto.ValueProtos.Type defaultValue); /** *
     * Type of parameters
     * 
* * map<string, .Ydb.Type> parameters_types = 2; */ tech.ydb.proto.ValueProtos.Type getParametersTypesOrThrow( java.lang.String key); } /** *
   * Holds query id and type of parameters
   * 
* * Protobuf type {@code Ydb.Table.QueryMeta} */ public static final class QueryMeta extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.QueryMeta) QueryMetaOrBuilder { private static final long serialVersionUID = 0L; // Use QueryMeta.newBuilder() to construct. private QueryMeta(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryMeta() { id_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryMeta(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_QueryMeta_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetParametersTypes(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_QueryMeta_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.QueryMeta.class, tech.ydb.proto.table.YdbTable.QueryMeta.Builder.class); } public static final int ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** *
     * Query identifier
     * 
* * string id = 1; * @return The id. */ @java.lang.Override public java.lang.String getId() { java.lang.Object ref = id_; 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(); id_ = s; return s; } } /** *
     * Query identifier
     * 
* * string id = 1; * @return The bytes for id. */ @java.lang.Override public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PARAMETERS_TYPES_FIELD_NUMBER = 2; private static final class ParametersTypesDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, tech.ydb.proto.ValueProtos.Type> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_QueryMeta_ParametersTypesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, tech.ydb.proto.ValueProtos.Type.getDefaultInstance()); } @SuppressWarnings("serial") private com.google.protobuf.MapField< java.lang.String, tech.ydb.proto.ValueProtos.Type> parametersTypes_; private com.google.protobuf.MapField internalGetParametersTypes() { if (parametersTypes_ == null) { return com.google.protobuf.MapField.emptyMapField( ParametersTypesDefaultEntryHolder.defaultEntry); } return parametersTypes_; } public int getParametersTypesCount() { return internalGetParametersTypes().getMap().size(); } /** *
     * Type of parameters
     * 
* * map<string, .Ydb.Type> parameters_types = 2; */ @java.lang.Override public boolean containsParametersTypes( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetParametersTypes().getMap().containsKey(key); } /** * Use {@link #getParametersTypesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getParametersTypes() { return getParametersTypesMap(); } /** *
     * Type of parameters
     * 
* * map<string, .Ydb.Type> parameters_types = 2; */ @java.lang.Override public java.util.Map getParametersTypesMap() { return internalGetParametersTypes().getMap(); } /** *
     * Type of parameters
     * 
* * map<string, .Ydb.Type> parameters_types = 2; */ @java.lang.Override public /* nullable */ tech.ydb.proto.ValueProtos.Type getParametersTypesOrDefault( java.lang.String key, /* nullable */ tech.ydb.proto.ValueProtos.Type defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetParametersTypes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Type of parameters
     * 
* * map<string, .Ydb.Type> parameters_types = 2; */ @java.lang.Override public tech.ydb.proto.ValueProtos.Type getParametersTypesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetParametersTypes().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetParametersTypes(), ParametersTypesDefaultEntryHolder.defaultEntry, 2); 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(id_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } for (java.util.Map.Entry entry : internalGetParametersTypes().getMap().entrySet()) { com.google.protobuf.MapEntry parametersTypes__ = ParametersTypesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, parametersTypes__); } 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.table.YdbTable.QueryMeta)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.QueryMeta other = (tech.ydb.proto.table.YdbTable.QueryMeta) obj; if (!getId() .equals(other.getId())) return false; if (!internalGetParametersTypes().equals( other.internalGetParametersTypes())) 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) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); if (!internalGetParametersTypes().getMap().isEmpty()) { hash = (37 * hash) + PARAMETERS_TYPES_FIELD_NUMBER; hash = (53 * hash) + internalGetParametersTypes().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.QueryMeta parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.QueryMeta 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.table.YdbTable.QueryMeta parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.QueryMeta 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.table.YdbTable.QueryMeta parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.QueryMeta parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.QueryMeta parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.QueryMeta 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.table.YdbTable.QueryMeta parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.QueryMeta 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.table.YdbTable.QueryMeta parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.QueryMeta 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.table.YdbTable.QueryMeta 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; } /** *
     * Holds query id and type of parameters
     * 
* * Protobuf type {@code Ydb.Table.QueryMeta} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.QueryMeta) tech.ydb.proto.table.YdbTable.QueryMetaOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_QueryMeta_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetParametersTypes(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 2: return internalGetMutableParametersTypes(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_QueryMeta_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.QueryMeta.class, tech.ydb.proto.table.YdbTable.QueryMeta.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.QueryMeta.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; id_ = ""; internalGetMutableParametersTypes().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_QueryMeta_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.QueryMeta getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.QueryMeta.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.QueryMeta build() { tech.ydb.proto.table.YdbTable.QueryMeta result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.QueryMeta buildPartial() { tech.ydb.proto.table.YdbTable.QueryMeta result = new tech.ydb.proto.table.YdbTable.QueryMeta(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.QueryMeta result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.id_ = id_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.parametersTypes_ = internalGetParametersTypes(); result.parametersTypes_.makeImmutable(); } } @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.table.YdbTable.QueryMeta) { return mergeFrom((tech.ydb.proto.table.YdbTable.QueryMeta)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.QueryMeta other) { if (other == tech.ydb.proto.table.YdbTable.QueryMeta.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; bitField0_ |= 0x00000001; onChanged(); } internalGetMutableParametersTypes().mergeFrom( other.internalGetParametersTypes()); bitField0_ |= 0x00000002; 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: { id_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { com.google.protobuf.MapEntry parametersTypes__ = input.readMessage( ParametersTypesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableParametersTypes().getMutableMap().put( parametersTypes__.getKey(), parametersTypes__.getValue()); 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 java.lang.Object id_ = ""; /** *
       * Query identifier
       * 
* * string id = 1; * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Query identifier
       * 
* * string id = 1; * @return The bytes for id. */ public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Query identifier
       * 
* * string id = 1; * @param value The id to set. * @return This builder for chaining. */ public Builder setId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } id_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Query identifier
       * 
* * string id = 1; * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Query identifier
       * 
* * string id = 1; * @param value The bytes for id to set. * @return This builder for chaining. */ public Builder setIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, tech.ydb.proto.ValueProtos.Type> parametersTypes_; private com.google.protobuf.MapField internalGetParametersTypes() { if (parametersTypes_ == null) { return com.google.protobuf.MapField.emptyMapField( ParametersTypesDefaultEntryHolder.defaultEntry); } return parametersTypes_; } private com.google.protobuf.MapField internalGetMutableParametersTypes() { if (parametersTypes_ == null) { parametersTypes_ = com.google.protobuf.MapField.newMapField( ParametersTypesDefaultEntryHolder.defaultEntry); } if (!parametersTypes_.isMutable()) { parametersTypes_ = parametersTypes_.copy(); } bitField0_ |= 0x00000002; onChanged(); return parametersTypes_; } public int getParametersTypesCount() { return internalGetParametersTypes().getMap().size(); } /** *
       * Type of parameters
       * 
* * map<string, .Ydb.Type> parameters_types = 2; */ @java.lang.Override public boolean containsParametersTypes( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetParametersTypes().getMap().containsKey(key); } /** * Use {@link #getParametersTypesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getParametersTypes() { return getParametersTypesMap(); } /** *
       * Type of parameters
       * 
* * map<string, .Ydb.Type> parameters_types = 2; */ @java.lang.Override public java.util.Map getParametersTypesMap() { return internalGetParametersTypes().getMap(); } /** *
       * Type of parameters
       * 
* * map<string, .Ydb.Type> parameters_types = 2; */ @java.lang.Override public /* nullable */ tech.ydb.proto.ValueProtos.Type getParametersTypesOrDefault( java.lang.String key, /* nullable */ tech.ydb.proto.ValueProtos.Type defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetParametersTypes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Type of parameters
       * 
* * map<string, .Ydb.Type> parameters_types = 2; */ @java.lang.Override public tech.ydb.proto.ValueProtos.Type getParametersTypesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetParametersTypes().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearParametersTypes() { bitField0_ = (bitField0_ & ~0x00000002); internalGetMutableParametersTypes().getMutableMap() .clear(); return this; } /** *
       * Type of parameters
       * 
* * map<string, .Ydb.Type> parameters_types = 2; */ public Builder removeParametersTypes( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableParametersTypes().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableParametersTypes() { bitField0_ |= 0x00000002; return internalGetMutableParametersTypes().getMutableMap(); } /** *
       * Type of parameters
       * 
* * map<string, .Ydb.Type> parameters_types = 2; */ public Builder putParametersTypes( java.lang.String key, tech.ydb.proto.ValueProtos.Type value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableParametersTypes().getMutableMap() .put(key, value); bitField0_ |= 0x00000002; return this; } /** *
       * Type of parameters
       * 
* * map<string, .Ydb.Type> parameters_types = 2; */ public Builder putAllParametersTypes( java.util.Map values) { internalGetMutableParametersTypes().getMutableMap() .putAll(values); bitField0_ |= 0x00000002; 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.Table.QueryMeta) } // @@protoc_insertion_point(class_scope:Ydb.Table.QueryMeta) private static final tech.ydb.proto.table.YdbTable.QueryMeta DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.QueryMeta(); } public static tech.ydb.proto.table.YdbTable.QueryMeta getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryMeta 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.table.YdbTable.QueryMeta getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExecuteQueryResultOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.ExecuteQueryResult) com.google.protobuf.MessageOrBuilder { /** *
     * Result rets (for each table)
     * 
* * repeated .Ydb.ResultSet result_sets = 1; */ java.util.List getResultSetsList(); /** *
     * Result rets (for each table)
     * 
* * repeated .Ydb.ResultSet result_sets = 1; */ tech.ydb.proto.ValueProtos.ResultSet getResultSets(int index); /** *
     * Result rets (for each table)
     * 
* * repeated .Ydb.ResultSet result_sets = 1; */ int getResultSetsCount(); /** *
     * Result rets (for each table)
     * 
* * repeated .Ydb.ResultSet result_sets = 1; */ java.util.List getResultSetsOrBuilderList(); /** *
     * Result rets (for each table)
     * 
* * repeated .Ydb.ResultSet result_sets = 1; */ tech.ydb.proto.ValueProtos.ResultSetOrBuilder getResultSetsOrBuilder( int index); /** *
     * Transaction metadata
     * 
* * .Ydb.Table.TransactionMeta tx_meta = 2; * @return Whether the txMeta field is set. */ boolean hasTxMeta(); /** *
     * Transaction metadata
     * 
* * .Ydb.Table.TransactionMeta tx_meta = 2; * @return The txMeta. */ tech.ydb.proto.table.YdbTable.TransactionMeta getTxMeta(); /** *
     * Transaction metadata
     * 
* * .Ydb.Table.TransactionMeta tx_meta = 2; */ tech.ydb.proto.table.YdbTable.TransactionMetaOrBuilder getTxMetaOrBuilder(); /** *
     * Query metadata
     * 
* * .Ydb.Table.QueryMeta query_meta = 3; * @return Whether the queryMeta field is set. */ boolean hasQueryMeta(); /** *
     * Query metadata
     * 
* * .Ydb.Table.QueryMeta query_meta = 3; * @return The queryMeta. */ tech.ydb.proto.table.YdbTable.QueryMeta getQueryMeta(); /** *
     * Query metadata
     * 
* * .Ydb.Table.QueryMeta query_meta = 3; */ tech.ydb.proto.table.YdbTable.QueryMetaOrBuilder getQueryMetaOrBuilder(); /** *
     * Query execution statistics
     * 
* * .Ydb.TableStats.QueryStats query_stats = 4; * @return Whether the queryStats field is set. */ boolean hasQueryStats(); /** *
     * Query execution statistics
     * 
* * .Ydb.TableStats.QueryStats query_stats = 4; * @return The queryStats. */ tech.ydb.proto.YdbQueryStats.QueryStats getQueryStats(); /** *
     * Query execution statistics
     * 
* * .Ydb.TableStats.QueryStats query_stats = 4; */ tech.ydb.proto.YdbQueryStats.QueryStatsOrBuilder getQueryStatsOrBuilder(); } /** *
   * One QueryResult can contain multiple tables
   * 
* * Protobuf type {@code Ydb.Table.ExecuteQueryResult} */ public static final class ExecuteQueryResult extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.ExecuteQueryResult) ExecuteQueryResultOrBuilder { private static final long serialVersionUID = 0L; // Use ExecuteQueryResult.newBuilder() to construct. private ExecuteQueryResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExecuteQueryResult() { resultSets_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExecuteQueryResult(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteQueryResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteQueryResult_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ExecuteQueryResult.class, tech.ydb.proto.table.YdbTable.ExecuteQueryResult.Builder.class); } private int bitField0_; public static final int RESULT_SETS_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List resultSets_; /** *
     * Result rets (for each table)
     * 
* * repeated .Ydb.ResultSet result_sets = 1; */ @java.lang.Override public java.util.List getResultSetsList() { return resultSets_; } /** *
     * Result rets (for each table)
     * 
* * repeated .Ydb.ResultSet result_sets = 1; */ @java.lang.Override public java.util.List getResultSetsOrBuilderList() { return resultSets_; } /** *
     * Result rets (for each table)
     * 
* * repeated .Ydb.ResultSet result_sets = 1; */ @java.lang.Override public int getResultSetsCount() { return resultSets_.size(); } /** *
     * Result rets (for each table)
     * 
* * repeated .Ydb.ResultSet result_sets = 1; */ @java.lang.Override public tech.ydb.proto.ValueProtos.ResultSet getResultSets(int index) { return resultSets_.get(index); } /** *
     * Result rets (for each table)
     * 
* * repeated .Ydb.ResultSet result_sets = 1; */ @java.lang.Override public tech.ydb.proto.ValueProtos.ResultSetOrBuilder getResultSetsOrBuilder( int index) { return resultSets_.get(index); } public static final int TX_META_FIELD_NUMBER = 2; private tech.ydb.proto.table.YdbTable.TransactionMeta txMeta_; /** *
     * Transaction metadata
     * 
* * .Ydb.Table.TransactionMeta tx_meta = 2; * @return Whether the txMeta field is set. */ @java.lang.Override public boolean hasTxMeta() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Transaction metadata
     * 
* * .Ydb.Table.TransactionMeta tx_meta = 2; * @return The txMeta. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TransactionMeta getTxMeta() { return txMeta_ == null ? tech.ydb.proto.table.YdbTable.TransactionMeta.getDefaultInstance() : txMeta_; } /** *
     * Transaction metadata
     * 
* * .Ydb.Table.TransactionMeta tx_meta = 2; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TransactionMetaOrBuilder getTxMetaOrBuilder() { return txMeta_ == null ? tech.ydb.proto.table.YdbTable.TransactionMeta.getDefaultInstance() : txMeta_; } public static final int QUERY_META_FIELD_NUMBER = 3; private tech.ydb.proto.table.YdbTable.QueryMeta queryMeta_; /** *
     * Query metadata
     * 
* * .Ydb.Table.QueryMeta query_meta = 3; * @return Whether the queryMeta field is set. */ @java.lang.Override public boolean hasQueryMeta() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Query metadata
     * 
* * .Ydb.Table.QueryMeta query_meta = 3; * @return The queryMeta. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.QueryMeta getQueryMeta() { return queryMeta_ == null ? tech.ydb.proto.table.YdbTable.QueryMeta.getDefaultInstance() : queryMeta_; } /** *
     * Query metadata
     * 
* * .Ydb.Table.QueryMeta query_meta = 3; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.QueryMetaOrBuilder getQueryMetaOrBuilder() { return queryMeta_ == null ? tech.ydb.proto.table.YdbTable.QueryMeta.getDefaultInstance() : queryMeta_; } public static final int QUERY_STATS_FIELD_NUMBER = 4; private tech.ydb.proto.YdbQueryStats.QueryStats queryStats_; /** *
     * Query execution statistics
     * 
* * .Ydb.TableStats.QueryStats query_stats = 4; * @return Whether the queryStats field is set. */ @java.lang.Override public boolean hasQueryStats() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Query execution statistics
     * 
* * .Ydb.TableStats.QueryStats query_stats = 4; * @return The queryStats. */ @java.lang.Override public tech.ydb.proto.YdbQueryStats.QueryStats getQueryStats() { return queryStats_ == null ? tech.ydb.proto.YdbQueryStats.QueryStats.getDefaultInstance() : queryStats_; } /** *
     * Query execution statistics
     * 
* * .Ydb.TableStats.QueryStats query_stats = 4; */ @java.lang.Override public tech.ydb.proto.YdbQueryStats.QueryStatsOrBuilder getQueryStatsOrBuilder() { return queryStats_ == null ? tech.ydb.proto.YdbQueryStats.QueryStats.getDefaultInstance() : queryStats_; } 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 { for (int i = 0; i < resultSets_.size(); i++) { output.writeMessage(1, resultSets_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getTxMeta()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getQueryMeta()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(4, getQueryStats()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < resultSets_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, resultSets_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getTxMeta()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getQueryMeta()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getQueryStats()); } 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.table.YdbTable.ExecuteQueryResult)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.ExecuteQueryResult other = (tech.ydb.proto.table.YdbTable.ExecuteQueryResult) obj; if (!getResultSetsList() .equals(other.getResultSetsList())) return false; if (hasTxMeta() != other.hasTxMeta()) return false; if (hasTxMeta()) { if (!getTxMeta() .equals(other.getTxMeta())) return false; } if (hasQueryMeta() != other.hasQueryMeta()) return false; if (hasQueryMeta()) { if (!getQueryMeta() .equals(other.getQueryMeta())) return false; } if (hasQueryStats() != other.hasQueryStats()) return false; if (hasQueryStats()) { if (!getQueryStats() .equals(other.getQueryStats())) 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 (getResultSetsCount() > 0) { hash = (37 * hash) + RESULT_SETS_FIELD_NUMBER; hash = (53 * hash) + getResultSetsList().hashCode(); } if (hasTxMeta()) { hash = (37 * hash) + TX_META_FIELD_NUMBER; hash = (53 * hash) + getTxMeta().hashCode(); } if (hasQueryMeta()) { hash = (37 * hash) + QUERY_META_FIELD_NUMBER; hash = (53 * hash) + getQueryMeta().hashCode(); } if (hasQueryStats()) { hash = (37 * hash) + QUERY_STATS_FIELD_NUMBER; hash = (53 * hash) + getQueryStats().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.ExecuteQueryResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExecuteQueryResult 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.table.YdbTable.ExecuteQueryResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExecuteQueryResult 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.table.YdbTable.ExecuteQueryResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExecuteQueryResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.ExecuteQueryResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExecuteQueryResult 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.table.YdbTable.ExecuteQueryResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExecuteQueryResult 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.table.YdbTable.ExecuteQueryResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExecuteQueryResult 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.table.YdbTable.ExecuteQueryResult 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; } /** *
     * One QueryResult can contain multiple tables
     * 
* * Protobuf type {@code Ydb.Table.ExecuteQueryResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.ExecuteQueryResult) tech.ydb.proto.table.YdbTable.ExecuteQueryResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteQueryResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteQueryResult_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ExecuteQueryResult.class, tech.ydb.proto.table.YdbTable.ExecuteQueryResult.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.ExecuteQueryResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getResultSetsFieldBuilder(); getTxMetaFieldBuilder(); getQueryMetaFieldBuilder(); getQueryStatsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (resultSetsBuilder_ == null) { resultSets_ = java.util.Collections.emptyList(); } else { resultSets_ = null; resultSetsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); txMeta_ = null; if (txMetaBuilder_ != null) { txMetaBuilder_.dispose(); txMetaBuilder_ = null; } queryMeta_ = null; if (queryMetaBuilder_ != null) { queryMetaBuilder_.dispose(); queryMetaBuilder_ = null; } queryStats_ = null; if (queryStatsBuilder_ != null) { queryStatsBuilder_.dispose(); queryStatsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteQueryResult_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecuteQueryResult getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.ExecuteQueryResult.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecuteQueryResult build() { tech.ydb.proto.table.YdbTable.ExecuteQueryResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecuteQueryResult buildPartial() { tech.ydb.proto.table.YdbTable.ExecuteQueryResult result = new tech.ydb.proto.table.YdbTable.ExecuteQueryResult(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(tech.ydb.proto.table.YdbTable.ExecuteQueryResult result) { if (resultSetsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { resultSets_ = java.util.Collections.unmodifiableList(resultSets_); bitField0_ = (bitField0_ & ~0x00000001); } result.resultSets_ = resultSets_; } else { result.resultSets_ = resultSetsBuilder_.build(); } } private void buildPartial0(tech.ydb.proto.table.YdbTable.ExecuteQueryResult result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.txMeta_ = txMetaBuilder_ == null ? txMeta_ : txMetaBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.queryMeta_ = queryMetaBuilder_ == null ? queryMeta_ : queryMetaBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { result.queryStats_ = queryStatsBuilder_ == null ? queryStats_ : queryStatsBuilder_.build(); to_bitField0_ |= 0x00000004; } 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.table.YdbTable.ExecuteQueryResult) { return mergeFrom((tech.ydb.proto.table.YdbTable.ExecuteQueryResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.ExecuteQueryResult other) { if (other == tech.ydb.proto.table.YdbTable.ExecuteQueryResult.getDefaultInstance()) return this; if (resultSetsBuilder_ == null) { if (!other.resultSets_.isEmpty()) { if (resultSets_.isEmpty()) { resultSets_ = other.resultSets_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureResultSetsIsMutable(); resultSets_.addAll(other.resultSets_); } onChanged(); } } else { if (!other.resultSets_.isEmpty()) { if (resultSetsBuilder_.isEmpty()) { resultSetsBuilder_.dispose(); resultSetsBuilder_ = null; resultSets_ = other.resultSets_; bitField0_ = (bitField0_ & ~0x00000001); resultSetsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getResultSetsFieldBuilder() : null; } else { resultSetsBuilder_.addAllMessages(other.resultSets_); } } } if (other.hasTxMeta()) { mergeTxMeta(other.getTxMeta()); } if (other.hasQueryMeta()) { mergeQueryMeta(other.getQueryMeta()); } if (other.hasQueryStats()) { mergeQueryStats(other.getQueryStats()); } 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: { tech.ydb.proto.ValueProtos.ResultSet m = input.readMessage( tech.ydb.proto.ValueProtos.ResultSet.parser(), extensionRegistry); if (resultSetsBuilder_ == null) { ensureResultSetsIsMutable(); resultSets_.add(m); } else { resultSetsBuilder_.addMessage(m); } break; } // case 10 case 18: { input.readMessage( getTxMetaFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage( getQueryMetaFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 34: { input.readMessage( getQueryStatsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; 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 bitField0_; private java.util.List resultSets_ = java.util.Collections.emptyList(); private void ensureResultSetsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { resultSets_ = new java.util.ArrayList(resultSets_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.ValueProtos.ResultSet, tech.ydb.proto.ValueProtos.ResultSet.Builder, tech.ydb.proto.ValueProtos.ResultSetOrBuilder> resultSetsBuilder_; /** *
       * Result rets (for each table)
       * 
* * repeated .Ydb.ResultSet result_sets = 1; */ public java.util.List getResultSetsList() { if (resultSetsBuilder_ == null) { return java.util.Collections.unmodifiableList(resultSets_); } else { return resultSetsBuilder_.getMessageList(); } } /** *
       * Result rets (for each table)
       * 
* * repeated .Ydb.ResultSet result_sets = 1; */ public int getResultSetsCount() { if (resultSetsBuilder_ == null) { return resultSets_.size(); } else { return resultSetsBuilder_.getCount(); } } /** *
       * Result rets (for each table)
       * 
* * repeated .Ydb.ResultSet result_sets = 1; */ public tech.ydb.proto.ValueProtos.ResultSet getResultSets(int index) { if (resultSetsBuilder_ == null) { return resultSets_.get(index); } else { return resultSetsBuilder_.getMessage(index); } } /** *
       * Result rets (for each table)
       * 
* * repeated .Ydb.ResultSet result_sets = 1; */ public Builder setResultSets( int index, tech.ydb.proto.ValueProtos.ResultSet value) { if (resultSetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureResultSetsIsMutable(); resultSets_.set(index, value); onChanged(); } else { resultSetsBuilder_.setMessage(index, value); } return this; } /** *
       * Result rets (for each table)
       * 
* * repeated .Ydb.ResultSet result_sets = 1; */ public Builder setResultSets( int index, tech.ydb.proto.ValueProtos.ResultSet.Builder builderForValue) { if (resultSetsBuilder_ == null) { ensureResultSetsIsMutable(); resultSets_.set(index, builderForValue.build()); onChanged(); } else { resultSetsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Result rets (for each table)
       * 
* * repeated .Ydb.ResultSet result_sets = 1; */ public Builder addResultSets(tech.ydb.proto.ValueProtos.ResultSet value) { if (resultSetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureResultSetsIsMutable(); resultSets_.add(value); onChanged(); } else { resultSetsBuilder_.addMessage(value); } return this; } /** *
       * Result rets (for each table)
       * 
* * repeated .Ydb.ResultSet result_sets = 1; */ public Builder addResultSets( int index, tech.ydb.proto.ValueProtos.ResultSet value) { if (resultSetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureResultSetsIsMutable(); resultSets_.add(index, value); onChanged(); } else { resultSetsBuilder_.addMessage(index, value); } return this; } /** *
       * Result rets (for each table)
       * 
* * repeated .Ydb.ResultSet result_sets = 1; */ public Builder addResultSets( tech.ydb.proto.ValueProtos.ResultSet.Builder builderForValue) { if (resultSetsBuilder_ == null) { ensureResultSetsIsMutable(); resultSets_.add(builderForValue.build()); onChanged(); } else { resultSetsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Result rets (for each table)
       * 
* * repeated .Ydb.ResultSet result_sets = 1; */ public Builder addResultSets( int index, tech.ydb.proto.ValueProtos.ResultSet.Builder builderForValue) { if (resultSetsBuilder_ == null) { ensureResultSetsIsMutable(); resultSets_.add(index, builderForValue.build()); onChanged(); } else { resultSetsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Result rets (for each table)
       * 
* * repeated .Ydb.ResultSet result_sets = 1; */ public Builder addAllResultSets( java.lang.Iterable values) { if (resultSetsBuilder_ == null) { ensureResultSetsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, resultSets_); onChanged(); } else { resultSetsBuilder_.addAllMessages(values); } return this; } /** *
       * Result rets (for each table)
       * 
* * repeated .Ydb.ResultSet result_sets = 1; */ public Builder clearResultSets() { if (resultSetsBuilder_ == null) { resultSets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { resultSetsBuilder_.clear(); } return this; } /** *
       * Result rets (for each table)
       * 
* * repeated .Ydb.ResultSet result_sets = 1; */ public Builder removeResultSets(int index) { if (resultSetsBuilder_ == null) { ensureResultSetsIsMutable(); resultSets_.remove(index); onChanged(); } else { resultSetsBuilder_.remove(index); } return this; } /** *
       * Result rets (for each table)
       * 
* * repeated .Ydb.ResultSet result_sets = 1; */ public tech.ydb.proto.ValueProtos.ResultSet.Builder getResultSetsBuilder( int index) { return getResultSetsFieldBuilder().getBuilder(index); } /** *
       * Result rets (for each table)
       * 
* * repeated .Ydb.ResultSet result_sets = 1; */ public tech.ydb.proto.ValueProtos.ResultSetOrBuilder getResultSetsOrBuilder( int index) { if (resultSetsBuilder_ == null) { return resultSets_.get(index); } else { return resultSetsBuilder_.getMessageOrBuilder(index); } } /** *
       * Result rets (for each table)
       * 
* * repeated .Ydb.ResultSet result_sets = 1; */ public java.util.List getResultSetsOrBuilderList() { if (resultSetsBuilder_ != null) { return resultSetsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(resultSets_); } } /** *
       * Result rets (for each table)
       * 
* * repeated .Ydb.ResultSet result_sets = 1; */ public tech.ydb.proto.ValueProtos.ResultSet.Builder addResultSetsBuilder() { return getResultSetsFieldBuilder().addBuilder( tech.ydb.proto.ValueProtos.ResultSet.getDefaultInstance()); } /** *
       * Result rets (for each table)
       * 
* * repeated .Ydb.ResultSet result_sets = 1; */ public tech.ydb.proto.ValueProtos.ResultSet.Builder addResultSetsBuilder( int index) { return getResultSetsFieldBuilder().addBuilder( index, tech.ydb.proto.ValueProtos.ResultSet.getDefaultInstance()); } /** *
       * Result rets (for each table)
       * 
* * repeated .Ydb.ResultSet result_sets = 1; */ public java.util.List getResultSetsBuilderList() { return getResultSetsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.ValueProtos.ResultSet, tech.ydb.proto.ValueProtos.ResultSet.Builder, tech.ydb.proto.ValueProtos.ResultSetOrBuilder> getResultSetsFieldBuilder() { if (resultSetsBuilder_ == null) { resultSetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.ValueProtos.ResultSet, tech.ydb.proto.ValueProtos.ResultSet.Builder, tech.ydb.proto.ValueProtos.ResultSetOrBuilder>( resultSets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); resultSets_ = null; } return resultSetsBuilder_; } private tech.ydb.proto.table.YdbTable.TransactionMeta txMeta_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.TransactionMeta, tech.ydb.proto.table.YdbTable.TransactionMeta.Builder, tech.ydb.proto.table.YdbTable.TransactionMetaOrBuilder> txMetaBuilder_; /** *
       * Transaction metadata
       * 
* * .Ydb.Table.TransactionMeta tx_meta = 2; * @return Whether the txMeta field is set. */ public boolean hasTxMeta() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Transaction metadata
       * 
* * .Ydb.Table.TransactionMeta tx_meta = 2; * @return The txMeta. */ public tech.ydb.proto.table.YdbTable.TransactionMeta getTxMeta() { if (txMetaBuilder_ == null) { return txMeta_ == null ? tech.ydb.proto.table.YdbTable.TransactionMeta.getDefaultInstance() : txMeta_; } else { return txMetaBuilder_.getMessage(); } } /** *
       * Transaction metadata
       * 
* * .Ydb.Table.TransactionMeta tx_meta = 2; */ public Builder setTxMeta(tech.ydb.proto.table.YdbTable.TransactionMeta value) { if (txMetaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } txMeta_ = value; } else { txMetaBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Transaction metadata
       * 
* * .Ydb.Table.TransactionMeta tx_meta = 2; */ public Builder setTxMeta( tech.ydb.proto.table.YdbTable.TransactionMeta.Builder builderForValue) { if (txMetaBuilder_ == null) { txMeta_ = builderForValue.build(); } else { txMetaBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Transaction metadata
       * 
* * .Ydb.Table.TransactionMeta tx_meta = 2; */ public Builder mergeTxMeta(tech.ydb.proto.table.YdbTable.TransactionMeta value) { if (txMetaBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && txMeta_ != null && txMeta_ != tech.ydb.proto.table.YdbTable.TransactionMeta.getDefaultInstance()) { getTxMetaBuilder().mergeFrom(value); } else { txMeta_ = value; } } else { txMetaBuilder_.mergeFrom(value); } if (txMeta_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** *
       * Transaction metadata
       * 
* * .Ydb.Table.TransactionMeta tx_meta = 2; */ public Builder clearTxMeta() { bitField0_ = (bitField0_ & ~0x00000002); txMeta_ = null; if (txMetaBuilder_ != null) { txMetaBuilder_.dispose(); txMetaBuilder_ = null; } onChanged(); return this; } /** *
       * Transaction metadata
       * 
* * .Ydb.Table.TransactionMeta tx_meta = 2; */ public tech.ydb.proto.table.YdbTable.TransactionMeta.Builder getTxMetaBuilder() { bitField0_ |= 0x00000002; onChanged(); return getTxMetaFieldBuilder().getBuilder(); } /** *
       * Transaction metadata
       * 
* * .Ydb.Table.TransactionMeta tx_meta = 2; */ public tech.ydb.proto.table.YdbTable.TransactionMetaOrBuilder getTxMetaOrBuilder() { if (txMetaBuilder_ != null) { return txMetaBuilder_.getMessageOrBuilder(); } else { return txMeta_ == null ? tech.ydb.proto.table.YdbTable.TransactionMeta.getDefaultInstance() : txMeta_; } } /** *
       * Transaction metadata
       * 
* * .Ydb.Table.TransactionMeta tx_meta = 2; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.TransactionMeta, tech.ydb.proto.table.YdbTable.TransactionMeta.Builder, tech.ydb.proto.table.YdbTable.TransactionMetaOrBuilder> getTxMetaFieldBuilder() { if (txMetaBuilder_ == null) { txMetaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.TransactionMeta, tech.ydb.proto.table.YdbTable.TransactionMeta.Builder, tech.ydb.proto.table.YdbTable.TransactionMetaOrBuilder>( getTxMeta(), getParentForChildren(), isClean()); txMeta_ = null; } return txMetaBuilder_; } private tech.ydb.proto.table.YdbTable.QueryMeta queryMeta_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.QueryMeta, tech.ydb.proto.table.YdbTable.QueryMeta.Builder, tech.ydb.proto.table.YdbTable.QueryMetaOrBuilder> queryMetaBuilder_; /** *
       * Query metadata
       * 
* * .Ydb.Table.QueryMeta query_meta = 3; * @return Whether the queryMeta field is set. */ public boolean hasQueryMeta() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Query metadata
       * 
* * .Ydb.Table.QueryMeta query_meta = 3; * @return The queryMeta. */ public tech.ydb.proto.table.YdbTable.QueryMeta getQueryMeta() { if (queryMetaBuilder_ == null) { return queryMeta_ == null ? tech.ydb.proto.table.YdbTable.QueryMeta.getDefaultInstance() : queryMeta_; } else { return queryMetaBuilder_.getMessage(); } } /** *
       * Query metadata
       * 
* * .Ydb.Table.QueryMeta query_meta = 3; */ public Builder setQueryMeta(tech.ydb.proto.table.YdbTable.QueryMeta value) { if (queryMetaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } queryMeta_ = value; } else { queryMetaBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * Query metadata
       * 
* * .Ydb.Table.QueryMeta query_meta = 3; */ public Builder setQueryMeta( tech.ydb.proto.table.YdbTable.QueryMeta.Builder builderForValue) { if (queryMetaBuilder_ == null) { queryMeta_ = builderForValue.build(); } else { queryMetaBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * Query metadata
       * 
* * .Ydb.Table.QueryMeta query_meta = 3; */ public Builder mergeQueryMeta(tech.ydb.proto.table.YdbTable.QueryMeta value) { if (queryMetaBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && queryMeta_ != null && queryMeta_ != tech.ydb.proto.table.YdbTable.QueryMeta.getDefaultInstance()) { getQueryMetaBuilder().mergeFrom(value); } else { queryMeta_ = value; } } else { queryMetaBuilder_.mergeFrom(value); } if (queryMeta_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** *
       * Query metadata
       * 
* * .Ydb.Table.QueryMeta query_meta = 3; */ public Builder clearQueryMeta() { bitField0_ = (bitField0_ & ~0x00000004); queryMeta_ = null; if (queryMetaBuilder_ != null) { queryMetaBuilder_.dispose(); queryMetaBuilder_ = null; } onChanged(); return this; } /** *
       * Query metadata
       * 
* * .Ydb.Table.QueryMeta query_meta = 3; */ public tech.ydb.proto.table.YdbTable.QueryMeta.Builder getQueryMetaBuilder() { bitField0_ |= 0x00000004; onChanged(); return getQueryMetaFieldBuilder().getBuilder(); } /** *
       * Query metadata
       * 
* * .Ydb.Table.QueryMeta query_meta = 3; */ public tech.ydb.proto.table.YdbTable.QueryMetaOrBuilder getQueryMetaOrBuilder() { if (queryMetaBuilder_ != null) { return queryMetaBuilder_.getMessageOrBuilder(); } else { return queryMeta_ == null ? tech.ydb.proto.table.YdbTable.QueryMeta.getDefaultInstance() : queryMeta_; } } /** *
       * Query metadata
       * 
* * .Ydb.Table.QueryMeta query_meta = 3; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.QueryMeta, tech.ydb.proto.table.YdbTable.QueryMeta.Builder, tech.ydb.proto.table.YdbTable.QueryMetaOrBuilder> getQueryMetaFieldBuilder() { if (queryMetaBuilder_ == null) { queryMetaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.QueryMeta, tech.ydb.proto.table.YdbTable.QueryMeta.Builder, tech.ydb.proto.table.YdbTable.QueryMetaOrBuilder>( getQueryMeta(), getParentForChildren(), isClean()); queryMeta_ = null; } return queryMetaBuilder_; } private tech.ydb.proto.YdbQueryStats.QueryStats queryStats_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.YdbQueryStats.QueryStats, tech.ydb.proto.YdbQueryStats.QueryStats.Builder, tech.ydb.proto.YdbQueryStats.QueryStatsOrBuilder> queryStatsBuilder_; /** *
       * Query execution statistics
       * 
* * .Ydb.TableStats.QueryStats query_stats = 4; * @return Whether the queryStats field is set. */ public boolean hasQueryStats() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Query execution statistics
       * 
* * .Ydb.TableStats.QueryStats query_stats = 4; * @return The queryStats. */ public tech.ydb.proto.YdbQueryStats.QueryStats getQueryStats() { if (queryStatsBuilder_ == null) { return queryStats_ == null ? tech.ydb.proto.YdbQueryStats.QueryStats.getDefaultInstance() : queryStats_; } else { return queryStatsBuilder_.getMessage(); } } /** *
       * Query execution statistics
       * 
* * .Ydb.TableStats.QueryStats query_stats = 4; */ public Builder setQueryStats(tech.ydb.proto.YdbQueryStats.QueryStats value) { if (queryStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } queryStats_ = value; } else { queryStatsBuilder_.setMessage(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * Query execution statistics
       * 
* * .Ydb.TableStats.QueryStats query_stats = 4; */ public Builder setQueryStats( tech.ydb.proto.YdbQueryStats.QueryStats.Builder builderForValue) { if (queryStatsBuilder_ == null) { queryStats_ = builderForValue.build(); } else { queryStatsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * Query execution statistics
       * 
* * .Ydb.TableStats.QueryStats query_stats = 4; */ public Builder mergeQueryStats(tech.ydb.proto.YdbQueryStats.QueryStats value) { if (queryStatsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && queryStats_ != null && queryStats_ != tech.ydb.proto.YdbQueryStats.QueryStats.getDefaultInstance()) { getQueryStatsBuilder().mergeFrom(value); } else { queryStats_ = value; } } else { queryStatsBuilder_.mergeFrom(value); } if (queryStats_ != null) { bitField0_ |= 0x00000008; onChanged(); } return this; } /** *
       * Query execution statistics
       * 
* * .Ydb.TableStats.QueryStats query_stats = 4; */ public Builder clearQueryStats() { bitField0_ = (bitField0_ & ~0x00000008); queryStats_ = null; if (queryStatsBuilder_ != null) { queryStatsBuilder_.dispose(); queryStatsBuilder_ = null; } onChanged(); return this; } /** *
       * Query execution statistics
       * 
* * .Ydb.TableStats.QueryStats query_stats = 4; */ public tech.ydb.proto.YdbQueryStats.QueryStats.Builder getQueryStatsBuilder() { bitField0_ |= 0x00000008; onChanged(); return getQueryStatsFieldBuilder().getBuilder(); } /** *
       * Query execution statistics
       * 
* * .Ydb.TableStats.QueryStats query_stats = 4; */ public tech.ydb.proto.YdbQueryStats.QueryStatsOrBuilder getQueryStatsOrBuilder() { if (queryStatsBuilder_ != null) { return queryStatsBuilder_.getMessageOrBuilder(); } else { return queryStats_ == null ? tech.ydb.proto.YdbQueryStats.QueryStats.getDefaultInstance() : queryStats_; } } /** *
       * Query execution statistics
       * 
* * .Ydb.TableStats.QueryStats query_stats = 4; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.YdbQueryStats.QueryStats, tech.ydb.proto.YdbQueryStats.QueryStats.Builder, tech.ydb.proto.YdbQueryStats.QueryStatsOrBuilder> getQueryStatsFieldBuilder() { if (queryStatsBuilder_ == null) { queryStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.YdbQueryStats.QueryStats, tech.ydb.proto.YdbQueryStats.QueryStats.Builder, tech.ydb.proto.YdbQueryStats.QueryStatsOrBuilder>( getQueryStats(), getParentForChildren(), isClean()); queryStats_ = null; } return queryStatsBuilder_; } @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.Table.ExecuteQueryResult) } // @@protoc_insertion_point(class_scope:Ydb.Table.ExecuteQueryResult) private static final tech.ydb.proto.table.YdbTable.ExecuteQueryResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.ExecuteQueryResult(); } public static tech.ydb.proto.table.YdbTable.ExecuteQueryResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExecuteQueryResult 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.table.YdbTable.ExecuteQueryResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExplainDataQueryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.ExplainDataQueryRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ java.lang.String getSessionId(); /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ com.google.protobuf.ByteString getSessionIdBytes(); /** *
     * SQL text to explain
     * 
* * string yql_text = 2; * @return The yqlText. */ java.lang.String getYqlText(); /** *
     * SQL text to explain
     * 
* * string yql_text = 2; * @return The bytes for yqlText. */ com.google.protobuf.ByteString getYqlTextBytes(); /** * .Ydb.Operations.OperationParams operation_params = 3; * @return Whether the operationParams field is set. */ boolean hasOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 3; * @return The operationParams. */ tech.ydb.proto.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 3; */ tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder(); /** * bool collect_full_diagnostics = 4; * @return The collectFullDiagnostics. */ boolean getCollectFullDiagnostics(); } /** *
   * Explain data query
   * 
* * Protobuf type {@code Ydb.Table.ExplainDataQueryRequest} */ public static final class ExplainDataQueryRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.ExplainDataQueryRequest) ExplainDataQueryRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ExplainDataQueryRequest.newBuilder() to construct. private ExplainDataQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExplainDataQueryRequest() { sessionId_ = ""; yqlText_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExplainDataQueryRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExplainDataQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExplainDataQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest.class, tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest.Builder.class); } private int bitField0_; public static final int SESSION_ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object sessionId_ = ""; /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ @java.lang.Override public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; 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(); sessionId_ = s; return s; } } /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ @java.lang.Override public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int YQL_TEXT_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object yqlText_ = ""; /** *
     * SQL text to explain
     * 
* * string yql_text = 2; * @return The yqlText. */ @java.lang.Override public java.lang.String getYqlText() { java.lang.Object ref = yqlText_; 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(); yqlText_ = s; return s; } } /** *
     * SQL text to explain
     * 
* * string yql_text = 2; * @return The bytes for yqlText. */ @java.lang.Override public com.google.protobuf.ByteString getYqlTextBytes() { java.lang.Object ref = yqlText_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); yqlText_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OPERATION_PARAMS_FIELD_NUMBER = 3; private tech.ydb.proto.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 3; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 3; * @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 = 3; */ @java.lang.Override public tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } public static final int COLLECT_FULL_DIAGNOSTICS_FIELD_NUMBER = 4; private boolean collectFullDiagnostics_ = false; /** * bool collect_full_diagnostics = 4; * @return The collectFullDiagnostics. */ @java.lang.Override public boolean getCollectFullDiagnostics() { return collectFullDiagnostics_; } 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(sessionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(yqlText_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, yqlText_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getOperationParams()); } if (collectFullDiagnostics_ != false) { output.writeBool(4, collectFullDiagnostics_); } 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(sessionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(yqlText_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, yqlText_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getOperationParams()); } if (collectFullDiagnostics_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, collectFullDiagnostics_); } 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.table.YdbTable.ExplainDataQueryRequest)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest other = (tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest) obj; if (!getSessionId() .equals(other.getSessionId())) return false; if (!getYqlText() .equals(other.getYqlText())) return false; if (hasOperationParams() != other.hasOperationParams()) return false; if (hasOperationParams()) { if (!getOperationParams() .equals(other.getOperationParams())) return false; } if (getCollectFullDiagnostics() != other.getCollectFullDiagnostics()) 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) + SESSION_ID_FIELD_NUMBER; hash = (53 * hash) + getSessionId().hashCode(); hash = (37 * hash) + YQL_TEXT_FIELD_NUMBER; hash = (53 * hash) + getYqlText().hashCode(); if (hasOperationParams()) { hash = (37 * hash) + OPERATION_PARAMS_FIELD_NUMBER; hash = (53 * hash) + getOperationParams().hashCode(); } hash = (37 * hash) + COLLECT_FULL_DIAGNOSTICS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getCollectFullDiagnostics()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest 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.table.YdbTable.ExplainDataQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest 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.table.YdbTable.ExplainDataQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest 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.table.YdbTable.ExplainDataQueryRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest 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.table.YdbTable.ExplainDataQueryRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest 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.table.YdbTable.ExplainDataQueryRequest 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; } /** *
     * Explain data query
     * 
* * Protobuf type {@code Ydb.Table.ExplainDataQueryRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.ExplainDataQueryRequest) tech.ydb.proto.table.YdbTable.ExplainDataQueryRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExplainDataQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExplainDataQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest.class, tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest.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; sessionId_ = ""; yqlText_ = ""; operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } collectFullDiagnostics_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExplainDataQueryRequest_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest build() { tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest buildPartial() { tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest result = new tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.sessionId_ = sessionId_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.yqlText_ = yqlText_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { result.operationParams_ = operationParamsBuilder_ == null ? operationParams_ : operationParamsBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { result.collectFullDiagnostics_ = collectFullDiagnostics_; } 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.table.YdbTable.ExplainDataQueryRequest) { return mergeFrom((tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest other) { if (other == tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest.getDefaultInstance()) return this; if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getYqlText().isEmpty()) { yqlText_ = other.yqlText_; bitField0_ |= 0x00000002; onChanged(); } if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } if (other.getCollectFullDiagnostics() != false) { setCollectFullDiagnostics(other.getCollectFullDiagnostics()); } 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: { sessionId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { yqlText_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage( getOperationParamsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 32: { collectFullDiagnostics_ = input.readBool(); bitField0_ |= 0x00000008; break; } // case 32 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 sessionId_ = ""; /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The sessionId. */ public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The bytes for sessionId. */ public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The sessionId to set. * @return This builder for chaining. */ public Builder setSessionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sessionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The bytes for sessionId to set. * @return This builder for chaining. */ public Builder setSessionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sessionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object yqlText_ = ""; /** *
       * SQL text to explain
       * 
* * string yql_text = 2; * @return The yqlText. */ public java.lang.String getYqlText() { java.lang.Object ref = yqlText_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); yqlText_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * SQL text to explain
       * 
* * string yql_text = 2; * @return The bytes for yqlText. */ public com.google.protobuf.ByteString getYqlTextBytes() { java.lang.Object ref = yqlText_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); yqlText_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * SQL text to explain
       * 
* * string yql_text = 2; * @param value The yqlText to set. * @return This builder for chaining. */ public Builder setYqlText( java.lang.String value) { if (value == null) { throw new NullPointerException(); } yqlText_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * SQL text to explain
       * 
* * string yql_text = 2; * @return This builder for chaining. */ public Builder clearYqlText() { yqlText_ = getDefaultInstance().getYqlText(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * SQL text to explain
       * 
* * string yql_text = 2; * @param value The bytes for yqlText to set. * @return This builder for chaining. */ public Builder setYqlTextBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); yqlText_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } 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 = 3; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return ((bitField0_ & 0x00000004) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 3; * @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 = 3; */ 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_ |= 0x00000004; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder setOperationParams( tech.ydb.proto.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder mergeOperationParams(tech.ydb.proto.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && operationParams_ != null && operationParams_ != tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance()) { getOperationParamsBuilder().mergeFrom(value); } else { operationParams_ = value; } } else { operationParamsBuilder_.mergeFrom(value); } if (operationParams_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder clearOperationParams() { bitField0_ = (bitField0_ & ~0x00000004); operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public tech.ydb.proto.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { bitField0_ |= 0x00000004; onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 3; */ 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 = 3; */ 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 boolean collectFullDiagnostics_ ; /** * bool collect_full_diagnostics = 4; * @return The collectFullDiagnostics. */ @java.lang.Override public boolean getCollectFullDiagnostics() { return collectFullDiagnostics_; } /** * bool collect_full_diagnostics = 4; * @param value The collectFullDiagnostics to set. * @return This builder for chaining. */ public Builder setCollectFullDiagnostics(boolean value) { collectFullDiagnostics_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * bool collect_full_diagnostics = 4; * @return This builder for chaining. */ public Builder clearCollectFullDiagnostics() { bitField0_ = (bitField0_ & ~0x00000008); collectFullDiagnostics_ = false; 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.Table.ExplainDataQueryRequest) } // @@protoc_insertion_point(class_scope:Ydb.Table.ExplainDataQueryRequest) private static final tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest(); } public static tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExplainDataQueryRequest 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.table.YdbTable.ExplainDataQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExplainDataQueryResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.ExplainDataQueryResponse) com.google.protobuf.MessageOrBuilder { /** *
     * Holds ExplainQueryResult in case of successful call
     * 
* * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ boolean hasOperation(); /** *
     * Holds ExplainQueryResult in case of successful call
     * 
* * .Ydb.Operations.Operation operation = 1; * @return The operation. */ tech.ydb.proto.OperationProtos.Operation getOperation(); /** *
     * Holds ExplainQueryResult in case of successful call
     * 
* * .Ydb.Operations.Operation operation = 1; */ tech.ydb.proto.OperationProtos.OperationOrBuilder getOperationOrBuilder(); } /** * Protobuf type {@code Ydb.Table.ExplainDataQueryResponse} */ public static final class ExplainDataQueryResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.ExplainDataQueryResponse) ExplainDataQueryResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ExplainDataQueryResponse.newBuilder() to construct. private ExplainDataQueryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExplainDataQueryResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExplainDataQueryResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExplainDataQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExplainDataQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ExplainDataQueryResponse.class, tech.ydb.proto.table.YdbTable.ExplainDataQueryResponse.Builder.class); } private int bitField0_; public static final int OPERATION_FIELD_NUMBER = 1; private tech.ydb.proto.OperationProtos.Operation operation_; /** *
     * Holds ExplainQueryResult 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 ExplainQueryResult 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 ExplainQueryResult 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.table.YdbTable.ExplainDataQueryResponse)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.ExplainDataQueryResponse other = (tech.ydb.proto.table.YdbTable.ExplainDataQueryResponse) 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.table.YdbTable.ExplainDataQueryResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExplainDataQueryResponse 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.table.YdbTable.ExplainDataQueryResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExplainDataQueryResponse 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.table.YdbTable.ExplainDataQueryResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExplainDataQueryResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.ExplainDataQueryResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExplainDataQueryResponse 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.table.YdbTable.ExplainDataQueryResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExplainDataQueryResponse 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.table.YdbTable.ExplainDataQueryResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExplainDataQueryResponse 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.table.YdbTable.ExplainDataQueryResponse 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.Table.ExplainDataQueryResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.ExplainDataQueryResponse) tech.ydb.proto.table.YdbTable.ExplainDataQueryResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExplainDataQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExplainDataQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ExplainDataQueryResponse.class, tech.ydb.proto.table.YdbTable.ExplainDataQueryResponse.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.ExplainDataQueryResponse.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.table.YdbTable.internal_static_Ydb_Table_ExplainDataQueryResponse_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExplainDataQueryResponse getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.ExplainDataQueryResponse.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExplainDataQueryResponse build() { tech.ydb.proto.table.YdbTable.ExplainDataQueryResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExplainDataQueryResponse buildPartial() { tech.ydb.proto.table.YdbTable.ExplainDataQueryResponse result = new tech.ydb.proto.table.YdbTable.ExplainDataQueryResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.ExplainDataQueryResponse 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.table.YdbTable.ExplainDataQueryResponse) { return mergeFrom((tech.ydb.proto.table.YdbTable.ExplainDataQueryResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.ExplainDataQueryResponse other) { if (other == tech.ydb.proto.table.YdbTable.ExplainDataQueryResponse.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 ExplainQueryResult 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 ExplainQueryResult 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 ExplainQueryResult 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 ExplainQueryResult 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 ExplainQueryResult 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 ExplainQueryResult 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 ExplainQueryResult 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 ExplainQueryResult 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 ExplainQueryResult 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.Table.ExplainDataQueryResponse) } // @@protoc_insertion_point(class_scope:Ydb.Table.ExplainDataQueryResponse) private static final tech.ydb.proto.table.YdbTable.ExplainDataQueryResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.ExplainDataQueryResponse(); } public static tech.ydb.proto.table.YdbTable.ExplainDataQueryResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExplainDataQueryResponse 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.table.YdbTable.ExplainDataQueryResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExplainQueryResultOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.ExplainQueryResult) com.google.protobuf.MessageOrBuilder { /** * string query_ast = 1; * @return The queryAst. */ java.lang.String getQueryAst(); /** * string query_ast = 1; * @return The bytes for queryAst. */ com.google.protobuf.ByteString getQueryAstBytes(); /** * string query_plan = 2; * @return The queryPlan. */ java.lang.String getQueryPlan(); /** * string query_plan = 2; * @return The bytes for queryPlan. */ com.google.protobuf.ByteString getQueryPlanBytes(); /** * string query_full_diagnostics = 3; * @return The queryFullDiagnostics. */ java.lang.String getQueryFullDiagnostics(); /** * string query_full_diagnostics = 3; * @return The bytes for queryFullDiagnostics. */ com.google.protobuf.ByteString getQueryFullDiagnosticsBytes(); } /** * Protobuf type {@code Ydb.Table.ExplainQueryResult} */ public static final class ExplainQueryResult extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.ExplainQueryResult) ExplainQueryResultOrBuilder { private static final long serialVersionUID = 0L; // Use ExplainQueryResult.newBuilder() to construct. private ExplainQueryResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExplainQueryResult() { queryAst_ = ""; queryPlan_ = ""; queryFullDiagnostics_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExplainQueryResult(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExplainQueryResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExplainQueryResult_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ExplainQueryResult.class, tech.ydb.proto.table.YdbTable.ExplainQueryResult.Builder.class); } public static final int QUERY_AST_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object queryAst_ = ""; /** * string query_ast = 1; * @return The queryAst. */ @java.lang.Override public java.lang.String getQueryAst() { java.lang.Object ref = queryAst_; 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(); queryAst_ = s; return s; } } /** * string query_ast = 1; * @return The bytes for queryAst. */ @java.lang.Override public com.google.protobuf.ByteString getQueryAstBytes() { java.lang.Object ref = queryAst_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); queryAst_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int QUERY_PLAN_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object queryPlan_ = ""; /** * string query_plan = 2; * @return The queryPlan. */ @java.lang.Override public java.lang.String getQueryPlan() { java.lang.Object ref = queryPlan_; 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(); queryPlan_ = s; return s; } } /** * string query_plan = 2; * @return The bytes for queryPlan. */ @java.lang.Override public com.google.protobuf.ByteString getQueryPlanBytes() { java.lang.Object ref = queryPlan_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); queryPlan_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int QUERY_FULL_DIAGNOSTICS_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object queryFullDiagnostics_ = ""; /** * string query_full_diagnostics = 3; * @return The queryFullDiagnostics. */ @java.lang.Override public java.lang.String getQueryFullDiagnostics() { java.lang.Object ref = queryFullDiagnostics_; 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(); queryFullDiagnostics_ = s; return s; } } /** * string query_full_diagnostics = 3; * @return The bytes for queryFullDiagnostics. */ @java.lang.Override public com.google.protobuf.ByteString getQueryFullDiagnosticsBytes() { java.lang.Object ref = queryFullDiagnostics_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); queryFullDiagnostics_ = 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryAst_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, queryAst_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryPlan_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, queryPlan_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryFullDiagnostics_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, queryFullDiagnostics_); } 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(queryAst_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, queryAst_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryPlan_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, queryPlan_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryFullDiagnostics_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, queryFullDiagnostics_); } 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.table.YdbTable.ExplainQueryResult)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.ExplainQueryResult other = (tech.ydb.proto.table.YdbTable.ExplainQueryResult) obj; if (!getQueryAst() .equals(other.getQueryAst())) return false; if (!getQueryPlan() .equals(other.getQueryPlan())) return false; if (!getQueryFullDiagnostics() .equals(other.getQueryFullDiagnostics())) 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) + QUERY_AST_FIELD_NUMBER; hash = (53 * hash) + getQueryAst().hashCode(); hash = (37 * hash) + QUERY_PLAN_FIELD_NUMBER; hash = (53 * hash) + getQueryPlan().hashCode(); hash = (37 * hash) + QUERY_FULL_DIAGNOSTICS_FIELD_NUMBER; hash = (53 * hash) + getQueryFullDiagnostics().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.ExplainQueryResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExplainQueryResult 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.table.YdbTable.ExplainQueryResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExplainQueryResult 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.table.YdbTable.ExplainQueryResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExplainQueryResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.ExplainQueryResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExplainQueryResult 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.table.YdbTable.ExplainQueryResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExplainQueryResult 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.table.YdbTable.ExplainQueryResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExplainQueryResult 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.table.YdbTable.ExplainQueryResult 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.Table.ExplainQueryResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.ExplainQueryResult) tech.ydb.proto.table.YdbTable.ExplainQueryResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExplainQueryResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExplainQueryResult_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ExplainQueryResult.class, tech.ydb.proto.table.YdbTable.ExplainQueryResult.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.ExplainQueryResult.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; queryAst_ = ""; queryPlan_ = ""; queryFullDiagnostics_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExplainQueryResult_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExplainQueryResult getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.ExplainQueryResult.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExplainQueryResult build() { tech.ydb.proto.table.YdbTable.ExplainQueryResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExplainQueryResult buildPartial() { tech.ydb.proto.table.YdbTable.ExplainQueryResult result = new tech.ydb.proto.table.YdbTable.ExplainQueryResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.ExplainQueryResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.queryAst_ = queryAst_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.queryPlan_ = queryPlan_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.queryFullDiagnostics_ = queryFullDiagnostics_; } } @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.table.YdbTable.ExplainQueryResult) { return mergeFrom((tech.ydb.proto.table.YdbTable.ExplainQueryResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.ExplainQueryResult other) { if (other == tech.ydb.proto.table.YdbTable.ExplainQueryResult.getDefaultInstance()) return this; if (!other.getQueryAst().isEmpty()) { queryAst_ = other.queryAst_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getQueryPlan().isEmpty()) { queryPlan_ = other.queryPlan_; bitField0_ |= 0x00000002; onChanged(); } if (!other.getQueryFullDiagnostics().isEmpty()) { queryFullDiagnostics_ = other.queryFullDiagnostics_; bitField0_ |= 0x00000004; 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: { queryAst_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { queryPlan_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { queryFullDiagnostics_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 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 queryAst_ = ""; /** * string query_ast = 1; * @return The queryAst. */ public java.lang.String getQueryAst() { java.lang.Object ref = queryAst_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryAst_ = s; return s; } else { return (java.lang.String) ref; } } /** * string query_ast = 1; * @return The bytes for queryAst. */ public com.google.protobuf.ByteString getQueryAstBytes() { java.lang.Object ref = queryAst_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); queryAst_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string query_ast = 1; * @param value The queryAst to set. * @return This builder for chaining. */ public Builder setQueryAst( java.lang.String value) { if (value == null) { throw new NullPointerException(); } queryAst_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * string query_ast = 1; * @return This builder for chaining. */ public Builder clearQueryAst() { queryAst_ = getDefaultInstance().getQueryAst(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * string query_ast = 1; * @param value The bytes for queryAst to set. * @return This builder for chaining. */ public Builder setQueryAstBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); queryAst_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object queryPlan_ = ""; /** * string query_plan = 2; * @return The queryPlan. */ public java.lang.String getQueryPlan() { java.lang.Object ref = queryPlan_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryPlan_ = s; return s; } else { return (java.lang.String) ref; } } /** * string query_plan = 2; * @return The bytes for queryPlan. */ public com.google.protobuf.ByteString getQueryPlanBytes() { java.lang.Object ref = queryPlan_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); queryPlan_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string query_plan = 2; * @param value The queryPlan to set. * @return This builder for chaining. */ public Builder setQueryPlan( java.lang.String value) { if (value == null) { throw new NullPointerException(); } queryPlan_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * string query_plan = 2; * @return This builder for chaining. */ public Builder clearQueryPlan() { queryPlan_ = getDefaultInstance().getQueryPlan(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * string query_plan = 2; * @param value The bytes for queryPlan to set. * @return This builder for chaining. */ public Builder setQueryPlanBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); queryPlan_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.lang.Object queryFullDiagnostics_ = ""; /** * string query_full_diagnostics = 3; * @return The queryFullDiagnostics. */ public java.lang.String getQueryFullDiagnostics() { java.lang.Object ref = queryFullDiagnostics_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryFullDiagnostics_ = s; return s; } else { return (java.lang.String) ref; } } /** * string query_full_diagnostics = 3; * @return The bytes for queryFullDiagnostics. */ public com.google.protobuf.ByteString getQueryFullDiagnosticsBytes() { java.lang.Object ref = queryFullDiagnostics_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); queryFullDiagnostics_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string query_full_diagnostics = 3; * @param value The queryFullDiagnostics to set. * @return This builder for chaining. */ public Builder setQueryFullDiagnostics( java.lang.String value) { if (value == null) { throw new NullPointerException(); } queryFullDiagnostics_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * string query_full_diagnostics = 3; * @return This builder for chaining. */ public Builder clearQueryFullDiagnostics() { queryFullDiagnostics_ = getDefaultInstance().getQueryFullDiagnostics(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** * string query_full_diagnostics = 3; * @param value The bytes for queryFullDiagnostics to set. * @return This builder for chaining. */ public Builder setQueryFullDiagnosticsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); queryFullDiagnostics_ = value; bitField0_ |= 0x00000004; 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.Table.ExplainQueryResult) } // @@protoc_insertion_point(class_scope:Ydb.Table.ExplainQueryResult) private static final tech.ydb.proto.table.YdbTable.ExplainQueryResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.ExplainQueryResult(); } public static tech.ydb.proto.table.YdbTable.ExplainQueryResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExplainQueryResult 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.table.YdbTable.ExplainQueryResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PrepareDataQueryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.PrepareDataQueryRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ java.lang.String getSessionId(); /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ com.google.protobuf.ByteString getSessionIdBytes(); /** *
     * SQL text
     * 
* * string yql_text = 2; * @return The yqlText. */ java.lang.String getYqlText(); /** *
     * SQL text
     * 
* * string yql_text = 2; * @return The bytes for yqlText. */ com.google.protobuf.ByteString getYqlTextBytes(); /** * .Ydb.Operations.OperationParams operation_params = 3; * @return Whether the operationParams field is set. */ boolean hasOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 3; * @return The operationParams. */ tech.ydb.proto.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 3; */ tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder(); } /** *
   * Prepare given program to execute
   * 
* * Protobuf type {@code Ydb.Table.PrepareDataQueryRequest} */ public static final class PrepareDataQueryRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.PrepareDataQueryRequest) PrepareDataQueryRequestOrBuilder { private static final long serialVersionUID = 0L; // Use PrepareDataQueryRequest.newBuilder() to construct. private PrepareDataQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PrepareDataQueryRequest() { sessionId_ = ""; yqlText_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PrepareDataQueryRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PrepareDataQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PrepareDataQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest.class, tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest.Builder.class); } private int bitField0_; public static final int SESSION_ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object sessionId_ = ""; /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ @java.lang.Override public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; 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(); sessionId_ = s; return s; } } /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ @java.lang.Override public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int YQL_TEXT_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object yqlText_ = ""; /** *
     * SQL text
     * 
* * string yql_text = 2; * @return The yqlText. */ @java.lang.Override public java.lang.String getYqlText() { java.lang.Object ref = yqlText_; 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(); yqlText_ = s; return s; } } /** *
     * SQL text
     * 
* * string yql_text = 2; * @return The bytes for yqlText. */ @java.lang.Override public com.google.protobuf.ByteString getYqlTextBytes() { java.lang.Object ref = yqlText_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); yqlText_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OPERATION_PARAMS_FIELD_NUMBER = 3; private tech.ydb.proto.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 3; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 3; * @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 = 3; */ @java.lang.Override public tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } 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(sessionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(yqlText_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, yqlText_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getOperationParams()); } 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(sessionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(yqlText_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, yqlText_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getOperationParams()); } 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.table.YdbTable.PrepareDataQueryRequest)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest other = (tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest) obj; if (!getSessionId() .equals(other.getSessionId())) return false; if (!getYqlText() .equals(other.getYqlText())) return false; if (hasOperationParams() != other.hasOperationParams()) return false; if (hasOperationParams()) { if (!getOperationParams() .equals(other.getOperationParams())) 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) + SESSION_ID_FIELD_NUMBER; hash = (53 * hash) + getSessionId().hashCode(); hash = (37 * hash) + YQL_TEXT_FIELD_NUMBER; hash = (53 * hash) + getYqlText().hashCode(); if (hasOperationParams()) { hash = (37 * hash) + OPERATION_PARAMS_FIELD_NUMBER; hash = (53 * hash) + getOperationParams().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest 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.table.YdbTable.PrepareDataQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest 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.table.YdbTable.PrepareDataQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest 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.table.YdbTable.PrepareDataQueryRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest 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.table.YdbTable.PrepareDataQueryRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest 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.table.YdbTable.PrepareDataQueryRequest 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; } /** *
     * Prepare given program to execute
     * 
* * Protobuf type {@code Ydb.Table.PrepareDataQueryRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.PrepareDataQueryRequest) tech.ydb.proto.table.YdbTable.PrepareDataQueryRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PrepareDataQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PrepareDataQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest.class, tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest.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; sessionId_ = ""; yqlText_ = ""; operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PrepareDataQueryRequest_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest build() { tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest buildPartial() { tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest result = new tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.sessionId_ = sessionId_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.yqlText_ = yqlText_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { result.operationParams_ = operationParamsBuilder_ == null ? operationParams_ : operationParamsBuilder_.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.table.YdbTable.PrepareDataQueryRequest) { return mergeFrom((tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest other) { if (other == tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest.getDefaultInstance()) return this; if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getYqlText().isEmpty()) { yqlText_ = other.yqlText_; bitField0_ |= 0x00000002; onChanged(); } if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } 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: { sessionId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { yqlText_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage( getOperationParamsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 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 sessionId_ = ""; /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The sessionId. */ public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The bytes for sessionId. */ public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The sessionId to set. * @return This builder for chaining. */ public Builder setSessionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sessionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The bytes for sessionId to set. * @return This builder for chaining. */ public Builder setSessionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sessionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object yqlText_ = ""; /** *
       * SQL text
       * 
* * string yql_text = 2; * @return The yqlText. */ public java.lang.String getYqlText() { java.lang.Object ref = yqlText_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); yqlText_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * SQL text
       * 
* * string yql_text = 2; * @return The bytes for yqlText. */ public com.google.protobuf.ByteString getYqlTextBytes() { java.lang.Object ref = yqlText_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); yqlText_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * SQL text
       * 
* * string yql_text = 2; * @param value The yqlText to set. * @return This builder for chaining. */ public Builder setYqlText( java.lang.String value) { if (value == null) { throw new NullPointerException(); } yqlText_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * SQL text
       * 
* * string yql_text = 2; * @return This builder for chaining. */ public Builder clearYqlText() { yqlText_ = getDefaultInstance().getYqlText(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * SQL text
       * 
* * string yql_text = 2; * @param value The bytes for yqlText to set. * @return This builder for chaining. */ public Builder setYqlTextBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); yqlText_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } 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 = 3; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return ((bitField0_ & 0x00000004) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 3; * @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 = 3; */ 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_ |= 0x00000004; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder setOperationParams( tech.ydb.proto.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder mergeOperationParams(tech.ydb.proto.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && operationParams_ != null && operationParams_ != tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance()) { getOperationParamsBuilder().mergeFrom(value); } else { operationParams_ = value; } } else { operationParamsBuilder_.mergeFrom(value); } if (operationParams_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder clearOperationParams() { bitField0_ = (bitField0_ & ~0x00000004); operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public tech.ydb.proto.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { bitField0_ |= 0x00000004; onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 3; */ 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 = 3; */ 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_; } @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.Table.PrepareDataQueryRequest) } // @@protoc_insertion_point(class_scope:Ydb.Table.PrepareDataQueryRequest) private static final tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest(); } public static tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PrepareDataQueryRequest 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.table.YdbTable.PrepareDataQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PrepareDataQueryResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.PrepareDataQueryResponse) com.google.protobuf.MessageOrBuilder { /** *
     * Holds PrepareQueryResult in case of successful call
     * 
* * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ boolean hasOperation(); /** *
     * Holds PrepareQueryResult in case of successful call
     * 
* * .Ydb.Operations.Operation operation = 1; * @return The operation. */ tech.ydb.proto.OperationProtos.Operation getOperation(); /** *
     * Holds PrepareQueryResult in case of successful call
     * 
* * .Ydb.Operations.Operation operation = 1; */ tech.ydb.proto.OperationProtos.OperationOrBuilder getOperationOrBuilder(); } /** * Protobuf type {@code Ydb.Table.PrepareDataQueryResponse} */ public static final class PrepareDataQueryResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.PrepareDataQueryResponse) PrepareDataQueryResponseOrBuilder { private static final long serialVersionUID = 0L; // Use PrepareDataQueryResponse.newBuilder() to construct. private PrepareDataQueryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PrepareDataQueryResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PrepareDataQueryResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PrepareDataQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PrepareDataQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.PrepareDataQueryResponse.class, tech.ydb.proto.table.YdbTable.PrepareDataQueryResponse.Builder.class); } private int bitField0_; public static final int OPERATION_FIELD_NUMBER = 1; private tech.ydb.proto.OperationProtos.Operation operation_; /** *
     * Holds PrepareQueryResult 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 PrepareQueryResult 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 PrepareQueryResult 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.table.YdbTable.PrepareDataQueryResponse)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.PrepareDataQueryResponse other = (tech.ydb.proto.table.YdbTable.PrepareDataQueryResponse) 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.table.YdbTable.PrepareDataQueryResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.PrepareDataQueryResponse 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.table.YdbTable.PrepareDataQueryResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.PrepareDataQueryResponse 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.table.YdbTable.PrepareDataQueryResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.PrepareDataQueryResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.PrepareDataQueryResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.PrepareDataQueryResponse 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.table.YdbTable.PrepareDataQueryResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.PrepareDataQueryResponse 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.table.YdbTable.PrepareDataQueryResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.PrepareDataQueryResponse 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.table.YdbTable.PrepareDataQueryResponse 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.Table.PrepareDataQueryResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.PrepareDataQueryResponse) tech.ydb.proto.table.YdbTable.PrepareDataQueryResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PrepareDataQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PrepareDataQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.PrepareDataQueryResponse.class, tech.ydb.proto.table.YdbTable.PrepareDataQueryResponse.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.PrepareDataQueryResponse.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.table.YdbTable.internal_static_Ydb_Table_PrepareDataQueryResponse_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.PrepareDataQueryResponse getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.PrepareDataQueryResponse.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.PrepareDataQueryResponse build() { tech.ydb.proto.table.YdbTable.PrepareDataQueryResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.PrepareDataQueryResponse buildPartial() { tech.ydb.proto.table.YdbTable.PrepareDataQueryResponse result = new tech.ydb.proto.table.YdbTable.PrepareDataQueryResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.PrepareDataQueryResponse 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.table.YdbTable.PrepareDataQueryResponse) { return mergeFrom((tech.ydb.proto.table.YdbTable.PrepareDataQueryResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.PrepareDataQueryResponse other) { if (other == tech.ydb.proto.table.YdbTable.PrepareDataQueryResponse.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 PrepareQueryResult 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 PrepareQueryResult 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 PrepareQueryResult 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 PrepareQueryResult 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 PrepareQueryResult 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 PrepareQueryResult 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 PrepareQueryResult 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 PrepareQueryResult 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 PrepareQueryResult 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.Table.PrepareDataQueryResponse) } // @@protoc_insertion_point(class_scope:Ydb.Table.PrepareDataQueryResponse) private static final tech.ydb.proto.table.YdbTable.PrepareDataQueryResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.PrepareDataQueryResponse(); } public static tech.ydb.proto.table.YdbTable.PrepareDataQueryResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PrepareDataQueryResponse 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.table.YdbTable.PrepareDataQueryResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PrepareQueryResultOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.PrepareQueryResult) com.google.protobuf.MessageOrBuilder { /** *
     * Query id, used to perform ExecuteDataQuery
     * 
* * string query_id = 1; * @return The queryId. */ java.lang.String getQueryId(); /** *
     * Query id, used to perform ExecuteDataQuery
     * 
* * string query_id = 1; * @return The bytes for queryId. */ com.google.protobuf.ByteString getQueryIdBytes(); /** *
     * Parameters type, used to fill in parameter values
     * 
* * map<string, .Ydb.Type> parameters_types = 2; */ int getParametersTypesCount(); /** *
     * Parameters type, used to fill in parameter values
     * 
* * map<string, .Ydb.Type> parameters_types = 2; */ boolean containsParametersTypes( java.lang.String key); /** * Use {@link #getParametersTypesMap()} instead. */ @java.lang.Deprecated java.util.Map getParametersTypes(); /** *
     * Parameters type, used to fill in parameter values
     * 
* * map<string, .Ydb.Type> parameters_types = 2; */ java.util.Map getParametersTypesMap(); /** *
     * Parameters type, used to fill in parameter values
     * 
* * map<string, .Ydb.Type> parameters_types = 2; */ /* nullable */ tech.ydb.proto.ValueProtos.Type getParametersTypesOrDefault( java.lang.String key, /* nullable */ tech.ydb.proto.ValueProtos.Type defaultValue); /** *
     * Parameters type, used to fill in parameter values
     * 
* * map<string, .Ydb.Type> parameters_types = 2; */ tech.ydb.proto.ValueProtos.Type getParametersTypesOrThrow( java.lang.String key); } /** * Protobuf type {@code Ydb.Table.PrepareQueryResult} */ public static final class PrepareQueryResult extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.PrepareQueryResult) PrepareQueryResultOrBuilder { private static final long serialVersionUID = 0L; // Use PrepareQueryResult.newBuilder() to construct. private PrepareQueryResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PrepareQueryResult() { queryId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PrepareQueryResult(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PrepareQueryResult_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetParametersTypes(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PrepareQueryResult_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.PrepareQueryResult.class, tech.ydb.proto.table.YdbTable.PrepareQueryResult.Builder.class); } public static final int QUERY_ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object queryId_ = ""; /** *
     * Query id, used to perform ExecuteDataQuery
     * 
* * string query_id = 1; * @return The queryId. */ @java.lang.Override public java.lang.String getQueryId() { java.lang.Object ref = queryId_; 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(); queryId_ = s; return s; } } /** *
     * Query id, used to perform ExecuteDataQuery
     * 
* * string query_id = 1; * @return The bytes for queryId. */ @java.lang.Override public com.google.protobuf.ByteString getQueryIdBytes() { java.lang.Object ref = queryId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); queryId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PARAMETERS_TYPES_FIELD_NUMBER = 2; private static final class ParametersTypesDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, tech.ydb.proto.ValueProtos.Type> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PrepareQueryResult_ParametersTypesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, tech.ydb.proto.ValueProtos.Type.getDefaultInstance()); } @SuppressWarnings("serial") private com.google.protobuf.MapField< java.lang.String, tech.ydb.proto.ValueProtos.Type> parametersTypes_; private com.google.protobuf.MapField internalGetParametersTypes() { if (parametersTypes_ == null) { return com.google.protobuf.MapField.emptyMapField( ParametersTypesDefaultEntryHolder.defaultEntry); } return parametersTypes_; } public int getParametersTypesCount() { return internalGetParametersTypes().getMap().size(); } /** *
     * Parameters type, used to fill in parameter values
     * 
* * map<string, .Ydb.Type> parameters_types = 2; */ @java.lang.Override public boolean containsParametersTypes( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetParametersTypes().getMap().containsKey(key); } /** * Use {@link #getParametersTypesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getParametersTypes() { return getParametersTypesMap(); } /** *
     * Parameters type, used to fill in parameter values
     * 
* * map<string, .Ydb.Type> parameters_types = 2; */ @java.lang.Override public java.util.Map getParametersTypesMap() { return internalGetParametersTypes().getMap(); } /** *
     * Parameters type, used to fill in parameter values
     * 
* * map<string, .Ydb.Type> parameters_types = 2; */ @java.lang.Override public /* nullable */ tech.ydb.proto.ValueProtos.Type getParametersTypesOrDefault( java.lang.String key, /* nullable */ tech.ydb.proto.ValueProtos.Type defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetParametersTypes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Parameters type, used to fill in parameter values
     * 
* * map<string, .Ydb.Type> parameters_types = 2; */ @java.lang.Override public tech.ydb.proto.ValueProtos.Type getParametersTypesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetParametersTypes().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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(queryId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, queryId_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetParametersTypes(), ParametersTypesDefaultEntryHolder.defaultEntry, 2); 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(queryId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, queryId_); } for (java.util.Map.Entry entry : internalGetParametersTypes().getMap().entrySet()) { com.google.protobuf.MapEntry parametersTypes__ = ParametersTypesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, parametersTypes__); } 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.table.YdbTable.PrepareQueryResult)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.PrepareQueryResult other = (tech.ydb.proto.table.YdbTable.PrepareQueryResult) obj; if (!getQueryId() .equals(other.getQueryId())) return false; if (!internalGetParametersTypes().equals( other.internalGetParametersTypes())) 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) + QUERY_ID_FIELD_NUMBER; hash = (53 * hash) + getQueryId().hashCode(); if (!internalGetParametersTypes().getMap().isEmpty()) { hash = (37 * hash) + PARAMETERS_TYPES_FIELD_NUMBER; hash = (53 * hash) + internalGetParametersTypes().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.PrepareQueryResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.PrepareQueryResult 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.table.YdbTable.PrepareQueryResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.PrepareQueryResult 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.table.YdbTable.PrepareQueryResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.PrepareQueryResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.PrepareQueryResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.PrepareQueryResult 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.table.YdbTable.PrepareQueryResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.PrepareQueryResult 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.table.YdbTable.PrepareQueryResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.PrepareQueryResult 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.table.YdbTable.PrepareQueryResult 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.Table.PrepareQueryResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.PrepareQueryResult) tech.ydb.proto.table.YdbTable.PrepareQueryResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PrepareQueryResult_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetParametersTypes(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 2: return internalGetMutableParametersTypes(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PrepareQueryResult_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.PrepareQueryResult.class, tech.ydb.proto.table.YdbTable.PrepareQueryResult.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.PrepareQueryResult.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; queryId_ = ""; internalGetMutableParametersTypes().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PrepareQueryResult_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.PrepareQueryResult getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.PrepareQueryResult.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.PrepareQueryResult build() { tech.ydb.proto.table.YdbTable.PrepareQueryResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.PrepareQueryResult buildPartial() { tech.ydb.proto.table.YdbTable.PrepareQueryResult result = new tech.ydb.proto.table.YdbTable.PrepareQueryResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.PrepareQueryResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.queryId_ = queryId_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.parametersTypes_ = internalGetParametersTypes(); result.parametersTypes_.makeImmutable(); } } @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.table.YdbTable.PrepareQueryResult) { return mergeFrom((tech.ydb.proto.table.YdbTable.PrepareQueryResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.PrepareQueryResult other) { if (other == tech.ydb.proto.table.YdbTable.PrepareQueryResult.getDefaultInstance()) return this; if (!other.getQueryId().isEmpty()) { queryId_ = other.queryId_; bitField0_ |= 0x00000001; onChanged(); } internalGetMutableParametersTypes().mergeFrom( other.internalGetParametersTypes()); bitField0_ |= 0x00000002; 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: { queryId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { com.google.protobuf.MapEntry parametersTypes__ = input.readMessage( ParametersTypesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableParametersTypes().getMutableMap().put( parametersTypes__.getKey(), parametersTypes__.getValue()); 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 java.lang.Object queryId_ = ""; /** *
       * Query id, used to perform ExecuteDataQuery
       * 
* * string query_id = 1; * @return The queryId. */ public java.lang.String getQueryId() { java.lang.Object ref = queryId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Query id, used to perform ExecuteDataQuery
       * 
* * string query_id = 1; * @return The bytes for queryId. */ public com.google.protobuf.ByteString getQueryIdBytes() { java.lang.Object ref = queryId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); queryId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Query id, used to perform ExecuteDataQuery
       * 
* * string query_id = 1; * @param value The queryId to set. * @return This builder for chaining. */ public Builder setQueryId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } queryId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Query id, used to perform ExecuteDataQuery
       * 
* * string query_id = 1; * @return This builder for chaining. */ public Builder clearQueryId() { queryId_ = getDefaultInstance().getQueryId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Query id, used to perform ExecuteDataQuery
       * 
* * string query_id = 1; * @param value The bytes for queryId to set. * @return This builder for chaining. */ public Builder setQueryIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); queryId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, tech.ydb.proto.ValueProtos.Type> parametersTypes_; private com.google.protobuf.MapField internalGetParametersTypes() { if (parametersTypes_ == null) { return com.google.protobuf.MapField.emptyMapField( ParametersTypesDefaultEntryHolder.defaultEntry); } return parametersTypes_; } private com.google.protobuf.MapField internalGetMutableParametersTypes() { if (parametersTypes_ == null) { parametersTypes_ = com.google.protobuf.MapField.newMapField( ParametersTypesDefaultEntryHolder.defaultEntry); } if (!parametersTypes_.isMutable()) { parametersTypes_ = parametersTypes_.copy(); } bitField0_ |= 0x00000002; onChanged(); return parametersTypes_; } public int getParametersTypesCount() { return internalGetParametersTypes().getMap().size(); } /** *
       * Parameters type, used to fill in parameter values
       * 
* * map<string, .Ydb.Type> parameters_types = 2; */ @java.lang.Override public boolean containsParametersTypes( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetParametersTypes().getMap().containsKey(key); } /** * Use {@link #getParametersTypesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getParametersTypes() { return getParametersTypesMap(); } /** *
       * Parameters type, used to fill in parameter values
       * 
* * map<string, .Ydb.Type> parameters_types = 2; */ @java.lang.Override public java.util.Map getParametersTypesMap() { return internalGetParametersTypes().getMap(); } /** *
       * Parameters type, used to fill in parameter values
       * 
* * map<string, .Ydb.Type> parameters_types = 2; */ @java.lang.Override public /* nullable */ tech.ydb.proto.ValueProtos.Type getParametersTypesOrDefault( java.lang.String key, /* nullable */ tech.ydb.proto.ValueProtos.Type defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetParametersTypes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Parameters type, used to fill in parameter values
       * 
* * map<string, .Ydb.Type> parameters_types = 2; */ @java.lang.Override public tech.ydb.proto.ValueProtos.Type getParametersTypesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetParametersTypes().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearParametersTypes() { bitField0_ = (bitField0_ & ~0x00000002); internalGetMutableParametersTypes().getMutableMap() .clear(); return this; } /** *
       * Parameters type, used to fill in parameter values
       * 
* * map<string, .Ydb.Type> parameters_types = 2; */ public Builder removeParametersTypes( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableParametersTypes().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableParametersTypes() { bitField0_ |= 0x00000002; return internalGetMutableParametersTypes().getMutableMap(); } /** *
       * Parameters type, used to fill in parameter values
       * 
* * map<string, .Ydb.Type> parameters_types = 2; */ public Builder putParametersTypes( java.lang.String key, tech.ydb.proto.ValueProtos.Type value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableParametersTypes().getMutableMap() .put(key, value); bitField0_ |= 0x00000002; return this; } /** *
       * Parameters type, used to fill in parameter values
       * 
* * map<string, .Ydb.Type> parameters_types = 2; */ public Builder putAllParametersTypes( java.util.Map values) { internalGetMutableParametersTypes().getMutableMap() .putAll(values); bitField0_ |= 0x00000002; 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.Table.PrepareQueryResult) } // @@protoc_insertion_point(class_scope:Ydb.Table.PrepareQueryResult) private static final tech.ydb.proto.table.YdbTable.PrepareQueryResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.PrepareQueryResult(); } public static tech.ydb.proto.table.YdbTable.PrepareQueryResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PrepareQueryResult 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.table.YdbTable.PrepareQueryResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface KeepAliveRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.KeepAliveRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ java.lang.String getSessionId(); /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ com.google.protobuf.ByteString getSessionIdBytes(); /** * .Ydb.Operations.OperationParams operation_params = 2; * @return Whether the operationParams field is set. */ boolean hasOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 2; * @return The operationParams. */ tech.ydb.proto.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 2; */ tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder(); } /** *
   * Keep session alive
   * 
* * Protobuf type {@code Ydb.Table.KeepAliveRequest} */ public static final class KeepAliveRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.KeepAliveRequest) KeepAliveRequestOrBuilder { private static final long serialVersionUID = 0L; // Use KeepAliveRequest.newBuilder() to construct. private KeepAliveRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private KeepAliveRequest() { sessionId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new KeepAliveRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_KeepAliveRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_KeepAliveRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.KeepAliveRequest.class, tech.ydb.proto.table.YdbTable.KeepAliveRequest.Builder.class); } private int bitField0_; public static final int SESSION_ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object sessionId_ = ""; /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ @java.lang.Override public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; 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(); sessionId_ = s; return s; } } /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ @java.lang.Override public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OPERATION_PARAMS_FIELD_NUMBER = 2; private tech.ydb.proto.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 2; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 2; * @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 = 2; */ @java.lang.Override public tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } 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(sessionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getOperationParams()); } 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(sessionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getOperationParams()); } 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.table.YdbTable.KeepAliveRequest)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.KeepAliveRequest other = (tech.ydb.proto.table.YdbTable.KeepAliveRequest) obj; if (!getSessionId() .equals(other.getSessionId())) return false; if (hasOperationParams() != other.hasOperationParams()) return false; if (hasOperationParams()) { if (!getOperationParams() .equals(other.getOperationParams())) 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) + SESSION_ID_FIELD_NUMBER; hash = (53 * hash) + getSessionId().hashCode(); if (hasOperationParams()) { hash = (37 * hash) + OPERATION_PARAMS_FIELD_NUMBER; hash = (53 * hash) + getOperationParams().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.KeepAliveRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.KeepAliveRequest 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.table.YdbTable.KeepAliveRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.KeepAliveRequest 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.table.YdbTable.KeepAliveRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.KeepAliveRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.KeepAliveRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.KeepAliveRequest 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.table.YdbTable.KeepAliveRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.KeepAliveRequest 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.table.YdbTable.KeepAliveRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.KeepAliveRequest 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.table.YdbTable.KeepAliveRequest 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; } /** *
     * Keep session alive
     * 
* * Protobuf type {@code Ydb.Table.KeepAliveRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.KeepAliveRequest) tech.ydb.proto.table.YdbTable.KeepAliveRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_KeepAliveRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_KeepAliveRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.KeepAliveRequest.class, tech.ydb.proto.table.YdbTable.KeepAliveRequest.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.KeepAliveRequest.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; sessionId_ = ""; operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_KeepAliveRequest_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.KeepAliveRequest getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.KeepAliveRequest.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.KeepAliveRequest build() { tech.ydb.proto.table.YdbTable.KeepAliveRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.KeepAliveRequest buildPartial() { tech.ydb.proto.table.YdbTable.KeepAliveRequest result = new tech.ydb.proto.table.YdbTable.KeepAliveRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.KeepAliveRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.sessionId_ = sessionId_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.operationParams_ = operationParamsBuilder_ == null ? operationParams_ : operationParamsBuilder_.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.table.YdbTable.KeepAliveRequest) { return mergeFrom((tech.ydb.proto.table.YdbTable.KeepAliveRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.KeepAliveRequest other) { if (other == tech.ydb.proto.table.YdbTable.KeepAliveRequest.getDefaultInstance()) return this; if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } 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: { sessionId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getOperationParamsFieldBuilder().getBuilder(), extensionRegistry); 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 java.lang.Object sessionId_ = ""; /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The sessionId. */ public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The bytes for sessionId. */ public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The sessionId to set. * @return This builder for chaining. */ public Builder setSessionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sessionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The bytes for sessionId to set. * @return This builder for chaining. */ public Builder setSessionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sessionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } 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 = 2; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return ((bitField0_ & 0x00000002) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 2; * @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 = 2; */ 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_ |= 0x00000002; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 2; */ public Builder setOperationParams( tech.ydb.proto.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 2; */ public Builder mergeOperationParams(tech.ydb.proto.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && operationParams_ != null && operationParams_ != tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance()) { getOperationParamsBuilder().mergeFrom(value); } else { operationParams_ = value; } } else { operationParamsBuilder_.mergeFrom(value); } if (operationParams_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 2; */ public Builder clearOperationParams() { bitField0_ = (bitField0_ & ~0x00000002); operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 2; */ public tech.ydb.proto.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { bitField0_ |= 0x00000002; onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 2; */ 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 = 2; */ 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_; } @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.Table.KeepAliveRequest) } // @@protoc_insertion_point(class_scope:Ydb.Table.KeepAliveRequest) private static final tech.ydb.proto.table.YdbTable.KeepAliveRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.KeepAliveRequest(); } public static tech.ydb.proto.table.YdbTable.KeepAliveRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public KeepAliveRequest 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.table.YdbTable.KeepAliveRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface KeepAliveResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.KeepAliveResponse) 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.Table.KeepAliveResponse} */ public static final class KeepAliveResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.KeepAliveResponse) KeepAliveResponseOrBuilder { private static final long serialVersionUID = 0L; // Use KeepAliveResponse.newBuilder() to construct. private KeepAliveResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private KeepAliveResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new KeepAliveResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_KeepAliveResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_KeepAliveResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.KeepAliveResponse.class, tech.ydb.proto.table.YdbTable.KeepAliveResponse.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.table.YdbTable.KeepAliveResponse)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.KeepAliveResponse other = (tech.ydb.proto.table.YdbTable.KeepAliveResponse) 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.table.YdbTable.KeepAliveResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.KeepAliveResponse 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.table.YdbTable.KeepAliveResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.KeepAliveResponse 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.table.YdbTable.KeepAliveResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.KeepAliveResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.KeepAliveResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.KeepAliveResponse 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.table.YdbTable.KeepAliveResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.KeepAliveResponse 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.table.YdbTable.KeepAliveResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.KeepAliveResponse 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.table.YdbTable.KeepAliveResponse 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.Table.KeepAliveResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.KeepAliveResponse) tech.ydb.proto.table.YdbTable.KeepAliveResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_KeepAliveResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_KeepAliveResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.KeepAliveResponse.class, tech.ydb.proto.table.YdbTable.KeepAliveResponse.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.KeepAliveResponse.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.table.YdbTable.internal_static_Ydb_Table_KeepAliveResponse_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.KeepAliveResponse getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.KeepAliveResponse.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.KeepAliveResponse build() { tech.ydb.proto.table.YdbTable.KeepAliveResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.KeepAliveResponse buildPartial() { tech.ydb.proto.table.YdbTable.KeepAliveResponse result = new tech.ydb.proto.table.YdbTable.KeepAliveResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.KeepAliveResponse 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.table.YdbTable.KeepAliveResponse) { return mergeFrom((tech.ydb.proto.table.YdbTable.KeepAliveResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.KeepAliveResponse other) { if (other == tech.ydb.proto.table.YdbTable.KeepAliveResponse.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.Table.KeepAliveResponse) } // @@protoc_insertion_point(class_scope:Ydb.Table.KeepAliveResponse) private static final tech.ydb.proto.table.YdbTable.KeepAliveResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.KeepAliveResponse(); } public static tech.ydb.proto.table.YdbTable.KeepAliveResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public KeepAliveResponse 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.table.YdbTable.KeepAliveResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface KeepAliveResultOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.KeepAliveResult) com.google.protobuf.MessageOrBuilder { /** * .Ydb.Table.KeepAliveResult.SessionStatus session_status = 1; * @return The enum numeric value on the wire for sessionStatus. */ int getSessionStatusValue(); /** * .Ydb.Table.KeepAliveResult.SessionStatus session_status = 1; * @return The sessionStatus. */ tech.ydb.proto.table.YdbTable.KeepAliveResult.SessionStatus getSessionStatus(); } /** * Protobuf type {@code Ydb.Table.KeepAliveResult} */ public static final class KeepAliveResult extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.KeepAliveResult) KeepAliveResultOrBuilder { private static final long serialVersionUID = 0L; // Use KeepAliveResult.newBuilder() to construct. private KeepAliveResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private KeepAliveResult() { sessionStatus_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new KeepAliveResult(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_KeepAliveResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_KeepAliveResult_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.KeepAliveResult.class, tech.ydb.proto.table.YdbTable.KeepAliveResult.Builder.class); } /** * Protobuf enum {@code Ydb.Table.KeepAliveResult.SessionStatus} */ public enum SessionStatus implements com.google.protobuf.ProtocolMessageEnum { /** * SESSION_STATUS_UNSPECIFIED = 0; */ SESSION_STATUS_UNSPECIFIED(0), /** * SESSION_STATUS_READY = 1; */ SESSION_STATUS_READY(1), /** * SESSION_STATUS_BUSY = 2; */ SESSION_STATUS_BUSY(2), UNRECOGNIZED(-1), ; /** * SESSION_STATUS_UNSPECIFIED = 0; */ public static final int SESSION_STATUS_UNSPECIFIED_VALUE = 0; /** * SESSION_STATUS_READY = 1; */ public static final int SESSION_STATUS_READY_VALUE = 1; /** * SESSION_STATUS_BUSY = 2; */ public static final int SESSION_STATUS_BUSY_VALUE = 2; 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 SessionStatus 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 SessionStatus forNumber(int value) { switch (value) { case 0: return SESSION_STATUS_UNSPECIFIED; case 1: return SESSION_STATUS_READY; case 2: return SESSION_STATUS_BUSY; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< SessionStatus> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public SessionStatus findValueByNumber(int number) { return SessionStatus.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.table.YdbTable.KeepAliveResult.getDescriptor().getEnumTypes().get(0); } private static final SessionStatus[] VALUES = values(); public static SessionStatus 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 SessionStatus(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Ydb.Table.KeepAliveResult.SessionStatus) } public static final int SESSION_STATUS_FIELD_NUMBER = 1; private int sessionStatus_ = 0; /** * .Ydb.Table.KeepAliveResult.SessionStatus session_status = 1; * @return The enum numeric value on the wire for sessionStatus. */ @java.lang.Override public int getSessionStatusValue() { return sessionStatus_; } /** * .Ydb.Table.KeepAliveResult.SessionStatus session_status = 1; * @return The sessionStatus. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.KeepAliveResult.SessionStatus getSessionStatus() { tech.ydb.proto.table.YdbTable.KeepAliveResult.SessionStatus result = tech.ydb.proto.table.YdbTable.KeepAliveResult.SessionStatus.forNumber(sessionStatus_); return result == null ? tech.ydb.proto.table.YdbTable.KeepAliveResult.SessionStatus.UNRECOGNIZED : result; } 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 (sessionStatus_ != tech.ydb.proto.table.YdbTable.KeepAliveResult.SessionStatus.SESSION_STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(1, sessionStatus_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (sessionStatus_ != tech.ydb.proto.table.YdbTable.KeepAliveResult.SessionStatus.SESSION_STATUS_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, sessionStatus_); } 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.table.YdbTable.KeepAliveResult)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.KeepAliveResult other = (tech.ydb.proto.table.YdbTable.KeepAliveResult) obj; if (sessionStatus_ != other.sessionStatus_) 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) + SESSION_STATUS_FIELD_NUMBER; hash = (53 * hash) + sessionStatus_; hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.KeepAliveResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.KeepAliveResult 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.table.YdbTable.KeepAliveResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.KeepAliveResult 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.table.YdbTable.KeepAliveResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.KeepAliveResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.KeepAliveResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.KeepAliveResult 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.table.YdbTable.KeepAliveResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.KeepAliveResult 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.table.YdbTable.KeepAliveResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.KeepAliveResult 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.table.YdbTable.KeepAliveResult 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.Table.KeepAliveResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.KeepAliveResult) tech.ydb.proto.table.YdbTable.KeepAliveResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_KeepAliveResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_KeepAliveResult_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.KeepAliveResult.class, tech.ydb.proto.table.YdbTable.KeepAliveResult.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.KeepAliveResult.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; sessionStatus_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_KeepAliveResult_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.KeepAliveResult getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.KeepAliveResult.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.KeepAliveResult build() { tech.ydb.proto.table.YdbTable.KeepAliveResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.KeepAliveResult buildPartial() { tech.ydb.proto.table.YdbTable.KeepAliveResult result = new tech.ydb.proto.table.YdbTable.KeepAliveResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.KeepAliveResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.sessionStatus_ = sessionStatus_; } } @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.table.YdbTable.KeepAliveResult) { return mergeFrom((tech.ydb.proto.table.YdbTable.KeepAliveResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.KeepAliveResult other) { if (other == tech.ydb.proto.table.YdbTable.KeepAliveResult.getDefaultInstance()) return this; if (other.sessionStatus_ != 0) { setSessionStatusValue(other.getSessionStatusValue()); } 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 8: { sessionStatus_ = input.readEnum(); bitField0_ |= 0x00000001; break; } // case 8 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 int sessionStatus_ = 0; /** * .Ydb.Table.KeepAliveResult.SessionStatus session_status = 1; * @return The enum numeric value on the wire for sessionStatus. */ @java.lang.Override public int getSessionStatusValue() { return sessionStatus_; } /** * .Ydb.Table.KeepAliveResult.SessionStatus session_status = 1; * @param value The enum numeric value on the wire for sessionStatus to set. * @return This builder for chaining. */ public Builder setSessionStatusValue(int value) { sessionStatus_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * .Ydb.Table.KeepAliveResult.SessionStatus session_status = 1; * @return The sessionStatus. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.KeepAliveResult.SessionStatus getSessionStatus() { tech.ydb.proto.table.YdbTable.KeepAliveResult.SessionStatus result = tech.ydb.proto.table.YdbTable.KeepAliveResult.SessionStatus.forNumber(sessionStatus_); return result == null ? tech.ydb.proto.table.YdbTable.KeepAliveResult.SessionStatus.UNRECOGNIZED : result; } /** * .Ydb.Table.KeepAliveResult.SessionStatus session_status = 1; * @param value The sessionStatus to set. * @return This builder for chaining. */ public Builder setSessionStatus(tech.ydb.proto.table.YdbTable.KeepAliveResult.SessionStatus value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; sessionStatus_ = value.getNumber(); onChanged(); return this; } /** * .Ydb.Table.KeepAliveResult.SessionStatus session_status = 1; * @return This builder for chaining. */ public Builder clearSessionStatus() { bitField0_ = (bitField0_ & ~0x00000001); sessionStatus_ = 0; 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.Table.KeepAliveResult) } // @@protoc_insertion_point(class_scope:Ydb.Table.KeepAliveResult) private static final tech.ydb.proto.table.YdbTable.KeepAliveResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.KeepAliveResult(); } public static tech.ydb.proto.table.YdbTable.KeepAliveResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public KeepAliveResult 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.table.YdbTable.KeepAliveResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BeginTransactionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.BeginTransactionRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ java.lang.String getSessionId(); /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ com.google.protobuf.ByteString getSessionIdBytes(); /** * .Ydb.Table.TransactionSettings tx_settings = 2; * @return Whether the txSettings field is set. */ boolean hasTxSettings(); /** * .Ydb.Table.TransactionSettings tx_settings = 2; * @return The txSettings. */ tech.ydb.proto.table.YdbTable.TransactionSettings getTxSettings(); /** * .Ydb.Table.TransactionSettings tx_settings = 2; */ tech.ydb.proto.table.YdbTable.TransactionSettingsOrBuilder getTxSettingsOrBuilder(); /** * .Ydb.Operations.OperationParams operation_params = 3; * @return Whether the operationParams field is set. */ boolean hasOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 3; * @return The operationParams. */ tech.ydb.proto.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 3; */ tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder(); } /** *
   * Begin transaction on given session with given settings
   * 
* * Protobuf type {@code Ydb.Table.BeginTransactionRequest} */ public static final class BeginTransactionRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.BeginTransactionRequest) BeginTransactionRequestOrBuilder { private static final long serialVersionUID = 0L; // Use BeginTransactionRequest.newBuilder() to construct. private BeginTransactionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BeginTransactionRequest() { sessionId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BeginTransactionRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_BeginTransactionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_BeginTransactionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.BeginTransactionRequest.class, tech.ydb.proto.table.YdbTable.BeginTransactionRequest.Builder.class); } private int bitField0_; public static final int SESSION_ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object sessionId_ = ""; /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ @java.lang.Override public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; 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(); sessionId_ = s; return s; } } /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ @java.lang.Override public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TX_SETTINGS_FIELD_NUMBER = 2; private tech.ydb.proto.table.YdbTable.TransactionSettings txSettings_; /** * .Ydb.Table.TransactionSettings tx_settings = 2; * @return Whether the txSettings field is set. */ @java.lang.Override public boolean hasTxSettings() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.Table.TransactionSettings tx_settings = 2; * @return The txSettings. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TransactionSettings getTxSettings() { return txSettings_ == null ? tech.ydb.proto.table.YdbTable.TransactionSettings.getDefaultInstance() : txSettings_; } /** * .Ydb.Table.TransactionSettings tx_settings = 2; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TransactionSettingsOrBuilder getTxSettingsOrBuilder() { return txSettings_ == null ? tech.ydb.proto.table.YdbTable.TransactionSettings.getDefaultInstance() : txSettings_; } public static final int OPERATION_PARAMS_FIELD_NUMBER = 3; private tech.ydb.proto.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 3; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return ((bitField0_ & 0x00000002) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 3; * @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 = 3; */ @java.lang.Override public tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } 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(sessionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getTxSettings()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getOperationParams()); } 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(sessionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getTxSettings()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getOperationParams()); } 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.table.YdbTable.BeginTransactionRequest)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.BeginTransactionRequest other = (tech.ydb.proto.table.YdbTable.BeginTransactionRequest) obj; if (!getSessionId() .equals(other.getSessionId())) return false; if (hasTxSettings() != other.hasTxSettings()) return false; if (hasTxSettings()) { if (!getTxSettings() .equals(other.getTxSettings())) return false; } if (hasOperationParams() != other.hasOperationParams()) return false; if (hasOperationParams()) { if (!getOperationParams() .equals(other.getOperationParams())) 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) + SESSION_ID_FIELD_NUMBER; hash = (53 * hash) + getSessionId().hashCode(); if (hasTxSettings()) { hash = (37 * hash) + TX_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getTxSettings().hashCode(); } if (hasOperationParams()) { hash = (37 * hash) + OPERATION_PARAMS_FIELD_NUMBER; hash = (53 * hash) + getOperationParams().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.BeginTransactionRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.BeginTransactionRequest 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.table.YdbTable.BeginTransactionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.BeginTransactionRequest 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.table.YdbTable.BeginTransactionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.BeginTransactionRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.BeginTransactionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.BeginTransactionRequest 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.table.YdbTable.BeginTransactionRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.BeginTransactionRequest 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.table.YdbTable.BeginTransactionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.BeginTransactionRequest 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.table.YdbTable.BeginTransactionRequest 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; } /** *
     * Begin transaction on given session with given settings
     * 
* * Protobuf type {@code Ydb.Table.BeginTransactionRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.BeginTransactionRequest) tech.ydb.proto.table.YdbTable.BeginTransactionRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_BeginTransactionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_BeginTransactionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.BeginTransactionRequest.class, tech.ydb.proto.table.YdbTable.BeginTransactionRequest.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.BeginTransactionRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTxSettingsFieldBuilder(); getOperationParamsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; sessionId_ = ""; txSettings_ = null; if (txSettingsBuilder_ != null) { txSettingsBuilder_.dispose(); txSettingsBuilder_ = null; } operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_BeginTransactionRequest_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.BeginTransactionRequest getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.BeginTransactionRequest.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.BeginTransactionRequest build() { tech.ydb.proto.table.YdbTable.BeginTransactionRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.BeginTransactionRequest buildPartial() { tech.ydb.proto.table.YdbTable.BeginTransactionRequest result = new tech.ydb.proto.table.YdbTable.BeginTransactionRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.BeginTransactionRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.sessionId_ = sessionId_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.txSettings_ = txSettingsBuilder_ == null ? txSettings_ : txSettingsBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.operationParams_ = operationParamsBuilder_ == null ? operationParams_ : operationParamsBuilder_.build(); to_bitField0_ |= 0x00000002; } 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.table.YdbTable.BeginTransactionRequest) { return mergeFrom((tech.ydb.proto.table.YdbTable.BeginTransactionRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.BeginTransactionRequest other) { if (other == tech.ydb.proto.table.YdbTable.BeginTransactionRequest.getDefaultInstance()) return this; if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasTxSettings()) { mergeTxSettings(other.getTxSettings()); } if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } 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: { sessionId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getTxSettingsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage( getOperationParamsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 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 sessionId_ = ""; /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The sessionId. */ public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The bytes for sessionId. */ public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The sessionId to set. * @return This builder for chaining. */ public Builder setSessionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sessionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The bytes for sessionId to set. * @return This builder for chaining. */ public Builder setSessionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sessionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private tech.ydb.proto.table.YdbTable.TransactionSettings txSettings_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.TransactionSettings, tech.ydb.proto.table.YdbTable.TransactionSettings.Builder, tech.ydb.proto.table.YdbTable.TransactionSettingsOrBuilder> txSettingsBuilder_; /** * .Ydb.Table.TransactionSettings tx_settings = 2; * @return Whether the txSettings field is set. */ public boolean hasTxSettings() { return ((bitField0_ & 0x00000002) != 0); } /** * .Ydb.Table.TransactionSettings tx_settings = 2; * @return The txSettings. */ public tech.ydb.proto.table.YdbTable.TransactionSettings getTxSettings() { if (txSettingsBuilder_ == null) { return txSettings_ == null ? tech.ydb.proto.table.YdbTable.TransactionSettings.getDefaultInstance() : txSettings_; } else { return txSettingsBuilder_.getMessage(); } } /** * .Ydb.Table.TransactionSettings tx_settings = 2; */ public Builder setTxSettings(tech.ydb.proto.table.YdbTable.TransactionSettings value) { if (txSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } txSettings_ = value; } else { txSettingsBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * .Ydb.Table.TransactionSettings tx_settings = 2; */ public Builder setTxSettings( tech.ydb.proto.table.YdbTable.TransactionSettings.Builder builderForValue) { if (txSettingsBuilder_ == null) { txSettings_ = builderForValue.build(); } else { txSettingsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * .Ydb.Table.TransactionSettings tx_settings = 2; */ public Builder mergeTxSettings(tech.ydb.proto.table.YdbTable.TransactionSettings value) { if (txSettingsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && txSettings_ != null && txSettings_ != tech.ydb.proto.table.YdbTable.TransactionSettings.getDefaultInstance()) { getTxSettingsBuilder().mergeFrom(value); } else { txSettings_ = value; } } else { txSettingsBuilder_.mergeFrom(value); } if (txSettings_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** * .Ydb.Table.TransactionSettings tx_settings = 2; */ public Builder clearTxSettings() { bitField0_ = (bitField0_ & ~0x00000002); txSettings_ = null; if (txSettingsBuilder_ != null) { txSettingsBuilder_.dispose(); txSettingsBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Table.TransactionSettings tx_settings = 2; */ public tech.ydb.proto.table.YdbTable.TransactionSettings.Builder getTxSettingsBuilder() { bitField0_ |= 0x00000002; onChanged(); return getTxSettingsFieldBuilder().getBuilder(); } /** * .Ydb.Table.TransactionSettings tx_settings = 2; */ public tech.ydb.proto.table.YdbTable.TransactionSettingsOrBuilder getTxSettingsOrBuilder() { if (txSettingsBuilder_ != null) { return txSettingsBuilder_.getMessageOrBuilder(); } else { return txSettings_ == null ? tech.ydb.proto.table.YdbTable.TransactionSettings.getDefaultInstance() : txSettings_; } } /** * .Ydb.Table.TransactionSettings tx_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.TransactionSettings, tech.ydb.proto.table.YdbTable.TransactionSettings.Builder, tech.ydb.proto.table.YdbTable.TransactionSettingsOrBuilder> getTxSettingsFieldBuilder() { if (txSettingsBuilder_ == null) { txSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.TransactionSettings, tech.ydb.proto.table.YdbTable.TransactionSettings.Builder, tech.ydb.proto.table.YdbTable.TransactionSettingsOrBuilder>( getTxSettings(), getParentForChildren(), isClean()); txSettings_ = null; } return txSettingsBuilder_; } 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 = 3; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return ((bitField0_ & 0x00000004) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 3; * @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 = 3; */ 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_ |= 0x00000004; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder setOperationParams( tech.ydb.proto.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder mergeOperationParams(tech.ydb.proto.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && operationParams_ != null && operationParams_ != tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance()) { getOperationParamsBuilder().mergeFrom(value); } else { operationParams_ = value; } } else { operationParamsBuilder_.mergeFrom(value); } if (operationParams_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder clearOperationParams() { bitField0_ = (bitField0_ & ~0x00000004); operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public tech.ydb.proto.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { bitField0_ |= 0x00000004; onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 3; */ 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 = 3; */ 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_; } @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.Table.BeginTransactionRequest) } // @@protoc_insertion_point(class_scope:Ydb.Table.BeginTransactionRequest) private static final tech.ydb.proto.table.YdbTable.BeginTransactionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.BeginTransactionRequest(); } public static tech.ydb.proto.table.YdbTable.BeginTransactionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BeginTransactionRequest 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.table.YdbTable.BeginTransactionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BeginTransactionResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.BeginTransactionResponse) com.google.protobuf.MessageOrBuilder { /** *
     * Holds BeginTransactionResult in case of successful call
     * 
* * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ boolean hasOperation(); /** *
     * Holds BeginTransactionResult in case of successful call
     * 
* * .Ydb.Operations.Operation operation = 1; * @return The operation. */ tech.ydb.proto.OperationProtos.Operation getOperation(); /** *
     * Holds BeginTransactionResult in case of successful call
     * 
* * .Ydb.Operations.Operation operation = 1; */ tech.ydb.proto.OperationProtos.OperationOrBuilder getOperationOrBuilder(); } /** * Protobuf type {@code Ydb.Table.BeginTransactionResponse} */ public static final class BeginTransactionResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.BeginTransactionResponse) BeginTransactionResponseOrBuilder { private static final long serialVersionUID = 0L; // Use BeginTransactionResponse.newBuilder() to construct. private BeginTransactionResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BeginTransactionResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BeginTransactionResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_BeginTransactionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_BeginTransactionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.BeginTransactionResponse.class, tech.ydb.proto.table.YdbTable.BeginTransactionResponse.Builder.class); } private int bitField0_; public static final int OPERATION_FIELD_NUMBER = 1; private tech.ydb.proto.OperationProtos.Operation operation_; /** *
     * Holds BeginTransactionResult 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 BeginTransactionResult 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 BeginTransactionResult 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.table.YdbTable.BeginTransactionResponse)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.BeginTransactionResponse other = (tech.ydb.proto.table.YdbTable.BeginTransactionResponse) 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.table.YdbTable.BeginTransactionResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.BeginTransactionResponse 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.table.YdbTable.BeginTransactionResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.BeginTransactionResponse 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.table.YdbTable.BeginTransactionResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.BeginTransactionResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.BeginTransactionResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.BeginTransactionResponse 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.table.YdbTable.BeginTransactionResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.BeginTransactionResponse 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.table.YdbTable.BeginTransactionResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.BeginTransactionResponse 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.table.YdbTable.BeginTransactionResponse 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.Table.BeginTransactionResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.BeginTransactionResponse) tech.ydb.proto.table.YdbTable.BeginTransactionResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_BeginTransactionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_BeginTransactionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.BeginTransactionResponse.class, tech.ydb.proto.table.YdbTable.BeginTransactionResponse.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.BeginTransactionResponse.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.table.YdbTable.internal_static_Ydb_Table_BeginTransactionResponse_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.BeginTransactionResponse getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.BeginTransactionResponse.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.BeginTransactionResponse build() { tech.ydb.proto.table.YdbTable.BeginTransactionResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.BeginTransactionResponse buildPartial() { tech.ydb.proto.table.YdbTable.BeginTransactionResponse result = new tech.ydb.proto.table.YdbTable.BeginTransactionResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.BeginTransactionResponse 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.table.YdbTable.BeginTransactionResponse) { return mergeFrom((tech.ydb.proto.table.YdbTable.BeginTransactionResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.BeginTransactionResponse other) { if (other == tech.ydb.proto.table.YdbTable.BeginTransactionResponse.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 BeginTransactionResult 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 BeginTransactionResult 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 BeginTransactionResult 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 BeginTransactionResult 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 BeginTransactionResult 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 BeginTransactionResult 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 BeginTransactionResult 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 BeginTransactionResult 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 BeginTransactionResult 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.Table.BeginTransactionResponse) } // @@protoc_insertion_point(class_scope:Ydb.Table.BeginTransactionResponse) private static final tech.ydb.proto.table.YdbTable.BeginTransactionResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.BeginTransactionResponse(); } public static tech.ydb.proto.table.YdbTable.BeginTransactionResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BeginTransactionResponse 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.table.YdbTable.BeginTransactionResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BeginTransactionResultOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.BeginTransactionResult) com.google.protobuf.MessageOrBuilder { /** * .Ydb.Table.TransactionMeta tx_meta = 1; * @return Whether the txMeta field is set. */ boolean hasTxMeta(); /** * .Ydb.Table.TransactionMeta tx_meta = 1; * @return The txMeta. */ tech.ydb.proto.table.YdbTable.TransactionMeta getTxMeta(); /** * .Ydb.Table.TransactionMeta tx_meta = 1; */ tech.ydb.proto.table.YdbTable.TransactionMetaOrBuilder getTxMetaOrBuilder(); } /** * Protobuf type {@code Ydb.Table.BeginTransactionResult} */ public static final class BeginTransactionResult extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.BeginTransactionResult) BeginTransactionResultOrBuilder { private static final long serialVersionUID = 0L; // Use BeginTransactionResult.newBuilder() to construct. private BeginTransactionResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BeginTransactionResult() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BeginTransactionResult(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_BeginTransactionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_BeginTransactionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.BeginTransactionResult.class, tech.ydb.proto.table.YdbTable.BeginTransactionResult.Builder.class); } private int bitField0_; public static final int TX_META_FIELD_NUMBER = 1; private tech.ydb.proto.table.YdbTable.TransactionMeta txMeta_; /** * .Ydb.Table.TransactionMeta tx_meta = 1; * @return Whether the txMeta field is set. */ @java.lang.Override public boolean hasTxMeta() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.Table.TransactionMeta tx_meta = 1; * @return The txMeta. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TransactionMeta getTxMeta() { return txMeta_ == null ? tech.ydb.proto.table.YdbTable.TransactionMeta.getDefaultInstance() : txMeta_; } /** * .Ydb.Table.TransactionMeta tx_meta = 1; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TransactionMetaOrBuilder getTxMetaOrBuilder() { return txMeta_ == null ? tech.ydb.proto.table.YdbTable.TransactionMeta.getDefaultInstance() : txMeta_; } 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, getTxMeta()); } 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, getTxMeta()); } 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.table.YdbTable.BeginTransactionResult)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.BeginTransactionResult other = (tech.ydb.proto.table.YdbTable.BeginTransactionResult) obj; if (hasTxMeta() != other.hasTxMeta()) return false; if (hasTxMeta()) { if (!getTxMeta() .equals(other.getTxMeta())) 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 (hasTxMeta()) { hash = (37 * hash) + TX_META_FIELD_NUMBER; hash = (53 * hash) + getTxMeta().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.BeginTransactionResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.BeginTransactionResult 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.table.YdbTable.BeginTransactionResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.BeginTransactionResult 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.table.YdbTable.BeginTransactionResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.BeginTransactionResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.BeginTransactionResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.BeginTransactionResult 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.table.YdbTable.BeginTransactionResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.BeginTransactionResult 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.table.YdbTable.BeginTransactionResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.BeginTransactionResult 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.table.YdbTable.BeginTransactionResult 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.Table.BeginTransactionResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.BeginTransactionResult) tech.ydb.proto.table.YdbTable.BeginTransactionResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_BeginTransactionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_BeginTransactionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.BeginTransactionResult.class, tech.ydb.proto.table.YdbTable.BeginTransactionResult.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.BeginTransactionResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTxMetaFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; txMeta_ = null; if (txMetaBuilder_ != null) { txMetaBuilder_.dispose(); txMetaBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_BeginTransactionResult_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.BeginTransactionResult getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.BeginTransactionResult.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.BeginTransactionResult build() { tech.ydb.proto.table.YdbTable.BeginTransactionResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.BeginTransactionResult buildPartial() { tech.ydb.proto.table.YdbTable.BeginTransactionResult result = new tech.ydb.proto.table.YdbTable.BeginTransactionResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.BeginTransactionResult result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.txMeta_ = txMetaBuilder_ == null ? txMeta_ : txMetaBuilder_.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.table.YdbTable.BeginTransactionResult) { return mergeFrom((tech.ydb.proto.table.YdbTable.BeginTransactionResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.BeginTransactionResult other) { if (other == tech.ydb.proto.table.YdbTable.BeginTransactionResult.getDefaultInstance()) return this; if (other.hasTxMeta()) { mergeTxMeta(other.getTxMeta()); } 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( getTxMetaFieldBuilder().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.table.YdbTable.TransactionMeta txMeta_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.TransactionMeta, tech.ydb.proto.table.YdbTable.TransactionMeta.Builder, tech.ydb.proto.table.YdbTable.TransactionMetaOrBuilder> txMetaBuilder_; /** * .Ydb.Table.TransactionMeta tx_meta = 1; * @return Whether the txMeta field is set. */ public boolean hasTxMeta() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.Table.TransactionMeta tx_meta = 1; * @return The txMeta. */ public tech.ydb.proto.table.YdbTable.TransactionMeta getTxMeta() { if (txMetaBuilder_ == null) { return txMeta_ == null ? tech.ydb.proto.table.YdbTable.TransactionMeta.getDefaultInstance() : txMeta_; } else { return txMetaBuilder_.getMessage(); } } /** * .Ydb.Table.TransactionMeta tx_meta = 1; */ public Builder setTxMeta(tech.ydb.proto.table.YdbTable.TransactionMeta value) { if (txMetaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } txMeta_ = value; } else { txMetaBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .Ydb.Table.TransactionMeta tx_meta = 1; */ public Builder setTxMeta( tech.ydb.proto.table.YdbTable.TransactionMeta.Builder builderForValue) { if (txMetaBuilder_ == null) { txMeta_ = builderForValue.build(); } else { txMetaBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .Ydb.Table.TransactionMeta tx_meta = 1; */ public Builder mergeTxMeta(tech.ydb.proto.table.YdbTable.TransactionMeta value) { if (txMetaBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && txMeta_ != null && txMeta_ != tech.ydb.proto.table.YdbTable.TransactionMeta.getDefaultInstance()) { getTxMetaBuilder().mergeFrom(value); } else { txMeta_ = value; } } else { txMetaBuilder_.mergeFrom(value); } if (txMeta_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * .Ydb.Table.TransactionMeta tx_meta = 1; */ public Builder clearTxMeta() { bitField0_ = (bitField0_ & ~0x00000001); txMeta_ = null; if (txMetaBuilder_ != null) { txMetaBuilder_.dispose(); txMetaBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Table.TransactionMeta tx_meta = 1; */ public tech.ydb.proto.table.YdbTable.TransactionMeta.Builder getTxMetaBuilder() { bitField0_ |= 0x00000001; onChanged(); return getTxMetaFieldBuilder().getBuilder(); } /** * .Ydb.Table.TransactionMeta tx_meta = 1; */ public tech.ydb.proto.table.YdbTable.TransactionMetaOrBuilder getTxMetaOrBuilder() { if (txMetaBuilder_ != null) { return txMetaBuilder_.getMessageOrBuilder(); } else { return txMeta_ == null ? tech.ydb.proto.table.YdbTable.TransactionMeta.getDefaultInstance() : txMeta_; } } /** * .Ydb.Table.TransactionMeta tx_meta = 1; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.TransactionMeta, tech.ydb.proto.table.YdbTable.TransactionMeta.Builder, tech.ydb.proto.table.YdbTable.TransactionMetaOrBuilder> getTxMetaFieldBuilder() { if (txMetaBuilder_ == null) { txMetaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.TransactionMeta, tech.ydb.proto.table.YdbTable.TransactionMeta.Builder, tech.ydb.proto.table.YdbTable.TransactionMetaOrBuilder>( getTxMeta(), getParentForChildren(), isClean()); txMeta_ = null; } return txMetaBuilder_; } @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.Table.BeginTransactionResult) } // @@protoc_insertion_point(class_scope:Ydb.Table.BeginTransactionResult) private static final tech.ydb.proto.table.YdbTable.BeginTransactionResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.BeginTransactionResult(); } public static tech.ydb.proto.table.YdbTable.BeginTransactionResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BeginTransactionResult 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.table.YdbTable.BeginTransactionResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CommitTransactionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.CommitTransactionRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ java.lang.String getSessionId(); /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ com.google.protobuf.ByteString getSessionIdBytes(); /** *
     * Transaction identifier
     * 
* * string tx_id = 2; * @return The txId. */ java.lang.String getTxId(); /** *
     * Transaction identifier
     * 
* * string tx_id = 2; * @return The bytes for txId. */ com.google.protobuf.ByteString getTxIdBytes(); /** * .Ydb.Operations.OperationParams operation_params = 3; * @return Whether the operationParams field is set. */ boolean hasOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 3; * @return The operationParams. */ tech.ydb.proto.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 3; */ tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder(); /** * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 4; * @return The enum numeric value on the wire for collectStats. */ int getCollectStatsValue(); /** * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 4; * @return The collectStats. */ tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode getCollectStats(); } /** *
   * Commit transaction with given session and tx id
   * 
* * Protobuf type {@code Ydb.Table.CommitTransactionRequest} */ public static final class CommitTransactionRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.CommitTransactionRequest) CommitTransactionRequestOrBuilder { private static final long serialVersionUID = 0L; // Use CommitTransactionRequest.newBuilder() to construct. private CommitTransactionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CommitTransactionRequest() { sessionId_ = ""; txId_ = ""; collectStats_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CommitTransactionRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CommitTransactionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CommitTransactionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CommitTransactionRequest.class, tech.ydb.proto.table.YdbTable.CommitTransactionRequest.Builder.class); } private int bitField0_; public static final int SESSION_ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object sessionId_ = ""; /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ @java.lang.Override public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; 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(); sessionId_ = s; return s; } } /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ @java.lang.Override public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TX_ID_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object txId_ = ""; /** *
     * Transaction identifier
     * 
* * string tx_id = 2; * @return The txId. */ @java.lang.Override public java.lang.String getTxId() { java.lang.Object ref = txId_; 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(); txId_ = s; return s; } } /** *
     * Transaction identifier
     * 
* * string tx_id = 2; * @return The bytes for txId. */ @java.lang.Override public com.google.protobuf.ByteString getTxIdBytes() { java.lang.Object ref = txId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); txId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OPERATION_PARAMS_FIELD_NUMBER = 3; private tech.ydb.proto.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 3; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 3; * @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 = 3; */ @java.lang.Override public tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } public static final int COLLECT_STATS_FIELD_NUMBER = 4; private int collectStats_ = 0; /** * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 4; * @return The enum numeric value on the wire for collectStats. */ @java.lang.Override public int getCollectStatsValue() { return collectStats_; } /** * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 4; * @return The collectStats. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode getCollectStats() { tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode result = tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode.forNumber(collectStats_); return result == null ? tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode.UNRECOGNIZED : result; } 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(sessionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(txId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, txId_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getOperationParams()); } if (collectStats_ != tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode.STATS_COLLECTION_UNSPECIFIED.getNumber()) { output.writeEnum(4, collectStats_); } 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(sessionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(txId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, txId_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getOperationParams()); } if (collectStats_ != tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode.STATS_COLLECTION_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, collectStats_); } 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.table.YdbTable.CommitTransactionRequest)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.CommitTransactionRequest other = (tech.ydb.proto.table.YdbTable.CommitTransactionRequest) obj; if (!getSessionId() .equals(other.getSessionId())) return false; if (!getTxId() .equals(other.getTxId())) return false; if (hasOperationParams() != other.hasOperationParams()) return false; if (hasOperationParams()) { if (!getOperationParams() .equals(other.getOperationParams())) return false; } if (collectStats_ != other.collectStats_) 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) + SESSION_ID_FIELD_NUMBER; hash = (53 * hash) + getSessionId().hashCode(); hash = (37 * hash) + TX_ID_FIELD_NUMBER; hash = (53 * hash) + getTxId().hashCode(); if (hasOperationParams()) { hash = (37 * hash) + OPERATION_PARAMS_FIELD_NUMBER; hash = (53 * hash) + getOperationParams().hashCode(); } hash = (37 * hash) + COLLECT_STATS_FIELD_NUMBER; hash = (53 * hash) + collectStats_; hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.CommitTransactionRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CommitTransactionRequest 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.table.YdbTable.CommitTransactionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CommitTransactionRequest 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.table.YdbTable.CommitTransactionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CommitTransactionRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.CommitTransactionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CommitTransactionRequest 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.table.YdbTable.CommitTransactionRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CommitTransactionRequest 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.table.YdbTable.CommitTransactionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CommitTransactionRequest 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.table.YdbTable.CommitTransactionRequest 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; } /** *
     * Commit transaction with given session and tx id
     * 
* * Protobuf type {@code Ydb.Table.CommitTransactionRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.CommitTransactionRequest) tech.ydb.proto.table.YdbTable.CommitTransactionRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CommitTransactionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CommitTransactionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CommitTransactionRequest.class, tech.ydb.proto.table.YdbTable.CommitTransactionRequest.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.CommitTransactionRequest.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; sessionId_ = ""; txId_ = ""; operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } collectStats_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CommitTransactionRequest_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CommitTransactionRequest getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.CommitTransactionRequest.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.CommitTransactionRequest build() { tech.ydb.proto.table.YdbTable.CommitTransactionRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CommitTransactionRequest buildPartial() { tech.ydb.proto.table.YdbTable.CommitTransactionRequest result = new tech.ydb.proto.table.YdbTable.CommitTransactionRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.CommitTransactionRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.sessionId_ = sessionId_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.txId_ = txId_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { result.operationParams_ = operationParamsBuilder_ == null ? operationParams_ : operationParamsBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { result.collectStats_ = collectStats_; } 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.table.YdbTable.CommitTransactionRequest) { return mergeFrom((tech.ydb.proto.table.YdbTable.CommitTransactionRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.CommitTransactionRequest other) { if (other == tech.ydb.proto.table.YdbTable.CommitTransactionRequest.getDefaultInstance()) return this; if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getTxId().isEmpty()) { txId_ = other.txId_; bitField0_ |= 0x00000002; onChanged(); } if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } if (other.collectStats_ != 0) { setCollectStatsValue(other.getCollectStatsValue()); } 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: { sessionId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { txId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage( getOperationParamsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 32: { collectStats_ = input.readEnum(); bitField0_ |= 0x00000008; break; } // case 32 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 sessionId_ = ""; /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The sessionId. */ public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The bytes for sessionId. */ public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The sessionId to set. * @return This builder for chaining. */ public Builder setSessionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sessionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The bytes for sessionId to set. * @return This builder for chaining. */ public Builder setSessionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sessionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object txId_ = ""; /** *
       * Transaction identifier
       * 
* * string tx_id = 2; * @return The txId. */ public java.lang.String getTxId() { java.lang.Object ref = txId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); txId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Transaction identifier
       * 
* * string tx_id = 2; * @return The bytes for txId. */ public com.google.protobuf.ByteString getTxIdBytes() { java.lang.Object ref = txId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); txId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Transaction identifier
       * 
* * string tx_id = 2; * @param value The txId to set. * @return This builder for chaining. */ public Builder setTxId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } txId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Transaction identifier
       * 
* * string tx_id = 2; * @return This builder for chaining. */ public Builder clearTxId() { txId_ = getDefaultInstance().getTxId(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * Transaction identifier
       * 
* * string tx_id = 2; * @param value The bytes for txId to set. * @return This builder for chaining. */ public Builder setTxIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); txId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } 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 = 3; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return ((bitField0_ & 0x00000004) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 3; * @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 = 3; */ 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_ |= 0x00000004; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder setOperationParams( tech.ydb.proto.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder mergeOperationParams(tech.ydb.proto.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && operationParams_ != null && operationParams_ != tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance()) { getOperationParamsBuilder().mergeFrom(value); } else { operationParams_ = value; } } else { operationParamsBuilder_.mergeFrom(value); } if (operationParams_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder clearOperationParams() { bitField0_ = (bitField0_ & ~0x00000004); operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public tech.ydb.proto.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { bitField0_ |= 0x00000004; onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 3; */ 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 = 3; */ 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 int collectStats_ = 0; /** * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 4; * @return The enum numeric value on the wire for collectStats. */ @java.lang.Override public int getCollectStatsValue() { return collectStats_; } /** * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 4; * @param value The enum numeric value on the wire for collectStats to set. * @return This builder for chaining. */ public Builder setCollectStatsValue(int value) { collectStats_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 4; * @return The collectStats. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode getCollectStats() { tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode result = tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode.forNumber(collectStats_); return result == null ? tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode.UNRECOGNIZED : result; } /** * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 4; * @param value The collectStats to set. * @return This builder for chaining. */ public Builder setCollectStats(tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; collectStats_ = value.getNumber(); onChanged(); return this; } /** * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 4; * @return This builder for chaining. */ public Builder clearCollectStats() { bitField0_ = (bitField0_ & ~0x00000008); collectStats_ = 0; 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.Table.CommitTransactionRequest) } // @@protoc_insertion_point(class_scope:Ydb.Table.CommitTransactionRequest) private static final tech.ydb.proto.table.YdbTable.CommitTransactionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.CommitTransactionRequest(); } public static tech.ydb.proto.table.YdbTable.CommitTransactionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CommitTransactionRequest 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.table.YdbTable.CommitTransactionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CommitTransactionResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.CommitTransactionResponse) 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.Table.CommitTransactionResponse} */ public static final class CommitTransactionResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.CommitTransactionResponse) CommitTransactionResponseOrBuilder { private static final long serialVersionUID = 0L; // Use CommitTransactionResponse.newBuilder() to construct. private CommitTransactionResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CommitTransactionResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CommitTransactionResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CommitTransactionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CommitTransactionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CommitTransactionResponse.class, tech.ydb.proto.table.YdbTable.CommitTransactionResponse.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.table.YdbTable.CommitTransactionResponse)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.CommitTransactionResponse other = (tech.ydb.proto.table.YdbTable.CommitTransactionResponse) 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.table.YdbTable.CommitTransactionResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CommitTransactionResponse 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.table.YdbTable.CommitTransactionResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CommitTransactionResponse 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.table.YdbTable.CommitTransactionResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CommitTransactionResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.CommitTransactionResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CommitTransactionResponse 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.table.YdbTable.CommitTransactionResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CommitTransactionResponse 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.table.YdbTable.CommitTransactionResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CommitTransactionResponse 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.table.YdbTable.CommitTransactionResponse 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.Table.CommitTransactionResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.CommitTransactionResponse) tech.ydb.proto.table.YdbTable.CommitTransactionResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CommitTransactionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CommitTransactionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CommitTransactionResponse.class, tech.ydb.proto.table.YdbTable.CommitTransactionResponse.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.CommitTransactionResponse.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.table.YdbTable.internal_static_Ydb_Table_CommitTransactionResponse_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CommitTransactionResponse getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.CommitTransactionResponse.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.CommitTransactionResponse build() { tech.ydb.proto.table.YdbTable.CommitTransactionResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CommitTransactionResponse buildPartial() { tech.ydb.proto.table.YdbTable.CommitTransactionResponse result = new tech.ydb.proto.table.YdbTable.CommitTransactionResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.CommitTransactionResponse 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.table.YdbTable.CommitTransactionResponse) { return mergeFrom((tech.ydb.proto.table.YdbTable.CommitTransactionResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.CommitTransactionResponse other) { if (other == tech.ydb.proto.table.YdbTable.CommitTransactionResponse.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.Table.CommitTransactionResponse) } // @@protoc_insertion_point(class_scope:Ydb.Table.CommitTransactionResponse) private static final tech.ydb.proto.table.YdbTable.CommitTransactionResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.CommitTransactionResponse(); } public static tech.ydb.proto.table.YdbTable.CommitTransactionResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CommitTransactionResponse 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.table.YdbTable.CommitTransactionResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CommitTransactionResultOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.CommitTransactionResult) com.google.protobuf.MessageOrBuilder { /** * .Ydb.TableStats.QueryStats query_stats = 1; * @return Whether the queryStats field is set. */ boolean hasQueryStats(); /** * .Ydb.TableStats.QueryStats query_stats = 1; * @return The queryStats. */ tech.ydb.proto.YdbQueryStats.QueryStats getQueryStats(); /** * .Ydb.TableStats.QueryStats query_stats = 1; */ tech.ydb.proto.YdbQueryStats.QueryStatsOrBuilder getQueryStatsOrBuilder(); } /** * Protobuf type {@code Ydb.Table.CommitTransactionResult} */ public static final class CommitTransactionResult extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.CommitTransactionResult) CommitTransactionResultOrBuilder { private static final long serialVersionUID = 0L; // Use CommitTransactionResult.newBuilder() to construct. private CommitTransactionResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CommitTransactionResult() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CommitTransactionResult(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CommitTransactionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CommitTransactionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CommitTransactionResult.class, tech.ydb.proto.table.YdbTable.CommitTransactionResult.Builder.class); } private int bitField0_; public static final int QUERY_STATS_FIELD_NUMBER = 1; private tech.ydb.proto.YdbQueryStats.QueryStats queryStats_; /** * .Ydb.TableStats.QueryStats query_stats = 1; * @return Whether the queryStats field is set. */ @java.lang.Override public boolean hasQueryStats() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.TableStats.QueryStats query_stats = 1; * @return The queryStats. */ @java.lang.Override public tech.ydb.proto.YdbQueryStats.QueryStats getQueryStats() { return queryStats_ == null ? tech.ydb.proto.YdbQueryStats.QueryStats.getDefaultInstance() : queryStats_; } /** * .Ydb.TableStats.QueryStats query_stats = 1; */ @java.lang.Override public tech.ydb.proto.YdbQueryStats.QueryStatsOrBuilder getQueryStatsOrBuilder() { return queryStats_ == null ? tech.ydb.proto.YdbQueryStats.QueryStats.getDefaultInstance() : queryStats_; } 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, getQueryStats()); } 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, getQueryStats()); } 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.table.YdbTable.CommitTransactionResult)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.CommitTransactionResult other = (tech.ydb.proto.table.YdbTable.CommitTransactionResult) obj; if (hasQueryStats() != other.hasQueryStats()) return false; if (hasQueryStats()) { if (!getQueryStats() .equals(other.getQueryStats())) 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 (hasQueryStats()) { hash = (37 * hash) + QUERY_STATS_FIELD_NUMBER; hash = (53 * hash) + getQueryStats().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.CommitTransactionResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CommitTransactionResult 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.table.YdbTable.CommitTransactionResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CommitTransactionResult 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.table.YdbTable.CommitTransactionResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CommitTransactionResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.CommitTransactionResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CommitTransactionResult 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.table.YdbTable.CommitTransactionResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CommitTransactionResult 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.table.YdbTable.CommitTransactionResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CommitTransactionResult 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.table.YdbTable.CommitTransactionResult 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.Table.CommitTransactionResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.CommitTransactionResult) tech.ydb.proto.table.YdbTable.CommitTransactionResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CommitTransactionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CommitTransactionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CommitTransactionResult.class, tech.ydb.proto.table.YdbTable.CommitTransactionResult.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.CommitTransactionResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getQueryStatsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; queryStats_ = null; if (queryStatsBuilder_ != null) { queryStatsBuilder_.dispose(); queryStatsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CommitTransactionResult_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CommitTransactionResult getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.CommitTransactionResult.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.CommitTransactionResult build() { tech.ydb.proto.table.YdbTable.CommitTransactionResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CommitTransactionResult buildPartial() { tech.ydb.proto.table.YdbTable.CommitTransactionResult result = new tech.ydb.proto.table.YdbTable.CommitTransactionResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.CommitTransactionResult result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.queryStats_ = queryStatsBuilder_ == null ? queryStats_ : queryStatsBuilder_.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.table.YdbTable.CommitTransactionResult) { return mergeFrom((tech.ydb.proto.table.YdbTable.CommitTransactionResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.CommitTransactionResult other) { if (other == tech.ydb.proto.table.YdbTable.CommitTransactionResult.getDefaultInstance()) return this; if (other.hasQueryStats()) { mergeQueryStats(other.getQueryStats()); } 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( getQueryStatsFieldBuilder().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.YdbQueryStats.QueryStats queryStats_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.YdbQueryStats.QueryStats, tech.ydb.proto.YdbQueryStats.QueryStats.Builder, tech.ydb.proto.YdbQueryStats.QueryStatsOrBuilder> queryStatsBuilder_; /** * .Ydb.TableStats.QueryStats query_stats = 1; * @return Whether the queryStats field is set. */ public boolean hasQueryStats() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.TableStats.QueryStats query_stats = 1; * @return The queryStats. */ public tech.ydb.proto.YdbQueryStats.QueryStats getQueryStats() { if (queryStatsBuilder_ == null) { return queryStats_ == null ? tech.ydb.proto.YdbQueryStats.QueryStats.getDefaultInstance() : queryStats_; } else { return queryStatsBuilder_.getMessage(); } } /** * .Ydb.TableStats.QueryStats query_stats = 1; */ public Builder setQueryStats(tech.ydb.proto.YdbQueryStats.QueryStats value) { if (queryStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } queryStats_ = value; } else { queryStatsBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .Ydb.TableStats.QueryStats query_stats = 1; */ public Builder setQueryStats( tech.ydb.proto.YdbQueryStats.QueryStats.Builder builderForValue) { if (queryStatsBuilder_ == null) { queryStats_ = builderForValue.build(); } else { queryStatsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .Ydb.TableStats.QueryStats query_stats = 1; */ public Builder mergeQueryStats(tech.ydb.proto.YdbQueryStats.QueryStats value) { if (queryStatsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && queryStats_ != null && queryStats_ != tech.ydb.proto.YdbQueryStats.QueryStats.getDefaultInstance()) { getQueryStatsBuilder().mergeFrom(value); } else { queryStats_ = value; } } else { queryStatsBuilder_.mergeFrom(value); } if (queryStats_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * .Ydb.TableStats.QueryStats query_stats = 1; */ public Builder clearQueryStats() { bitField0_ = (bitField0_ & ~0x00000001); queryStats_ = null; if (queryStatsBuilder_ != null) { queryStatsBuilder_.dispose(); queryStatsBuilder_ = null; } onChanged(); return this; } /** * .Ydb.TableStats.QueryStats query_stats = 1; */ public tech.ydb.proto.YdbQueryStats.QueryStats.Builder getQueryStatsBuilder() { bitField0_ |= 0x00000001; onChanged(); return getQueryStatsFieldBuilder().getBuilder(); } /** * .Ydb.TableStats.QueryStats query_stats = 1; */ public tech.ydb.proto.YdbQueryStats.QueryStatsOrBuilder getQueryStatsOrBuilder() { if (queryStatsBuilder_ != null) { return queryStatsBuilder_.getMessageOrBuilder(); } else { return queryStats_ == null ? tech.ydb.proto.YdbQueryStats.QueryStats.getDefaultInstance() : queryStats_; } } /** * .Ydb.TableStats.QueryStats query_stats = 1; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.YdbQueryStats.QueryStats, tech.ydb.proto.YdbQueryStats.QueryStats.Builder, tech.ydb.proto.YdbQueryStats.QueryStatsOrBuilder> getQueryStatsFieldBuilder() { if (queryStatsBuilder_ == null) { queryStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.YdbQueryStats.QueryStats, tech.ydb.proto.YdbQueryStats.QueryStats.Builder, tech.ydb.proto.YdbQueryStats.QueryStatsOrBuilder>( getQueryStats(), getParentForChildren(), isClean()); queryStats_ = null; } return queryStatsBuilder_; } @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.Table.CommitTransactionResult) } // @@protoc_insertion_point(class_scope:Ydb.Table.CommitTransactionResult) private static final tech.ydb.proto.table.YdbTable.CommitTransactionResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.CommitTransactionResult(); } public static tech.ydb.proto.table.YdbTable.CommitTransactionResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CommitTransactionResult 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.table.YdbTable.CommitTransactionResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RollbackTransactionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.RollbackTransactionRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ java.lang.String getSessionId(); /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ com.google.protobuf.ByteString getSessionIdBytes(); /** *
     * Transaction identifier
     * 
* * string tx_id = 2; * @return The txId. */ java.lang.String getTxId(); /** *
     * Transaction identifier
     * 
* * string tx_id = 2; * @return The bytes for txId. */ com.google.protobuf.ByteString getTxIdBytes(); /** * .Ydb.Operations.OperationParams operation_params = 3; * @return Whether the operationParams field is set. */ boolean hasOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 3; * @return The operationParams. */ tech.ydb.proto.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 3; */ tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder(); } /** *
   * Rollback transaction with given session and tx id
   * 
* * Protobuf type {@code Ydb.Table.RollbackTransactionRequest} */ public static final class RollbackTransactionRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.RollbackTransactionRequest) RollbackTransactionRequestOrBuilder { private static final long serialVersionUID = 0L; // Use RollbackTransactionRequest.newBuilder() to construct. private RollbackTransactionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RollbackTransactionRequest() { sessionId_ = ""; txId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RollbackTransactionRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_RollbackTransactionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_RollbackTransactionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.RollbackTransactionRequest.class, tech.ydb.proto.table.YdbTable.RollbackTransactionRequest.Builder.class); } private int bitField0_; public static final int SESSION_ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object sessionId_ = ""; /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ @java.lang.Override public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; 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(); sessionId_ = s; return s; } } /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ @java.lang.Override public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TX_ID_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object txId_ = ""; /** *
     * Transaction identifier
     * 
* * string tx_id = 2; * @return The txId. */ @java.lang.Override public java.lang.String getTxId() { java.lang.Object ref = txId_; 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(); txId_ = s; return s; } } /** *
     * Transaction identifier
     * 
* * string tx_id = 2; * @return The bytes for txId. */ @java.lang.Override public com.google.protobuf.ByteString getTxIdBytes() { java.lang.Object ref = txId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); txId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OPERATION_PARAMS_FIELD_NUMBER = 3; private tech.ydb.proto.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 3; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 3; * @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 = 3; */ @java.lang.Override public tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } 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(sessionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(txId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, txId_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getOperationParams()); } 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(sessionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(txId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, txId_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getOperationParams()); } 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.table.YdbTable.RollbackTransactionRequest)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.RollbackTransactionRequest other = (tech.ydb.proto.table.YdbTable.RollbackTransactionRequest) obj; if (!getSessionId() .equals(other.getSessionId())) return false; if (!getTxId() .equals(other.getTxId())) return false; if (hasOperationParams() != other.hasOperationParams()) return false; if (hasOperationParams()) { if (!getOperationParams() .equals(other.getOperationParams())) 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) + SESSION_ID_FIELD_NUMBER; hash = (53 * hash) + getSessionId().hashCode(); hash = (37 * hash) + TX_ID_FIELD_NUMBER; hash = (53 * hash) + getTxId().hashCode(); if (hasOperationParams()) { hash = (37 * hash) + OPERATION_PARAMS_FIELD_NUMBER; hash = (53 * hash) + getOperationParams().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.RollbackTransactionRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.RollbackTransactionRequest 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.table.YdbTable.RollbackTransactionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.RollbackTransactionRequest 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.table.YdbTable.RollbackTransactionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.RollbackTransactionRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.RollbackTransactionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.RollbackTransactionRequest 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.table.YdbTable.RollbackTransactionRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.RollbackTransactionRequest 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.table.YdbTable.RollbackTransactionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.RollbackTransactionRequest 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.table.YdbTable.RollbackTransactionRequest 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; } /** *
     * Rollback transaction with given session and tx id
     * 
* * Protobuf type {@code Ydb.Table.RollbackTransactionRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.RollbackTransactionRequest) tech.ydb.proto.table.YdbTable.RollbackTransactionRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_RollbackTransactionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_RollbackTransactionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.RollbackTransactionRequest.class, tech.ydb.proto.table.YdbTable.RollbackTransactionRequest.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.RollbackTransactionRequest.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; sessionId_ = ""; txId_ = ""; operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_RollbackTransactionRequest_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.RollbackTransactionRequest getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.RollbackTransactionRequest.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.RollbackTransactionRequest build() { tech.ydb.proto.table.YdbTable.RollbackTransactionRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.RollbackTransactionRequest buildPartial() { tech.ydb.proto.table.YdbTable.RollbackTransactionRequest result = new tech.ydb.proto.table.YdbTable.RollbackTransactionRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.RollbackTransactionRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.sessionId_ = sessionId_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.txId_ = txId_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { result.operationParams_ = operationParamsBuilder_ == null ? operationParams_ : operationParamsBuilder_.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.table.YdbTable.RollbackTransactionRequest) { return mergeFrom((tech.ydb.proto.table.YdbTable.RollbackTransactionRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.RollbackTransactionRequest other) { if (other == tech.ydb.proto.table.YdbTable.RollbackTransactionRequest.getDefaultInstance()) return this; if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getTxId().isEmpty()) { txId_ = other.txId_; bitField0_ |= 0x00000002; onChanged(); } if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } 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: { sessionId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { txId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage( getOperationParamsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 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 sessionId_ = ""; /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The sessionId. */ public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The bytes for sessionId. */ public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The sessionId to set. * @return This builder for chaining. */ public Builder setSessionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sessionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The bytes for sessionId to set. * @return This builder for chaining. */ public Builder setSessionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sessionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object txId_ = ""; /** *
       * Transaction identifier
       * 
* * string tx_id = 2; * @return The txId. */ public java.lang.String getTxId() { java.lang.Object ref = txId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); txId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Transaction identifier
       * 
* * string tx_id = 2; * @return The bytes for txId. */ public com.google.protobuf.ByteString getTxIdBytes() { java.lang.Object ref = txId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); txId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Transaction identifier
       * 
* * string tx_id = 2; * @param value The txId to set. * @return This builder for chaining. */ public Builder setTxId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } txId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Transaction identifier
       * 
* * string tx_id = 2; * @return This builder for chaining. */ public Builder clearTxId() { txId_ = getDefaultInstance().getTxId(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * Transaction identifier
       * 
* * string tx_id = 2; * @param value The bytes for txId to set. * @return This builder for chaining. */ public Builder setTxIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); txId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } 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 = 3; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return ((bitField0_ & 0x00000004) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 3; * @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 = 3; */ 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_ |= 0x00000004; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder setOperationParams( tech.ydb.proto.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder mergeOperationParams(tech.ydb.proto.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && operationParams_ != null && operationParams_ != tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance()) { getOperationParamsBuilder().mergeFrom(value); } else { operationParams_ = value; } } else { operationParamsBuilder_.mergeFrom(value); } if (operationParams_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder clearOperationParams() { bitField0_ = (bitField0_ & ~0x00000004); operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public tech.ydb.proto.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { bitField0_ |= 0x00000004; onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 3; */ 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 = 3; */ 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_; } @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.Table.RollbackTransactionRequest) } // @@protoc_insertion_point(class_scope:Ydb.Table.RollbackTransactionRequest) private static final tech.ydb.proto.table.YdbTable.RollbackTransactionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.RollbackTransactionRequest(); } public static tech.ydb.proto.table.YdbTable.RollbackTransactionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RollbackTransactionRequest 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.table.YdbTable.RollbackTransactionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RollbackTransactionResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.RollbackTransactionResponse) 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.Table.RollbackTransactionResponse} */ public static final class RollbackTransactionResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.RollbackTransactionResponse) RollbackTransactionResponseOrBuilder { private static final long serialVersionUID = 0L; // Use RollbackTransactionResponse.newBuilder() to construct. private RollbackTransactionResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RollbackTransactionResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RollbackTransactionResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_RollbackTransactionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_RollbackTransactionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.RollbackTransactionResponse.class, tech.ydb.proto.table.YdbTable.RollbackTransactionResponse.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.table.YdbTable.RollbackTransactionResponse)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.RollbackTransactionResponse other = (tech.ydb.proto.table.YdbTable.RollbackTransactionResponse) 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.table.YdbTable.RollbackTransactionResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.RollbackTransactionResponse 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.table.YdbTable.RollbackTransactionResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.RollbackTransactionResponse 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.table.YdbTable.RollbackTransactionResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.RollbackTransactionResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.RollbackTransactionResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.RollbackTransactionResponse 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.table.YdbTable.RollbackTransactionResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.RollbackTransactionResponse 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.table.YdbTable.RollbackTransactionResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.RollbackTransactionResponse 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.table.YdbTable.RollbackTransactionResponse 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.Table.RollbackTransactionResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.RollbackTransactionResponse) tech.ydb.proto.table.YdbTable.RollbackTransactionResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_RollbackTransactionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_RollbackTransactionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.RollbackTransactionResponse.class, tech.ydb.proto.table.YdbTable.RollbackTransactionResponse.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.RollbackTransactionResponse.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.table.YdbTable.internal_static_Ydb_Table_RollbackTransactionResponse_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.RollbackTransactionResponse getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.RollbackTransactionResponse.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.RollbackTransactionResponse build() { tech.ydb.proto.table.YdbTable.RollbackTransactionResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.RollbackTransactionResponse buildPartial() { tech.ydb.proto.table.YdbTable.RollbackTransactionResponse result = new tech.ydb.proto.table.YdbTable.RollbackTransactionResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.RollbackTransactionResponse 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.table.YdbTable.RollbackTransactionResponse) { return mergeFrom((tech.ydb.proto.table.YdbTable.RollbackTransactionResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.RollbackTransactionResponse other) { if (other == tech.ydb.proto.table.YdbTable.RollbackTransactionResponse.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.Table.RollbackTransactionResponse) } // @@protoc_insertion_point(class_scope:Ydb.Table.RollbackTransactionResponse) private static final tech.ydb.proto.table.YdbTable.RollbackTransactionResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.RollbackTransactionResponse(); } public static tech.ydb.proto.table.YdbTable.RollbackTransactionResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RollbackTransactionResponse 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.table.YdbTable.RollbackTransactionResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StoragePolicyDescriptionOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.StoragePolicyDescription) com.google.protobuf.MessageOrBuilder { /** * string name = 1; * @return The name. */ java.lang.String getName(); /** * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * map<string, string> labels = 2; */ int getLabelsCount(); /** * map<string, string> labels = 2; */ boolean containsLabels( java.lang.String key); /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated java.util.Map getLabels(); /** * map<string, string> labels = 2; */ java.util.Map getLabelsMap(); /** * map<string, string> labels = 2; */ /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** * map<string, string> labels = 2; */ java.lang.String getLabelsOrThrow( java.lang.String key); } /** * Protobuf type {@code Ydb.Table.StoragePolicyDescription} */ public static final class StoragePolicyDescription extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.StoragePolicyDescription) StoragePolicyDescriptionOrBuilder { private static final long serialVersionUID = 0L; // Use StoragePolicyDescription.newBuilder() to construct. private StoragePolicyDescription(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StoragePolicyDescription() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new StoragePolicyDescription(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_StoragePolicyDescription_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_StoragePolicyDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.StoragePolicyDescription.class, tech.ydb.proto.table.YdbTable.StoragePolicyDescription.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** * 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; } } /** * 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 LABELS_FIELD_NUMBER = 2; private static final class LabelsDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_StoragePolicyDescription_LabelsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } @SuppressWarnings("serial") private com.google.protobuf.MapField< java.lang.String, java.lang.String> labels_; private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { return com.google.protobuf.MapField.emptyMapField( LabelsDefaultEntryHolder.defaultEntry); } return labels_; } public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** * map<string, string> labels = 2; */ @java.lang.Override public boolean containsLabels( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** * map<string, string> labels = 2; */ @java.lang.Override public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** * map<string, string> labels = 2; */ @java.lang.Override public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> labels = 2; */ @java.lang.Override public java.lang.String getLabelsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 2); 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_); } for (java.util.Map.Entry entry : internalGetLabels().getMap().entrySet()) { com.google.protobuf.MapEntry labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, labels__); } 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.table.YdbTable.StoragePolicyDescription)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.StoragePolicyDescription other = (tech.ydb.proto.table.YdbTable.StoragePolicyDescription) obj; if (!getName() .equals(other.getName())) return false; if (!internalGetLabels().equals( other.internalGetLabels())) 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(); if (!internalGetLabels().getMap().isEmpty()) { hash = (37 * hash) + LABELS_FIELD_NUMBER; hash = (53 * hash) + internalGetLabels().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.StoragePolicyDescription parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.StoragePolicyDescription 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.table.YdbTable.StoragePolicyDescription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.StoragePolicyDescription 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.table.YdbTable.StoragePolicyDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.StoragePolicyDescription parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.StoragePolicyDescription parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.StoragePolicyDescription 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.table.YdbTable.StoragePolicyDescription parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.StoragePolicyDescription 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.table.YdbTable.StoragePolicyDescription parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.StoragePolicyDescription 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.table.YdbTable.StoragePolicyDescription 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.Table.StoragePolicyDescription} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.StoragePolicyDescription) tech.ydb.proto.table.YdbTable.StoragePolicyDescriptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_StoragePolicyDescription_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 2: return internalGetMutableLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_StoragePolicyDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.StoragePolicyDescription.class, tech.ydb.proto.table.YdbTable.StoragePolicyDescription.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.StoragePolicyDescription.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; internalGetMutableLabels().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_StoragePolicyDescription_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.StoragePolicyDescription getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.StoragePolicyDescription.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.StoragePolicyDescription build() { tech.ydb.proto.table.YdbTable.StoragePolicyDescription result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.StoragePolicyDescription buildPartial() { tech.ydb.proto.table.YdbTable.StoragePolicyDescription result = new tech.ydb.proto.table.YdbTable.StoragePolicyDescription(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.StoragePolicyDescription result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.labels_ = internalGetLabels(); result.labels_.makeImmutable(); } } @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.table.YdbTable.StoragePolicyDescription) { return mergeFrom((tech.ydb.proto.table.YdbTable.StoragePolicyDescription)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.StoragePolicyDescription other) { if (other == tech.ydb.proto.table.YdbTable.StoragePolicyDescription.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; onChanged(); } internalGetMutableLabels().mergeFrom( other.internalGetLabels()); bitField0_ |= 0x00000002; 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: { com.google.protobuf.MapEntry labels__ = input.readMessage( LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableLabels().getMutableMap().put( labels__.getKey(), labels__.getValue()); 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 java.lang.Object name_ = ""; /** * 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; } } /** * 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; } } /** * 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; } /** * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * 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 com.google.protobuf.MapField< java.lang.String, java.lang.String> labels_; private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { return com.google.protobuf.MapField.emptyMapField( LabelsDefaultEntryHolder.defaultEntry); } return labels_; } private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { labels_ = com.google.protobuf.MapField.newMapField( LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); } bitField0_ |= 0x00000002; onChanged(); return labels_; } public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** * map<string, string> labels = 2; */ @java.lang.Override public boolean containsLabels( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** * map<string, string> labels = 2; */ @java.lang.Override public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** * map<string, string> labels = 2; */ @java.lang.Override public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> labels = 2; */ @java.lang.Override public java.lang.String getLabelsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000002); internalGetMutableLabels().getMutableMap() .clear(); return this; } /** * map<string, string> labels = 2; */ public Builder removeLabels( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableLabels().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableLabels() { bitField0_ |= 0x00000002; return internalGetMutableLabels().getMutableMap(); } /** * map<string, string> labels = 2; */ public Builder putLabels( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableLabels().getMutableMap() .put(key, value); bitField0_ |= 0x00000002; return this; } /** * map<string, string> labels = 2; */ public Builder putAllLabels( java.util.Map values) { internalGetMutableLabels().getMutableMap() .putAll(values); bitField0_ |= 0x00000002; 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.Table.StoragePolicyDescription) } // @@protoc_insertion_point(class_scope:Ydb.Table.StoragePolicyDescription) private static final tech.ydb.proto.table.YdbTable.StoragePolicyDescription DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.StoragePolicyDescription(); } public static tech.ydb.proto.table.YdbTable.StoragePolicyDescription getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public StoragePolicyDescription 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.table.YdbTable.StoragePolicyDescription getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CompactionPolicyDescriptionOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.CompactionPolicyDescription) com.google.protobuf.MessageOrBuilder { /** * string name = 1; * @return The name. */ java.lang.String getName(); /** * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * map<string, string> labels = 2; */ int getLabelsCount(); /** * map<string, string> labels = 2; */ boolean containsLabels( java.lang.String key); /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated java.util.Map getLabels(); /** * map<string, string> labels = 2; */ java.util.Map getLabelsMap(); /** * map<string, string> labels = 2; */ /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** * map<string, string> labels = 2; */ java.lang.String getLabelsOrThrow( java.lang.String key); } /** * Protobuf type {@code Ydb.Table.CompactionPolicyDescription} */ public static final class CompactionPolicyDescription extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.CompactionPolicyDescription) CompactionPolicyDescriptionOrBuilder { private static final long serialVersionUID = 0L; // Use CompactionPolicyDescription.newBuilder() to construct. private CompactionPolicyDescription(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CompactionPolicyDescription() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CompactionPolicyDescription(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CompactionPolicyDescription_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CompactionPolicyDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CompactionPolicyDescription.class, tech.ydb.proto.table.YdbTable.CompactionPolicyDescription.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** * 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; } } /** * 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 LABELS_FIELD_NUMBER = 2; private static final class LabelsDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CompactionPolicyDescription_LabelsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } @SuppressWarnings("serial") private com.google.protobuf.MapField< java.lang.String, java.lang.String> labels_; private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { return com.google.protobuf.MapField.emptyMapField( LabelsDefaultEntryHolder.defaultEntry); } return labels_; } public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** * map<string, string> labels = 2; */ @java.lang.Override public boolean containsLabels( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** * map<string, string> labels = 2; */ @java.lang.Override public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** * map<string, string> labels = 2; */ @java.lang.Override public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> labels = 2; */ @java.lang.Override public java.lang.String getLabelsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 2); 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_); } for (java.util.Map.Entry entry : internalGetLabels().getMap().entrySet()) { com.google.protobuf.MapEntry labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, labels__); } 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.table.YdbTable.CompactionPolicyDescription)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.CompactionPolicyDescription other = (tech.ydb.proto.table.YdbTable.CompactionPolicyDescription) obj; if (!getName() .equals(other.getName())) return false; if (!internalGetLabels().equals( other.internalGetLabels())) 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(); if (!internalGetLabels().getMap().isEmpty()) { hash = (37 * hash) + LABELS_FIELD_NUMBER; hash = (53 * hash) + internalGetLabels().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.CompactionPolicyDescription parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CompactionPolicyDescription 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.table.YdbTable.CompactionPolicyDescription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CompactionPolicyDescription 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.table.YdbTable.CompactionPolicyDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CompactionPolicyDescription parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.CompactionPolicyDescription parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CompactionPolicyDescription 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.table.YdbTable.CompactionPolicyDescription parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CompactionPolicyDescription 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.table.YdbTable.CompactionPolicyDescription parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CompactionPolicyDescription 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.table.YdbTable.CompactionPolicyDescription 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.Table.CompactionPolicyDescription} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.CompactionPolicyDescription) tech.ydb.proto.table.YdbTable.CompactionPolicyDescriptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CompactionPolicyDescription_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 2: return internalGetMutableLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CompactionPolicyDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CompactionPolicyDescription.class, tech.ydb.proto.table.YdbTable.CompactionPolicyDescription.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.CompactionPolicyDescription.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; internalGetMutableLabels().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CompactionPolicyDescription_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CompactionPolicyDescription getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.CompactionPolicyDescription.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.CompactionPolicyDescription build() { tech.ydb.proto.table.YdbTable.CompactionPolicyDescription result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CompactionPolicyDescription buildPartial() { tech.ydb.proto.table.YdbTable.CompactionPolicyDescription result = new tech.ydb.proto.table.YdbTable.CompactionPolicyDescription(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.CompactionPolicyDescription result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.labels_ = internalGetLabels(); result.labels_.makeImmutable(); } } @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.table.YdbTable.CompactionPolicyDescription) { return mergeFrom((tech.ydb.proto.table.YdbTable.CompactionPolicyDescription)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.CompactionPolicyDescription other) { if (other == tech.ydb.proto.table.YdbTable.CompactionPolicyDescription.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; onChanged(); } internalGetMutableLabels().mergeFrom( other.internalGetLabels()); bitField0_ |= 0x00000002; 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: { com.google.protobuf.MapEntry labels__ = input.readMessage( LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableLabels().getMutableMap().put( labels__.getKey(), labels__.getValue()); 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 java.lang.Object name_ = ""; /** * 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; } } /** * 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; } } /** * 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; } /** * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * 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 com.google.protobuf.MapField< java.lang.String, java.lang.String> labels_; private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { return com.google.protobuf.MapField.emptyMapField( LabelsDefaultEntryHolder.defaultEntry); } return labels_; } private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { labels_ = com.google.protobuf.MapField.newMapField( LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); } bitField0_ |= 0x00000002; onChanged(); return labels_; } public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** * map<string, string> labels = 2; */ @java.lang.Override public boolean containsLabels( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** * map<string, string> labels = 2; */ @java.lang.Override public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** * map<string, string> labels = 2; */ @java.lang.Override public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> labels = 2; */ @java.lang.Override public java.lang.String getLabelsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000002); internalGetMutableLabels().getMutableMap() .clear(); return this; } /** * map<string, string> labels = 2; */ public Builder removeLabels( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableLabels().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableLabels() { bitField0_ |= 0x00000002; return internalGetMutableLabels().getMutableMap(); } /** * map<string, string> labels = 2; */ public Builder putLabels( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableLabels().getMutableMap() .put(key, value); bitField0_ |= 0x00000002; return this; } /** * map<string, string> labels = 2; */ public Builder putAllLabels( java.util.Map values) { internalGetMutableLabels().getMutableMap() .putAll(values); bitField0_ |= 0x00000002; 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.Table.CompactionPolicyDescription) } // @@protoc_insertion_point(class_scope:Ydb.Table.CompactionPolicyDescription) private static final tech.ydb.proto.table.YdbTable.CompactionPolicyDescription DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.CompactionPolicyDescription(); } public static tech.ydb.proto.table.YdbTable.CompactionPolicyDescription getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CompactionPolicyDescription 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.table.YdbTable.CompactionPolicyDescription getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PartitioningPolicyDescriptionOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.PartitioningPolicyDescription) com.google.protobuf.MessageOrBuilder { /** * string name = 1; * @return The name. */ java.lang.String getName(); /** * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * map<string, string> labels = 2; */ int getLabelsCount(); /** * map<string, string> labels = 2; */ boolean containsLabels( java.lang.String key); /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated java.util.Map getLabels(); /** * map<string, string> labels = 2; */ java.util.Map getLabelsMap(); /** * map<string, string> labels = 2; */ /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** * map<string, string> labels = 2; */ java.lang.String getLabelsOrThrow( java.lang.String key); } /** * Protobuf type {@code Ydb.Table.PartitioningPolicyDescription} */ public static final class PartitioningPolicyDescription extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.PartitioningPolicyDescription) PartitioningPolicyDescriptionOrBuilder { private static final long serialVersionUID = 0L; // Use PartitioningPolicyDescription.newBuilder() to construct. private PartitioningPolicyDescription(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PartitioningPolicyDescription() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PartitioningPolicyDescription(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PartitioningPolicyDescription_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PartitioningPolicyDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription.class, tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** * 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; } } /** * 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 LABELS_FIELD_NUMBER = 2; private static final class LabelsDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PartitioningPolicyDescription_LabelsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } @SuppressWarnings("serial") private com.google.protobuf.MapField< java.lang.String, java.lang.String> labels_; private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { return com.google.protobuf.MapField.emptyMapField( LabelsDefaultEntryHolder.defaultEntry); } return labels_; } public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** * map<string, string> labels = 2; */ @java.lang.Override public boolean containsLabels( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** * map<string, string> labels = 2; */ @java.lang.Override public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** * map<string, string> labels = 2; */ @java.lang.Override public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> labels = 2; */ @java.lang.Override public java.lang.String getLabelsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 2); 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_); } for (java.util.Map.Entry entry : internalGetLabels().getMap().entrySet()) { com.google.protobuf.MapEntry labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, labels__); } 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.table.YdbTable.PartitioningPolicyDescription)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription other = (tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription) obj; if (!getName() .equals(other.getName())) return false; if (!internalGetLabels().equals( other.internalGetLabels())) 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(); if (!internalGetLabels().getMap().isEmpty()) { hash = (37 * hash) + LABELS_FIELD_NUMBER; hash = (53 * hash) + internalGetLabels().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription 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.table.YdbTable.PartitioningPolicyDescription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription 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.table.YdbTable.PartitioningPolicyDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription 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.table.YdbTable.PartitioningPolicyDescription parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription 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.table.YdbTable.PartitioningPolicyDescription parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription 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.table.YdbTable.PartitioningPolicyDescription 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.Table.PartitioningPolicyDescription} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.PartitioningPolicyDescription) tech.ydb.proto.table.YdbTable.PartitioningPolicyDescriptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PartitioningPolicyDescription_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 2: return internalGetMutableLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PartitioningPolicyDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription.class, tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; internalGetMutableLabels().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_PartitioningPolicyDescription_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription build() { tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription buildPartial() { tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription result = new tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.labels_ = internalGetLabels(); result.labels_.makeImmutable(); } } @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.table.YdbTable.PartitioningPolicyDescription) { return mergeFrom((tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription other) { if (other == tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; onChanged(); } internalGetMutableLabels().mergeFrom( other.internalGetLabels()); bitField0_ |= 0x00000002; 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: { com.google.protobuf.MapEntry labels__ = input.readMessage( LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableLabels().getMutableMap().put( labels__.getKey(), labels__.getValue()); 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 java.lang.Object name_ = ""; /** * 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; } } /** * 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; } } /** * 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; } /** * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * 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 com.google.protobuf.MapField< java.lang.String, java.lang.String> labels_; private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { return com.google.protobuf.MapField.emptyMapField( LabelsDefaultEntryHolder.defaultEntry); } return labels_; } private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { labels_ = com.google.protobuf.MapField.newMapField( LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); } bitField0_ |= 0x00000002; onChanged(); return labels_; } public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** * map<string, string> labels = 2; */ @java.lang.Override public boolean containsLabels( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** * map<string, string> labels = 2; */ @java.lang.Override public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** * map<string, string> labels = 2; */ @java.lang.Override public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> labels = 2; */ @java.lang.Override public java.lang.String getLabelsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000002); internalGetMutableLabels().getMutableMap() .clear(); return this; } /** * map<string, string> labels = 2; */ public Builder removeLabels( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableLabels().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableLabels() { bitField0_ |= 0x00000002; return internalGetMutableLabels().getMutableMap(); } /** * map<string, string> labels = 2; */ public Builder putLabels( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableLabels().getMutableMap() .put(key, value); bitField0_ |= 0x00000002; return this; } /** * map<string, string> labels = 2; */ public Builder putAllLabels( java.util.Map values) { internalGetMutableLabels().getMutableMap() .putAll(values); bitField0_ |= 0x00000002; 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.Table.PartitioningPolicyDescription) } // @@protoc_insertion_point(class_scope:Ydb.Table.PartitioningPolicyDescription) private static final tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription(); } public static tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PartitioningPolicyDescription 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.table.YdbTable.PartitioningPolicyDescription getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExecutionPolicyDescriptionOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.ExecutionPolicyDescription) com.google.protobuf.MessageOrBuilder { /** * string name = 1; * @return The name. */ java.lang.String getName(); /** * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * map<string, string> labels = 2; */ int getLabelsCount(); /** * map<string, string> labels = 2; */ boolean containsLabels( java.lang.String key); /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated java.util.Map getLabels(); /** * map<string, string> labels = 2; */ java.util.Map getLabelsMap(); /** * map<string, string> labels = 2; */ /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** * map<string, string> labels = 2; */ java.lang.String getLabelsOrThrow( java.lang.String key); } /** * Protobuf type {@code Ydb.Table.ExecutionPolicyDescription} */ public static final class ExecutionPolicyDescription extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.ExecutionPolicyDescription) ExecutionPolicyDescriptionOrBuilder { private static final long serialVersionUID = 0L; // Use ExecutionPolicyDescription.newBuilder() to construct. private ExecutionPolicyDescription(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExecutionPolicyDescription() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExecutionPolicyDescription(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecutionPolicyDescription_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecutionPolicyDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription.class, tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** * 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; } } /** * 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 LABELS_FIELD_NUMBER = 2; private static final class LabelsDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecutionPolicyDescription_LabelsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } @SuppressWarnings("serial") private com.google.protobuf.MapField< java.lang.String, java.lang.String> labels_; private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { return com.google.protobuf.MapField.emptyMapField( LabelsDefaultEntryHolder.defaultEntry); } return labels_; } public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** * map<string, string> labels = 2; */ @java.lang.Override public boolean containsLabels( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** * map<string, string> labels = 2; */ @java.lang.Override public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** * map<string, string> labels = 2; */ @java.lang.Override public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> labels = 2; */ @java.lang.Override public java.lang.String getLabelsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 2); 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_); } for (java.util.Map.Entry entry : internalGetLabels().getMap().entrySet()) { com.google.protobuf.MapEntry labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, labels__); } 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.table.YdbTable.ExecutionPolicyDescription)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription other = (tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription) obj; if (!getName() .equals(other.getName())) return false; if (!internalGetLabels().equals( other.internalGetLabels())) 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(); if (!internalGetLabels().getMap().isEmpty()) { hash = (37 * hash) + LABELS_FIELD_NUMBER; hash = (53 * hash) + internalGetLabels().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription 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.table.YdbTable.ExecutionPolicyDescription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription 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.table.YdbTable.ExecutionPolicyDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription 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.table.YdbTable.ExecutionPolicyDescription parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription 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.table.YdbTable.ExecutionPolicyDescription parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription 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.table.YdbTable.ExecutionPolicyDescription 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.Table.ExecutionPolicyDescription} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.ExecutionPolicyDescription) tech.ydb.proto.table.YdbTable.ExecutionPolicyDescriptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecutionPolicyDescription_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 2: return internalGetMutableLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecutionPolicyDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription.class, tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; internalGetMutableLabels().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecutionPolicyDescription_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription build() { tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription buildPartial() { tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription result = new tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.labels_ = internalGetLabels(); result.labels_.makeImmutable(); } } @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.table.YdbTable.ExecutionPolicyDescription) { return mergeFrom((tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription other) { if (other == tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; onChanged(); } internalGetMutableLabels().mergeFrom( other.internalGetLabels()); bitField0_ |= 0x00000002; 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: { com.google.protobuf.MapEntry labels__ = input.readMessage( LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableLabels().getMutableMap().put( labels__.getKey(), labels__.getValue()); 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 java.lang.Object name_ = ""; /** * 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; } } /** * 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; } } /** * 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; } /** * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * 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 com.google.protobuf.MapField< java.lang.String, java.lang.String> labels_; private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { return com.google.protobuf.MapField.emptyMapField( LabelsDefaultEntryHolder.defaultEntry); } return labels_; } private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { labels_ = com.google.protobuf.MapField.newMapField( LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); } bitField0_ |= 0x00000002; onChanged(); return labels_; } public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** * map<string, string> labels = 2; */ @java.lang.Override public boolean containsLabels( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** * map<string, string> labels = 2; */ @java.lang.Override public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** * map<string, string> labels = 2; */ @java.lang.Override public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> labels = 2; */ @java.lang.Override public java.lang.String getLabelsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000002); internalGetMutableLabels().getMutableMap() .clear(); return this; } /** * map<string, string> labels = 2; */ public Builder removeLabels( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableLabels().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableLabels() { bitField0_ |= 0x00000002; return internalGetMutableLabels().getMutableMap(); } /** * map<string, string> labels = 2; */ public Builder putLabels( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableLabels().getMutableMap() .put(key, value); bitField0_ |= 0x00000002; return this; } /** * map<string, string> labels = 2; */ public Builder putAllLabels( java.util.Map values) { internalGetMutableLabels().getMutableMap() .putAll(values); bitField0_ |= 0x00000002; 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.Table.ExecutionPolicyDescription) } // @@protoc_insertion_point(class_scope:Ydb.Table.ExecutionPolicyDescription) private static final tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription(); } public static tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExecutionPolicyDescription 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.table.YdbTable.ExecutionPolicyDescription getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ReplicationPolicyDescriptionOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.ReplicationPolicyDescription) com.google.protobuf.MessageOrBuilder { /** * string name = 1; * @return The name. */ java.lang.String getName(); /** * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * map<string, string> labels = 2; */ int getLabelsCount(); /** * map<string, string> labels = 2; */ boolean containsLabels( java.lang.String key); /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated java.util.Map getLabels(); /** * map<string, string> labels = 2; */ java.util.Map getLabelsMap(); /** * map<string, string> labels = 2; */ /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** * map<string, string> labels = 2; */ java.lang.String getLabelsOrThrow( java.lang.String key); } /** * Protobuf type {@code Ydb.Table.ReplicationPolicyDescription} */ public static final class ReplicationPolicyDescription extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.ReplicationPolicyDescription) ReplicationPolicyDescriptionOrBuilder { private static final long serialVersionUID = 0L; // Use ReplicationPolicyDescription.newBuilder() to construct. private ReplicationPolicyDescription(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ReplicationPolicyDescription() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ReplicationPolicyDescription(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReplicationPolicyDescription_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReplicationPolicyDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription.class, tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** * 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; } } /** * 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 LABELS_FIELD_NUMBER = 2; private static final class LabelsDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReplicationPolicyDescription_LabelsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } @SuppressWarnings("serial") private com.google.protobuf.MapField< java.lang.String, java.lang.String> labels_; private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { return com.google.protobuf.MapField.emptyMapField( LabelsDefaultEntryHolder.defaultEntry); } return labels_; } public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** * map<string, string> labels = 2; */ @java.lang.Override public boolean containsLabels( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** * map<string, string> labels = 2; */ @java.lang.Override public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** * map<string, string> labels = 2; */ @java.lang.Override public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> labels = 2; */ @java.lang.Override public java.lang.String getLabelsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 2); 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_); } for (java.util.Map.Entry entry : internalGetLabels().getMap().entrySet()) { com.google.protobuf.MapEntry labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, labels__); } 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.table.YdbTable.ReplicationPolicyDescription)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription other = (tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription) obj; if (!getName() .equals(other.getName())) return false; if (!internalGetLabels().equals( other.internalGetLabels())) 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(); if (!internalGetLabels().getMap().isEmpty()) { hash = (37 * hash) + LABELS_FIELD_NUMBER; hash = (53 * hash) + internalGetLabels().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription 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.table.YdbTable.ReplicationPolicyDescription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription 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.table.YdbTable.ReplicationPolicyDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription 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.table.YdbTable.ReplicationPolicyDescription parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription 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.table.YdbTable.ReplicationPolicyDescription parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription 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.table.YdbTable.ReplicationPolicyDescription 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.Table.ReplicationPolicyDescription} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.ReplicationPolicyDescription) tech.ydb.proto.table.YdbTable.ReplicationPolicyDescriptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReplicationPolicyDescription_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 2: return internalGetMutableLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReplicationPolicyDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription.class, tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; internalGetMutableLabels().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReplicationPolicyDescription_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription build() { tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription buildPartial() { tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription result = new tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.labels_ = internalGetLabels(); result.labels_.makeImmutable(); } } @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.table.YdbTable.ReplicationPolicyDescription) { return mergeFrom((tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription other) { if (other == tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; onChanged(); } internalGetMutableLabels().mergeFrom( other.internalGetLabels()); bitField0_ |= 0x00000002; 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: { com.google.protobuf.MapEntry labels__ = input.readMessage( LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableLabels().getMutableMap().put( labels__.getKey(), labels__.getValue()); 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 java.lang.Object name_ = ""; /** * 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; } } /** * 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; } } /** * 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; } /** * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * 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 com.google.protobuf.MapField< java.lang.String, java.lang.String> labels_; private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { return com.google.protobuf.MapField.emptyMapField( LabelsDefaultEntryHolder.defaultEntry); } return labels_; } private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { labels_ = com.google.protobuf.MapField.newMapField( LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); } bitField0_ |= 0x00000002; onChanged(); return labels_; } public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** * map<string, string> labels = 2; */ @java.lang.Override public boolean containsLabels( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** * map<string, string> labels = 2; */ @java.lang.Override public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** * map<string, string> labels = 2; */ @java.lang.Override public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> labels = 2; */ @java.lang.Override public java.lang.String getLabelsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000002); internalGetMutableLabels().getMutableMap() .clear(); return this; } /** * map<string, string> labels = 2; */ public Builder removeLabels( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableLabels().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableLabels() { bitField0_ |= 0x00000002; return internalGetMutableLabels().getMutableMap(); } /** * map<string, string> labels = 2; */ public Builder putLabels( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableLabels().getMutableMap() .put(key, value); bitField0_ |= 0x00000002; return this; } /** * map<string, string> labels = 2; */ public Builder putAllLabels( java.util.Map values) { internalGetMutableLabels().getMutableMap() .putAll(values); bitField0_ |= 0x00000002; 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.Table.ReplicationPolicyDescription) } // @@protoc_insertion_point(class_scope:Ydb.Table.ReplicationPolicyDescription) private static final tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription(); } public static tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ReplicationPolicyDescription 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.table.YdbTable.ReplicationPolicyDescription getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CachingPolicyDescriptionOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.CachingPolicyDescription) com.google.protobuf.MessageOrBuilder { /** * string name = 1; * @return The name. */ java.lang.String getName(); /** * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * map<string, string> labels = 2; */ int getLabelsCount(); /** * map<string, string> labels = 2; */ boolean containsLabels( java.lang.String key); /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated java.util.Map getLabels(); /** * map<string, string> labels = 2; */ java.util.Map getLabelsMap(); /** * map<string, string> labels = 2; */ /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** * map<string, string> labels = 2; */ java.lang.String getLabelsOrThrow( java.lang.String key); } /** * Protobuf type {@code Ydb.Table.CachingPolicyDescription} */ public static final class CachingPolicyDescription extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.CachingPolicyDescription) CachingPolicyDescriptionOrBuilder { private static final long serialVersionUID = 0L; // Use CachingPolicyDescription.newBuilder() to construct. private CachingPolicyDescription(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CachingPolicyDescription() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CachingPolicyDescription(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CachingPolicyDescription_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CachingPolicyDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CachingPolicyDescription.class, tech.ydb.proto.table.YdbTable.CachingPolicyDescription.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** * 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; } } /** * 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 LABELS_FIELD_NUMBER = 2; private static final class LabelsDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CachingPolicyDescription_LabelsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } @SuppressWarnings("serial") private com.google.protobuf.MapField< java.lang.String, java.lang.String> labels_; private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { return com.google.protobuf.MapField.emptyMapField( LabelsDefaultEntryHolder.defaultEntry); } return labels_; } public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** * map<string, string> labels = 2; */ @java.lang.Override public boolean containsLabels( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** * map<string, string> labels = 2; */ @java.lang.Override public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** * map<string, string> labels = 2; */ @java.lang.Override public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> labels = 2; */ @java.lang.Override public java.lang.String getLabelsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 2); 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_); } for (java.util.Map.Entry entry : internalGetLabels().getMap().entrySet()) { com.google.protobuf.MapEntry labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, labels__); } 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.table.YdbTable.CachingPolicyDescription)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.CachingPolicyDescription other = (tech.ydb.proto.table.YdbTable.CachingPolicyDescription) obj; if (!getName() .equals(other.getName())) return false; if (!internalGetLabels().equals( other.internalGetLabels())) 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(); if (!internalGetLabels().getMap().isEmpty()) { hash = (37 * hash) + LABELS_FIELD_NUMBER; hash = (53 * hash) + internalGetLabels().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.CachingPolicyDescription parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CachingPolicyDescription 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.table.YdbTable.CachingPolicyDescription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CachingPolicyDescription 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.table.YdbTable.CachingPolicyDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.CachingPolicyDescription parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.CachingPolicyDescription parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CachingPolicyDescription 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.table.YdbTable.CachingPolicyDescription parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CachingPolicyDescription 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.table.YdbTable.CachingPolicyDescription parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.CachingPolicyDescription 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.table.YdbTable.CachingPolicyDescription 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.Table.CachingPolicyDescription} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.CachingPolicyDescription) tech.ydb.proto.table.YdbTable.CachingPolicyDescriptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CachingPolicyDescription_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 2: return internalGetMutableLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CachingPolicyDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.CachingPolicyDescription.class, tech.ydb.proto.table.YdbTable.CachingPolicyDescription.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.CachingPolicyDescription.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; internalGetMutableLabels().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_CachingPolicyDescription_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CachingPolicyDescription getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.CachingPolicyDescription.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.CachingPolicyDescription build() { tech.ydb.proto.table.YdbTable.CachingPolicyDescription result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.CachingPolicyDescription buildPartial() { tech.ydb.proto.table.YdbTable.CachingPolicyDescription result = new tech.ydb.proto.table.YdbTable.CachingPolicyDescription(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.CachingPolicyDescription result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.labels_ = internalGetLabels(); result.labels_.makeImmutable(); } } @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.table.YdbTable.CachingPolicyDescription) { return mergeFrom((tech.ydb.proto.table.YdbTable.CachingPolicyDescription)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.CachingPolicyDescription other) { if (other == tech.ydb.proto.table.YdbTable.CachingPolicyDescription.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; onChanged(); } internalGetMutableLabels().mergeFrom( other.internalGetLabels()); bitField0_ |= 0x00000002; 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: { com.google.protobuf.MapEntry labels__ = input.readMessage( LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableLabels().getMutableMap().put( labels__.getKey(), labels__.getValue()); 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 java.lang.Object name_ = ""; /** * 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; } } /** * 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; } } /** * 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; } /** * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * 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 com.google.protobuf.MapField< java.lang.String, java.lang.String> labels_; private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { return com.google.protobuf.MapField.emptyMapField( LabelsDefaultEntryHolder.defaultEntry); } return labels_; } private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { labels_ = com.google.protobuf.MapField.newMapField( LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); } bitField0_ |= 0x00000002; onChanged(); return labels_; } public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** * map<string, string> labels = 2; */ @java.lang.Override public boolean containsLabels( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** * map<string, string> labels = 2; */ @java.lang.Override public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** * map<string, string> labels = 2; */ @java.lang.Override public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> labels = 2; */ @java.lang.Override public java.lang.String getLabelsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000002); internalGetMutableLabels().getMutableMap() .clear(); return this; } /** * map<string, string> labels = 2; */ public Builder removeLabels( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableLabels().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableLabels() { bitField0_ |= 0x00000002; return internalGetMutableLabels().getMutableMap(); } /** * map<string, string> labels = 2; */ public Builder putLabels( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableLabels().getMutableMap() .put(key, value); bitField0_ |= 0x00000002; return this; } /** * map<string, string> labels = 2; */ public Builder putAllLabels( java.util.Map values) { internalGetMutableLabels().getMutableMap() .putAll(values); bitField0_ |= 0x00000002; 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.Table.CachingPolicyDescription) } // @@protoc_insertion_point(class_scope:Ydb.Table.CachingPolicyDescription) private static final tech.ydb.proto.table.YdbTable.CachingPolicyDescription DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.CachingPolicyDescription(); } public static tech.ydb.proto.table.YdbTable.CachingPolicyDescription getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CachingPolicyDescription 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.table.YdbTable.CachingPolicyDescription getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TableProfileDescriptionOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.TableProfileDescription) com.google.protobuf.MessageOrBuilder { /** * string name = 1; * @return The name. */ java.lang.String getName(); /** * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * map<string, string> labels = 2; */ int getLabelsCount(); /** * map<string, string> labels = 2; */ boolean containsLabels( java.lang.String key); /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated java.util.Map getLabels(); /** * map<string, string> labels = 2; */ java.util.Map getLabelsMap(); /** * map<string, string> labels = 2; */ /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** * map<string, string> labels = 2; */ java.lang.String getLabelsOrThrow( java.lang.String key); /** * string default_storage_policy = 3; * @return The defaultStoragePolicy. */ java.lang.String getDefaultStoragePolicy(); /** * string default_storage_policy = 3; * @return The bytes for defaultStoragePolicy. */ com.google.protobuf.ByteString getDefaultStoragePolicyBytes(); /** * repeated string allowed_storage_policies = 4; * @return A list containing the allowedStoragePolicies. */ java.util.List getAllowedStoragePoliciesList(); /** * repeated string allowed_storage_policies = 4; * @return The count of allowedStoragePolicies. */ int getAllowedStoragePoliciesCount(); /** * repeated string allowed_storage_policies = 4; * @param index The index of the element to return. * @return The allowedStoragePolicies at the given index. */ java.lang.String getAllowedStoragePolicies(int index); /** * repeated string allowed_storage_policies = 4; * @param index The index of the value to return. * @return The bytes of the allowedStoragePolicies at the given index. */ com.google.protobuf.ByteString getAllowedStoragePoliciesBytes(int index); /** * string default_compaction_policy = 5; * @return The defaultCompactionPolicy. */ java.lang.String getDefaultCompactionPolicy(); /** * string default_compaction_policy = 5; * @return The bytes for defaultCompactionPolicy. */ com.google.protobuf.ByteString getDefaultCompactionPolicyBytes(); /** * repeated string allowed_compaction_policies = 6; * @return A list containing the allowedCompactionPolicies. */ java.util.List getAllowedCompactionPoliciesList(); /** * repeated string allowed_compaction_policies = 6; * @return The count of allowedCompactionPolicies. */ int getAllowedCompactionPoliciesCount(); /** * repeated string allowed_compaction_policies = 6; * @param index The index of the element to return. * @return The allowedCompactionPolicies at the given index. */ java.lang.String getAllowedCompactionPolicies(int index); /** * repeated string allowed_compaction_policies = 6; * @param index The index of the value to return. * @return The bytes of the allowedCompactionPolicies at the given index. */ com.google.protobuf.ByteString getAllowedCompactionPoliciesBytes(int index); /** * string default_partitioning_policy = 7; * @return The defaultPartitioningPolicy. */ java.lang.String getDefaultPartitioningPolicy(); /** * string default_partitioning_policy = 7; * @return The bytes for defaultPartitioningPolicy. */ com.google.protobuf.ByteString getDefaultPartitioningPolicyBytes(); /** * repeated string allowed_partitioning_policies = 8; * @return A list containing the allowedPartitioningPolicies. */ java.util.List getAllowedPartitioningPoliciesList(); /** * repeated string allowed_partitioning_policies = 8; * @return The count of allowedPartitioningPolicies. */ int getAllowedPartitioningPoliciesCount(); /** * repeated string allowed_partitioning_policies = 8; * @param index The index of the element to return. * @return The allowedPartitioningPolicies at the given index. */ java.lang.String getAllowedPartitioningPolicies(int index); /** * repeated string allowed_partitioning_policies = 8; * @param index The index of the value to return. * @return The bytes of the allowedPartitioningPolicies at the given index. */ com.google.protobuf.ByteString getAllowedPartitioningPoliciesBytes(int index); /** * string default_execution_policy = 9; * @return The defaultExecutionPolicy. */ java.lang.String getDefaultExecutionPolicy(); /** * string default_execution_policy = 9; * @return The bytes for defaultExecutionPolicy. */ com.google.protobuf.ByteString getDefaultExecutionPolicyBytes(); /** * repeated string allowed_execution_policies = 10; * @return A list containing the allowedExecutionPolicies. */ java.util.List getAllowedExecutionPoliciesList(); /** * repeated string allowed_execution_policies = 10; * @return The count of allowedExecutionPolicies. */ int getAllowedExecutionPoliciesCount(); /** * repeated string allowed_execution_policies = 10; * @param index The index of the element to return. * @return The allowedExecutionPolicies at the given index. */ java.lang.String getAllowedExecutionPolicies(int index); /** * repeated string allowed_execution_policies = 10; * @param index The index of the value to return. * @return The bytes of the allowedExecutionPolicies at the given index. */ com.google.protobuf.ByteString getAllowedExecutionPoliciesBytes(int index); /** * string default_replication_policy = 11; * @return The defaultReplicationPolicy. */ java.lang.String getDefaultReplicationPolicy(); /** * string default_replication_policy = 11; * @return The bytes for defaultReplicationPolicy. */ com.google.protobuf.ByteString getDefaultReplicationPolicyBytes(); /** * repeated string allowed_replication_policies = 12; * @return A list containing the allowedReplicationPolicies. */ java.util.List getAllowedReplicationPoliciesList(); /** * repeated string allowed_replication_policies = 12; * @return The count of allowedReplicationPolicies. */ int getAllowedReplicationPoliciesCount(); /** * repeated string allowed_replication_policies = 12; * @param index The index of the element to return. * @return The allowedReplicationPolicies at the given index. */ java.lang.String getAllowedReplicationPolicies(int index); /** * repeated string allowed_replication_policies = 12; * @param index The index of the value to return. * @return The bytes of the allowedReplicationPolicies at the given index. */ com.google.protobuf.ByteString getAllowedReplicationPoliciesBytes(int index); /** * string default_caching_policy = 13; * @return The defaultCachingPolicy. */ java.lang.String getDefaultCachingPolicy(); /** * string default_caching_policy = 13; * @return The bytes for defaultCachingPolicy. */ com.google.protobuf.ByteString getDefaultCachingPolicyBytes(); /** * repeated string allowed_caching_policies = 14; * @return A list containing the allowedCachingPolicies. */ java.util.List getAllowedCachingPoliciesList(); /** * repeated string allowed_caching_policies = 14; * @return The count of allowedCachingPolicies. */ int getAllowedCachingPoliciesCount(); /** * repeated string allowed_caching_policies = 14; * @param index The index of the element to return. * @return The allowedCachingPolicies at the given index. */ java.lang.String getAllowedCachingPolicies(int index); /** * repeated string allowed_caching_policies = 14; * @param index The index of the value to return. * @return The bytes of the allowedCachingPolicies at the given index. */ com.google.protobuf.ByteString getAllowedCachingPoliciesBytes(int index); } /** * Protobuf type {@code Ydb.Table.TableProfileDescription} */ public static final class TableProfileDescription extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.TableProfileDescription) TableProfileDescriptionOrBuilder { private static final long serialVersionUID = 0L; // Use TableProfileDescription.newBuilder() to construct. private TableProfileDescription(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TableProfileDescription() { name_ = ""; defaultStoragePolicy_ = ""; allowedStoragePolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); defaultCompactionPolicy_ = ""; allowedCompactionPolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); defaultPartitioningPolicy_ = ""; allowedPartitioningPolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); defaultExecutionPolicy_ = ""; allowedExecutionPolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); defaultReplicationPolicy_ = ""; allowedReplicationPolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); defaultCachingPolicy_ = ""; allowedCachingPolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TableProfileDescription(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TableProfileDescription_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TableProfileDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.TableProfileDescription.class, tech.ydb.proto.table.YdbTable.TableProfileDescription.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** * 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; } } /** * 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 LABELS_FIELD_NUMBER = 2; private static final class LabelsDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TableProfileDescription_LabelsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } @SuppressWarnings("serial") private com.google.protobuf.MapField< java.lang.String, java.lang.String> labels_; private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { return com.google.protobuf.MapField.emptyMapField( LabelsDefaultEntryHolder.defaultEntry); } return labels_; } public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** * map<string, string> labels = 2; */ @java.lang.Override public boolean containsLabels( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** * map<string, string> labels = 2; */ @java.lang.Override public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** * map<string, string> labels = 2; */ @java.lang.Override public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> labels = 2; */ @java.lang.Override public java.lang.String getLabelsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int DEFAULT_STORAGE_POLICY_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object defaultStoragePolicy_ = ""; /** * string default_storage_policy = 3; * @return The defaultStoragePolicy. */ @java.lang.Override public java.lang.String getDefaultStoragePolicy() { java.lang.Object ref = defaultStoragePolicy_; 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(); defaultStoragePolicy_ = s; return s; } } /** * string default_storage_policy = 3; * @return The bytes for defaultStoragePolicy. */ @java.lang.Override public com.google.protobuf.ByteString getDefaultStoragePolicyBytes() { java.lang.Object ref = defaultStoragePolicy_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultStoragePolicy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ALLOWED_STORAGE_POLICIES_FIELD_NUMBER = 4; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList allowedStoragePolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * repeated string allowed_storage_policies = 4; * @return A list containing the allowedStoragePolicies. */ public com.google.protobuf.ProtocolStringList getAllowedStoragePoliciesList() { return allowedStoragePolicies_; } /** * repeated string allowed_storage_policies = 4; * @return The count of allowedStoragePolicies. */ public int getAllowedStoragePoliciesCount() { return allowedStoragePolicies_.size(); } /** * repeated string allowed_storage_policies = 4; * @param index The index of the element to return. * @return The allowedStoragePolicies at the given index. */ public java.lang.String getAllowedStoragePolicies(int index) { return allowedStoragePolicies_.get(index); } /** * repeated string allowed_storage_policies = 4; * @param index The index of the value to return. * @return The bytes of the allowedStoragePolicies at the given index. */ public com.google.protobuf.ByteString getAllowedStoragePoliciesBytes(int index) { return allowedStoragePolicies_.getByteString(index); } public static final int DEFAULT_COMPACTION_POLICY_FIELD_NUMBER = 5; @SuppressWarnings("serial") private volatile java.lang.Object defaultCompactionPolicy_ = ""; /** * string default_compaction_policy = 5; * @return The defaultCompactionPolicy. */ @java.lang.Override public java.lang.String getDefaultCompactionPolicy() { java.lang.Object ref = defaultCompactionPolicy_; 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(); defaultCompactionPolicy_ = s; return s; } } /** * string default_compaction_policy = 5; * @return The bytes for defaultCompactionPolicy. */ @java.lang.Override public com.google.protobuf.ByteString getDefaultCompactionPolicyBytes() { java.lang.Object ref = defaultCompactionPolicy_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultCompactionPolicy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ALLOWED_COMPACTION_POLICIES_FIELD_NUMBER = 6; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList allowedCompactionPolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * repeated string allowed_compaction_policies = 6; * @return A list containing the allowedCompactionPolicies. */ public com.google.protobuf.ProtocolStringList getAllowedCompactionPoliciesList() { return allowedCompactionPolicies_; } /** * repeated string allowed_compaction_policies = 6; * @return The count of allowedCompactionPolicies. */ public int getAllowedCompactionPoliciesCount() { return allowedCompactionPolicies_.size(); } /** * repeated string allowed_compaction_policies = 6; * @param index The index of the element to return. * @return The allowedCompactionPolicies at the given index. */ public java.lang.String getAllowedCompactionPolicies(int index) { return allowedCompactionPolicies_.get(index); } /** * repeated string allowed_compaction_policies = 6; * @param index The index of the value to return. * @return The bytes of the allowedCompactionPolicies at the given index. */ public com.google.protobuf.ByteString getAllowedCompactionPoliciesBytes(int index) { return allowedCompactionPolicies_.getByteString(index); } public static final int DEFAULT_PARTITIONING_POLICY_FIELD_NUMBER = 7; @SuppressWarnings("serial") private volatile java.lang.Object defaultPartitioningPolicy_ = ""; /** * string default_partitioning_policy = 7; * @return The defaultPartitioningPolicy. */ @java.lang.Override public java.lang.String getDefaultPartitioningPolicy() { java.lang.Object ref = defaultPartitioningPolicy_; 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(); defaultPartitioningPolicy_ = s; return s; } } /** * string default_partitioning_policy = 7; * @return The bytes for defaultPartitioningPolicy. */ @java.lang.Override public com.google.protobuf.ByteString getDefaultPartitioningPolicyBytes() { java.lang.Object ref = defaultPartitioningPolicy_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultPartitioningPolicy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ALLOWED_PARTITIONING_POLICIES_FIELD_NUMBER = 8; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList allowedPartitioningPolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * repeated string allowed_partitioning_policies = 8; * @return A list containing the allowedPartitioningPolicies. */ public com.google.protobuf.ProtocolStringList getAllowedPartitioningPoliciesList() { return allowedPartitioningPolicies_; } /** * repeated string allowed_partitioning_policies = 8; * @return The count of allowedPartitioningPolicies. */ public int getAllowedPartitioningPoliciesCount() { return allowedPartitioningPolicies_.size(); } /** * repeated string allowed_partitioning_policies = 8; * @param index The index of the element to return. * @return The allowedPartitioningPolicies at the given index. */ public java.lang.String getAllowedPartitioningPolicies(int index) { return allowedPartitioningPolicies_.get(index); } /** * repeated string allowed_partitioning_policies = 8; * @param index The index of the value to return. * @return The bytes of the allowedPartitioningPolicies at the given index. */ public com.google.protobuf.ByteString getAllowedPartitioningPoliciesBytes(int index) { return allowedPartitioningPolicies_.getByteString(index); } public static final int DEFAULT_EXECUTION_POLICY_FIELD_NUMBER = 9; @SuppressWarnings("serial") private volatile java.lang.Object defaultExecutionPolicy_ = ""; /** * string default_execution_policy = 9; * @return The defaultExecutionPolicy. */ @java.lang.Override public java.lang.String getDefaultExecutionPolicy() { java.lang.Object ref = defaultExecutionPolicy_; 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(); defaultExecutionPolicy_ = s; return s; } } /** * string default_execution_policy = 9; * @return The bytes for defaultExecutionPolicy. */ @java.lang.Override public com.google.protobuf.ByteString getDefaultExecutionPolicyBytes() { java.lang.Object ref = defaultExecutionPolicy_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultExecutionPolicy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ALLOWED_EXECUTION_POLICIES_FIELD_NUMBER = 10; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList allowedExecutionPolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * repeated string allowed_execution_policies = 10; * @return A list containing the allowedExecutionPolicies. */ public com.google.protobuf.ProtocolStringList getAllowedExecutionPoliciesList() { return allowedExecutionPolicies_; } /** * repeated string allowed_execution_policies = 10; * @return The count of allowedExecutionPolicies. */ public int getAllowedExecutionPoliciesCount() { return allowedExecutionPolicies_.size(); } /** * repeated string allowed_execution_policies = 10; * @param index The index of the element to return. * @return The allowedExecutionPolicies at the given index. */ public java.lang.String getAllowedExecutionPolicies(int index) { return allowedExecutionPolicies_.get(index); } /** * repeated string allowed_execution_policies = 10; * @param index The index of the value to return. * @return The bytes of the allowedExecutionPolicies at the given index. */ public com.google.protobuf.ByteString getAllowedExecutionPoliciesBytes(int index) { return allowedExecutionPolicies_.getByteString(index); } public static final int DEFAULT_REPLICATION_POLICY_FIELD_NUMBER = 11; @SuppressWarnings("serial") private volatile java.lang.Object defaultReplicationPolicy_ = ""; /** * string default_replication_policy = 11; * @return The defaultReplicationPolicy. */ @java.lang.Override public java.lang.String getDefaultReplicationPolicy() { java.lang.Object ref = defaultReplicationPolicy_; 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(); defaultReplicationPolicy_ = s; return s; } } /** * string default_replication_policy = 11; * @return The bytes for defaultReplicationPolicy. */ @java.lang.Override public com.google.protobuf.ByteString getDefaultReplicationPolicyBytes() { java.lang.Object ref = defaultReplicationPolicy_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultReplicationPolicy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ALLOWED_REPLICATION_POLICIES_FIELD_NUMBER = 12; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList allowedReplicationPolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * repeated string allowed_replication_policies = 12; * @return A list containing the allowedReplicationPolicies. */ public com.google.protobuf.ProtocolStringList getAllowedReplicationPoliciesList() { return allowedReplicationPolicies_; } /** * repeated string allowed_replication_policies = 12; * @return The count of allowedReplicationPolicies. */ public int getAllowedReplicationPoliciesCount() { return allowedReplicationPolicies_.size(); } /** * repeated string allowed_replication_policies = 12; * @param index The index of the element to return. * @return The allowedReplicationPolicies at the given index. */ public java.lang.String getAllowedReplicationPolicies(int index) { return allowedReplicationPolicies_.get(index); } /** * repeated string allowed_replication_policies = 12; * @param index The index of the value to return. * @return The bytes of the allowedReplicationPolicies at the given index. */ public com.google.protobuf.ByteString getAllowedReplicationPoliciesBytes(int index) { return allowedReplicationPolicies_.getByteString(index); } public static final int DEFAULT_CACHING_POLICY_FIELD_NUMBER = 13; @SuppressWarnings("serial") private volatile java.lang.Object defaultCachingPolicy_ = ""; /** * string default_caching_policy = 13; * @return The defaultCachingPolicy. */ @java.lang.Override public java.lang.String getDefaultCachingPolicy() { java.lang.Object ref = defaultCachingPolicy_; 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(); defaultCachingPolicy_ = s; return s; } } /** * string default_caching_policy = 13; * @return The bytes for defaultCachingPolicy. */ @java.lang.Override public com.google.protobuf.ByteString getDefaultCachingPolicyBytes() { java.lang.Object ref = defaultCachingPolicy_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultCachingPolicy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ALLOWED_CACHING_POLICIES_FIELD_NUMBER = 14; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList allowedCachingPolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * repeated string allowed_caching_policies = 14; * @return A list containing the allowedCachingPolicies. */ public com.google.protobuf.ProtocolStringList getAllowedCachingPoliciesList() { return allowedCachingPolicies_; } /** * repeated string allowed_caching_policies = 14; * @return The count of allowedCachingPolicies. */ public int getAllowedCachingPoliciesCount() { return allowedCachingPolicies_.size(); } /** * repeated string allowed_caching_policies = 14; * @param index The index of the element to return. * @return The allowedCachingPolicies at the given index. */ public java.lang.String getAllowedCachingPolicies(int index) { return allowedCachingPolicies_.get(index); } /** * repeated string allowed_caching_policies = 14; * @param index The index of the value to return. * @return The bytes of the allowedCachingPolicies at the given index. */ public com.google.protobuf.ByteString getAllowedCachingPoliciesBytes(int index) { return allowedCachingPolicies_.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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 2); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultStoragePolicy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, defaultStoragePolicy_); } for (int i = 0; i < allowedStoragePolicies_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, allowedStoragePolicies_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultCompactionPolicy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, defaultCompactionPolicy_); } for (int i = 0; i < allowedCompactionPolicies_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, allowedCompactionPolicies_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultPartitioningPolicy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, defaultPartitioningPolicy_); } for (int i = 0; i < allowedPartitioningPolicies_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, allowedPartitioningPolicies_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultExecutionPolicy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, defaultExecutionPolicy_); } for (int i = 0; i < allowedExecutionPolicies_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, allowedExecutionPolicies_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultReplicationPolicy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, defaultReplicationPolicy_); } for (int i = 0; i < allowedReplicationPolicies_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, allowedReplicationPolicies_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultCachingPolicy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, defaultCachingPolicy_); } for (int i = 0; i < allowedCachingPolicies_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, allowedCachingPolicies_.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(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (java.util.Map.Entry entry : internalGetLabels().getMap().entrySet()) { com.google.protobuf.MapEntry labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultStoragePolicy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, defaultStoragePolicy_); } { int dataSize = 0; for (int i = 0; i < allowedStoragePolicies_.size(); i++) { dataSize += computeStringSizeNoTag(allowedStoragePolicies_.getRaw(i)); } size += dataSize; size += 1 * getAllowedStoragePoliciesList().size(); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultCompactionPolicy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, defaultCompactionPolicy_); } { int dataSize = 0; for (int i = 0; i < allowedCompactionPolicies_.size(); i++) { dataSize += computeStringSizeNoTag(allowedCompactionPolicies_.getRaw(i)); } size += dataSize; size += 1 * getAllowedCompactionPoliciesList().size(); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultPartitioningPolicy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, defaultPartitioningPolicy_); } { int dataSize = 0; for (int i = 0; i < allowedPartitioningPolicies_.size(); i++) { dataSize += computeStringSizeNoTag(allowedPartitioningPolicies_.getRaw(i)); } size += dataSize; size += 1 * getAllowedPartitioningPoliciesList().size(); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultExecutionPolicy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, defaultExecutionPolicy_); } { int dataSize = 0; for (int i = 0; i < allowedExecutionPolicies_.size(); i++) { dataSize += computeStringSizeNoTag(allowedExecutionPolicies_.getRaw(i)); } size += dataSize; size += 1 * getAllowedExecutionPoliciesList().size(); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultReplicationPolicy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, defaultReplicationPolicy_); } { int dataSize = 0; for (int i = 0; i < allowedReplicationPolicies_.size(); i++) { dataSize += computeStringSizeNoTag(allowedReplicationPolicies_.getRaw(i)); } size += dataSize; size += 1 * getAllowedReplicationPoliciesList().size(); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultCachingPolicy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, defaultCachingPolicy_); } { int dataSize = 0; for (int i = 0; i < allowedCachingPolicies_.size(); i++) { dataSize += computeStringSizeNoTag(allowedCachingPolicies_.getRaw(i)); } size += dataSize; size += 1 * getAllowedCachingPoliciesList().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.table.YdbTable.TableProfileDescription)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.TableProfileDescription other = (tech.ydb.proto.table.YdbTable.TableProfileDescription) obj; if (!getName() .equals(other.getName())) return false; if (!internalGetLabels().equals( other.internalGetLabels())) return false; if (!getDefaultStoragePolicy() .equals(other.getDefaultStoragePolicy())) return false; if (!getAllowedStoragePoliciesList() .equals(other.getAllowedStoragePoliciesList())) return false; if (!getDefaultCompactionPolicy() .equals(other.getDefaultCompactionPolicy())) return false; if (!getAllowedCompactionPoliciesList() .equals(other.getAllowedCompactionPoliciesList())) return false; if (!getDefaultPartitioningPolicy() .equals(other.getDefaultPartitioningPolicy())) return false; if (!getAllowedPartitioningPoliciesList() .equals(other.getAllowedPartitioningPoliciesList())) return false; if (!getDefaultExecutionPolicy() .equals(other.getDefaultExecutionPolicy())) return false; if (!getAllowedExecutionPoliciesList() .equals(other.getAllowedExecutionPoliciesList())) return false; if (!getDefaultReplicationPolicy() .equals(other.getDefaultReplicationPolicy())) return false; if (!getAllowedReplicationPoliciesList() .equals(other.getAllowedReplicationPoliciesList())) return false; if (!getDefaultCachingPolicy() .equals(other.getDefaultCachingPolicy())) return false; if (!getAllowedCachingPoliciesList() .equals(other.getAllowedCachingPoliciesList())) 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(); if (!internalGetLabels().getMap().isEmpty()) { hash = (37 * hash) + LABELS_FIELD_NUMBER; hash = (53 * hash) + internalGetLabels().hashCode(); } hash = (37 * hash) + DEFAULT_STORAGE_POLICY_FIELD_NUMBER; hash = (53 * hash) + getDefaultStoragePolicy().hashCode(); if (getAllowedStoragePoliciesCount() > 0) { hash = (37 * hash) + ALLOWED_STORAGE_POLICIES_FIELD_NUMBER; hash = (53 * hash) + getAllowedStoragePoliciesList().hashCode(); } hash = (37 * hash) + DEFAULT_COMPACTION_POLICY_FIELD_NUMBER; hash = (53 * hash) + getDefaultCompactionPolicy().hashCode(); if (getAllowedCompactionPoliciesCount() > 0) { hash = (37 * hash) + ALLOWED_COMPACTION_POLICIES_FIELD_NUMBER; hash = (53 * hash) + getAllowedCompactionPoliciesList().hashCode(); } hash = (37 * hash) + DEFAULT_PARTITIONING_POLICY_FIELD_NUMBER; hash = (53 * hash) + getDefaultPartitioningPolicy().hashCode(); if (getAllowedPartitioningPoliciesCount() > 0) { hash = (37 * hash) + ALLOWED_PARTITIONING_POLICIES_FIELD_NUMBER; hash = (53 * hash) + getAllowedPartitioningPoliciesList().hashCode(); } hash = (37 * hash) + DEFAULT_EXECUTION_POLICY_FIELD_NUMBER; hash = (53 * hash) + getDefaultExecutionPolicy().hashCode(); if (getAllowedExecutionPoliciesCount() > 0) { hash = (37 * hash) + ALLOWED_EXECUTION_POLICIES_FIELD_NUMBER; hash = (53 * hash) + getAllowedExecutionPoliciesList().hashCode(); } hash = (37 * hash) + DEFAULT_REPLICATION_POLICY_FIELD_NUMBER; hash = (53 * hash) + getDefaultReplicationPolicy().hashCode(); if (getAllowedReplicationPoliciesCount() > 0) { hash = (37 * hash) + ALLOWED_REPLICATION_POLICIES_FIELD_NUMBER; hash = (53 * hash) + getAllowedReplicationPoliciesList().hashCode(); } hash = (37 * hash) + DEFAULT_CACHING_POLICY_FIELD_NUMBER; hash = (53 * hash) + getDefaultCachingPolicy().hashCode(); if (getAllowedCachingPoliciesCount() > 0) { hash = (37 * hash) + ALLOWED_CACHING_POLICIES_FIELD_NUMBER; hash = (53 * hash) + getAllowedCachingPoliciesList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.TableProfileDescription parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.TableProfileDescription 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.table.YdbTable.TableProfileDescription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.TableProfileDescription 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.table.YdbTable.TableProfileDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.TableProfileDescription parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.TableProfileDescription parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.TableProfileDescription 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.table.YdbTable.TableProfileDescription parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.TableProfileDescription 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.table.YdbTable.TableProfileDescription parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.TableProfileDescription 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.table.YdbTable.TableProfileDescription 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.Table.TableProfileDescription} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.TableProfileDescription) tech.ydb.proto.table.YdbTable.TableProfileDescriptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TableProfileDescription_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 2: return internalGetMutableLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TableProfileDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.TableProfileDescription.class, tech.ydb.proto.table.YdbTable.TableProfileDescription.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.TableProfileDescription.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; internalGetMutableLabels().clear(); defaultStoragePolicy_ = ""; allowedStoragePolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); defaultCompactionPolicy_ = ""; allowedCompactionPolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); defaultPartitioningPolicy_ = ""; allowedPartitioningPolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); defaultExecutionPolicy_ = ""; allowedExecutionPolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); defaultReplicationPolicy_ = ""; allowedReplicationPolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); defaultCachingPolicy_ = ""; allowedCachingPolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_TableProfileDescription_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.TableProfileDescription getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.TableProfileDescription.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.TableProfileDescription build() { tech.ydb.proto.table.YdbTable.TableProfileDescription result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.TableProfileDescription buildPartial() { tech.ydb.proto.table.YdbTable.TableProfileDescription result = new tech.ydb.proto.table.YdbTable.TableProfileDescription(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.TableProfileDescription result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.labels_ = internalGetLabels(); result.labels_.makeImmutable(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.defaultStoragePolicy_ = defaultStoragePolicy_; } if (((from_bitField0_ & 0x00000008) != 0)) { allowedStoragePolicies_.makeImmutable(); result.allowedStoragePolicies_ = allowedStoragePolicies_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.defaultCompactionPolicy_ = defaultCompactionPolicy_; } if (((from_bitField0_ & 0x00000020) != 0)) { allowedCompactionPolicies_.makeImmutable(); result.allowedCompactionPolicies_ = allowedCompactionPolicies_; } if (((from_bitField0_ & 0x00000040) != 0)) { result.defaultPartitioningPolicy_ = defaultPartitioningPolicy_; } if (((from_bitField0_ & 0x00000080) != 0)) { allowedPartitioningPolicies_.makeImmutable(); result.allowedPartitioningPolicies_ = allowedPartitioningPolicies_; } if (((from_bitField0_ & 0x00000100) != 0)) { result.defaultExecutionPolicy_ = defaultExecutionPolicy_; } if (((from_bitField0_ & 0x00000200) != 0)) { allowedExecutionPolicies_.makeImmutable(); result.allowedExecutionPolicies_ = allowedExecutionPolicies_; } if (((from_bitField0_ & 0x00000400) != 0)) { result.defaultReplicationPolicy_ = defaultReplicationPolicy_; } if (((from_bitField0_ & 0x00000800) != 0)) { allowedReplicationPolicies_.makeImmutable(); result.allowedReplicationPolicies_ = allowedReplicationPolicies_; } if (((from_bitField0_ & 0x00001000) != 0)) { result.defaultCachingPolicy_ = defaultCachingPolicy_; } if (((from_bitField0_ & 0x00002000) != 0)) { allowedCachingPolicies_.makeImmutable(); result.allowedCachingPolicies_ = allowedCachingPolicies_; } } @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.table.YdbTable.TableProfileDescription) { return mergeFrom((tech.ydb.proto.table.YdbTable.TableProfileDescription)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.TableProfileDescription other) { if (other == tech.ydb.proto.table.YdbTable.TableProfileDescription.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; onChanged(); } internalGetMutableLabels().mergeFrom( other.internalGetLabels()); bitField0_ |= 0x00000002; if (!other.getDefaultStoragePolicy().isEmpty()) { defaultStoragePolicy_ = other.defaultStoragePolicy_; bitField0_ |= 0x00000004; onChanged(); } if (!other.allowedStoragePolicies_.isEmpty()) { if (allowedStoragePolicies_.isEmpty()) { allowedStoragePolicies_ = other.allowedStoragePolicies_; bitField0_ |= 0x00000008; } else { ensureAllowedStoragePoliciesIsMutable(); allowedStoragePolicies_.addAll(other.allowedStoragePolicies_); } onChanged(); } if (!other.getDefaultCompactionPolicy().isEmpty()) { defaultCompactionPolicy_ = other.defaultCompactionPolicy_; bitField0_ |= 0x00000010; onChanged(); } if (!other.allowedCompactionPolicies_.isEmpty()) { if (allowedCompactionPolicies_.isEmpty()) { allowedCompactionPolicies_ = other.allowedCompactionPolicies_; bitField0_ |= 0x00000020; } else { ensureAllowedCompactionPoliciesIsMutable(); allowedCompactionPolicies_.addAll(other.allowedCompactionPolicies_); } onChanged(); } if (!other.getDefaultPartitioningPolicy().isEmpty()) { defaultPartitioningPolicy_ = other.defaultPartitioningPolicy_; bitField0_ |= 0x00000040; onChanged(); } if (!other.allowedPartitioningPolicies_.isEmpty()) { if (allowedPartitioningPolicies_.isEmpty()) { allowedPartitioningPolicies_ = other.allowedPartitioningPolicies_; bitField0_ |= 0x00000080; } else { ensureAllowedPartitioningPoliciesIsMutable(); allowedPartitioningPolicies_.addAll(other.allowedPartitioningPolicies_); } onChanged(); } if (!other.getDefaultExecutionPolicy().isEmpty()) { defaultExecutionPolicy_ = other.defaultExecutionPolicy_; bitField0_ |= 0x00000100; onChanged(); } if (!other.allowedExecutionPolicies_.isEmpty()) { if (allowedExecutionPolicies_.isEmpty()) { allowedExecutionPolicies_ = other.allowedExecutionPolicies_; bitField0_ |= 0x00000200; } else { ensureAllowedExecutionPoliciesIsMutable(); allowedExecutionPolicies_.addAll(other.allowedExecutionPolicies_); } onChanged(); } if (!other.getDefaultReplicationPolicy().isEmpty()) { defaultReplicationPolicy_ = other.defaultReplicationPolicy_; bitField0_ |= 0x00000400; onChanged(); } if (!other.allowedReplicationPolicies_.isEmpty()) { if (allowedReplicationPolicies_.isEmpty()) { allowedReplicationPolicies_ = other.allowedReplicationPolicies_; bitField0_ |= 0x00000800; } else { ensureAllowedReplicationPoliciesIsMutable(); allowedReplicationPolicies_.addAll(other.allowedReplicationPolicies_); } onChanged(); } if (!other.getDefaultCachingPolicy().isEmpty()) { defaultCachingPolicy_ = other.defaultCachingPolicy_; bitField0_ |= 0x00001000; onChanged(); } if (!other.allowedCachingPolicies_.isEmpty()) { if (allowedCachingPolicies_.isEmpty()) { allowedCachingPolicies_ = other.allowedCachingPolicies_; bitField0_ |= 0x00002000; } else { ensureAllowedCachingPoliciesIsMutable(); allowedCachingPolicies_.addAll(other.allowedCachingPolicies_); } 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: { name_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { com.google.protobuf.MapEntry labels__ = input.readMessage( LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableLabels().getMutableMap().put( labels__.getKey(), labels__.getValue()); bitField0_ |= 0x00000002; break; } // case 18 case 26: { defaultStoragePolicy_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 case 34: { java.lang.String s = input.readStringRequireUtf8(); ensureAllowedStoragePoliciesIsMutable(); allowedStoragePolicies_.add(s); break; } // case 34 case 42: { defaultCompactionPolicy_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000010; break; } // case 42 case 50: { java.lang.String s = input.readStringRequireUtf8(); ensureAllowedCompactionPoliciesIsMutable(); allowedCompactionPolicies_.add(s); break; } // case 50 case 58: { defaultPartitioningPolicy_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000040; break; } // case 58 case 66: { java.lang.String s = input.readStringRequireUtf8(); ensureAllowedPartitioningPoliciesIsMutable(); allowedPartitioningPolicies_.add(s); break; } // case 66 case 74: { defaultExecutionPolicy_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000100; break; } // case 74 case 82: { java.lang.String s = input.readStringRequireUtf8(); ensureAllowedExecutionPoliciesIsMutable(); allowedExecutionPolicies_.add(s); break; } // case 82 case 90: { defaultReplicationPolicy_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000400; break; } // case 90 case 98: { java.lang.String s = input.readStringRequireUtf8(); ensureAllowedReplicationPoliciesIsMutable(); allowedReplicationPolicies_.add(s); break; } // case 98 case 106: { defaultCachingPolicy_ = input.readStringRequireUtf8(); bitField0_ |= 0x00001000; break; } // case 106 case 114: { java.lang.String s = input.readStringRequireUtf8(); ensureAllowedCachingPoliciesIsMutable(); allowedCachingPolicies_.add(s); break; } // case 114 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_ = ""; /** * 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; } } /** * 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; } } /** * 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; } /** * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * 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 com.google.protobuf.MapField< java.lang.String, java.lang.String> labels_; private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { return com.google.protobuf.MapField.emptyMapField( LabelsDefaultEntryHolder.defaultEntry); } return labels_; } private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { labels_ = com.google.protobuf.MapField.newMapField( LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); } bitField0_ |= 0x00000002; onChanged(); return labels_; } public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** * map<string, string> labels = 2; */ @java.lang.Override public boolean containsLabels( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** * map<string, string> labels = 2; */ @java.lang.Override public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** * map<string, string> labels = 2; */ @java.lang.Override public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> labels = 2; */ @java.lang.Override public java.lang.String getLabelsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000002); internalGetMutableLabels().getMutableMap() .clear(); return this; } /** * map<string, string> labels = 2; */ public Builder removeLabels( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableLabels().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableLabels() { bitField0_ |= 0x00000002; return internalGetMutableLabels().getMutableMap(); } /** * map<string, string> labels = 2; */ public Builder putLabels( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableLabels().getMutableMap() .put(key, value); bitField0_ |= 0x00000002; return this; } /** * map<string, string> labels = 2; */ public Builder putAllLabels( java.util.Map values) { internalGetMutableLabels().getMutableMap() .putAll(values); bitField0_ |= 0x00000002; return this; } private java.lang.Object defaultStoragePolicy_ = ""; /** * string default_storage_policy = 3; * @return The defaultStoragePolicy. */ public java.lang.String getDefaultStoragePolicy() { java.lang.Object ref = defaultStoragePolicy_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultStoragePolicy_ = s; return s; } else { return (java.lang.String) ref; } } /** * string default_storage_policy = 3; * @return The bytes for defaultStoragePolicy. */ public com.google.protobuf.ByteString getDefaultStoragePolicyBytes() { java.lang.Object ref = defaultStoragePolicy_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultStoragePolicy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string default_storage_policy = 3; * @param value The defaultStoragePolicy to set. * @return This builder for chaining. */ public Builder setDefaultStoragePolicy( java.lang.String value) { if (value == null) { throw new NullPointerException(); } defaultStoragePolicy_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * string default_storage_policy = 3; * @return This builder for chaining. */ public Builder clearDefaultStoragePolicy() { defaultStoragePolicy_ = getDefaultInstance().getDefaultStoragePolicy(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** * string default_storage_policy = 3; * @param value The bytes for defaultStoragePolicy to set. * @return This builder for chaining. */ public Builder setDefaultStoragePolicyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); defaultStoragePolicy_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList allowedStoragePolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureAllowedStoragePoliciesIsMutable() { if (!allowedStoragePolicies_.isModifiable()) { allowedStoragePolicies_ = new com.google.protobuf.LazyStringArrayList(allowedStoragePolicies_); } bitField0_ |= 0x00000008; } /** * repeated string allowed_storage_policies = 4; * @return A list containing the allowedStoragePolicies. */ public com.google.protobuf.ProtocolStringList getAllowedStoragePoliciesList() { allowedStoragePolicies_.makeImmutable(); return allowedStoragePolicies_; } /** * repeated string allowed_storage_policies = 4; * @return The count of allowedStoragePolicies. */ public int getAllowedStoragePoliciesCount() { return allowedStoragePolicies_.size(); } /** * repeated string allowed_storage_policies = 4; * @param index The index of the element to return. * @return The allowedStoragePolicies at the given index. */ public java.lang.String getAllowedStoragePolicies(int index) { return allowedStoragePolicies_.get(index); } /** * repeated string allowed_storage_policies = 4; * @param index The index of the value to return. * @return The bytes of the allowedStoragePolicies at the given index. */ public com.google.protobuf.ByteString getAllowedStoragePoliciesBytes(int index) { return allowedStoragePolicies_.getByteString(index); } /** * repeated string allowed_storage_policies = 4; * @param index The index to set the value at. * @param value The allowedStoragePolicies to set. * @return This builder for chaining. */ public Builder setAllowedStoragePolicies( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAllowedStoragePoliciesIsMutable(); allowedStoragePolicies_.set(index, value); bitField0_ |= 0x00000008; onChanged(); return this; } /** * repeated string allowed_storage_policies = 4; * @param value The allowedStoragePolicies to add. * @return This builder for chaining. */ public Builder addAllowedStoragePolicies( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAllowedStoragePoliciesIsMutable(); allowedStoragePolicies_.add(value); bitField0_ |= 0x00000008; onChanged(); return this; } /** * repeated string allowed_storage_policies = 4; * @param values The allowedStoragePolicies to add. * @return This builder for chaining. */ public Builder addAllAllowedStoragePolicies( java.lang.Iterable values) { ensureAllowedStoragePoliciesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, allowedStoragePolicies_); bitField0_ |= 0x00000008; onChanged(); return this; } /** * repeated string allowed_storage_policies = 4; * @return This builder for chaining. */ public Builder clearAllowedStoragePolicies() { allowedStoragePolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000008);; onChanged(); return this; } /** * repeated string allowed_storage_policies = 4; * @param value The bytes of the allowedStoragePolicies to add. * @return This builder for chaining. */ public Builder addAllowedStoragePoliciesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAllowedStoragePoliciesIsMutable(); allowedStoragePolicies_.add(value); bitField0_ |= 0x00000008; onChanged(); return this; } private java.lang.Object defaultCompactionPolicy_ = ""; /** * string default_compaction_policy = 5; * @return The defaultCompactionPolicy. */ public java.lang.String getDefaultCompactionPolicy() { java.lang.Object ref = defaultCompactionPolicy_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultCompactionPolicy_ = s; return s; } else { return (java.lang.String) ref; } } /** * string default_compaction_policy = 5; * @return The bytes for defaultCompactionPolicy. */ public com.google.protobuf.ByteString getDefaultCompactionPolicyBytes() { java.lang.Object ref = defaultCompactionPolicy_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultCompactionPolicy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string default_compaction_policy = 5; * @param value The defaultCompactionPolicy to set. * @return This builder for chaining. */ public Builder setDefaultCompactionPolicy( java.lang.String value) { if (value == null) { throw new NullPointerException(); } defaultCompactionPolicy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** * string default_compaction_policy = 5; * @return This builder for chaining. */ public Builder clearDefaultCompactionPolicy() { defaultCompactionPolicy_ = getDefaultInstance().getDefaultCompactionPolicy(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** * string default_compaction_policy = 5; * @param value The bytes for defaultCompactionPolicy to set. * @return This builder for chaining. */ public Builder setDefaultCompactionPolicyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); defaultCompactionPolicy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList allowedCompactionPolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureAllowedCompactionPoliciesIsMutable() { if (!allowedCompactionPolicies_.isModifiable()) { allowedCompactionPolicies_ = new com.google.protobuf.LazyStringArrayList(allowedCompactionPolicies_); } bitField0_ |= 0x00000020; } /** * repeated string allowed_compaction_policies = 6; * @return A list containing the allowedCompactionPolicies. */ public com.google.protobuf.ProtocolStringList getAllowedCompactionPoliciesList() { allowedCompactionPolicies_.makeImmutable(); return allowedCompactionPolicies_; } /** * repeated string allowed_compaction_policies = 6; * @return The count of allowedCompactionPolicies. */ public int getAllowedCompactionPoliciesCount() { return allowedCompactionPolicies_.size(); } /** * repeated string allowed_compaction_policies = 6; * @param index The index of the element to return. * @return The allowedCompactionPolicies at the given index. */ public java.lang.String getAllowedCompactionPolicies(int index) { return allowedCompactionPolicies_.get(index); } /** * repeated string allowed_compaction_policies = 6; * @param index The index of the value to return. * @return The bytes of the allowedCompactionPolicies at the given index. */ public com.google.protobuf.ByteString getAllowedCompactionPoliciesBytes(int index) { return allowedCompactionPolicies_.getByteString(index); } /** * repeated string allowed_compaction_policies = 6; * @param index The index to set the value at. * @param value The allowedCompactionPolicies to set. * @return This builder for chaining. */ public Builder setAllowedCompactionPolicies( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAllowedCompactionPoliciesIsMutable(); allowedCompactionPolicies_.set(index, value); bitField0_ |= 0x00000020; onChanged(); return this; } /** * repeated string allowed_compaction_policies = 6; * @param value The allowedCompactionPolicies to add. * @return This builder for chaining. */ public Builder addAllowedCompactionPolicies( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAllowedCompactionPoliciesIsMutable(); allowedCompactionPolicies_.add(value); bitField0_ |= 0x00000020; onChanged(); return this; } /** * repeated string allowed_compaction_policies = 6; * @param values The allowedCompactionPolicies to add. * @return This builder for chaining. */ public Builder addAllAllowedCompactionPolicies( java.lang.Iterable values) { ensureAllowedCompactionPoliciesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, allowedCompactionPolicies_); bitField0_ |= 0x00000020; onChanged(); return this; } /** * repeated string allowed_compaction_policies = 6; * @return This builder for chaining. */ public Builder clearAllowedCompactionPolicies() { allowedCompactionPolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000020);; onChanged(); return this; } /** * repeated string allowed_compaction_policies = 6; * @param value The bytes of the allowedCompactionPolicies to add. * @return This builder for chaining. */ public Builder addAllowedCompactionPoliciesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAllowedCompactionPoliciesIsMutable(); allowedCompactionPolicies_.add(value); bitField0_ |= 0x00000020; onChanged(); return this; } private java.lang.Object defaultPartitioningPolicy_ = ""; /** * string default_partitioning_policy = 7; * @return The defaultPartitioningPolicy. */ public java.lang.String getDefaultPartitioningPolicy() { java.lang.Object ref = defaultPartitioningPolicy_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultPartitioningPolicy_ = s; return s; } else { return (java.lang.String) ref; } } /** * string default_partitioning_policy = 7; * @return The bytes for defaultPartitioningPolicy. */ public com.google.protobuf.ByteString getDefaultPartitioningPolicyBytes() { java.lang.Object ref = defaultPartitioningPolicy_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultPartitioningPolicy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string default_partitioning_policy = 7; * @param value The defaultPartitioningPolicy to set. * @return This builder for chaining. */ public Builder setDefaultPartitioningPolicy( java.lang.String value) { if (value == null) { throw new NullPointerException(); } defaultPartitioningPolicy_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** * string default_partitioning_policy = 7; * @return This builder for chaining. */ public Builder clearDefaultPartitioningPolicy() { defaultPartitioningPolicy_ = getDefaultInstance().getDefaultPartitioningPolicy(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } /** * string default_partitioning_policy = 7; * @param value The bytes for defaultPartitioningPolicy to set. * @return This builder for chaining. */ public Builder setDefaultPartitioningPolicyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); defaultPartitioningPolicy_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList allowedPartitioningPolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureAllowedPartitioningPoliciesIsMutable() { if (!allowedPartitioningPolicies_.isModifiable()) { allowedPartitioningPolicies_ = new com.google.protobuf.LazyStringArrayList(allowedPartitioningPolicies_); } bitField0_ |= 0x00000080; } /** * repeated string allowed_partitioning_policies = 8; * @return A list containing the allowedPartitioningPolicies. */ public com.google.protobuf.ProtocolStringList getAllowedPartitioningPoliciesList() { allowedPartitioningPolicies_.makeImmutable(); return allowedPartitioningPolicies_; } /** * repeated string allowed_partitioning_policies = 8; * @return The count of allowedPartitioningPolicies. */ public int getAllowedPartitioningPoliciesCount() { return allowedPartitioningPolicies_.size(); } /** * repeated string allowed_partitioning_policies = 8; * @param index The index of the element to return. * @return The allowedPartitioningPolicies at the given index. */ public java.lang.String getAllowedPartitioningPolicies(int index) { return allowedPartitioningPolicies_.get(index); } /** * repeated string allowed_partitioning_policies = 8; * @param index The index of the value to return. * @return The bytes of the allowedPartitioningPolicies at the given index. */ public com.google.protobuf.ByteString getAllowedPartitioningPoliciesBytes(int index) { return allowedPartitioningPolicies_.getByteString(index); } /** * repeated string allowed_partitioning_policies = 8; * @param index The index to set the value at. * @param value The allowedPartitioningPolicies to set. * @return This builder for chaining. */ public Builder setAllowedPartitioningPolicies( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAllowedPartitioningPoliciesIsMutable(); allowedPartitioningPolicies_.set(index, value); bitField0_ |= 0x00000080; onChanged(); return this; } /** * repeated string allowed_partitioning_policies = 8; * @param value The allowedPartitioningPolicies to add. * @return This builder for chaining. */ public Builder addAllowedPartitioningPolicies( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAllowedPartitioningPoliciesIsMutable(); allowedPartitioningPolicies_.add(value); bitField0_ |= 0x00000080; onChanged(); return this; } /** * repeated string allowed_partitioning_policies = 8; * @param values The allowedPartitioningPolicies to add. * @return This builder for chaining. */ public Builder addAllAllowedPartitioningPolicies( java.lang.Iterable values) { ensureAllowedPartitioningPoliciesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, allowedPartitioningPolicies_); bitField0_ |= 0x00000080; onChanged(); return this; } /** * repeated string allowed_partitioning_policies = 8; * @return This builder for chaining. */ public Builder clearAllowedPartitioningPolicies() { allowedPartitioningPolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000080);; onChanged(); return this; } /** * repeated string allowed_partitioning_policies = 8; * @param value The bytes of the allowedPartitioningPolicies to add. * @return This builder for chaining. */ public Builder addAllowedPartitioningPoliciesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAllowedPartitioningPoliciesIsMutable(); allowedPartitioningPolicies_.add(value); bitField0_ |= 0x00000080; onChanged(); return this; } private java.lang.Object defaultExecutionPolicy_ = ""; /** * string default_execution_policy = 9; * @return The defaultExecutionPolicy. */ public java.lang.String getDefaultExecutionPolicy() { java.lang.Object ref = defaultExecutionPolicy_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultExecutionPolicy_ = s; return s; } else { return (java.lang.String) ref; } } /** * string default_execution_policy = 9; * @return The bytes for defaultExecutionPolicy. */ public com.google.protobuf.ByteString getDefaultExecutionPolicyBytes() { java.lang.Object ref = defaultExecutionPolicy_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultExecutionPolicy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string default_execution_policy = 9; * @param value The defaultExecutionPolicy to set. * @return This builder for chaining. */ public Builder setDefaultExecutionPolicy( java.lang.String value) { if (value == null) { throw new NullPointerException(); } defaultExecutionPolicy_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** * string default_execution_policy = 9; * @return This builder for chaining. */ public Builder clearDefaultExecutionPolicy() { defaultExecutionPolicy_ = getDefaultInstance().getDefaultExecutionPolicy(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); return this; } /** * string default_execution_policy = 9; * @param value The bytes for defaultExecutionPolicy to set. * @return This builder for chaining. */ public Builder setDefaultExecutionPolicyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); defaultExecutionPolicy_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList allowedExecutionPolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureAllowedExecutionPoliciesIsMutable() { if (!allowedExecutionPolicies_.isModifiable()) { allowedExecutionPolicies_ = new com.google.protobuf.LazyStringArrayList(allowedExecutionPolicies_); } bitField0_ |= 0x00000200; } /** * repeated string allowed_execution_policies = 10; * @return A list containing the allowedExecutionPolicies. */ public com.google.protobuf.ProtocolStringList getAllowedExecutionPoliciesList() { allowedExecutionPolicies_.makeImmutable(); return allowedExecutionPolicies_; } /** * repeated string allowed_execution_policies = 10; * @return The count of allowedExecutionPolicies. */ public int getAllowedExecutionPoliciesCount() { return allowedExecutionPolicies_.size(); } /** * repeated string allowed_execution_policies = 10; * @param index The index of the element to return. * @return The allowedExecutionPolicies at the given index. */ public java.lang.String getAllowedExecutionPolicies(int index) { return allowedExecutionPolicies_.get(index); } /** * repeated string allowed_execution_policies = 10; * @param index The index of the value to return. * @return The bytes of the allowedExecutionPolicies at the given index. */ public com.google.protobuf.ByteString getAllowedExecutionPoliciesBytes(int index) { return allowedExecutionPolicies_.getByteString(index); } /** * repeated string allowed_execution_policies = 10; * @param index The index to set the value at. * @param value The allowedExecutionPolicies to set. * @return This builder for chaining. */ public Builder setAllowedExecutionPolicies( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAllowedExecutionPoliciesIsMutable(); allowedExecutionPolicies_.set(index, value); bitField0_ |= 0x00000200; onChanged(); return this; } /** * repeated string allowed_execution_policies = 10; * @param value The allowedExecutionPolicies to add. * @return This builder for chaining. */ public Builder addAllowedExecutionPolicies( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAllowedExecutionPoliciesIsMutable(); allowedExecutionPolicies_.add(value); bitField0_ |= 0x00000200; onChanged(); return this; } /** * repeated string allowed_execution_policies = 10; * @param values The allowedExecutionPolicies to add. * @return This builder for chaining. */ public Builder addAllAllowedExecutionPolicies( java.lang.Iterable values) { ensureAllowedExecutionPoliciesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, allowedExecutionPolicies_); bitField0_ |= 0x00000200; onChanged(); return this; } /** * repeated string allowed_execution_policies = 10; * @return This builder for chaining. */ public Builder clearAllowedExecutionPolicies() { allowedExecutionPolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000200);; onChanged(); return this; } /** * repeated string allowed_execution_policies = 10; * @param value The bytes of the allowedExecutionPolicies to add. * @return This builder for chaining. */ public Builder addAllowedExecutionPoliciesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAllowedExecutionPoliciesIsMutable(); allowedExecutionPolicies_.add(value); bitField0_ |= 0x00000200; onChanged(); return this; } private java.lang.Object defaultReplicationPolicy_ = ""; /** * string default_replication_policy = 11; * @return The defaultReplicationPolicy. */ public java.lang.String getDefaultReplicationPolicy() { java.lang.Object ref = defaultReplicationPolicy_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultReplicationPolicy_ = s; return s; } else { return (java.lang.String) ref; } } /** * string default_replication_policy = 11; * @return The bytes for defaultReplicationPolicy. */ public com.google.protobuf.ByteString getDefaultReplicationPolicyBytes() { java.lang.Object ref = defaultReplicationPolicy_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultReplicationPolicy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string default_replication_policy = 11; * @param value The defaultReplicationPolicy to set. * @return This builder for chaining. */ public Builder setDefaultReplicationPolicy( java.lang.String value) { if (value == null) { throw new NullPointerException(); } defaultReplicationPolicy_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** * string default_replication_policy = 11; * @return This builder for chaining. */ public Builder clearDefaultReplicationPolicy() { defaultReplicationPolicy_ = getDefaultInstance().getDefaultReplicationPolicy(); bitField0_ = (bitField0_ & ~0x00000400); onChanged(); return this; } /** * string default_replication_policy = 11; * @param value The bytes for defaultReplicationPolicy to set. * @return This builder for chaining. */ public Builder setDefaultReplicationPolicyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); defaultReplicationPolicy_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList allowedReplicationPolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureAllowedReplicationPoliciesIsMutable() { if (!allowedReplicationPolicies_.isModifiable()) { allowedReplicationPolicies_ = new com.google.protobuf.LazyStringArrayList(allowedReplicationPolicies_); } bitField0_ |= 0x00000800; } /** * repeated string allowed_replication_policies = 12; * @return A list containing the allowedReplicationPolicies. */ public com.google.protobuf.ProtocolStringList getAllowedReplicationPoliciesList() { allowedReplicationPolicies_.makeImmutable(); return allowedReplicationPolicies_; } /** * repeated string allowed_replication_policies = 12; * @return The count of allowedReplicationPolicies. */ public int getAllowedReplicationPoliciesCount() { return allowedReplicationPolicies_.size(); } /** * repeated string allowed_replication_policies = 12; * @param index The index of the element to return. * @return The allowedReplicationPolicies at the given index. */ public java.lang.String getAllowedReplicationPolicies(int index) { return allowedReplicationPolicies_.get(index); } /** * repeated string allowed_replication_policies = 12; * @param index The index of the value to return. * @return The bytes of the allowedReplicationPolicies at the given index. */ public com.google.protobuf.ByteString getAllowedReplicationPoliciesBytes(int index) { return allowedReplicationPolicies_.getByteString(index); } /** * repeated string allowed_replication_policies = 12; * @param index The index to set the value at. * @param value The allowedReplicationPolicies to set. * @return This builder for chaining. */ public Builder setAllowedReplicationPolicies( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAllowedReplicationPoliciesIsMutable(); allowedReplicationPolicies_.set(index, value); bitField0_ |= 0x00000800; onChanged(); return this; } /** * repeated string allowed_replication_policies = 12; * @param value The allowedReplicationPolicies to add. * @return This builder for chaining. */ public Builder addAllowedReplicationPolicies( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAllowedReplicationPoliciesIsMutable(); allowedReplicationPolicies_.add(value); bitField0_ |= 0x00000800; onChanged(); return this; } /** * repeated string allowed_replication_policies = 12; * @param values The allowedReplicationPolicies to add. * @return This builder for chaining. */ public Builder addAllAllowedReplicationPolicies( java.lang.Iterable values) { ensureAllowedReplicationPoliciesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, allowedReplicationPolicies_); bitField0_ |= 0x00000800; onChanged(); return this; } /** * repeated string allowed_replication_policies = 12; * @return This builder for chaining. */ public Builder clearAllowedReplicationPolicies() { allowedReplicationPolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000800);; onChanged(); return this; } /** * repeated string allowed_replication_policies = 12; * @param value The bytes of the allowedReplicationPolicies to add. * @return This builder for chaining. */ public Builder addAllowedReplicationPoliciesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAllowedReplicationPoliciesIsMutable(); allowedReplicationPolicies_.add(value); bitField0_ |= 0x00000800; onChanged(); return this; } private java.lang.Object defaultCachingPolicy_ = ""; /** * string default_caching_policy = 13; * @return The defaultCachingPolicy. */ public java.lang.String getDefaultCachingPolicy() { java.lang.Object ref = defaultCachingPolicy_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultCachingPolicy_ = s; return s; } else { return (java.lang.String) ref; } } /** * string default_caching_policy = 13; * @return The bytes for defaultCachingPolicy. */ public com.google.protobuf.ByteString getDefaultCachingPolicyBytes() { java.lang.Object ref = defaultCachingPolicy_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultCachingPolicy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string default_caching_policy = 13; * @param value The defaultCachingPolicy to set. * @return This builder for chaining. */ public Builder setDefaultCachingPolicy( java.lang.String value) { if (value == null) { throw new NullPointerException(); } defaultCachingPolicy_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** * string default_caching_policy = 13; * @return This builder for chaining. */ public Builder clearDefaultCachingPolicy() { defaultCachingPolicy_ = getDefaultInstance().getDefaultCachingPolicy(); bitField0_ = (bitField0_ & ~0x00001000); onChanged(); return this; } /** * string default_caching_policy = 13; * @param value The bytes for defaultCachingPolicy to set. * @return This builder for chaining. */ public Builder setDefaultCachingPolicyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); defaultCachingPolicy_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList allowedCachingPolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureAllowedCachingPoliciesIsMutable() { if (!allowedCachingPolicies_.isModifiable()) { allowedCachingPolicies_ = new com.google.protobuf.LazyStringArrayList(allowedCachingPolicies_); } bitField0_ |= 0x00002000; } /** * repeated string allowed_caching_policies = 14; * @return A list containing the allowedCachingPolicies. */ public com.google.protobuf.ProtocolStringList getAllowedCachingPoliciesList() { allowedCachingPolicies_.makeImmutable(); return allowedCachingPolicies_; } /** * repeated string allowed_caching_policies = 14; * @return The count of allowedCachingPolicies. */ public int getAllowedCachingPoliciesCount() { return allowedCachingPolicies_.size(); } /** * repeated string allowed_caching_policies = 14; * @param index The index of the element to return. * @return The allowedCachingPolicies at the given index. */ public java.lang.String getAllowedCachingPolicies(int index) { return allowedCachingPolicies_.get(index); } /** * repeated string allowed_caching_policies = 14; * @param index The index of the value to return. * @return The bytes of the allowedCachingPolicies at the given index. */ public com.google.protobuf.ByteString getAllowedCachingPoliciesBytes(int index) { return allowedCachingPolicies_.getByteString(index); } /** * repeated string allowed_caching_policies = 14; * @param index The index to set the value at. * @param value The allowedCachingPolicies to set. * @return This builder for chaining. */ public Builder setAllowedCachingPolicies( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAllowedCachingPoliciesIsMutable(); allowedCachingPolicies_.set(index, value); bitField0_ |= 0x00002000; onChanged(); return this; } /** * repeated string allowed_caching_policies = 14; * @param value The allowedCachingPolicies to add. * @return This builder for chaining. */ public Builder addAllowedCachingPolicies( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAllowedCachingPoliciesIsMutable(); allowedCachingPolicies_.add(value); bitField0_ |= 0x00002000; onChanged(); return this; } /** * repeated string allowed_caching_policies = 14; * @param values The allowedCachingPolicies to add. * @return This builder for chaining. */ public Builder addAllAllowedCachingPolicies( java.lang.Iterable values) { ensureAllowedCachingPoliciesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, allowedCachingPolicies_); bitField0_ |= 0x00002000; onChanged(); return this; } /** * repeated string allowed_caching_policies = 14; * @return This builder for chaining. */ public Builder clearAllowedCachingPolicies() { allowedCachingPolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00002000);; onChanged(); return this; } /** * repeated string allowed_caching_policies = 14; * @param value The bytes of the allowedCachingPolicies to add. * @return This builder for chaining. */ public Builder addAllowedCachingPoliciesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAllowedCachingPoliciesIsMutable(); allowedCachingPolicies_.add(value); bitField0_ |= 0x00002000; 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.Table.TableProfileDescription) } // @@protoc_insertion_point(class_scope:Ydb.Table.TableProfileDescription) private static final tech.ydb.proto.table.YdbTable.TableProfileDescription DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.TableProfileDescription(); } public static tech.ydb.proto.table.YdbTable.TableProfileDescription getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TableProfileDescription 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.table.YdbTable.TableProfileDescription getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DescribeTableOptionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.DescribeTableOptionsRequest) 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(); } /** * Protobuf type {@code Ydb.Table.DescribeTableOptionsRequest} */ public static final class DescribeTableOptionsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.DescribeTableOptionsRequest) DescribeTableOptionsRequestOrBuilder { private static final long serialVersionUID = 0L; // Use DescribeTableOptionsRequest.newBuilder() to construct. private DescribeTableOptionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DescribeTableOptionsRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DescribeTableOptionsRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DescribeTableOptionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DescribeTableOptionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest.class, tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest.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_; } 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()); } 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()); } 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.table.YdbTable.DescribeTableOptionsRequest)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest other = (tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest) obj; if (hasOperationParams() != other.hasOperationParams()) return false; if (hasOperationParams()) { if (!getOperationParams() .equals(other.getOperationParams())) 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 = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest 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.table.YdbTable.DescribeTableOptionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest 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.table.YdbTable.DescribeTableOptionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest 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.table.YdbTable.DescribeTableOptionsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest 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.table.YdbTable.DescribeTableOptionsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest 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.table.YdbTable.DescribeTableOptionsRequest 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.Table.DescribeTableOptionsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.DescribeTableOptionsRequest) tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DescribeTableOptionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DescribeTableOptionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest.class, tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest.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; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DescribeTableOptionsRequest_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest build() { tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest buildPartial() { tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest result = new tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.operationParams_ = operationParamsBuilder_ == null ? operationParams_ : operationParamsBuilder_.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.table.YdbTable.DescribeTableOptionsRequest) { return mergeFrom((tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest other) { if (other == tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest.getDefaultInstance()) return this; if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } 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 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_; } @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.Table.DescribeTableOptionsRequest) } // @@protoc_insertion_point(class_scope:Ydb.Table.DescribeTableOptionsRequest) private static final tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest(); } public static tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DescribeTableOptionsRequest 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.table.YdbTable.DescribeTableOptionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DescribeTableOptionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.DescribeTableOptionsResponse) com.google.protobuf.MessageOrBuilder { /** *
     * operation.result holds ListTableParametersResult
     * 
* * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ boolean hasOperation(); /** *
     * operation.result holds ListTableParametersResult
     * 
* * .Ydb.Operations.Operation operation = 1; * @return The operation. */ tech.ydb.proto.OperationProtos.Operation getOperation(); /** *
     * operation.result holds ListTableParametersResult
     * 
* * .Ydb.Operations.Operation operation = 1; */ tech.ydb.proto.OperationProtos.OperationOrBuilder getOperationOrBuilder(); } /** * Protobuf type {@code Ydb.Table.DescribeTableOptionsResponse} */ public static final class DescribeTableOptionsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.DescribeTableOptionsResponse) DescribeTableOptionsResponseOrBuilder { private static final long serialVersionUID = 0L; // Use DescribeTableOptionsResponse.newBuilder() to construct. private DescribeTableOptionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DescribeTableOptionsResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DescribeTableOptionsResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DescribeTableOptionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DescribeTableOptionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.DescribeTableOptionsResponse.class, tech.ydb.proto.table.YdbTable.DescribeTableOptionsResponse.Builder.class); } private int bitField0_; public static final int OPERATION_FIELD_NUMBER = 1; private tech.ydb.proto.OperationProtos.Operation operation_; /** *
     * operation.result holds ListTableParametersResult
     * 
* * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ @java.lang.Override public boolean hasOperation() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * operation.result holds ListTableParametersResult
     * 
* * .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_; } /** *
     * operation.result holds ListTableParametersResult
     * 
* * .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.table.YdbTable.DescribeTableOptionsResponse)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.DescribeTableOptionsResponse other = (tech.ydb.proto.table.YdbTable.DescribeTableOptionsResponse) 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.table.YdbTable.DescribeTableOptionsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.DescribeTableOptionsResponse 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.table.YdbTable.DescribeTableOptionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.DescribeTableOptionsResponse 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.table.YdbTable.DescribeTableOptionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.DescribeTableOptionsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.DescribeTableOptionsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.DescribeTableOptionsResponse 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.table.YdbTable.DescribeTableOptionsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.DescribeTableOptionsResponse 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.table.YdbTable.DescribeTableOptionsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.DescribeTableOptionsResponse 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.table.YdbTable.DescribeTableOptionsResponse 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.Table.DescribeTableOptionsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.DescribeTableOptionsResponse) tech.ydb.proto.table.YdbTable.DescribeTableOptionsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DescribeTableOptionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DescribeTableOptionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.DescribeTableOptionsResponse.class, tech.ydb.proto.table.YdbTable.DescribeTableOptionsResponse.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.DescribeTableOptionsResponse.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.table.YdbTable.internal_static_Ydb_Table_DescribeTableOptionsResponse_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.DescribeTableOptionsResponse getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.DescribeTableOptionsResponse.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.DescribeTableOptionsResponse build() { tech.ydb.proto.table.YdbTable.DescribeTableOptionsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.DescribeTableOptionsResponse buildPartial() { tech.ydb.proto.table.YdbTable.DescribeTableOptionsResponse result = new tech.ydb.proto.table.YdbTable.DescribeTableOptionsResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.DescribeTableOptionsResponse 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.table.YdbTable.DescribeTableOptionsResponse) { return mergeFrom((tech.ydb.proto.table.YdbTable.DescribeTableOptionsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.DescribeTableOptionsResponse other) { if (other == tech.ydb.proto.table.YdbTable.DescribeTableOptionsResponse.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_; /** *
       * operation.result holds ListTableParametersResult
       * 
* * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ public boolean hasOperation() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * operation.result holds ListTableParametersResult
       * 
* * .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(); } } /** *
       * operation.result holds ListTableParametersResult
       * 
* * .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; } /** *
       * operation.result holds ListTableParametersResult
       * 
* * .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; } /** *
       * operation.result holds ListTableParametersResult
       * 
* * .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; } /** *
       * operation.result holds ListTableParametersResult
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder clearOperation() { bitField0_ = (bitField0_ & ~0x00000001); operation_ = null; if (operationBuilder_ != null) { operationBuilder_.dispose(); operationBuilder_ = null; } onChanged(); return this; } /** *
       * operation.result holds ListTableParametersResult
       * 
* * .Ydb.Operations.Operation operation = 1; */ public tech.ydb.proto.OperationProtos.Operation.Builder getOperationBuilder() { bitField0_ |= 0x00000001; onChanged(); return getOperationFieldBuilder().getBuilder(); } /** *
       * operation.result holds ListTableParametersResult
       * 
* * .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_; } } /** *
       * operation.result holds ListTableParametersResult
       * 
* * .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.Table.DescribeTableOptionsResponse) } // @@protoc_insertion_point(class_scope:Ydb.Table.DescribeTableOptionsResponse) private static final tech.ydb.proto.table.YdbTable.DescribeTableOptionsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.DescribeTableOptionsResponse(); } public static tech.ydb.proto.table.YdbTable.DescribeTableOptionsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DescribeTableOptionsResponse 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.table.YdbTable.DescribeTableOptionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DescribeTableOptionsResultOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.DescribeTableOptionsResult) com.google.protobuf.MessageOrBuilder { /** * repeated .Ydb.Table.TableProfileDescription table_profile_presets = 1; */ java.util.List getTableProfilePresetsList(); /** * repeated .Ydb.Table.TableProfileDescription table_profile_presets = 1; */ tech.ydb.proto.table.YdbTable.TableProfileDescription getTableProfilePresets(int index); /** * repeated .Ydb.Table.TableProfileDescription table_profile_presets = 1; */ int getTableProfilePresetsCount(); /** * repeated .Ydb.Table.TableProfileDescription table_profile_presets = 1; */ java.util.List getTableProfilePresetsOrBuilderList(); /** * repeated .Ydb.Table.TableProfileDescription table_profile_presets = 1; */ tech.ydb.proto.table.YdbTable.TableProfileDescriptionOrBuilder getTableProfilePresetsOrBuilder( int index); /** * repeated .Ydb.Table.StoragePolicyDescription storage_policy_presets = 2; */ java.util.List getStoragePolicyPresetsList(); /** * repeated .Ydb.Table.StoragePolicyDescription storage_policy_presets = 2; */ tech.ydb.proto.table.YdbTable.StoragePolicyDescription getStoragePolicyPresets(int index); /** * repeated .Ydb.Table.StoragePolicyDescription storage_policy_presets = 2; */ int getStoragePolicyPresetsCount(); /** * repeated .Ydb.Table.StoragePolicyDescription storage_policy_presets = 2; */ java.util.List getStoragePolicyPresetsOrBuilderList(); /** * repeated .Ydb.Table.StoragePolicyDescription storage_policy_presets = 2; */ tech.ydb.proto.table.YdbTable.StoragePolicyDescriptionOrBuilder getStoragePolicyPresetsOrBuilder( int index); /** * repeated .Ydb.Table.CompactionPolicyDescription compaction_policy_presets = 3; */ java.util.List getCompactionPolicyPresetsList(); /** * repeated .Ydb.Table.CompactionPolicyDescription compaction_policy_presets = 3; */ tech.ydb.proto.table.YdbTable.CompactionPolicyDescription getCompactionPolicyPresets(int index); /** * repeated .Ydb.Table.CompactionPolicyDescription compaction_policy_presets = 3; */ int getCompactionPolicyPresetsCount(); /** * repeated .Ydb.Table.CompactionPolicyDescription compaction_policy_presets = 3; */ java.util.List getCompactionPolicyPresetsOrBuilderList(); /** * repeated .Ydb.Table.CompactionPolicyDescription compaction_policy_presets = 3; */ tech.ydb.proto.table.YdbTable.CompactionPolicyDescriptionOrBuilder getCompactionPolicyPresetsOrBuilder( int index); /** * repeated .Ydb.Table.PartitioningPolicyDescription partitioning_policy_presets = 4; */ java.util.List getPartitioningPolicyPresetsList(); /** * repeated .Ydb.Table.PartitioningPolicyDescription partitioning_policy_presets = 4; */ tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription getPartitioningPolicyPresets(int index); /** * repeated .Ydb.Table.PartitioningPolicyDescription partitioning_policy_presets = 4; */ int getPartitioningPolicyPresetsCount(); /** * repeated .Ydb.Table.PartitioningPolicyDescription partitioning_policy_presets = 4; */ java.util.List getPartitioningPolicyPresetsOrBuilderList(); /** * repeated .Ydb.Table.PartitioningPolicyDescription partitioning_policy_presets = 4; */ tech.ydb.proto.table.YdbTable.PartitioningPolicyDescriptionOrBuilder getPartitioningPolicyPresetsOrBuilder( int index); /** * repeated .Ydb.Table.ExecutionPolicyDescription execution_policy_presets = 5; */ java.util.List getExecutionPolicyPresetsList(); /** * repeated .Ydb.Table.ExecutionPolicyDescription execution_policy_presets = 5; */ tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription getExecutionPolicyPresets(int index); /** * repeated .Ydb.Table.ExecutionPolicyDescription execution_policy_presets = 5; */ int getExecutionPolicyPresetsCount(); /** * repeated .Ydb.Table.ExecutionPolicyDescription execution_policy_presets = 5; */ java.util.List getExecutionPolicyPresetsOrBuilderList(); /** * repeated .Ydb.Table.ExecutionPolicyDescription execution_policy_presets = 5; */ tech.ydb.proto.table.YdbTable.ExecutionPolicyDescriptionOrBuilder getExecutionPolicyPresetsOrBuilder( int index); /** * repeated .Ydb.Table.ReplicationPolicyDescription replication_policy_presets = 6; */ java.util.List getReplicationPolicyPresetsList(); /** * repeated .Ydb.Table.ReplicationPolicyDescription replication_policy_presets = 6; */ tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription getReplicationPolicyPresets(int index); /** * repeated .Ydb.Table.ReplicationPolicyDescription replication_policy_presets = 6; */ int getReplicationPolicyPresetsCount(); /** * repeated .Ydb.Table.ReplicationPolicyDescription replication_policy_presets = 6; */ java.util.List getReplicationPolicyPresetsOrBuilderList(); /** * repeated .Ydb.Table.ReplicationPolicyDescription replication_policy_presets = 6; */ tech.ydb.proto.table.YdbTable.ReplicationPolicyDescriptionOrBuilder getReplicationPolicyPresetsOrBuilder( int index); /** * repeated .Ydb.Table.CachingPolicyDescription caching_policy_presets = 7; */ java.util.List getCachingPolicyPresetsList(); /** * repeated .Ydb.Table.CachingPolicyDescription caching_policy_presets = 7; */ tech.ydb.proto.table.YdbTable.CachingPolicyDescription getCachingPolicyPresets(int index); /** * repeated .Ydb.Table.CachingPolicyDescription caching_policy_presets = 7; */ int getCachingPolicyPresetsCount(); /** * repeated .Ydb.Table.CachingPolicyDescription caching_policy_presets = 7; */ java.util.List getCachingPolicyPresetsOrBuilderList(); /** * repeated .Ydb.Table.CachingPolicyDescription caching_policy_presets = 7; */ tech.ydb.proto.table.YdbTable.CachingPolicyDescriptionOrBuilder getCachingPolicyPresetsOrBuilder( int index); } /** * Protobuf type {@code Ydb.Table.DescribeTableOptionsResult} */ public static final class DescribeTableOptionsResult extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.DescribeTableOptionsResult) DescribeTableOptionsResultOrBuilder { private static final long serialVersionUID = 0L; // Use DescribeTableOptionsResult.newBuilder() to construct. private DescribeTableOptionsResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DescribeTableOptionsResult() { tableProfilePresets_ = java.util.Collections.emptyList(); storagePolicyPresets_ = java.util.Collections.emptyList(); compactionPolicyPresets_ = java.util.Collections.emptyList(); partitioningPolicyPresets_ = java.util.Collections.emptyList(); executionPolicyPresets_ = java.util.Collections.emptyList(); replicationPolicyPresets_ = java.util.Collections.emptyList(); cachingPolicyPresets_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DescribeTableOptionsResult(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DescribeTableOptionsResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DescribeTableOptionsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.DescribeTableOptionsResult.class, tech.ydb.proto.table.YdbTable.DescribeTableOptionsResult.Builder.class); } public static final int TABLE_PROFILE_PRESETS_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List tableProfilePresets_; /** * repeated .Ydb.Table.TableProfileDescription table_profile_presets = 1; */ @java.lang.Override public java.util.List getTableProfilePresetsList() { return tableProfilePresets_; } /** * repeated .Ydb.Table.TableProfileDescription table_profile_presets = 1; */ @java.lang.Override public java.util.List getTableProfilePresetsOrBuilderList() { return tableProfilePresets_; } /** * repeated .Ydb.Table.TableProfileDescription table_profile_presets = 1; */ @java.lang.Override public int getTableProfilePresetsCount() { return tableProfilePresets_.size(); } /** * repeated .Ydb.Table.TableProfileDescription table_profile_presets = 1; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TableProfileDescription getTableProfilePresets(int index) { return tableProfilePresets_.get(index); } /** * repeated .Ydb.Table.TableProfileDescription table_profile_presets = 1; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.TableProfileDescriptionOrBuilder getTableProfilePresetsOrBuilder( int index) { return tableProfilePresets_.get(index); } public static final int STORAGE_POLICY_PRESETS_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List storagePolicyPresets_; /** * repeated .Ydb.Table.StoragePolicyDescription storage_policy_presets = 2; */ @java.lang.Override public java.util.List getStoragePolicyPresetsList() { return storagePolicyPresets_; } /** * repeated .Ydb.Table.StoragePolicyDescription storage_policy_presets = 2; */ @java.lang.Override public java.util.List getStoragePolicyPresetsOrBuilderList() { return storagePolicyPresets_; } /** * repeated .Ydb.Table.StoragePolicyDescription storage_policy_presets = 2; */ @java.lang.Override public int getStoragePolicyPresetsCount() { return storagePolicyPresets_.size(); } /** * repeated .Ydb.Table.StoragePolicyDescription storage_policy_presets = 2; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StoragePolicyDescription getStoragePolicyPresets(int index) { return storagePolicyPresets_.get(index); } /** * repeated .Ydb.Table.StoragePolicyDescription storage_policy_presets = 2; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.StoragePolicyDescriptionOrBuilder getStoragePolicyPresetsOrBuilder( int index) { return storagePolicyPresets_.get(index); } public static final int COMPACTION_POLICY_PRESETS_FIELD_NUMBER = 3; @SuppressWarnings("serial") private java.util.List compactionPolicyPresets_; /** * repeated .Ydb.Table.CompactionPolicyDescription compaction_policy_presets = 3; */ @java.lang.Override public java.util.List getCompactionPolicyPresetsList() { return compactionPolicyPresets_; } /** * repeated .Ydb.Table.CompactionPolicyDescription compaction_policy_presets = 3; */ @java.lang.Override public java.util.List getCompactionPolicyPresetsOrBuilderList() { return compactionPolicyPresets_; } /** * repeated .Ydb.Table.CompactionPolicyDescription compaction_policy_presets = 3; */ @java.lang.Override public int getCompactionPolicyPresetsCount() { return compactionPolicyPresets_.size(); } /** * repeated .Ydb.Table.CompactionPolicyDescription compaction_policy_presets = 3; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.CompactionPolicyDescription getCompactionPolicyPresets(int index) { return compactionPolicyPresets_.get(index); } /** * repeated .Ydb.Table.CompactionPolicyDescription compaction_policy_presets = 3; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.CompactionPolicyDescriptionOrBuilder getCompactionPolicyPresetsOrBuilder( int index) { return compactionPolicyPresets_.get(index); } public static final int PARTITIONING_POLICY_PRESETS_FIELD_NUMBER = 4; @SuppressWarnings("serial") private java.util.List partitioningPolicyPresets_; /** * repeated .Ydb.Table.PartitioningPolicyDescription partitioning_policy_presets = 4; */ @java.lang.Override public java.util.List getPartitioningPolicyPresetsList() { return partitioningPolicyPresets_; } /** * repeated .Ydb.Table.PartitioningPolicyDescription partitioning_policy_presets = 4; */ @java.lang.Override public java.util.List getPartitioningPolicyPresetsOrBuilderList() { return partitioningPolicyPresets_; } /** * repeated .Ydb.Table.PartitioningPolicyDescription partitioning_policy_presets = 4; */ @java.lang.Override public int getPartitioningPolicyPresetsCount() { return partitioningPolicyPresets_.size(); } /** * repeated .Ydb.Table.PartitioningPolicyDescription partitioning_policy_presets = 4; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription getPartitioningPolicyPresets(int index) { return partitioningPolicyPresets_.get(index); } /** * repeated .Ydb.Table.PartitioningPolicyDescription partitioning_policy_presets = 4; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.PartitioningPolicyDescriptionOrBuilder getPartitioningPolicyPresetsOrBuilder( int index) { return partitioningPolicyPresets_.get(index); } public static final int EXECUTION_POLICY_PRESETS_FIELD_NUMBER = 5; @SuppressWarnings("serial") private java.util.List executionPolicyPresets_; /** * repeated .Ydb.Table.ExecutionPolicyDescription execution_policy_presets = 5; */ @java.lang.Override public java.util.List getExecutionPolicyPresetsList() { return executionPolicyPresets_; } /** * repeated .Ydb.Table.ExecutionPolicyDescription execution_policy_presets = 5; */ @java.lang.Override public java.util.List getExecutionPolicyPresetsOrBuilderList() { return executionPolicyPresets_; } /** * repeated .Ydb.Table.ExecutionPolicyDescription execution_policy_presets = 5; */ @java.lang.Override public int getExecutionPolicyPresetsCount() { return executionPolicyPresets_.size(); } /** * repeated .Ydb.Table.ExecutionPolicyDescription execution_policy_presets = 5; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription getExecutionPolicyPresets(int index) { return executionPolicyPresets_.get(index); } /** * repeated .Ydb.Table.ExecutionPolicyDescription execution_policy_presets = 5; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecutionPolicyDescriptionOrBuilder getExecutionPolicyPresetsOrBuilder( int index) { return executionPolicyPresets_.get(index); } public static final int REPLICATION_POLICY_PRESETS_FIELD_NUMBER = 6; @SuppressWarnings("serial") private java.util.List replicationPolicyPresets_; /** * repeated .Ydb.Table.ReplicationPolicyDescription replication_policy_presets = 6; */ @java.lang.Override public java.util.List getReplicationPolicyPresetsList() { return replicationPolicyPresets_; } /** * repeated .Ydb.Table.ReplicationPolicyDescription replication_policy_presets = 6; */ @java.lang.Override public java.util.List getReplicationPolicyPresetsOrBuilderList() { return replicationPolicyPresets_; } /** * repeated .Ydb.Table.ReplicationPolicyDescription replication_policy_presets = 6; */ @java.lang.Override public int getReplicationPolicyPresetsCount() { return replicationPolicyPresets_.size(); } /** * repeated .Ydb.Table.ReplicationPolicyDescription replication_policy_presets = 6; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription getReplicationPolicyPresets(int index) { return replicationPolicyPresets_.get(index); } /** * repeated .Ydb.Table.ReplicationPolicyDescription replication_policy_presets = 6; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ReplicationPolicyDescriptionOrBuilder getReplicationPolicyPresetsOrBuilder( int index) { return replicationPolicyPresets_.get(index); } public static final int CACHING_POLICY_PRESETS_FIELD_NUMBER = 7; @SuppressWarnings("serial") private java.util.List cachingPolicyPresets_; /** * repeated .Ydb.Table.CachingPolicyDescription caching_policy_presets = 7; */ @java.lang.Override public java.util.List getCachingPolicyPresetsList() { return cachingPolicyPresets_; } /** * repeated .Ydb.Table.CachingPolicyDescription caching_policy_presets = 7; */ @java.lang.Override public java.util.List getCachingPolicyPresetsOrBuilderList() { return cachingPolicyPresets_; } /** * repeated .Ydb.Table.CachingPolicyDescription caching_policy_presets = 7; */ @java.lang.Override public int getCachingPolicyPresetsCount() { return cachingPolicyPresets_.size(); } /** * repeated .Ydb.Table.CachingPolicyDescription caching_policy_presets = 7; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.CachingPolicyDescription getCachingPolicyPresets(int index) { return cachingPolicyPresets_.get(index); } /** * repeated .Ydb.Table.CachingPolicyDescription caching_policy_presets = 7; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.CachingPolicyDescriptionOrBuilder getCachingPolicyPresetsOrBuilder( int index) { return cachingPolicyPresets_.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 { for (int i = 0; i < tableProfilePresets_.size(); i++) { output.writeMessage(1, tableProfilePresets_.get(i)); } for (int i = 0; i < storagePolicyPresets_.size(); i++) { output.writeMessage(2, storagePolicyPresets_.get(i)); } for (int i = 0; i < compactionPolicyPresets_.size(); i++) { output.writeMessage(3, compactionPolicyPresets_.get(i)); } for (int i = 0; i < partitioningPolicyPresets_.size(); i++) { output.writeMessage(4, partitioningPolicyPresets_.get(i)); } for (int i = 0; i < executionPolicyPresets_.size(); i++) { output.writeMessage(5, executionPolicyPresets_.get(i)); } for (int i = 0; i < replicationPolicyPresets_.size(); i++) { output.writeMessage(6, replicationPolicyPresets_.get(i)); } for (int i = 0; i < cachingPolicyPresets_.size(); i++) { output.writeMessage(7, cachingPolicyPresets_.get(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < tableProfilePresets_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, tableProfilePresets_.get(i)); } for (int i = 0; i < storagePolicyPresets_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, storagePolicyPresets_.get(i)); } for (int i = 0; i < compactionPolicyPresets_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, compactionPolicyPresets_.get(i)); } for (int i = 0; i < partitioningPolicyPresets_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, partitioningPolicyPresets_.get(i)); } for (int i = 0; i < executionPolicyPresets_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, executionPolicyPresets_.get(i)); } for (int i = 0; i < replicationPolicyPresets_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, replicationPolicyPresets_.get(i)); } for (int i = 0; i < cachingPolicyPresets_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, cachingPolicyPresets_.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.table.YdbTable.DescribeTableOptionsResult)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.DescribeTableOptionsResult other = (tech.ydb.proto.table.YdbTable.DescribeTableOptionsResult) obj; if (!getTableProfilePresetsList() .equals(other.getTableProfilePresetsList())) return false; if (!getStoragePolicyPresetsList() .equals(other.getStoragePolicyPresetsList())) return false; if (!getCompactionPolicyPresetsList() .equals(other.getCompactionPolicyPresetsList())) return false; if (!getPartitioningPolicyPresetsList() .equals(other.getPartitioningPolicyPresetsList())) return false; if (!getExecutionPolicyPresetsList() .equals(other.getExecutionPolicyPresetsList())) return false; if (!getReplicationPolicyPresetsList() .equals(other.getReplicationPolicyPresetsList())) return false; if (!getCachingPolicyPresetsList() .equals(other.getCachingPolicyPresetsList())) 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 (getTableProfilePresetsCount() > 0) { hash = (37 * hash) + TABLE_PROFILE_PRESETS_FIELD_NUMBER; hash = (53 * hash) + getTableProfilePresetsList().hashCode(); } if (getStoragePolicyPresetsCount() > 0) { hash = (37 * hash) + STORAGE_POLICY_PRESETS_FIELD_NUMBER; hash = (53 * hash) + getStoragePolicyPresetsList().hashCode(); } if (getCompactionPolicyPresetsCount() > 0) { hash = (37 * hash) + COMPACTION_POLICY_PRESETS_FIELD_NUMBER; hash = (53 * hash) + getCompactionPolicyPresetsList().hashCode(); } if (getPartitioningPolicyPresetsCount() > 0) { hash = (37 * hash) + PARTITIONING_POLICY_PRESETS_FIELD_NUMBER; hash = (53 * hash) + getPartitioningPolicyPresetsList().hashCode(); } if (getExecutionPolicyPresetsCount() > 0) { hash = (37 * hash) + EXECUTION_POLICY_PRESETS_FIELD_NUMBER; hash = (53 * hash) + getExecutionPolicyPresetsList().hashCode(); } if (getReplicationPolicyPresetsCount() > 0) { hash = (37 * hash) + REPLICATION_POLICY_PRESETS_FIELD_NUMBER; hash = (53 * hash) + getReplicationPolicyPresetsList().hashCode(); } if (getCachingPolicyPresetsCount() > 0) { hash = (37 * hash) + CACHING_POLICY_PRESETS_FIELD_NUMBER; hash = (53 * hash) + getCachingPolicyPresetsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.DescribeTableOptionsResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.DescribeTableOptionsResult 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.table.YdbTable.DescribeTableOptionsResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.DescribeTableOptionsResult 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.table.YdbTable.DescribeTableOptionsResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.DescribeTableOptionsResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.DescribeTableOptionsResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.DescribeTableOptionsResult 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.table.YdbTable.DescribeTableOptionsResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.DescribeTableOptionsResult 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.table.YdbTable.DescribeTableOptionsResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.DescribeTableOptionsResult 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.table.YdbTable.DescribeTableOptionsResult 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.Table.DescribeTableOptionsResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.DescribeTableOptionsResult) tech.ydb.proto.table.YdbTable.DescribeTableOptionsResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DescribeTableOptionsResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DescribeTableOptionsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.DescribeTableOptionsResult.class, tech.ydb.proto.table.YdbTable.DescribeTableOptionsResult.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.DescribeTableOptionsResult.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (tableProfilePresetsBuilder_ == null) { tableProfilePresets_ = java.util.Collections.emptyList(); } else { tableProfilePresets_ = null; tableProfilePresetsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (storagePolicyPresetsBuilder_ == null) { storagePolicyPresets_ = java.util.Collections.emptyList(); } else { storagePolicyPresets_ = null; storagePolicyPresetsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); if (compactionPolicyPresetsBuilder_ == null) { compactionPolicyPresets_ = java.util.Collections.emptyList(); } else { compactionPolicyPresets_ = null; compactionPolicyPresetsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); if (partitioningPolicyPresetsBuilder_ == null) { partitioningPolicyPresets_ = java.util.Collections.emptyList(); } else { partitioningPolicyPresets_ = null; partitioningPolicyPresetsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); if (executionPolicyPresetsBuilder_ == null) { executionPolicyPresets_ = java.util.Collections.emptyList(); } else { executionPolicyPresets_ = null; executionPolicyPresetsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); if (replicationPolicyPresetsBuilder_ == null) { replicationPolicyPresets_ = java.util.Collections.emptyList(); } else { replicationPolicyPresets_ = null; replicationPolicyPresetsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); if (cachingPolicyPresetsBuilder_ == null) { cachingPolicyPresets_ = java.util.Collections.emptyList(); } else { cachingPolicyPresets_ = null; cachingPolicyPresetsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_DescribeTableOptionsResult_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.DescribeTableOptionsResult getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.DescribeTableOptionsResult.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.DescribeTableOptionsResult build() { tech.ydb.proto.table.YdbTable.DescribeTableOptionsResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.DescribeTableOptionsResult buildPartial() { tech.ydb.proto.table.YdbTable.DescribeTableOptionsResult result = new tech.ydb.proto.table.YdbTable.DescribeTableOptionsResult(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(tech.ydb.proto.table.YdbTable.DescribeTableOptionsResult result) { if (tableProfilePresetsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { tableProfilePresets_ = java.util.Collections.unmodifiableList(tableProfilePresets_); bitField0_ = (bitField0_ & ~0x00000001); } result.tableProfilePresets_ = tableProfilePresets_; } else { result.tableProfilePresets_ = tableProfilePresetsBuilder_.build(); } if (storagePolicyPresetsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { storagePolicyPresets_ = java.util.Collections.unmodifiableList(storagePolicyPresets_); bitField0_ = (bitField0_ & ~0x00000002); } result.storagePolicyPresets_ = storagePolicyPresets_; } else { result.storagePolicyPresets_ = storagePolicyPresetsBuilder_.build(); } if (compactionPolicyPresetsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { compactionPolicyPresets_ = java.util.Collections.unmodifiableList(compactionPolicyPresets_); bitField0_ = (bitField0_ & ~0x00000004); } result.compactionPolicyPresets_ = compactionPolicyPresets_; } else { result.compactionPolicyPresets_ = compactionPolicyPresetsBuilder_.build(); } if (partitioningPolicyPresetsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { partitioningPolicyPresets_ = java.util.Collections.unmodifiableList(partitioningPolicyPresets_); bitField0_ = (bitField0_ & ~0x00000008); } result.partitioningPolicyPresets_ = partitioningPolicyPresets_; } else { result.partitioningPolicyPresets_ = partitioningPolicyPresetsBuilder_.build(); } if (executionPolicyPresetsBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { executionPolicyPresets_ = java.util.Collections.unmodifiableList(executionPolicyPresets_); bitField0_ = (bitField0_ & ~0x00000010); } result.executionPolicyPresets_ = executionPolicyPresets_; } else { result.executionPolicyPresets_ = executionPolicyPresetsBuilder_.build(); } if (replicationPolicyPresetsBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0)) { replicationPolicyPresets_ = java.util.Collections.unmodifiableList(replicationPolicyPresets_); bitField0_ = (bitField0_ & ~0x00000020); } result.replicationPolicyPresets_ = replicationPolicyPresets_; } else { result.replicationPolicyPresets_ = replicationPolicyPresetsBuilder_.build(); } if (cachingPolicyPresetsBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0)) { cachingPolicyPresets_ = java.util.Collections.unmodifiableList(cachingPolicyPresets_); bitField0_ = (bitField0_ & ~0x00000040); } result.cachingPolicyPresets_ = cachingPolicyPresets_; } else { result.cachingPolicyPresets_ = cachingPolicyPresetsBuilder_.build(); } } private void buildPartial0(tech.ydb.proto.table.YdbTable.DescribeTableOptionsResult result) { int from_bitField0_ = 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.table.YdbTable.DescribeTableOptionsResult) { return mergeFrom((tech.ydb.proto.table.YdbTable.DescribeTableOptionsResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.DescribeTableOptionsResult other) { if (other == tech.ydb.proto.table.YdbTable.DescribeTableOptionsResult.getDefaultInstance()) return this; if (tableProfilePresetsBuilder_ == null) { if (!other.tableProfilePresets_.isEmpty()) { if (tableProfilePresets_.isEmpty()) { tableProfilePresets_ = other.tableProfilePresets_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTableProfilePresetsIsMutable(); tableProfilePresets_.addAll(other.tableProfilePresets_); } onChanged(); } } else { if (!other.tableProfilePresets_.isEmpty()) { if (tableProfilePresetsBuilder_.isEmpty()) { tableProfilePresetsBuilder_.dispose(); tableProfilePresetsBuilder_ = null; tableProfilePresets_ = other.tableProfilePresets_; bitField0_ = (bitField0_ & ~0x00000001); tableProfilePresetsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTableProfilePresetsFieldBuilder() : null; } else { tableProfilePresetsBuilder_.addAllMessages(other.tableProfilePresets_); } } } if (storagePolicyPresetsBuilder_ == null) { if (!other.storagePolicyPresets_.isEmpty()) { if (storagePolicyPresets_.isEmpty()) { storagePolicyPresets_ = other.storagePolicyPresets_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureStoragePolicyPresetsIsMutable(); storagePolicyPresets_.addAll(other.storagePolicyPresets_); } onChanged(); } } else { if (!other.storagePolicyPresets_.isEmpty()) { if (storagePolicyPresetsBuilder_.isEmpty()) { storagePolicyPresetsBuilder_.dispose(); storagePolicyPresetsBuilder_ = null; storagePolicyPresets_ = other.storagePolicyPresets_; bitField0_ = (bitField0_ & ~0x00000002); storagePolicyPresetsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getStoragePolicyPresetsFieldBuilder() : null; } else { storagePolicyPresetsBuilder_.addAllMessages(other.storagePolicyPresets_); } } } if (compactionPolicyPresetsBuilder_ == null) { if (!other.compactionPolicyPresets_.isEmpty()) { if (compactionPolicyPresets_.isEmpty()) { compactionPolicyPresets_ = other.compactionPolicyPresets_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureCompactionPolicyPresetsIsMutable(); compactionPolicyPresets_.addAll(other.compactionPolicyPresets_); } onChanged(); } } else { if (!other.compactionPolicyPresets_.isEmpty()) { if (compactionPolicyPresetsBuilder_.isEmpty()) { compactionPolicyPresetsBuilder_.dispose(); compactionPolicyPresetsBuilder_ = null; compactionPolicyPresets_ = other.compactionPolicyPresets_; bitField0_ = (bitField0_ & ~0x00000004); compactionPolicyPresetsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getCompactionPolicyPresetsFieldBuilder() : null; } else { compactionPolicyPresetsBuilder_.addAllMessages(other.compactionPolicyPresets_); } } } if (partitioningPolicyPresetsBuilder_ == null) { if (!other.partitioningPolicyPresets_.isEmpty()) { if (partitioningPolicyPresets_.isEmpty()) { partitioningPolicyPresets_ = other.partitioningPolicyPresets_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensurePartitioningPolicyPresetsIsMutable(); partitioningPolicyPresets_.addAll(other.partitioningPolicyPresets_); } onChanged(); } } else { if (!other.partitioningPolicyPresets_.isEmpty()) { if (partitioningPolicyPresetsBuilder_.isEmpty()) { partitioningPolicyPresetsBuilder_.dispose(); partitioningPolicyPresetsBuilder_ = null; partitioningPolicyPresets_ = other.partitioningPolicyPresets_; bitField0_ = (bitField0_ & ~0x00000008); partitioningPolicyPresetsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPartitioningPolicyPresetsFieldBuilder() : null; } else { partitioningPolicyPresetsBuilder_.addAllMessages(other.partitioningPolicyPresets_); } } } if (executionPolicyPresetsBuilder_ == null) { if (!other.executionPolicyPresets_.isEmpty()) { if (executionPolicyPresets_.isEmpty()) { executionPolicyPresets_ = other.executionPolicyPresets_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureExecutionPolicyPresetsIsMutable(); executionPolicyPresets_.addAll(other.executionPolicyPresets_); } onChanged(); } } else { if (!other.executionPolicyPresets_.isEmpty()) { if (executionPolicyPresetsBuilder_.isEmpty()) { executionPolicyPresetsBuilder_.dispose(); executionPolicyPresetsBuilder_ = null; executionPolicyPresets_ = other.executionPolicyPresets_; bitField0_ = (bitField0_ & ~0x00000010); executionPolicyPresetsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getExecutionPolicyPresetsFieldBuilder() : null; } else { executionPolicyPresetsBuilder_.addAllMessages(other.executionPolicyPresets_); } } } if (replicationPolicyPresetsBuilder_ == null) { if (!other.replicationPolicyPresets_.isEmpty()) { if (replicationPolicyPresets_.isEmpty()) { replicationPolicyPresets_ = other.replicationPolicyPresets_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureReplicationPolicyPresetsIsMutable(); replicationPolicyPresets_.addAll(other.replicationPolicyPresets_); } onChanged(); } } else { if (!other.replicationPolicyPresets_.isEmpty()) { if (replicationPolicyPresetsBuilder_.isEmpty()) { replicationPolicyPresetsBuilder_.dispose(); replicationPolicyPresetsBuilder_ = null; replicationPolicyPresets_ = other.replicationPolicyPresets_; bitField0_ = (bitField0_ & ~0x00000020); replicationPolicyPresetsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getReplicationPolicyPresetsFieldBuilder() : null; } else { replicationPolicyPresetsBuilder_.addAllMessages(other.replicationPolicyPresets_); } } } if (cachingPolicyPresetsBuilder_ == null) { if (!other.cachingPolicyPresets_.isEmpty()) { if (cachingPolicyPresets_.isEmpty()) { cachingPolicyPresets_ = other.cachingPolicyPresets_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureCachingPolicyPresetsIsMutable(); cachingPolicyPresets_.addAll(other.cachingPolicyPresets_); } onChanged(); } } else { if (!other.cachingPolicyPresets_.isEmpty()) { if (cachingPolicyPresetsBuilder_.isEmpty()) { cachingPolicyPresetsBuilder_.dispose(); cachingPolicyPresetsBuilder_ = null; cachingPolicyPresets_ = other.cachingPolicyPresets_; bitField0_ = (bitField0_ & ~0x00000040); cachingPolicyPresetsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getCachingPolicyPresetsFieldBuilder() : null; } else { cachingPolicyPresetsBuilder_.addAllMessages(other.cachingPolicyPresets_); } } } 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: { tech.ydb.proto.table.YdbTable.TableProfileDescription m = input.readMessage( tech.ydb.proto.table.YdbTable.TableProfileDescription.parser(), extensionRegistry); if (tableProfilePresetsBuilder_ == null) { ensureTableProfilePresetsIsMutable(); tableProfilePresets_.add(m); } else { tableProfilePresetsBuilder_.addMessage(m); } break; } // case 10 case 18: { tech.ydb.proto.table.YdbTable.StoragePolicyDescription m = input.readMessage( tech.ydb.proto.table.YdbTable.StoragePolicyDescription.parser(), extensionRegistry); if (storagePolicyPresetsBuilder_ == null) { ensureStoragePolicyPresetsIsMutable(); storagePolicyPresets_.add(m); } else { storagePolicyPresetsBuilder_.addMessage(m); } break; } // case 18 case 26: { tech.ydb.proto.table.YdbTable.CompactionPolicyDescription m = input.readMessage( tech.ydb.proto.table.YdbTable.CompactionPolicyDescription.parser(), extensionRegistry); if (compactionPolicyPresetsBuilder_ == null) { ensureCompactionPolicyPresetsIsMutable(); compactionPolicyPresets_.add(m); } else { compactionPolicyPresetsBuilder_.addMessage(m); } break; } // case 26 case 34: { tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription m = input.readMessage( tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription.parser(), extensionRegistry); if (partitioningPolicyPresetsBuilder_ == null) { ensurePartitioningPolicyPresetsIsMutable(); partitioningPolicyPresets_.add(m); } else { partitioningPolicyPresetsBuilder_.addMessage(m); } break; } // case 34 case 42: { tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription m = input.readMessage( tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription.parser(), extensionRegistry); if (executionPolicyPresetsBuilder_ == null) { ensureExecutionPolicyPresetsIsMutable(); executionPolicyPresets_.add(m); } else { executionPolicyPresetsBuilder_.addMessage(m); } break; } // case 42 case 50: { tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription m = input.readMessage( tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription.parser(), extensionRegistry); if (replicationPolicyPresetsBuilder_ == null) { ensureReplicationPolicyPresetsIsMutable(); replicationPolicyPresets_.add(m); } else { replicationPolicyPresetsBuilder_.addMessage(m); } break; } // case 50 case 58: { tech.ydb.proto.table.YdbTable.CachingPolicyDescription m = input.readMessage( tech.ydb.proto.table.YdbTable.CachingPolicyDescription.parser(), extensionRegistry); if (cachingPolicyPresetsBuilder_ == null) { ensureCachingPolicyPresetsIsMutable(); cachingPolicyPresets_.add(m); } else { cachingPolicyPresetsBuilder_.addMessage(m); } break; } // case 58 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.util.List tableProfilePresets_ = java.util.Collections.emptyList(); private void ensureTableProfilePresetsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tableProfilePresets_ = new java.util.ArrayList(tableProfilePresets_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.TableProfileDescription, tech.ydb.proto.table.YdbTable.TableProfileDescription.Builder, tech.ydb.proto.table.YdbTable.TableProfileDescriptionOrBuilder> tableProfilePresetsBuilder_; /** * repeated .Ydb.Table.TableProfileDescription table_profile_presets = 1; */ public java.util.List getTableProfilePresetsList() { if (tableProfilePresetsBuilder_ == null) { return java.util.Collections.unmodifiableList(tableProfilePresets_); } else { return tableProfilePresetsBuilder_.getMessageList(); } } /** * repeated .Ydb.Table.TableProfileDescription table_profile_presets = 1; */ public int getTableProfilePresetsCount() { if (tableProfilePresetsBuilder_ == null) { return tableProfilePresets_.size(); } else { return tableProfilePresetsBuilder_.getCount(); } } /** * repeated .Ydb.Table.TableProfileDescription table_profile_presets = 1; */ public tech.ydb.proto.table.YdbTable.TableProfileDescription getTableProfilePresets(int index) { if (tableProfilePresetsBuilder_ == null) { return tableProfilePresets_.get(index); } else { return tableProfilePresetsBuilder_.getMessage(index); } } /** * repeated .Ydb.Table.TableProfileDescription table_profile_presets = 1; */ public Builder setTableProfilePresets( int index, tech.ydb.proto.table.YdbTable.TableProfileDescription value) { if (tableProfilePresetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTableProfilePresetsIsMutable(); tableProfilePresets_.set(index, value); onChanged(); } else { tableProfilePresetsBuilder_.setMessage(index, value); } return this; } /** * repeated .Ydb.Table.TableProfileDescription table_profile_presets = 1; */ public Builder setTableProfilePresets( int index, tech.ydb.proto.table.YdbTable.TableProfileDescription.Builder builderForValue) { if (tableProfilePresetsBuilder_ == null) { ensureTableProfilePresetsIsMutable(); tableProfilePresets_.set(index, builderForValue.build()); onChanged(); } else { tableProfilePresetsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .Ydb.Table.TableProfileDescription table_profile_presets = 1; */ public Builder addTableProfilePresets(tech.ydb.proto.table.YdbTable.TableProfileDescription value) { if (tableProfilePresetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTableProfilePresetsIsMutable(); tableProfilePresets_.add(value); onChanged(); } else { tableProfilePresetsBuilder_.addMessage(value); } return this; } /** * repeated .Ydb.Table.TableProfileDescription table_profile_presets = 1; */ public Builder addTableProfilePresets( int index, tech.ydb.proto.table.YdbTable.TableProfileDescription value) { if (tableProfilePresetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTableProfilePresetsIsMutable(); tableProfilePresets_.add(index, value); onChanged(); } else { tableProfilePresetsBuilder_.addMessage(index, value); } return this; } /** * repeated .Ydb.Table.TableProfileDescription table_profile_presets = 1; */ public Builder addTableProfilePresets( tech.ydb.proto.table.YdbTable.TableProfileDescription.Builder builderForValue) { if (tableProfilePresetsBuilder_ == null) { ensureTableProfilePresetsIsMutable(); tableProfilePresets_.add(builderForValue.build()); onChanged(); } else { tableProfilePresetsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .Ydb.Table.TableProfileDescription table_profile_presets = 1; */ public Builder addTableProfilePresets( int index, tech.ydb.proto.table.YdbTable.TableProfileDescription.Builder builderForValue) { if (tableProfilePresetsBuilder_ == null) { ensureTableProfilePresetsIsMutable(); tableProfilePresets_.add(index, builderForValue.build()); onChanged(); } else { tableProfilePresetsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .Ydb.Table.TableProfileDescription table_profile_presets = 1; */ public Builder addAllTableProfilePresets( java.lang.Iterable values) { if (tableProfilePresetsBuilder_ == null) { ensureTableProfilePresetsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, tableProfilePresets_); onChanged(); } else { tableProfilePresetsBuilder_.addAllMessages(values); } return this; } /** * repeated .Ydb.Table.TableProfileDescription table_profile_presets = 1; */ public Builder clearTableProfilePresets() { if (tableProfilePresetsBuilder_ == null) { tableProfilePresets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { tableProfilePresetsBuilder_.clear(); } return this; } /** * repeated .Ydb.Table.TableProfileDescription table_profile_presets = 1; */ public Builder removeTableProfilePresets(int index) { if (tableProfilePresetsBuilder_ == null) { ensureTableProfilePresetsIsMutable(); tableProfilePresets_.remove(index); onChanged(); } else { tableProfilePresetsBuilder_.remove(index); } return this; } /** * repeated .Ydb.Table.TableProfileDescription table_profile_presets = 1; */ public tech.ydb.proto.table.YdbTable.TableProfileDescription.Builder getTableProfilePresetsBuilder( int index) { return getTableProfilePresetsFieldBuilder().getBuilder(index); } /** * repeated .Ydb.Table.TableProfileDescription table_profile_presets = 1; */ public tech.ydb.proto.table.YdbTable.TableProfileDescriptionOrBuilder getTableProfilePresetsOrBuilder( int index) { if (tableProfilePresetsBuilder_ == null) { return tableProfilePresets_.get(index); } else { return tableProfilePresetsBuilder_.getMessageOrBuilder(index); } } /** * repeated .Ydb.Table.TableProfileDescription table_profile_presets = 1; */ public java.util.List getTableProfilePresetsOrBuilderList() { if (tableProfilePresetsBuilder_ != null) { return tableProfilePresetsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(tableProfilePresets_); } } /** * repeated .Ydb.Table.TableProfileDescription table_profile_presets = 1; */ public tech.ydb.proto.table.YdbTable.TableProfileDescription.Builder addTableProfilePresetsBuilder() { return getTableProfilePresetsFieldBuilder().addBuilder( tech.ydb.proto.table.YdbTable.TableProfileDescription.getDefaultInstance()); } /** * repeated .Ydb.Table.TableProfileDescription table_profile_presets = 1; */ public tech.ydb.proto.table.YdbTable.TableProfileDescription.Builder addTableProfilePresetsBuilder( int index) { return getTableProfilePresetsFieldBuilder().addBuilder( index, tech.ydb.proto.table.YdbTable.TableProfileDescription.getDefaultInstance()); } /** * repeated .Ydb.Table.TableProfileDescription table_profile_presets = 1; */ public java.util.List getTableProfilePresetsBuilderList() { return getTableProfilePresetsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.TableProfileDescription, tech.ydb.proto.table.YdbTable.TableProfileDescription.Builder, tech.ydb.proto.table.YdbTable.TableProfileDescriptionOrBuilder> getTableProfilePresetsFieldBuilder() { if (tableProfilePresetsBuilder_ == null) { tableProfilePresetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.TableProfileDescription, tech.ydb.proto.table.YdbTable.TableProfileDescription.Builder, tech.ydb.proto.table.YdbTable.TableProfileDescriptionOrBuilder>( tableProfilePresets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tableProfilePresets_ = null; } return tableProfilePresetsBuilder_; } private java.util.List storagePolicyPresets_ = java.util.Collections.emptyList(); private void ensureStoragePolicyPresetsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { storagePolicyPresets_ = new java.util.ArrayList(storagePolicyPresets_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePolicyDescription, tech.ydb.proto.table.YdbTable.StoragePolicyDescription.Builder, tech.ydb.proto.table.YdbTable.StoragePolicyDescriptionOrBuilder> storagePolicyPresetsBuilder_; /** * repeated .Ydb.Table.StoragePolicyDescription storage_policy_presets = 2; */ public java.util.List getStoragePolicyPresetsList() { if (storagePolicyPresetsBuilder_ == null) { return java.util.Collections.unmodifiableList(storagePolicyPresets_); } else { return storagePolicyPresetsBuilder_.getMessageList(); } } /** * repeated .Ydb.Table.StoragePolicyDescription storage_policy_presets = 2; */ public int getStoragePolicyPresetsCount() { if (storagePolicyPresetsBuilder_ == null) { return storagePolicyPresets_.size(); } else { return storagePolicyPresetsBuilder_.getCount(); } } /** * repeated .Ydb.Table.StoragePolicyDescription storage_policy_presets = 2; */ public tech.ydb.proto.table.YdbTable.StoragePolicyDescription getStoragePolicyPresets(int index) { if (storagePolicyPresetsBuilder_ == null) { return storagePolicyPresets_.get(index); } else { return storagePolicyPresetsBuilder_.getMessage(index); } } /** * repeated .Ydb.Table.StoragePolicyDescription storage_policy_presets = 2; */ public Builder setStoragePolicyPresets( int index, tech.ydb.proto.table.YdbTable.StoragePolicyDescription value) { if (storagePolicyPresetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStoragePolicyPresetsIsMutable(); storagePolicyPresets_.set(index, value); onChanged(); } else { storagePolicyPresetsBuilder_.setMessage(index, value); } return this; } /** * repeated .Ydb.Table.StoragePolicyDescription storage_policy_presets = 2; */ public Builder setStoragePolicyPresets( int index, tech.ydb.proto.table.YdbTable.StoragePolicyDescription.Builder builderForValue) { if (storagePolicyPresetsBuilder_ == null) { ensureStoragePolicyPresetsIsMutable(); storagePolicyPresets_.set(index, builderForValue.build()); onChanged(); } else { storagePolicyPresetsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .Ydb.Table.StoragePolicyDescription storage_policy_presets = 2; */ public Builder addStoragePolicyPresets(tech.ydb.proto.table.YdbTable.StoragePolicyDescription value) { if (storagePolicyPresetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStoragePolicyPresetsIsMutable(); storagePolicyPresets_.add(value); onChanged(); } else { storagePolicyPresetsBuilder_.addMessage(value); } return this; } /** * repeated .Ydb.Table.StoragePolicyDescription storage_policy_presets = 2; */ public Builder addStoragePolicyPresets( int index, tech.ydb.proto.table.YdbTable.StoragePolicyDescription value) { if (storagePolicyPresetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStoragePolicyPresetsIsMutable(); storagePolicyPresets_.add(index, value); onChanged(); } else { storagePolicyPresetsBuilder_.addMessage(index, value); } return this; } /** * repeated .Ydb.Table.StoragePolicyDescription storage_policy_presets = 2; */ public Builder addStoragePolicyPresets( tech.ydb.proto.table.YdbTable.StoragePolicyDescription.Builder builderForValue) { if (storagePolicyPresetsBuilder_ == null) { ensureStoragePolicyPresetsIsMutable(); storagePolicyPresets_.add(builderForValue.build()); onChanged(); } else { storagePolicyPresetsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .Ydb.Table.StoragePolicyDescription storage_policy_presets = 2; */ public Builder addStoragePolicyPresets( int index, tech.ydb.proto.table.YdbTable.StoragePolicyDescription.Builder builderForValue) { if (storagePolicyPresetsBuilder_ == null) { ensureStoragePolicyPresetsIsMutable(); storagePolicyPresets_.add(index, builderForValue.build()); onChanged(); } else { storagePolicyPresetsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .Ydb.Table.StoragePolicyDescription storage_policy_presets = 2; */ public Builder addAllStoragePolicyPresets( java.lang.Iterable values) { if (storagePolicyPresetsBuilder_ == null) { ensureStoragePolicyPresetsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, storagePolicyPresets_); onChanged(); } else { storagePolicyPresetsBuilder_.addAllMessages(values); } return this; } /** * repeated .Ydb.Table.StoragePolicyDescription storage_policy_presets = 2; */ public Builder clearStoragePolicyPresets() { if (storagePolicyPresetsBuilder_ == null) { storagePolicyPresets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { storagePolicyPresetsBuilder_.clear(); } return this; } /** * repeated .Ydb.Table.StoragePolicyDescription storage_policy_presets = 2; */ public Builder removeStoragePolicyPresets(int index) { if (storagePolicyPresetsBuilder_ == null) { ensureStoragePolicyPresetsIsMutable(); storagePolicyPresets_.remove(index); onChanged(); } else { storagePolicyPresetsBuilder_.remove(index); } return this; } /** * repeated .Ydb.Table.StoragePolicyDescription storage_policy_presets = 2; */ public tech.ydb.proto.table.YdbTable.StoragePolicyDescription.Builder getStoragePolicyPresetsBuilder( int index) { return getStoragePolicyPresetsFieldBuilder().getBuilder(index); } /** * repeated .Ydb.Table.StoragePolicyDescription storage_policy_presets = 2; */ public tech.ydb.proto.table.YdbTable.StoragePolicyDescriptionOrBuilder getStoragePolicyPresetsOrBuilder( int index) { if (storagePolicyPresetsBuilder_ == null) { return storagePolicyPresets_.get(index); } else { return storagePolicyPresetsBuilder_.getMessageOrBuilder(index); } } /** * repeated .Ydb.Table.StoragePolicyDescription storage_policy_presets = 2; */ public java.util.List getStoragePolicyPresetsOrBuilderList() { if (storagePolicyPresetsBuilder_ != null) { return storagePolicyPresetsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(storagePolicyPresets_); } } /** * repeated .Ydb.Table.StoragePolicyDescription storage_policy_presets = 2; */ public tech.ydb.proto.table.YdbTable.StoragePolicyDescription.Builder addStoragePolicyPresetsBuilder() { return getStoragePolicyPresetsFieldBuilder().addBuilder( tech.ydb.proto.table.YdbTable.StoragePolicyDescription.getDefaultInstance()); } /** * repeated .Ydb.Table.StoragePolicyDescription storage_policy_presets = 2; */ public tech.ydb.proto.table.YdbTable.StoragePolicyDescription.Builder addStoragePolicyPresetsBuilder( int index) { return getStoragePolicyPresetsFieldBuilder().addBuilder( index, tech.ydb.proto.table.YdbTable.StoragePolicyDescription.getDefaultInstance()); } /** * repeated .Ydb.Table.StoragePolicyDescription storage_policy_presets = 2; */ public java.util.List getStoragePolicyPresetsBuilderList() { return getStoragePolicyPresetsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePolicyDescription, tech.ydb.proto.table.YdbTable.StoragePolicyDescription.Builder, tech.ydb.proto.table.YdbTable.StoragePolicyDescriptionOrBuilder> getStoragePolicyPresetsFieldBuilder() { if (storagePolicyPresetsBuilder_ == null) { storagePolicyPresetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.StoragePolicyDescription, tech.ydb.proto.table.YdbTable.StoragePolicyDescription.Builder, tech.ydb.proto.table.YdbTable.StoragePolicyDescriptionOrBuilder>( storagePolicyPresets_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); storagePolicyPresets_ = null; } return storagePolicyPresetsBuilder_; } private java.util.List compactionPolicyPresets_ = java.util.Collections.emptyList(); private void ensureCompactionPolicyPresetsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { compactionPolicyPresets_ = new java.util.ArrayList(compactionPolicyPresets_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.CompactionPolicyDescription, tech.ydb.proto.table.YdbTable.CompactionPolicyDescription.Builder, tech.ydb.proto.table.YdbTable.CompactionPolicyDescriptionOrBuilder> compactionPolicyPresetsBuilder_; /** * repeated .Ydb.Table.CompactionPolicyDescription compaction_policy_presets = 3; */ public java.util.List getCompactionPolicyPresetsList() { if (compactionPolicyPresetsBuilder_ == null) { return java.util.Collections.unmodifiableList(compactionPolicyPresets_); } else { return compactionPolicyPresetsBuilder_.getMessageList(); } } /** * repeated .Ydb.Table.CompactionPolicyDescription compaction_policy_presets = 3; */ public int getCompactionPolicyPresetsCount() { if (compactionPolicyPresetsBuilder_ == null) { return compactionPolicyPresets_.size(); } else { return compactionPolicyPresetsBuilder_.getCount(); } } /** * repeated .Ydb.Table.CompactionPolicyDescription compaction_policy_presets = 3; */ public tech.ydb.proto.table.YdbTable.CompactionPolicyDescription getCompactionPolicyPresets(int index) { if (compactionPolicyPresetsBuilder_ == null) { return compactionPolicyPresets_.get(index); } else { return compactionPolicyPresetsBuilder_.getMessage(index); } } /** * repeated .Ydb.Table.CompactionPolicyDescription compaction_policy_presets = 3; */ public Builder setCompactionPolicyPresets( int index, tech.ydb.proto.table.YdbTable.CompactionPolicyDescription value) { if (compactionPolicyPresetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCompactionPolicyPresetsIsMutable(); compactionPolicyPresets_.set(index, value); onChanged(); } else { compactionPolicyPresetsBuilder_.setMessage(index, value); } return this; } /** * repeated .Ydb.Table.CompactionPolicyDescription compaction_policy_presets = 3; */ public Builder setCompactionPolicyPresets( int index, tech.ydb.proto.table.YdbTable.CompactionPolicyDescription.Builder builderForValue) { if (compactionPolicyPresetsBuilder_ == null) { ensureCompactionPolicyPresetsIsMutable(); compactionPolicyPresets_.set(index, builderForValue.build()); onChanged(); } else { compactionPolicyPresetsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .Ydb.Table.CompactionPolicyDescription compaction_policy_presets = 3; */ public Builder addCompactionPolicyPresets(tech.ydb.proto.table.YdbTable.CompactionPolicyDescription value) { if (compactionPolicyPresetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCompactionPolicyPresetsIsMutable(); compactionPolicyPresets_.add(value); onChanged(); } else { compactionPolicyPresetsBuilder_.addMessage(value); } return this; } /** * repeated .Ydb.Table.CompactionPolicyDescription compaction_policy_presets = 3; */ public Builder addCompactionPolicyPresets( int index, tech.ydb.proto.table.YdbTable.CompactionPolicyDescription value) { if (compactionPolicyPresetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCompactionPolicyPresetsIsMutable(); compactionPolicyPresets_.add(index, value); onChanged(); } else { compactionPolicyPresetsBuilder_.addMessage(index, value); } return this; } /** * repeated .Ydb.Table.CompactionPolicyDescription compaction_policy_presets = 3; */ public Builder addCompactionPolicyPresets( tech.ydb.proto.table.YdbTable.CompactionPolicyDescription.Builder builderForValue) { if (compactionPolicyPresetsBuilder_ == null) { ensureCompactionPolicyPresetsIsMutable(); compactionPolicyPresets_.add(builderForValue.build()); onChanged(); } else { compactionPolicyPresetsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .Ydb.Table.CompactionPolicyDescription compaction_policy_presets = 3; */ public Builder addCompactionPolicyPresets( int index, tech.ydb.proto.table.YdbTable.CompactionPolicyDescription.Builder builderForValue) { if (compactionPolicyPresetsBuilder_ == null) { ensureCompactionPolicyPresetsIsMutable(); compactionPolicyPresets_.add(index, builderForValue.build()); onChanged(); } else { compactionPolicyPresetsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .Ydb.Table.CompactionPolicyDescription compaction_policy_presets = 3; */ public Builder addAllCompactionPolicyPresets( java.lang.Iterable values) { if (compactionPolicyPresetsBuilder_ == null) { ensureCompactionPolicyPresetsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, compactionPolicyPresets_); onChanged(); } else { compactionPolicyPresetsBuilder_.addAllMessages(values); } return this; } /** * repeated .Ydb.Table.CompactionPolicyDescription compaction_policy_presets = 3; */ public Builder clearCompactionPolicyPresets() { if (compactionPolicyPresetsBuilder_ == null) { compactionPolicyPresets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { compactionPolicyPresetsBuilder_.clear(); } return this; } /** * repeated .Ydb.Table.CompactionPolicyDescription compaction_policy_presets = 3; */ public Builder removeCompactionPolicyPresets(int index) { if (compactionPolicyPresetsBuilder_ == null) { ensureCompactionPolicyPresetsIsMutable(); compactionPolicyPresets_.remove(index); onChanged(); } else { compactionPolicyPresetsBuilder_.remove(index); } return this; } /** * repeated .Ydb.Table.CompactionPolicyDescription compaction_policy_presets = 3; */ public tech.ydb.proto.table.YdbTable.CompactionPolicyDescription.Builder getCompactionPolicyPresetsBuilder( int index) { return getCompactionPolicyPresetsFieldBuilder().getBuilder(index); } /** * repeated .Ydb.Table.CompactionPolicyDescription compaction_policy_presets = 3; */ public tech.ydb.proto.table.YdbTable.CompactionPolicyDescriptionOrBuilder getCompactionPolicyPresetsOrBuilder( int index) { if (compactionPolicyPresetsBuilder_ == null) { return compactionPolicyPresets_.get(index); } else { return compactionPolicyPresetsBuilder_.getMessageOrBuilder(index); } } /** * repeated .Ydb.Table.CompactionPolicyDescription compaction_policy_presets = 3; */ public java.util.List getCompactionPolicyPresetsOrBuilderList() { if (compactionPolicyPresetsBuilder_ != null) { return compactionPolicyPresetsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(compactionPolicyPresets_); } } /** * repeated .Ydb.Table.CompactionPolicyDescription compaction_policy_presets = 3; */ public tech.ydb.proto.table.YdbTable.CompactionPolicyDescription.Builder addCompactionPolicyPresetsBuilder() { return getCompactionPolicyPresetsFieldBuilder().addBuilder( tech.ydb.proto.table.YdbTable.CompactionPolicyDescription.getDefaultInstance()); } /** * repeated .Ydb.Table.CompactionPolicyDescription compaction_policy_presets = 3; */ public tech.ydb.proto.table.YdbTable.CompactionPolicyDescription.Builder addCompactionPolicyPresetsBuilder( int index) { return getCompactionPolicyPresetsFieldBuilder().addBuilder( index, tech.ydb.proto.table.YdbTable.CompactionPolicyDescription.getDefaultInstance()); } /** * repeated .Ydb.Table.CompactionPolicyDescription compaction_policy_presets = 3; */ public java.util.List getCompactionPolicyPresetsBuilderList() { return getCompactionPolicyPresetsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.CompactionPolicyDescription, tech.ydb.proto.table.YdbTable.CompactionPolicyDescription.Builder, tech.ydb.proto.table.YdbTable.CompactionPolicyDescriptionOrBuilder> getCompactionPolicyPresetsFieldBuilder() { if (compactionPolicyPresetsBuilder_ == null) { compactionPolicyPresetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.CompactionPolicyDescription, tech.ydb.proto.table.YdbTable.CompactionPolicyDescription.Builder, tech.ydb.proto.table.YdbTable.CompactionPolicyDescriptionOrBuilder>( compactionPolicyPresets_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); compactionPolicyPresets_ = null; } return compactionPolicyPresetsBuilder_; } private java.util.List partitioningPolicyPresets_ = java.util.Collections.emptyList(); private void ensurePartitioningPolicyPresetsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { partitioningPolicyPresets_ = new java.util.ArrayList(partitioningPolicyPresets_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription, tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription.Builder, tech.ydb.proto.table.YdbTable.PartitioningPolicyDescriptionOrBuilder> partitioningPolicyPresetsBuilder_; /** * repeated .Ydb.Table.PartitioningPolicyDescription partitioning_policy_presets = 4; */ public java.util.List getPartitioningPolicyPresetsList() { if (partitioningPolicyPresetsBuilder_ == null) { return java.util.Collections.unmodifiableList(partitioningPolicyPresets_); } else { return partitioningPolicyPresetsBuilder_.getMessageList(); } } /** * repeated .Ydb.Table.PartitioningPolicyDescription partitioning_policy_presets = 4; */ public int getPartitioningPolicyPresetsCount() { if (partitioningPolicyPresetsBuilder_ == null) { return partitioningPolicyPresets_.size(); } else { return partitioningPolicyPresetsBuilder_.getCount(); } } /** * repeated .Ydb.Table.PartitioningPolicyDescription partitioning_policy_presets = 4; */ public tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription getPartitioningPolicyPresets(int index) { if (partitioningPolicyPresetsBuilder_ == null) { return partitioningPolicyPresets_.get(index); } else { return partitioningPolicyPresetsBuilder_.getMessage(index); } } /** * repeated .Ydb.Table.PartitioningPolicyDescription partitioning_policy_presets = 4; */ public Builder setPartitioningPolicyPresets( int index, tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription value) { if (partitioningPolicyPresetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePartitioningPolicyPresetsIsMutable(); partitioningPolicyPresets_.set(index, value); onChanged(); } else { partitioningPolicyPresetsBuilder_.setMessage(index, value); } return this; } /** * repeated .Ydb.Table.PartitioningPolicyDescription partitioning_policy_presets = 4; */ public Builder setPartitioningPolicyPresets( int index, tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription.Builder builderForValue) { if (partitioningPolicyPresetsBuilder_ == null) { ensurePartitioningPolicyPresetsIsMutable(); partitioningPolicyPresets_.set(index, builderForValue.build()); onChanged(); } else { partitioningPolicyPresetsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .Ydb.Table.PartitioningPolicyDescription partitioning_policy_presets = 4; */ public Builder addPartitioningPolicyPresets(tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription value) { if (partitioningPolicyPresetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePartitioningPolicyPresetsIsMutable(); partitioningPolicyPresets_.add(value); onChanged(); } else { partitioningPolicyPresetsBuilder_.addMessage(value); } return this; } /** * repeated .Ydb.Table.PartitioningPolicyDescription partitioning_policy_presets = 4; */ public Builder addPartitioningPolicyPresets( int index, tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription value) { if (partitioningPolicyPresetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePartitioningPolicyPresetsIsMutable(); partitioningPolicyPresets_.add(index, value); onChanged(); } else { partitioningPolicyPresetsBuilder_.addMessage(index, value); } return this; } /** * repeated .Ydb.Table.PartitioningPolicyDescription partitioning_policy_presets = 4; */ public Builder addPartitioningPolicyPresets( tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription.Builder builderForValue) { if (partitioningPolicyPresetsBuilder_ == null) { ensurePartitioningPolicyPresetsIsMutable(); partitioningPolicyPresets_.add(builderForValue.build()); onChanged(); } else { partitioningPolicyPresetsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .Ydb.Table.PartitioningPolicyDescription partitioning_policy_presets = 4; */ public Builder addPartitioningPolicyPresets( int index, tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription.Builder builderForValue) { if (partitioningPolicyPresetsBuilder_ == null) { ensurePartitioningPolicyPresetsIsMutable(); partitioningPolicyPresets_.add(index, builderForValue.build()); onChanged(); } else { partitioningPolicyPresetsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .Ydb.Table.PartitioningPolicyDescription partitioning_policy_presets = 4; */ public Builder addAllPartitioningPolicyPresets( java.lang.Iterable values) { if (partitioningPolicyPresetsBuilder_ == null) { ensurePartitioningPolicyPresetsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, partitioningPolicyPresets_); onChanged(); } else { partitioningPolicyPresetsBuilder_.addAllMessages(values); } return this; } /** * repeated .Ydb.Table.PartitioningPolicyDescription partitioning_policy_presets = 4; */ public Builder clearPartitioningPolicyPresets() { if (partitioningPolicyPresetsBuilder_ == null) { partitioningPolicyPresets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { partitioningPolicyPresetsBuilder_.clear(); } return this; } /** * repeated .Ydb.Table.PartitioningPolicyDescription partitioning_policy_presets = 4; */ public Builder removePartitioningPolicyPresets(int index) { if (partitioningPolicyPresetsBuilder_ == null) { ensurePartitioningPolicyPresetsIsMutable(); partitioningPolicyPresets_.remove(index); onChanged(); } else { partitioningPolicyPresetsBuilder_.remove(index); } return this; } /** * repeated .Ydb.Table.PartitioningPolicyDescription partitioning_policy_presets = 4; */ public tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription.Builder getPartitioningPolicyPresetsBuilder( int index) { return getPartitioningPolicyPresetsFieldBuilder().getBuilder(index); } /** * repeated .Ydb.Table.PartitioningPolicyDescription partitioning_policy_presets = 4; */ public tech.ydb.proto.table.YdbTable.PartitioningPolicyDescriptionOrBuilder getPartitioningPolicyPresetsOrBuilder( int index) { if (partitioningPolicyPresetsBuilder_ == null) { return partitioningPolicyPresets_.get(index); } else { return partitioningPolicyPresetsBuilder_.getMessageOrBuilder(index); } } /** * repeated .Ydb.Table.PartitioningPolicyDescription partitioning_policy_presets = 4; */ public java.util.List getPartitioningPolicyPresetsOrBuilderList() { if (partitioningPolicyPresetsBuilder_ != null) { return partitioningPolicyPresetsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(partitioningPolicyPresets_); } } /** * repeated .Ydb.Table.PartitioningPolicyDescription partitioning_policy_presets = 4; */ public tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription.Builder addPartitioningPolicyPresetsBuilder() { return getPartitioningPolicyPresetsFieldBuilder().addBuilder( tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription.getDefaultInstance()); } /** * repeated .Ydb.Table.PartitioningPolicyDescription partitioning_policy_presets = 4; */ public tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription.Builder addPartitioningPolicyPresetsBuilder( int index) { return getPartitioningPolicyPresetsFieldBuilder().addBuilder( index, tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription.getDefaultInstance()); } /** * repeated .Ydb.Table.PartitioningPolicyDescription partitioning_policy_presets = 4; */ public java.util.List getPartitioningPolicyPresetsBuilderList() { return getPartitioningPolicyPresetsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription, tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription.Builder, tech.ydb.proto.table.YdbTable.PartitioningPolicyDescriptionOrBuilder> getPartitioningPolicyPresetsFieldBuilder() { if (partitioningPolicyPresetsBuilder_ == null) { partitioningPolicyPresetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription, tech.ydb.proto.table.YdbTable.PartitioningPolicyDescription.Builder, tech.ydb.proto.table.YdbTable.PartitioningPolicyDescriptionOrBuilder>( partitioningPolicyPresets_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); partitioningPolicyPresets_ = null; } return partitioningPolicyPresetsBuilder_; } private java.util.List executionPolicyPresets_ = java.util.Collections.emptyList(); private void ensureExecutionPolicyPresetsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { executionPolicyPresets_ = new java.util.ArrayList(executionPolicyPresets_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription, tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription.Builder, tech.ydb.proto.table.YdbTable.ExecutionPolicyDescriptionOrBuilder> executionPolicyPresetsBuilder_; /** * repeated .Ydb.Table.ExecutionPolicyDescription execution_policy_presets = 5; */ public java.util.List getExecutionPolicyPresetsList() { if (executionPolicyPresetsBuilder_ == null) { return java.util.Collections.unmodifiableList(executionPolicyPresets_); } else { return executionPolicyPresetsBuilder_.getMessageList(); } } /** * repeated .Ydb.Table.ExecutionPolicyDescription execution_policy_presets = 5; */ public int getExecutionPolicyPresetsCount() { if (executionPolicyPresetsBuilder_ == null) { return executionPolicyPresets_.size(); } else { return executionPolicyPresetsBuilder_.getCount(); } } /** * repeated .Ydb.Table.ExecutionPolicyDescription execution_policy_presets = 5; */ public tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription getExecutionPolicyPresets(int index) { if (executionPolicyPresetsBuilder_ == null) { return executionPolicyPresets_.get(index); } else { return executionPolicyPresetsBuilder_.getMessage(index); } } /** * repeated .Ydb.Table.ExecutionPolicyDescription execution_policy_presets = 5; */ public Builder setExecutionPolicyPresets( int index, tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription value) { if (executionPolicyPresetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureExecutionPolicyPresetsIsMutable(); executionPolicyPresets_.set(index, value); onChanged(); } else { executionPolicyPresetsBuilder_.setMessage(index, value); } return this; } /** * repeated .Ydb.Table.ExecutionPolicyDescription execution_policy_presets = 5; */ public Builder setExecutionPolicyPresets( int index, tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription.Builder builderForValue) { if (executionPolicyPresetsBuilder_ == null) { ensureExecutionPolicyPresetsIsMutable(); executionPolicyPresets_.set(index, builderForValue.build()); onChanged(); } else { executionPolicyPresetsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .Ydb.Table.ExecutionPolicyDescription execution_policy_presets = 5; */ public Builder addExecutionPolicyPresets(tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription value) { if (executionPolicyPresetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureExecutionPolicyPresetsIsMutable(); executionPolicyPresets_.add(value); onChanged(); } else { executionPolicyPresetsBuilder_.addMessage(value); } return this; } /** * repeated .Ydb.Table.ExecutionPolicyDescription execution_policy_presets = 5; */ public Builder addExecutionPolicyPresets( int index, tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription value) { if (executionPolicyPresetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureExecutionPolicyPresetsIsMutable(); executionPolicyPresets_.add(index, value); onChanged(); } else { executionPolicyPresetsBuilder_.addMessage(index, value); } return this; } /** * repeated .Ydb.Table.ExecutionPolicyDescription execution_policy_presets = 5; */ public Builder addExecutionPolicyPresets( tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription.Builder builderForValue) { if (executionPolicyPresetsBuilder_ == null) { ensureExecutionPolicyPresetsIsMutable(); executionPolicyPresets_.add(builderForValue.build()); onChanged(); } else { executionPolicyPresetsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .Ydb.Table.ExecutionPolicyDescription execution_policy_presets = 5; */ public Builder addExecutionPolicyPresets( int index, tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription.Builder builderForValue) { if (executionPolicyPresetsBuilder_ == null) { ensureExecutionPolicyPresetsIsMutable(); executionPolicyPresets_.add(index, builderForValue.build()); onChanged(); } else { executionPolicyPresetsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .Ydb.Table.ExecutionPolicyDescription execution_policy_presets = 5; */ public Builder addAllExecutionPolicyPresets( java.lang.Iterable values) { if (executionPolicyPresetsBuilder_ == null) { ensureExecutionPolicyPresetsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, executionPolicyPresets_); onChanged(); } else { executionPolicyPresetsBuilder_.addAllMessages(values); } return this; } /** * repeated .Ydb.Table.ExecutionPolicyDescription execution_policy_presets = 5; */ public Builder clearExecutionPolicyPresets() { if (executionPolicyPresetsBuilder_ == null) { executionPolicyPresets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { executionPolicyPresetsBuilder_.clear(); } return this; } /** * repeated .Ydb.Table.ExecutionPolicyDescription execution_policy_presets = 5; */ public Builder removeExecutionPolicyPresets(int index) { if (executionPolicyPresetsBuilder_ == null) { ensureExecutionPolicyPresetsIsMutable(); executionPolicyPresets_.remove(index); onChanged(); } else { executionPolicyPresetsBuilder_.remove(index); } return this; } /** * repeated .Ydb.Table.ExecutionPolicyDescription execution_policy_presets = 5; */ public tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription.Builder getExecutionPolicyPresetsBuilder( int index) { return getExecutionPolicyPresetsFieldBuilder().getBuilder(index); } /** * repeated .Ydb.Table.ExecutionPolicyDescription execution_policy_presets = 5; */ public tech.ydb.proto.table.YdbTable.ExecutionPolicyDescriptionOrBuilder getExecutionPolicyPresetsOrBuilder( int index) { if (executionPolicyPresetsBuilder_ == null) { return executionPolicyPresets_.get(index); } else { return executionPolicyPresetsBuilder_.getMessageOrBuilder(index); } } /** * repeated .Ydb.Table.ExecutionPolicyDescription execution_policy_presets = 5; */ public java.util.List getExecutionPolicyPresetsOrBuilderList() { if (executionPolicyPresetsBuilder_ != null) { return executionPolicyPresetsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(executionPolicyPresets_); } } /** * repeated .Ydb.Table.ExecutionPolicyDescription execution_policy_presets = 5; */ public tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription.Builder addExecutionPolicyPresetsBuilder() { return getExecutionPolicyPresetsFieldBuilder().addBuilder( tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription.getDefaultInstance()); } /** * repeated .Ydb.Table.ExecutionPolicyDescription execution_policy_presets = 5; */ public tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription.Builder addExecutionPolicyPresetsBuilder( int index) { return getExecutionPolicyPresetsFieldBuilder().addBuilder( index, tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription.getDefaultInstance()); } /** * repeated .Ydb.Table.ExecutionPolicyDescription execution_policy_presets = 5; */ public java.util.List getExecutionPolicyPresetsBuilderList() { return getExecutionPolicyPresetsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription, tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription.Builder, tech.ydb.proto.table.YdbTable.ExecutionPolicyDescriptionOrBuilder> getExecutionPolicyPresetsFieldBuilder() { if (executionPolicyPresetsBuilder_ == null) { executionPolicyPresetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription, tech.ydb.proto.table.YdbTable.ExecutionPolicyDescription.Builder, tech.ydb.proto.table.YdbTable.ExecutionPolicyDescriptionOrBuilder>( executionPolicyPresets_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); executionPolicyPresets_ = null; } return executionPolicyPresetsBuilder_; } private java.util.List replicationPolicyPresets_ = java.util.Collections.emptyList(); private void ensureReplicationPolicyPresetsIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { replicationPolicyPresets_ = new java.util.ArrayList(replicationPolicyPresets_); bitField0_ |= 0x00000020; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription, tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription.Builder, tech.ydb.proto.table.YdbTable.ReplicationPolicyDescriptionOrBuilder> replicationPolicyPresetsBuilder_; /** * repeated .Ydb.Table.ReplicationPolicyDescription replication_policy_presets = 6; */ public java.util.List getReplicationPolicyPresetsList() { if (replicationPolicyPresetsBuilder_ == null) { return java.util.Collections.unmodifiableList(replicationPolicyPresets_); } else { return replicationPolicyPresetsBuilder_.getMessageList(); } } /** * repeated .Ydb.Table.ReplicationPolicyDescription replication_policy_presets = 6; */ public int getReplicationPolicyPresetsCount() { if (replicationPolicyPresetsBuilder_ == null) { return replicationPolicyPresets_.size(); } else { return replicationPolicyPresetsBuilder_.getCount(); } } /** * repeated .Ydb.Table.ReplicationPolicyDescription replication_policy_presets = 6; */ public tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription getReplicationPolicyPresets(int index) { if (replicationPolicyPresetsBuilder_ == null) { return replicationPolicyPresets_.get(index); } else { return replicationPolicyPresetsBuilder_.getMessage(index); } } /** * repeated .Ydb.Table.ReplicationPolicyDescription replication_policy_presets = 6; */ public Builder setReplicationPolicyPresets( int index, tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription value) { if (replicationPolicyPresetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureReplicationPolicyPresetsIsMutable(); replicationPolicyPresets_.set(index, value); onChanged(); } else { replicationPolicyPresetsBuilder_.setMessage(index, value); } return this; } /** * repeated .Ydb.Table.ReplicationPolicyDescription replication_policy_presets = 6; */ public Builder setReplicationPolicyPresets( int index, tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription.Builder builderForValue) { if (replicationPolicyPresetsBuilder_ == null) { ensureReplicationPolicyPresetsIsMutable(); replicationPolicyPresets_.set(index, builderForValue.build()); onChanged(); } else { replicationPolicyPresetsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .Ydb.Table.ReplicationPolicyDescription replication_policy_presets = 6; */ public Builder addReplicationPolicyPresets(tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription value) { if (replicationPolicyPresetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureReplicationPolicyPresetsIsMutable(); replicationPolicyPresets_.add(value); onChanged(); } else { replicationPolicyPresetsBuilder_.addMessage(value); } return this; } /** * repeated .Ydb.Table.ReplicationPolicyDescription replication_policy_presets = 6; */ public Builder addReplicationPolicyPresets( int index, tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription value) { if (replicationPolicyPresetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureReplicationPolicyPresetsIsMutable(); replicationPolicyPresets_.add(index, value); onChanged(); } else { replicationPolicyPresetsBuilder_.addMessage(index, value); } return this; } /** * repeated .Ydb.Table.ReplicationPolicyDescription replication_policy_presets = 6; */ public Builder addReplicationPolicyPresets( tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription.Builder builderForValue) { if (replicationPolicyPresetsBuilder_ == null) { ensureReplicationPolicyPresetsIsMutable(); replicationPolicyPresets_.add(builderForValue.build()); onChanged(); } else { replicationPolicyPresetsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .Ydb.Table.ReplicationPolicyDescription replication_policy_presets = 6; */ public Builder addReplicationPolicyPresets( int index, tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription.Builder builderForValue) { if (replicationPolicyPresetsBuilder_ == null) { ensureReplicationPolicyPresetsIsMutable(); replicationPolicyPresets_.add(index, builderForValue.build()); onChanged(); } else { replicationPolicyPresetsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .Ydb.Table.ReplicationPolicyDescription replication_policy_presets = 6; */ public Builder addAllReplicationPolicyPresets( java.lang.Iterable values) { if (replicationPolicyPresetsBuilder_ == null) { ensureReplicationPolicyPresetsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, replicationPolicyPresets_); onChanged(); } else { replicationPolicyPresetsBuilder_.addAllMessages(values); } return this; } /** * repeated .Ydb.Table.ReplicationPolicyDescription replication_policy_presets = 6; */ public Builder clearReplicationPolicyPresets() { if (replicationPolicyPresetsBuilder_ == null) { replicationPolicyPresets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); } else { replicationPolicyPresetsBuilder_.clear(); } return this; } /** * repeated .Ydb.Table.ReplicationPolicyDescription replication_policy_presets = 6; */ public Builder removeReplicationPolicyPresets(int index) { if (replicationPolicyPresetsBuilder_ == null) { ensureReplicationPolicyPresetsIsMutable(); replicationPolicyPresets_.remove(index); onChanged(); } else { replicationPolicyPresetsBuilder_.remove(index); } return this; } /** * repeated .Ydb.Table.ReplicationPolicyDescription replication_policy_presets = 6; */ public tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription.Builder getReplicationPolicyPresetsBuilder( int index) { return getReplicationPolicyPresetsFieldBuilder().getBuilder(index); } /** * repeated .Ydb.Table.ReplicationPolicyDescription replication_policy_presets = 6; */ public tech.ydb.proto.table.YdbTable.ReplicationPolicyDescriptionOrBuilder getReplicationPolicyPresetsOrBuilder( int index) { if (replicationPolicyPresetsBuilder_ == null) { return replicationPolicyPresets_.get(index); } else { return replicationPolicyPresetsBuilder_.getMessageOrBuilder(index); } } /** * repeated .Ydb.Table.ReplicationPolicyDescription replication_policy_presets = 6; */ public java.util.List getReplicationPolicyPresetsOrBuilderList() { if (replicationPolicyPresetsBuilder_ != null) { return replicationPolicyPresetsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(replicationPolicyPresets_); } } /** * repeated .Ydb.Table.ReplicationPolicyDescription replication_policy_presets = 6; */ public tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription.Builder addReplicationPolicyPresetsBuilder() { return getReplicationPolicyPresetsFieldBuilder().addBuilder( tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription.getDefaultInstance()); } /** * repeated .Ydb.Table.ReplicationPolicyDescription replication_policy_presets = 6; */ public tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription.Builder addReplicationPolicyPresetsBuilder( int index) { return getReplicationPolicyPresetsFieldBuilder().addBuilder( index, tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription.getDefaultInstance()); } /** * repeated .Ydb.Table.ReplicationPolicyDescription replication_policy_presets = 6; */ public java.util.List getReplicationPolicyPresetsBuilderList() { return getReplicationPolicyPresetsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription, tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription.Builder, tech.ydb.proto.table.YdbTable.ReplicationPolicyDescriptionOrBuilder> getReplicationPolicyPresetsFieldBuilder() { if (replicationPolicyPresetsBuilder_ == null) { replicationPolicyPresetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription, tech.ydb.proto.table.YdbTable.ReplicationPolicyDescription.Builder, tech.ydb.proto.table.YdbTable.ReplicationPolicyDescriptionOrBuilder>( replicationPolicyPresets_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean()); replicationPolicyPresets_ = null; } return replicationPolicyPresetsBuilder_; } private java.util.List cachingPolicyPresets_ = java.util.Collections.emptyList(); private void ensureCachingPolicyPresetsIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { cachingPolicyPresets_ = new java.util.ArrayList(cachingPolicyPresets_); bitField0_ |= 0x00000040; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.CachingPolicyDescription, tech.ydb.proto.table.YdbTable.CachingPolicyDescription.Builder, tech.ydb.proto.table.YdbTable.CachingPolicyDescriptionOrBuilder> cachingPolicyPresetsBuilder_; /** * repeated .Ydb.Table.CachingPolicyDescription caching_policy_presets = 7; */ public java.util.List getCachingPolicyPresetsList() { if (cachingPolicyPresetsBuilder_ == null) { return java.util.Collections.unmodifiableList(cachingPolicyPresets_); } else { return cachingPolicyPresetsBuilder_.getMessageList(); } } /** * repeated .Ydb.Table.CachingPolicyDescription caching_policy_presets = 7; */ public int getCachingPolicyPresetsCount() { if (cachingPolicyPresetsBuilder_ == null) { return cachingPolicyPresets_.size(); } else { return cachingPolicyPresetsBuilder_.getCount(); } } /** * repeated .Ydb.Table.CachingPolicyDescription caching_policy_presets = 7; */ public tech.ydb.proto.table.YdbTable.CachingPolicyDescription getCachingPolicyPresets(int index) { if (cachingPolicyPresetsBuilder_ == null) { return cachingPolicyPresets_.get(index); } else { return cachingPolicyPresetsBuilder_.getMessage(index); } } /** * repeated .Ydb.Table.CachingPolicyDescription caching_policy_presets = 7; */ public Builder setCachingPolicyPresets( int index, tech.ydb.proto.table.YdbTable.CachingPolicyDescription value) { if (cachingPolicyPresetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCachingPolicyPresetsIsMutable(); cachingPolicyPresets_.set(index, value); onChanged(); } else { cachingPolicyPresetsBuilder_.setMessage(index, value); } return this; } /** * repeated .Ydb.Table.CachingPolicyDescription caching_policy_presets = 7; */ public Builder setCachingPolicyPresets( int index, tech.ydb.proto.table.YdbTable.CachingPolicyDescription.Builder builderForValue) { if (cachingPolicyPresetsBuilder_ == null) { ensureCachingPolicyPresetsIsMutable(); cachingPolicyPresets_.set(index, builderForValue.build()); onChanged(); } else { cachingPolicyPresetsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .Ydb.Table.CachingPolicyDescription caching_policy_presets = 7; */ public Builder addCachingPolicyPresets(tech.ydb.proto.table.YdbTable.CachingPolicyDescription value) { if (cachingPolicyPresetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCachingPolicyPresetsIsMutable(); cachingPolicyPresets_.add(value); onChanged(); } else { cachingPolicyPresetsBuilder_.addMessage(value); } return this; } /** * repeated .Ydb.Table.CachingPolicyDescription caching_policy_presets = 7; */ public Builder addCachingPolicyPresets( int index, tech.ydb.proto.table.YdbTable.CachingPolicyDescription value) { if (cachingPolicyPresetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCachingPolicyPresetsIsMutable(); cachingPolicyPresets_.add(index, value); onChanged(); } else { cachingPolicyPresetsBuilder_.addMessage(index, value); } return this; } /** * repeated .Ydb.Table.CachingPolicyDescription caching_policy_presets = 7; */ public Builder addCachingPolicyPresets( tech.ydb.proto.table.YdbTable.CachingPolicyDescription.Builder builderForValue) { if (cachingPolicyPresetsBuilder_ == null) { ensureCachingPolicyPresetsIsMutable(); cachingPolicyPresets_.add(builderForValue.build()); onChanged(); } else { cachingPolicyPresetsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .Ydb.Table.CachingPolicyDescription caching_policy_presets = 7; */ public Builder addCachingPolicyPresets( int index, tech.ydb.proto.table.YdbTable.CachingPolicyDescription.Builder builderForValue) { if (cachingPolicyPresetsBuilder_ == null) { ensureCachingPolicyPresetsIsMutable(); cachingPolicyPresets_.add(index, builderForValue.build()); onChanged(); } else { cachingPolicyPresetsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .Ydb.Table.CachingPolicyDescription caching_policy_presets = 7; */ public Builder addAllCachingPolicyPresets( java.lang.Iterable values) { if (cachingPolicyPresetsBuilder_ == null) { ensureCachingPolicyPresetsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, cachingPolicyPresets_); onChanged(); } else { cachingPolicyPresetsBuilder_.addAllMessages(values); } return this; } /** * repeated .Ydb.Table.CachingPolicyDescription caching_policy_presets = 7; */ public Builder clearCachingPolicyPresets() { if (cachingPolicyPresetsBuilder_ == null) { cachingPolicyPresets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); } else { cachingPolicyPresetsBuilder_.clear(); } return this; } /** * repeated .Ydb.Table.CachingPolicyDescription caching_policy_presets = 7; */ public Builder removeCachingPolicyPresets(int index) { if (cachingPolicyPresetsBuilder_ == null) { ensureCachingPolicyPresetsIsMutable(); cachingPolicyPresets_.remove(index); onChanged(); } else { cachingPolicyPresetsBuilder_.remove(index); } return this; } /** * repeated .Ydb.Table.CachingPolicyDescription caching_policy_presets = 7; */ public tech.ydb.proto.table.YdbTable.CachingPolicyDescription.Builder getCachingPolicyPresetsBuilder( int index) { return getCachingPolicyPresetsFieldBuilder().getBuilder(index); } /** * repeated .Ydb.Table.CachingPolicyDescription caching_policy_presets = 7; */ public tech.ydb.proto.table.YdbTable.CachingPolicyDescriptionOrBuilder getCachingPolicyPresetsOrBuilder( int index) { if (cachingPolicyPresetsBuilder_ == null) { return cachingPolicyPresets_.get(index); } else { return cachingPolicyPresetsBuilder_.getMessageOrBuilder(index); } } /** * repeated .Ydb.Table.CachingPolicyDescription caching_policy_presets = 7; */ public java.util.List getCachingPolicyPresetsOrBuilderList() { if (cachingPolicyPresetsBuilder_ != null) { return cachingPolicyPresetsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(cachingPolicyPresets_); } } /** * repeated .Ydb.Table.CachingPolicyDescription caching_policy_presets = 7; */ public tech.ydb.proto.table.YdbTable.CachingPolicyDescription.Builder addCachingPolicyPresetsBuilder() { return getCachingPolicyPresetsFieldBuilder().addBuilder( tech.ydb.proto.table.YdbTable.CachingPolicyDescription.getDefaultInstance()); } /** * repeated .Ydb.Table.CachingPolicyDescription caching_policy_presets = 7; */ public tech.ydb.proto.table.YdbTable.CachingPolicyDescription.Builder addCachingPolicyPresetsBuilder( int index) { return getCachingPolicyPresetsFieldBuilder().addBuilder( index, tech.ydb.proto.table.YdbTable.CachingPolicyDescription.getDefaultInstance()); } /** * repeated .Ydb.Table.CachingPolicyDescription caching_policy_presets = 7; */ public java.util.List getCachingPolicyPresetsBuilderList() { return getCachingPolicyPresetsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.CachingPolicyDescription, tech.ydb.proto.table.YdbTable.CachingPolicyDescription.Builder, tech.ydb.proto.table.YdbTable.CachingPolicyDescriptionOrBuilder> getCachingPolicyPresetsFieldBuilder() { if (cachingPolicyPresetsBuilder_ == null) { cachingPolicyPresetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.table.YdbTable.CachingPolicyDescription, tech.ydb.proto.table.YdbTable.CachingPolicyDescription.Builder, tech.ydb.proto.table.YdbTable.CachingPolicyDescriptionOrBuilder>( cachingPolicyPresets_, ((bitField0_ & 0x00000040) != 0), getParentForChildren(), isClean()); cachingPolicyPresets_ = null; } return cachingPolicyPresetsBuilder_; } @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.Table.DescribeTableOptionsResult) } // @@protoc_insertion_point(class_scope:Ydb.Table.DescribeTableOptionsResult) private static final tech.ydb.proto.table.YdbTable.DescribeTableOptionsResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.DescribeTableOptionsResult(); } public static tech.ydb.proto.table.YdbTable.DescribeTableOptionsResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DescribeTableOptionsResult 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.table.YdbTable.DescribeTableOptionsResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface KeyRangeOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.KeyRange) com.google.protobuf.MessageOrBuilder { /** *
     * Specify if we don't want to include given key
     * 
* * .Ydb.TypedValue greater = 1; * @return Whether the greater field is set. */ boolean hasGreater(); /** *
     * Specify if we don't want to include given key
     * 
* * .Ydb.TypedValue greater = 1; * @return The greater. */ tech.ydb.proto.ValueProtos.TypedValue getGreater(); /** *
     * Specify if we don't want to include given key
     * 
* * .Ydb.TypedValue greater = 1; */ tech.ydb.proto.ValueProtos.TypedValueOrBuilder getGreaterOrBuilder(); /** *
     * Specify if we want to include given key
     * 
* * .Ydb.TypedValue greater_or_equal = 2; * @return Whether the greaterOrEqual field is set. */ boolean hasGreaterOrEqual(); /** *
     * Specify if we want to include given key
     * 
* * .Ydb.TypedValue greater_or_equal = 2; * @return The greaterOrEqual. */ tech.ydb.proto.ValueProtos.TypedValue getGreaterOrEqual(); /** *
     * Specify if we want to include given key
     * 
* * .Ydb.TypedValue greater_or_equal = 2; */ tech.ydb.proto.ValueProtos.TypedValueOrBuilder getGreaterOrEqualOrBuilder(); /** *
     * Specify if we don't want to include given key
     * 
* * .Ydb.TypedValue less = 3; * @return Whether the less field is set. */ boolean hasLess(); /** *
     * Specify if we don't want to include given key
     * 
* * .Ydb.TypedValue less = 3; * @return The less. */ tech.ydb.proto.ValueProtos.TypedValue getLess(); /** *
     * Specify if we don't want to include given key
     * 
* * .Ydb.TypedValue less = 3; */ tech.ydb.proto.ValueProtos.TypedValueOrBuilder getLessOrBuilder(); /** *
     * Specify if we want to include given key
     * 
* * .Ydb.TypedValue less_or_equal = 4; * @return Whether the lessOrEqual field is set. */ boolean hasLessOrEqual(); /** *
     * Specify if we want to include given key
     * 
* * .Ydb.TypedValue less_or_equal = 4; * @return The lessOrEqual. */ tech.ydb.proto.ValueProtos.TypedValue getLessOrEqual(); /** *
     * Specify if we want to include given key
     * 
* * .Ydb.TypedValue less_or_equal = 4; */ tech.ydb.proto.ValueProtos.TypedValueOrBuilder getLessOrEqualOrBuilder(); tech.ydb.proto.table.YdbTable.KeyRange.FromBoundCase getFromBoundCase(); tech.ydb.proto.table.YdbTable.KeyRange.ToBoundCase getToBoundCase(); } /** * Protobuf type {@code Ydb.Table.KeyRange} */ public static final class KeyRange extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.KeyRange) KeyRangeOrBuilder { private static final long serialVersionUID = 0L; // Use KeyRange.newBuilder() to construct. private KeyRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private KeyRange() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new KeyRange(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_KeyRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_KeyRange_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.KeyRange.class, tech.ydb.proto.table.YdbTable.KeyRange.Builder.class); } private int fromBoundCase_ = 0; @SuppressWarnings("serial") private java.lang.Object fromBound_; public enum FromBoundCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GREATER(1), GREATER_OR_EQUAL(2), FROMBOUND_NOT_SET(0); private final int value; private FromBoundCase(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 FromBoundCase valueOf(int value) { return forNumber(value); } public static FromBoundCase forNumber(int value) { switch (value) { case 1: return GREATER; case 2: return GREATER_OR_EQUAL; case 0: return FROMBOUND_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public FromBoundCase getFromBoundCase() { return FromBoundCase.forNumber( fromBoundCase_); } private int toBoundCase_ = 0; @SuppressWarnings("serial") private java.lang.Object toBound_; public enum ToBoundCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { LESS(3), LESS_OR_EQUAL(4), TOBOUND_NOT_SET(0); private final int value; private ToBoundCase(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 ToBoundCase valueOf(int value) { return forNumber(value); } public static ToBoundCase forNumber(int value) { switch (value) { case 3: return LESS; case 4: return LESS_OR_EQUAL; case 0: return TOBOUND_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public ToBoundCase getToBoundCase() { return ToBoundCase.forNumber( toBoundCase_); } public static final int GREATER_FIELD_NUMBER = 1; /** *
     * Specify if we don't want to include given key
     * 
* * .Ydb.TypedValue greater = 1; * @return Whether the greater field is set. */ @java.lang.Override public boolean hasGreater() { return fromBoundCase_ == 1; } /** *
     * Specify if we don't want to include given key
     * 
* * .Ydb.TypedValue greater = 1; * @return The greater. */ @java.lang.Override public tech.ydb.proto.ValueProtos.TypedValue getGreater() { if (fromBoundCase_ == 1) { return (tech.ydb.proto.ValueProtos.TypedValue) fromBound_; } return tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance(); } /** *
     * Specify if we don't want to include given key
     * 
* * .Ydb.TypedValue greater = 1; */ @java.lang.Override public tech.ydb.proto.ValueProtos.TypedValueOrBuilder getGreaterOrBuilder() { if (fromBoundCase_ == 1) { return (tech.ydb.proto.ValueProtos.TypedValue) fromBound_; } return tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance(); } public static final int GREATER_OR_EQUAL_FIELD_NUMBER = 2; /** *
     * Specify if we want to include given key
     * 
* * .Ydb.TypedValue greater_or_equal = 2; * @return Whether the greaterOrEqual field is set. */ @java.lang.Override public boolean hasGreaterOrEqual() { return fromBoundCase_ == 2; } /** *
     * Specify if we want to include given key
     * 
* * .Ydb.TypedValue greater_or_equal = 2; * @return The greaterOrEqual. */ @java.lang.Override public tech.ydb.proto.ValueProtos.TypedValue getGreaterOrEqual() { if (fromBoundCase_ == 2) { return (tech.ydb.proto.ValueProtos.TypedValue) fromBound_; } return tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance(); } /** *
     * Specify if we want to include given key
     * 
* * .Ydb.TypedValue greater_or_equal = 2; */ @java.lang.Override public tech.ydb.proto.ValueProtos.TypedValueOrBuilder getGreaterOrEqualOrBuilder() { if (fromBoundCase_ == 2) { return (tech.ydb.proto.ValueProtos.TypedValue) fromBound_; } return tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance(); } public static final int LESS_FIELD_NUMBER = 3; /** *
     * Specify if we don't want to include given key
     * 
* * .Ydb.TypedValue less = 3; * @return Whether the less field is set. */ @java.lang.Override public boolean hasLess() { return toBoundCase_ == 3; } /** *
     * Specify if we don't want to include given key
     * 
* * .Ydb.TypedValue less = 3; * @return The less. */ @java.lang.Override public tech.ydb.proto.ValueProtos.TypedValue getLess() { if (toBoundCase_ == 3) { return (tech.ydb.proto.ValueProtos.TypedValue) toBound_; } return tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance(); } /** *
     * Specify if we don't want to include given key
     * 
* * .Ydb.TypedValue less = 3; */ @java.lang.Override public tech.ydb.proto.ValueProtos.TypedValueOrBuilder getLessOrBuilder() { if (toBoundCase_ == 3) { return (tech.ydb.proto.ValueProtos.TypedValue) toBound_; } return tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance(); } public static final int LESS_OR_EQUAL_FIELD_NUMBER = 4; /** *
     * Specify if we want to include given key
     * 
* * .Ydb.TypedValue less_or_equal = 4; * @return Whether the lessOrEqual field is set. */ @java.lang.Override public boolean hasLessOrEqual() { return toBoundCase_ == 4; } /** *
     * Specify if we want to include given key
     * 
* * .Ydb.TypedValue less_or_equal = 4; * @return The lessOrEqual. */ @java.lang.Override public tech.ydb.proto.ValueProtos.TypedValue getLessOrEqual() { if (toBoundCase_ == 4) { return (tech.ydb.proto.ValueProtos.TypedValue) toBound_; } return tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance(); } /** *
     * Specify if we want to include given key
     * 
* * .Ydb.TypedValue less_or_equal = 4; */ @java.lang.Override public tech.ydb.proto.ValueProtos.TypedValueOrBuilder getLessOrEqualOrBuilder() { if (toBoundCase_ == 4) { return (tech.ydb.proto.ValueProtos.TypedValue) toBound_; } return tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance(); } 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 (fromBoundCase_ == 1) { output.writeMessage(1, (tech.ydb.proto.ValueProtos.TypedValue) fromBound_); } if (fromBoundCase_ == 2) { output.writeMessage(2, (tech.ydb.proto.ValueProtos.TypedValue) fromBound_); } if (toBoundCase_ == 3) { output.writeMessage(3, (tech.ydb.proto.ValueProtos.TypedValue) toBound_); } if (toBoundCase_ == 4) { output.writeMessage(4, (tech.ydb.proto.ValueProtos.TypedValue) toBound_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (fromBoundCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, (tech.ydb.proto.ValueProtos.TypedValue) fromBound_); } if (fromBoundCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (tech.ydb.proto.ValueProtos.TypedValue) fromBound_); } if (toBoundCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (tech.ydb.proto.ValueProtos.TypedValue) toBound_); } if (toBoundCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, (tech.ydb.proto.ValueProtos.TypedValue) toBound_); } 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.table.YdbTable.KeyRange)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.KeyRange other = (tech.ydb.proto.table.YdbTable.KeyRange) obj; if (!getFromBoundCase().equals(other.getFromBoundCase())) return false; switch (fromBoundCase_) { case 1: if (!getGreater() .equals(other.getGreater())) return false; break; case 2: if (!getGreaterOrEqual() .equals(other.getGreaterOrEqual())) return false; break; case 0: default: } if (!getToBoundCase().equals(other.getToBoundCase())) return false; switch (toBoundCase_) { case 3: if (!getLess() .equals(other.getLess())) return false; break; case 4: if (!getLessOrEqual() .equals(other.getLessOrEqual())) 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 (fromBoundCase_) { case 1: hash = (37 * hash) + GREATER_FIELD_NUMBER; hash = (53 * hash) + getGreater().hashCode(); break; case 2: hash = (37 * hash) + GREATER_OR_EQUAL_FIELD_NUMBER; hash = (53 * hash) + getGreaterOrEqual().hashCode(); break; case 0: default: } switch (toBoundCase_) { case 3: hash = (37 * hash) + LESS_FIELD_NUMBER; hash = (53 * hash) + getLess().hashCode(); break; case 4: hash = (37 * hash) + LESS_OR_EQUAL_FIELD_NUMBER; hash = (53 * hash) + getLessOrEqual().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.KeyRange parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.KeyRange 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.table.YdbTable.KeyRange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.KeyRange 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.table.YdbTable.KeyRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.KeyRange parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.KeyRange parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.KeyRange 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.table.YdbTable.KeyRange parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.KeyRange 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.table.YdbTable.KeyRange parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.KeyRange 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.table.YdbTable.KeyRange 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.Table.KeyRange} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.KeyRange) tech.ydb.proto.table.YdbTable.KeyRangeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_KeyRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_KeyRange_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.KeyRange.class, tech.ydb.proto.table.YdbTable.KeyRange.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.KeyRange.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (greaterBuilder_ != null) { greaterBuilder_.clear(); } if (greaterOrEqualBuilder_ != null) { greaterOrEqualBuilder_.clear(); } if (lessBuilder_ != null) { lessBuilder_.clear(); } if (lessOrEqualBuilder_ != null) { lessOrEqualBuilder_.clear(); } fromBoundCase_ = 0; fromBound_ = null; toBoundCase_ = 0; toBound_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_KeyRange_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.KeyRange getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.KeyRange.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.KeyRange build() { tech.ydb.proto.table.YdbTable.KeyRange result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.KeyRange buildPartial() { tech.ydb.proto.table.YdbTable.KeyRange result = new tech.ydb.proto.table.YdbTable.KeyRange(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.KeyRange result) { int from_bitField0_ = bitField0_; } private void buildPartialOneofs(tech.ydb.proto.table.YdbTable.KeyRange result) { result.fromBoundCase_ = fromBoundCase_; result.fromBound_ = this.fromBound_; if (fromBoundCase_ == 1 && greaterBuilder_ != null) { result.fromBound_ = greaterBuilder_.build(); } if (fromBoundCase_ == 2 && greaterOrEqualBuilder_ != null) { result.fromBound_ = greaterOrEqualBuilder_.build(); } result.toBoundCase_ = toBoundCase_; result.toBound_ = this.toBound_; if (toBoundCase_ == 3 && lessBuilder_ != null) { result.toBound_ = lessBuilder_.build(); } if (toBoundCase_ == 4 && lessOrEqualBuilder_ != null) { result.toBound_ = lessOrEqualBuilder_.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.table.YdbTable.KeyRange) { return mergeFrom((tech.ydb.proto.table.YdbTable.KeyRange)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.KeyRange other) { if (other == tech.ydb.proto.table.YdbTable.KeyRange.getDefaultInstance()) return this; switch (other.getFromBoundCase()) { case GREATER: { mergeGreater(other.getGreater()); break; } case GREATER_OR_EQUAL: { mergeGreaterOrEqual(other.getGreaterOrEqual()); break; } case FROMBOUND_NOT_SET: { break; } } switch (other.getToBoundCase()) { case LESS: { mergeLess(other.getLess()); break; } case LESS_OR_EQUAL: { mergeLessOrEqual(other.getLessOrEqual()); break; } case TOBOUND_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( getGreaterFieldBuilder().getBuilder(), extensionRegistry); fromBoundCase_ = 1; break; } // case 10 case 18: { input.readMessage( getGreaterOrEqualFieldBuilder().getBuilder(), extensionRegistry); fromBoundCase_ = 2; break; } // case 18 case 26: { input.readMessage( getLessFieldBuilder().getBuilder(), extensionRegistry); toBoundCase_ = 3; break; } // case 26 case 34: { input.readMessage( getLessOrEqualFieldBuilder().getBuilder(), extensionRegistry); toBoundCase_ = 4; 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 fromBoundCase_ = 0; private java.lang.Object fromBound_; public FromBoundCase getFromBoundCase() { return FromBoundCase.forNumber( fromBoundCase_); } public Builder clearFromBound() { fromBoundCase_ = 0; fromBound_ = null; onChanged(); return this; } private int toBoundCase_ = 0; private java.lang.Object toBound_; public ToBoundCase getToBoundCase() { return ToBoundCase.forNumber( toBoundCase_); } public Builder clearToBound() { toBoundCase_ = 0; toBound_ = null; onChanged(); return this; } private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.ValueProtos.TypedValue, tech.ydb.proto.ValueProtos.TypedValue.Builder, tech.ydb.proto.ValueProtos.TypedValueOrBuilder> greaterBuilder_; /** *
       * Specify if we don't want to include given key
       * 
* * .Ydb.TypedValue greater = 1; * @return Whether the greater field is set. */ @java.lang.Override public boolean hasGreater() { return fromBoundCase_ == 1; } /** *
       * Specify if we don't want to include given key
       * 
* * .Ydb.TypedValue greater = 1; * @return The greater. */ @java.lang.Override public tech.ydb.proto.ValueProtos.TypedValue getGreater() { if (greaterBuilder_ == null) { if (fromBoundCase_ == 1) { return (tech.ydb.proto.ValueProtos.TypedValue) fromBound_; } return tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance(); } else { if (fromBoundCase_ == 1) { return greaterBuilder_.getMessage(); } return tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance(); } } /** *
       * Specify if we don't want to include given key
       * 
* * .Ydb.TypedValue greater = 1; */ public Builder setGreater(tech.ydb.proto.ValueProtos.TypedValue value) { if (greaterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } fromBound_ = value; onChanged(); } else { greaterBuilder_.setMessage(value); } fromBoundCase_ = 1; return this; } /** *
       * Specify if we don't want to include given key
       * 
* * .Ydb.TypedValue greater = 1; */ public Builder setGreater( tech.ydb.proto.ValueProtos.TypedValue.Builder builderForValue) { if (greaterBuilder_ == null) { fromBound_ = builderForValue.build(); onChanged(); } else { greaterBuilder_.setMessage(builderForValue.build()); } fromBoundCase_ = 1; return this; } /** *
       * Specify if we don't want to include given key
       * 
* * .Ydb.TypedValue greater = 1; */ public Builder mergeGreater(tech.ydb.proto.ValueProtos.TypedValue value) { if (greaterBuilder_ == null) { if (fromBoundCase_ == 1 && fromBound_ != tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance()) { fromBound_ = tech.ydb.proto.ValueProtos.TypedValue.newBuilder((tech.ydb.proto.ValueProtos.TypedValue) fromBound_) .mergeFrom(value).buildPartial(); } else { fromBound_ = value; } onChanged(); } else { if (fromBoundCase_ == 1) { greaterBuilder_.mergeFrom(value); } else { greaterBuilder_.setMessage(value); } } fromBoundCase_ = 1; return this; } /** *
       * Specify if we don't want to include given key
       * 
* * .Ydb.TypedValue greater = 1; */ public Builder clearGreater() { if (greaterBuilder_ == null) { if (fromBoundCase_ == 1) { fromBoundCase_ = 0; fromBound_ = null; onChanged(); } } else { if (fromBoundCase_ == 1) { fromBoundCase_ = 0; fromBound_ = null; } greaterBuilder_.clear(); } return this; } /** *
       * Specify if we don't want to include given key
       * 
* * .Ydb.TypedValue greater = 1; */ public tech.ydb.proto.ValueProtos.TypedValue.Builder getGreaterBuilder() { return getGreaterFieldBuilder().getBuilder(); } /** *
       * Specify if we don't want to include given key
       * 
* * .Ydb.TypedValue greater = 1; */ @java.lang.Override public tech.ydb.proto.ValueProtos.TypedValueOrBuilder getGreaterOrBuilder() { if ((fromBoundCase_ == 1) && (greaterBuilder_ != null)) { return greaterBuilder_.getMessageOrBuilder(); } else { if (fromBoundCase_ == 1) { return (tech.ydb.proto.ValueProtos.TypedValue) fromBound_; } return tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance(); } } /** *
       * Specify if we don't want to include given key
       * 
* * .Ydb.TypedValue greater = 1; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.ValueProtos.TypedValue, tech.ydb.proto.ValueProtos.TypedValue.Builder, tech.ydb.proto.ValueProtos.TypedValueOrBuilder> getGreaterFieldBuilder() { if (greaterBuilder_ == null) { if (!(fromBoundCase_ == 1)) { fromBound_ = tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance(); } greaterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.ValueProtos.TypedValue, tech.ydb.proto.ValueProtos.TypedValue.Builder, tech.ydb.proto.ValueProtos.TypedValueOrBuilder>( (tech.ydb.proto.ValueProtos.TypedValue) fromBound_, getParentForChildren(), isClean()); fromBound_ = null; } fromBoundCase_ = 1; onChanged(); return greaterBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.ValueProtos.TypedValue, tech.ydb.proto.ValueProtos.TypedValue.Builder, tech.ydb.proto.ValueProtos.TypedValueOrBuilder> greaterOrEqualBuilder_; /** *
       * Specify if we want to include given key
       * 
* * .Ydb.TypedValue greater_or_equal = 2; * @return Whether the greaterOrEqual field is set. */ @java.lang.Override public boolean hasGreaterOrEqual() { return fromBoundCase_ == 2; } /** *
       * Specify if we want to include given key
       * 
* * .Ydb.TypedValue greater_or_equal = 2; * @return The greaterOrEqual. */ @java.lang.Override public tech.ydb.proto.ValueProtos.TypedValue getGreaterOrEqual() { if (greaterOrEqualBuilder_ == null) { if (fromBoundCase_ == 2) { return (tech.ydb.proto.ValueProtos.TypedValue) fromBound_; } return tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance(); } else { if (fromBoundCase_ == 2) { return greaterOrEqualBuilder_.getMessage(); } return tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance(); } } /** *
       * Specify if we want to include given key
       * 
* * .Ydb.TypedValue greater_or_equal = 2; */ public Builder setGreaterOrEqual(tech.ydb.proto.ValueProtos.TypedValue value) { if (greaterOrEqualBuilder_ == null) { if (value == null) { throw new NullPointerException(); } fromBound_ = value; onChanged(); } else { greaterOrEqualBuilder_.setMessage(value); } fromBoundCase_ = 2; return this; } /** *
       * Specify if we want to include given key
       * 
* * .Ydb.TypedValue greater_or_equal = 2; */ public Builder setGreaterOrEqual( tech.ydb.proto.ValueProtos.TypedValue.Builder builderForValue) { if (greaterOrEqualBuilder_ == null) { fromBound_ = builderForValue.build(); onChanged(); } else { greaterOrEqualBuilder_.setMessage(builderForValue.build()); } fromBoundCase_ = 2; return this; } /** *
       * Specify if we want to include given key
       * 
* * .Ydb.TypedValue greater_or_equal = 2; */ public Builder mergeGreaterOrEqual(tech.ydb.proto.ValueProtos.TypedValue value) { if (greaterOrEqualBuilder_ == null) { if (fromBoundCase_ == 2 && fromBound_ != tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance()) { fromBound_ = tech.ydb.proto.ValueProtos.TypedValue.newBuilder((tech.ydb.proto.ValueProtos.TypedValue) fromBound_) .mergeFrom(value).buildPartial(); } else { fromBound_ = value; } onChanged(); } else { if (fromBoundCase_ == 2) { greaterOrEqualBuilder_.mergeFrom(value); } else { greaterOrEqualBuilder_.setMessage(value); } } fromBoundCase_ = 2; return this; } /** *
       * Specify if we want to include given key
       * 
* * .Ydb.TypedValue greater_or_equal = 2; */ public Builder clearGreaterOrEqual() { if (greaterOrEqualBuilder_ == null) { if (fromBoundCase_ == 2) { fromBoundCase_ = 0; fromBound_ = null; onChanged(); } } else { if (fromBoundCase_ == 2) { fromBoundCase_ = 0; fromBound_ = null; } greaterOrEqualBuilder_.clear(); } return this; } /** *
       * Specify if we want to include given key
       * 
* * .Ydb.TypedValue greater_or_equal = 2; */ public tech.ydb.proto.ValueProtos.TypedValue.Builder getGreaterOrEqualBuilder() { return getGreaterOrEqualFieldBuilder().getBuilder(); } /** *
       * Specify if we want to include given key
       * 
* * .Ydb.TypedValue greater_or_equal = 2; */ @java.lang.Override public tech.ydb.proto.ValueProtos.TypedValueOrBuilder getGreaterOrEqualOrBuilder() { if ((fromBoundCase_ == 2) && (greaterOrEqualBuilder_ != null)) { return greaterOrEqualBuilder_.getMessageOrBuilder(); } else { if (fromBoundCase_ == 2) { return (tech.ydb.proto.ValueProtos.TypedValue) fromBound_; } return tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance(); } } /** *
       * Specify if we want to include given key
       * 
* * .Ydb.TypedValue greater_or_equal = 2; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.ValueProtos.TypedValue, tech.ydb.proto.ValueProtos.TypedValue.Builder, tech.ydb.proto.ValueProtos.TypedValueOrBuilder> getGreaterOrEqualFieldBuilder() { if (greaterOrEqualBuilder_ == null) { if (!(fromBoundCase_ == 2)) { fromBound_ = tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance(); } greaterOrEqualBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.ValueProtos.TypedValue, tech.ydb.proto.ValueProtos.TypedValue.Builder, tech.ydb.proto.ValueProtos.TypedValueOrBuilder>( (tech.ydb.proto.ValueProtos.TypedValue) fromBound_, getParentForChildren(), isClean()); fromBound_ = null; } fromBoundCase_ = 2; onChanged(); return greaterOrEqualBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.ValueProtos.TypedValue, tech.ydb.proto.ValueProtos.TypedValue.Builder, tech.ydb.proto.ValueProtos.TypedValueOrBuilder> lessBuilder_; /** *
       * Specify if we don't want to include given key
       * 
* * .Ydb.TypedValue less = 3; * @return Whether the less field is set. */ @java.lang.Override public boolean hasLess() { return toBoundCase_ == 3; } /** *
       * Specify if we don't want to include given key
       * 
* * .Ydb.TypedValue less = 3; * @return The less. */ @java.lang.Override public tech.ydb.proto.ValueProtos.TypedValue getLess() { if (lessBuilder_ == null) { if (toBoundCase_ == 3) { return (tech.ydb.proto.ValueProtos.TypedValue) toBound_; } return tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance(); } else { if (toBoundCase_ == 3) { return lessBuilder_.getMessage(); } return tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance(); } } /** *
       * Specify if we don't want to include given key
       * 
* * .Ydb.TypedValue less = 3; */ public Builder setLess(tech.ydb.proto.ValueProtos.TypedValue value) { if (lessBuilder_ == null) { if (value == null) { throw new NullPointerException(); } toBound_ = value; onChanged(); } else { lessBuilder_.setMessage(value); } toBoundCase_ = 3; return this; } /** *
       * Specify if we don't want to include given key
       * 
* * .Ydb.TypedValue less = 3; */ public Builder setLess( tech.ydb.proto.ValueProtos.TypedValue.Builder builderForValue) { if (lessBuilder_ == null) { toBound_ = builderForValue.build(); onChanged(); } else { lessBuilder_.setMessage(builderForValue.build()); } toBoundCase_ = 3; return this; } /** *
       * Specify if we don't want to include given key
       * 
* * .Ydb.TypedValue less = 3; */ public Builder mergeLess(tech.ydb.proto.ValueProtos.TypedValue value) { if (lessBuilder_ == null) { if (toBoundCase_ == 3 && toBound_ != tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance()) { toBound_ = tech.ydb.proto.ValueProtos.TypedValue.newBuilder((tech.ydb.proto.ValueProtos.TypedValue) toBound_) .mergeFrom(value).buildPartial(); } else { toBound_ = value; } onChanged(); } else { if (toBoundCase_ == 3) { lessBuilder_.mergeFrom(value); } else { lessBuilder_.setMessage(value); } } toBoundCase_ = 3; return this; } /** *
       * Specify if we don't want to include given key
       * 
* * .Ydb.TypedValue less = 3; */ public Builder clearLess() { if (lessBuilder_ == null) { if (toBoundCase_ == 3) { toBoundCase_ = 0; toBound_ = null; onChanged(); } } else { if (toBoundCase_ == 3) { toBoundCase_ = 0; toBound_ = null; } lessBuilder_.clear(); } return this; } /** *
       * Specify if we don't want to include given key
       * 
* * .Ydb.TypedValue less = 3; */ public tech.ydb.proto.ValueProtos.TypedValue.Builder getLessBuilder() { return getLessFieldBuilder().getBuilder(); } /** *
       * Specify if we don't want to include given key
       * 
* * .Ydb.TypedValue less = 3; */ @java.lang.Override public tech.ydb.proto.ValueProtos.TypedValueOrBuilder getLessOrBuilder() { if ((toBoundCase_ == 3) && (lessBuilder_ != null)) { return lessBuilder_.getMessageOrBuilder(); } else { if (toBoundCase_ == 3) { return (tech.ydb.proto.ValueProtos.TypedValue) toBound_; } return tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance(); } } /** *
       * Specify if we don't want to include given key
       * 
* * .Ydb.TypedValue less = 3; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.ValueProtos.TypedValue, tech.ydb.proto.ValueProtos.TypedValue.Builder, tech.ydb.proto.ValueProtos.TypedValueOrBuilder> getLessFieldBuilder() { if (lessBuilder_ == null) { if (!(toBoundCase_ == 3)) { toBound_ = tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance(); } lessBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.ValueProtos.TypedValue, tech.ydb.proto.ValueProtos.TypedValue.Builder, tech.ydb.proto.ValueProtos.TypedValueOrBuilder>( (tech.ydb.proto.ValueProtos.TypedValue) toBound_, getParentForChildren(), isClean()); toBound_ = null; } toBoundCase_ = 3; onChanged(); return lessBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.ValueProtos.TypedValue, tech.ydb.proto.ValueProtos.TypedValue.Builder, tech.ydb.proto.ValueProtos.TypedValueOrBuilder> lessOrEqualBuilder_; /** *
       * Specify if we want to include given key
       * 
* * .Ydb.TypedValue less_or_equal = 4; * @return Whether the lessOrEqual field is set. */ @java.lang.Override public boolean hasLessOrEqual() { return toBoundCase_ == 4; } /** *
       * Specify if we want to include given key
       * 
* * .Ydb.TypedValue less_or_equal = 4; * @return The lessOrEqual. */ @java.lang.Override public tech.ydb.proto.ValueProtos.TypedValue getLessOrEqual() { if (lessOrEqualBuilder_ == null) { if (toBoundCase_ == 4) { return (tech.ydb.proto.ValueProtos.TypedValue) toBound_; } return tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance(); } else { if (toBoundCase_ == 4) { return lessOrEqualBuilder_.getMessage(); } return tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance(); } } /** *
       * Specify if we want to include given key
       * 
* * .Ydb.TypedValue less_or_equal = 4; */ public Builder setLessOrEqual(tech.ydb.proto.ValueProtos.TypedValue value) { if (lessOrEqualBuilder_ == null) { if (value == null) { throw new NullPointerException(); } toBound_ = value; onChanged(); } else { lessOrEqualBuilder_.setMessage(value); } toBoundCase_ = 4; return this; } /** *
       * Specify if we want to include given key
       * 
* * .Ydb.TypedValue less_or_equal = 4; */ public Builder setLessOrEqual( tech.ydb.proto.ValueProtos.TypedValue.Builder builderForValue) { if (lessOrEqualBuilder_ == null) { toBound_ = builderForValue.build(); onChanged(); } else { lessOrEqualBuilder_.setMessage(builderForValue.build()); } toBoundCase_ = 4; return this; } /** *
       * Specify if we want to include given key
       * 
* * .Ydb.TypedValue less_or_equal = 4; */ public Builder mergeLessOrEqual(tech.ydb.proto.ValueProtos.TypedValue value) { if (lessOrEqualBuilder_ == null) { if (toBoundCase_ == 4 && toBound_ != tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance()) { toBound_ = tech.ydb.proto.ValueProtos.TypedValue.newBuilder((tech.ydb.proto.ValueProtos.TypedValue) toBound_) .mergeFrom(value).buildPartial(); } else { toBound_ = value; } onChanged(); } else { if (toBoundCase_ == 4) { lessOrEqualBuilder_.mergeFrom(value); } else { lessOrEqualBuilder_.setMessage(value); } } toBoundCase_ = 4; return this; } /** *
       * Specify if we want to include given key
       * 
* * .Ydb.TypedValue less_or_equal = 4; */ public Builder clearLessOrEqual() { if (lessOrEqualBuilder_ == null) { if (toBoundCase_ == 4) { toBoundCase_ = 0; toBound_ = null; onChanged(); } } else { if (toBoundCase_ == 4) { toBoundCase_ = 0; toBound_ = null; } lessOrEqualBuilder_.clear(); } return this; } /** *
       * Specify if we want to include given key
       * 
* * .Ydb.TypedValue less_or_equal = 4; */ public tech.ydb.proto.ValueProtos.TypedValue.Builder getLessOrEqualBuilder() { return getLessOrEqualFieldBuilder().getBuilder(); } /** *
       * Specify if we want to include given key
       * 
* * .Ydb.TypedValue less_or_equal = 4; */ @java.lang.Override public tech.ydb.proto.ValueProtos.TypedValueOrBuilder getLessOrEqualOrBuilder() { if ((toBoundCase_ == 4) && (lessOrEqualBuilder_ != null)) { return lessOrEqualBuilder_.getMessageOrBuilder(); } else { if (toBoundCase_ == 4) { return (tech.ydb.proto.ValueProtos.TypedValue) toBound_; } return tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance(); } } /** *
       * Specify if we want to include given key
       * 
* * .Ydb.TypedValue less_or_equal = 4; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.ValueProtos.TypedValue, tech.ydb.proto.ValueProtos.TypedValue.Builder, tech.ydb.proto.ValueProtos.TypedValueOrBuilder> getLessOrEqualFieldBuilder() { if (lessOrEqualBuilder_ == null) { if (!(toBoundCase_ == 4)) { toBound_ = tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance(); } lessOrEqualBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.ValueProtos.TypedValue, tech.ydb.proto.ValueProtos.TypedValue.Builder, tech.ydb.proto.ValueProtos.TypedValueOrBuilder>( (tech.ydb.proto.ValueProtos.TypedValue) toBound_, getParentForChildren(), isClean()); toBound_ = null; } toBoundCase_ = 4; onChanged(); return lessOrEqualBuilder_; } @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.Table.KeyRange) } // @@protoc_insertion_point(class_scope:Ydb.Table.KeyRange) private static final tech.ydb.proto.table.YdbTable.KeyRange DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.KeyRange(); } public static tech.ydb.proto.table.YdbTable.KeyRange getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public KeyRange 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.table.YdbTable.KeyRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ReadTableRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.ReadTableRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ java.lang.String getSessionId(); /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ com.google.protobuf.ByteString getSessionIdBytes(); /** *
     * Path to table to read
     * 
* * string path = 2; * @return The path. */ java.lang.String getPath(); /** *
     * Path to table to read
     * 
* * string path = 2; * @return The bytes for path. */ com.google.protobuf.ByteString getPathBytes(); /** *
     * Primary key range to read
     * 
* * .Ydb.Table.KeyRange key_range = 3; * @return Whether the keyRange field is set. */ boolean hasKeyRange(); /** *
     * Primary key range to read
     * 
* * .Ydb.Table.KeyRange key_range = 3; * @return The keyRange. */ tech.ydb.proto.table.YdbTable.KeyRange getKeyRange(); /** *
     * Primary key range to read
     * 
* * .Ydb.Table.KeyRange key_range = 3; */ tech.ydb.proto.table.YdbTable.KeyRangeOrBuilder getKeyRangeOrBuilder(); /** *
     * Output columns
     * 
* * repeated string columns = 4; * @return A list containing the columns. */ java.util.List getColumnsList(); /** *
     * Output columns
     * 
* * repeated string columns = 4; * @return The count of columns. */ int getColumnsCount(); /** *
     * Output columns
     * 
* * repeated string columns = 4; * @param index The index of the element to return. * @return The columns at the given index. */ java.lang.String getColumns(int index); /** *
     * Output columns
     * 
* * repeated string columns = 4; * @param index The index of the value to return. * @return The bytes of the columns at the given index. */ com.google.protobuf.ByteString getColumnsBytes(int index); /** *
     * Require ordered reading
     * 
* * bool ordered = 5; * @return The ordered. */ boolean getOrdered(); /** *
     * Limits row count to read
     * 
* * uint64 row_limit = 6; * @return The rowLimit. */ long getRowLimit(); /** *
     * Use a server-side snapshot
     * 
* * .Ydb.FeatureFlag.Status use_snapshot = 7; * @return The enum numeric value on the wire for useSnapshot. */ int getUseSnapshotValue(); /** *
     * Use a server-side snapshot
     * 
* * .Ydb.FeatureFlag.Status use_snapshot = 7; * @return The useSnapshot. */ tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getUseSnapshot(); /** *
     * Server-side best-effort policy. Can be used as a hint to limit the size
     * of batches sent from a server. If both are specified, the server chooses
     * the smaller one. The limits are not strict, so batch size can be slightly
     * greater than any of the limits
     * 
* * uint64 batch_limit_bytes = 8; * @return The batchLimitBytes. */ long getBatchLimitBytes(); /** * uint64 batch_limit_rows = 9; * @return The batchLimitRows. */ long getBatchLimitRows(); /** * .Ydb.FeatureFlag.Status return_not_null_data_as_optional = 10; * @return The enum numeric value on the wire for returnNotNullDataAsOptional. */ int getReturnNotNullDataAsOptionalValue(); /** * .Ydb.FeatureFlag.Status return_not_null_data_as_optional = 10; * @return The returnNotNullDataAsOptional. */ tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getReturnNotNullDataAsOptional(); } /** *
   * Request to read table (without SQL)
   * 
* * Protobuf type {@code Ydb.Table.ReadTableRequest} */ public static final class ReadTableRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.ReadTableRequest) ReadTableRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ReadTableRequest.newBuilder() to construct. private ReadTableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ReadTableRequest() { sessionId_ = ""; path_ = ""; columns_ = com.google.protobuf.LazyStringArrayList.emptyList(); useSnapshot_ = 0; returnNotNullDataAsOptional_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ReadTableRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReadTableRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReadTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ReadTableRequest.class, tech.ydb.proto.table.YdbTable.ReadTableRequest.Builder.class); } private int bitField0_; public static final int SESSION_ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object sessionId_ = ""; /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ @java.lang.Override public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; 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(); sessionId_ = s; return s; } } /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ @java.lang.Override public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PATH_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object path_ = ""; /** *
     * Path to table to read
     * 
* * 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; } } /** *
     * Path to table to read
     * 
* * 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 KEY_RANGE_FIELD_NUMBER = 3; private tech.ydb.proto.table.YdbTable.KeyRange keyRange_; /** *
     * Primary key range to read
     * 
* * .Ydb.Table.KeyRange key_range = 3; * @return Whether the keyRange field is set. */ @java.lang.Override public boolean hasKeyRange() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Primary key range to read
     * 
* * .Ydb.Table.KeyRange key_range = 3; * @return The keyRange. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.KeyRange getKeyRange() { return keyRange_ == null ? tech.ydb.proto.table.YdbTable.KeyRange.getDefaultInstance() : keyRange_; } /** *
     * Primary key range to read
     * 
* * .Ydb.Table.KeyRange key_range = 3; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.KeyRangeOrBuilder getKeyRangeOrBuilder() { return keyRange_ == null ? tech.ydb.proto.table.YdbTable.KeyRange.getDefaultInstance() : keyRange_; } public static final int COLUMNS_FIELD_NUMBER = 4; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList columns_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * Output columns
     * 
* * repeated string columns = 4; * @return A list containing the columns. */ public com.google.protobuf.ProtocolStringList getColumnsList() { return columns_; } /** *
     * Output columns
     * 
* * repeated string columns = 4; * @return The count of columns. */ public int getColumnsCount() { return columns_.size(); } /** *
     * Output columns
     * 
* * repeated string columns = 4; * @param index The index of the element to return. * @return The columns at the given index. */ public java.lang.String getColumns(int index) { return columns_.get(index); } /** *
     * Output columns
     * 
* * repeated string columns = 4; * @param index The index of the value to return. * @return The bytes of the columns at the given index. */ public com.google.protobuf.ByteString getColumnsBytes(int index) { return columns_.getByteString(index); } public static final int ORDERED_FIELD_NUMBER = 5; private boolean ordered_ = false; /** *
     * Require ordered reading
     * 
* * bool ordered = 5; * @return The ordered. */ @java.lang.Override public boolean getOrdered() { return ordered_; } public static final int ROW_LIMIT_FIELD_NUMBER = 6; private long rowLimit_ = 0L; /** *
     * Limits row count to read
     * 
* * uint64 row_limit = 6; * @return The rowLimit. */ @java.lang.Override public long getRowLimit() { return rowLimit_; } public static final int USE_SNAPSHOT_FIELD_NUMBER = 7; private int useSnapshot_ = 0; /** *
     * Use a server-side snapshot
     * 
* * .Ydb.FeatureFlag.Status use_snapshot = 7; * @return The enum numeric value on the wire for useSnapshot. */ @java.lang.Override public int getUseSnapshotValue() { return useSnapshot_; } /** *
     * Use a server-side snapshot
     * 
* * .Ydb.FeatureFlag.Status use_snapshot = 7; * @return The useSnapshot. */ @java.lang.Override public tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getUseSnapshot() { tech.ydb.proto.common.CommonProtos.FeatureFlag.Status result = tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.forNumber(useSnapshot_); return result == null ? tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } public static final int BATCH_LIMIT_BYTES_FIELD_NUMBER = 8; private long batchLimitBytes_ = 0L; /** *
     * Server-side best-effort policy. Can be used as a hint to limit the size
     * of batches sent from a server. If both are specified, the server chooses
     * the smaller one. The limits are not strict, so batch size can be slightly
     * greater than any of the limits
     * 
* * uint64 batch_limit_bytes = 8; * @return The batchLimitBytes. */ @java.lang.Override public long getBatchLimitBytes() { return batchLimitBytes_; } public static final int BATCH_LIMIT_ROWS_FIELD_NUMBER = 9; private long batchLimitRows_ = 0L; /** * uint64 batch_limit_rows = 9; * @return The batchLimitRows. */ @java.lang.Override public long getBatchLimitRows() { return batchLimitRows_; } public static final int RETURN_NOT_NULL_DATA_AS_OPTIONAL_FIELD_NUMBER = 10; private int returnNotNullDataAsOptional_ = 0; /** * .Ydb.FeatureFlag.Status return_not_null_data_as_optional = 10; * @return The enum numeric value on the wire for returnNotNullDataAsOptional. */ @java.lang.Override public int getReturnNotNullDataAsOptionalValue() { return returnNotNullDataAsOptional_; } /** * .Ydb.FeatureFlag.Status return_not_null_data_as_optional = 10; * @return The returnNotNullDataAsOptional. */ @java.lang.Override public tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getReturnNotNullDataAsOptional() { tech.ydb.proto.common.CommonProtos.FeatureFlag.Status result = tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.forNumber(returnNotNullDataAsOptional_); return result == null ? tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } 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(sessionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getKeyRange()); } for (int i = 0; i < columns_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, columns_.getRaw(i)); } if (ordered_ != false) { output.writeBool(5, ordered_); } if (rowLimit_ != 0L) { output.writeUInt64(6, rowLimit_); } if (useSnapshot_ != tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(7, useSnapshot_); } if (batchLimitBytes_ != 0L) { output.writeUInt64(8, batchLimitBytes_); } if (batchLimitRows_ != 0L) { output.writeUInt64(9, batchLimitRows_); } if (returnNotNullDataAsOptional_ != tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(10, returnNotNullDataAsOptional_); } 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(sessionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getKeyRange()); } { int dataSize = 0; for (int i = 0; i < columns_.size(); i++) { dataSize += computeStringSizeNoTag(columns_.getRaw(i)); } size += dataSize; size += 1 * getColumnsList().size(); } if (ordered_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, ordered_); } if (rowLimit_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(6, rowLimit_); } if (useSnapshot_ != tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(7, useSnapshot_); } if (batchLimitBytes_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(8, batchLimitBytes_); } if (batchLimitRows_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(9, batchLimitRows_); } if (returnNotNullDataAsOptional_ != tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(10, returnNotNullDataAsOptional_); } 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.table.YdbTable.ReadTableRequest)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.ReadTableRequest other = (tech.ydb.proto.table.YdbTable.ReadTableRequest) obj; if (!getSessionId() .equals(other.getSessionId())) return false; if (!getPath() .equals(other.getPath())) return false; if (hasKeyRange() != other.hasKeyRange()) return false; if (hasKeyRange()) { if (!getKeyRange() .equals(other.getKeyRange())) return false; } if (!getColumnsList() .equals(other.getColumnsList())) return false; if (getOrdered() != other.getOrdered()) return false; if (getRowLimit() != other.getRowLimit()) return false; if (useSnapshot_ != other.useSnapshot_) return false; if (getBatchLimitBytes() != other.getBatchLimitBytes()) return false; if (getBatchLimitRows() != other.getBatchLimitRows()) return false; if (returnNotNullDataAsOptional_ != other.returnNotNullDataAsOptional_) 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) + SESSION_ID_FIELD_NUMBER; hash = (53 * hash) + getSessionId().hashCode(); hash = (37 * hash) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); if (hasKeyRange()) { hash = (37 * hash) + KEY_RANGE_FIELD_NUMBER; hash = (53 * hash) + getKeyRange().hashCode(); } if (getColumnsCount() > 0) { hash = (37 * hash) + COLUMNS_FIELD_NUMBER; hash = (53 * hash) + getColumnsList().hashCode(); } hash = (37 * hash) + ORDERED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getOrdered()); hash = (37 * hash) + ROW_LIMIT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getRowLimit()); hash = (37 * hash) + USE_SNAPSHOT_FIELD_NUMBER; hash = (53 * hash) + useSnapshot_; hash = (37 * hash) + BATCH_LIMIT_BYTES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getBatchLimitBytes()); hash = (37 * hash) + BATCH_LIMIT_ROWS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getBatchLimitRows()); hash = (37 * hash) + RETURN_NOT_NULL_DATA_AS_OPTIONAL_FIELD_NUMBER; hash = (53 * hash) + returnNotNullDataAsOptional_; hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.ReadTableRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ReadTableRequest 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.table.YdbTable.ReadTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ReadTableRequest 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.table.YdbTable.ReadTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ReadTableRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.ReadTableRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ReadTableRequest 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.table.YdbTable.ReadTableRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ReadTableRequest 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.table.YdbTable.ReadTableRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ReadTableRequest 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.table.YdbTable.ReadTableRequest 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; } /** *
     * Request to read table (without SQL)
     * 
* * Protobuf type {@code Ydb.Table.ReadTableRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.ReadTableRequest) tech.ydb.proto.table.YdbTable.ReadTableRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReadTableRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReadTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ReadTableRequest.class, tech.ydb.proto.table.YdbTable.ReadTableRequest.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.ReadTableRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getKeyRangeFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; sessionId_ = ""; path_ = ""; keyRange_ = null; if (keyRangeBuilder_ != null) { keyRangeBuilder_.dispose(); keyRangeBuilder_ = null; } columns_ = com.google.protobuf.LazyStringArrayList.emptyList(); ordered_ = false; rowLimit_ = 0L; useSnapshot_ = 0; batchLimitBytes_ = 0L; batchLimitRows_ = 0L; returnNotNullDataAsOptional_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReadTableRequest_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ReadTableRequest getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.ReadTableRequest.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.ReadTableRequest build() { tech.ydb.proto.table.YdbTable.ReadTableRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ReadTableRequest buildPartial() { tech.ydb.proto.table.YdbTable.ReadTableRequest result = new tech.ydb.proto.table.YdbTable.ReadTableRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.ReadTableRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.sessionId_ = sessionId_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.path_ = path_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { result.keyRange_ = keyRangeBuilder_ == null ? keyRange_ : keyRangeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { columns_.makeImmutable(); result.columns_ = columns_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.ordered_ = ordered_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.rowLimit_ = rowLimit_; } if (((from_bitField0_ & 0x00000040) != 0)) { result.useSnapshot_ = useSnapshot_; } if (((from_bitField0_ & 0x00000080) != 0)) { result.batchLimitBytes_ = batchLimitBytes_; } if (((from_bitField0_ & 0x00000100) != 0)) { result.batchLimitRows_ = batchLimitRows_; } if (((from_bitField0_ & 0x00000200) != 0)) { result.returnNotNullDataAsOptional_ = returnNotNullDataAsOptional_; } 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.table.YdbTable.ReadTableRequest) { return mergeFrom((tech.ydb.proto.table.YdbTable.ReadTableRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.ReadTableRequest other) { if (other == tech.ydb.proto.table.YdbTable.ReadTableRequest.getDefaultInstance()) return this; if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getPath().isEmpty()) { path_ = other.path_; bitField0_ |= 0x00000002; onChanged(); } if (other.hasKeyRange()) { mergeKeyRange(other.getKeyRange()); } if (!other.columns_.isEmpty()) { if (columns_.isEmpty()) { columns_ = other.columns_; bitField0_ |= 0x00000008; } else { ensureColumnsIsMutable(); columns_.addAll(other.columns_); } onChanged(); } if (other.getOrdered() != false) { setOrdered(other.getOrdered()); } if (other.getRowLimit() != 0L) { setRowLimit(other.getRowLimit()); } if (other.useSnapshot_ != 0) { setUseSnapshotValue(other.getUseSnapshotValue()); } if (other.getBatchLimitBytes() != 0L) { setBatchLimitBytes(other.getBatchLimitBytes()); } if (other.getBatchLimitRows() != 0L) { setBatchLimitRows(other.getBatchLimitRows()); } if (other.returnNotNullDataAsOptional_ != 0) { setReturnNotNullDataAsOptionalValue(other.getReturnNotNullDataAsOptionalValue()); } 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: { sessionId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { path_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage( getKeyRangeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 34: { java.lang.String s = input.readStringRequireUtf8(); ensureColumnsIsMutable(); columns_.add(s); break; } // case 34 case 40: { ordered_ = input.readBool(); bitField0_ |= 0x00000010; break; } // case 40 case 48: { rowLimit_ = input.readUInt64(); bitField0_ |= 0x00000020; break; } // case 48 case 56: { useSnapshot_ = input.readEnum(); bitField0_ |= 0x00000040; break; } // case 56 case 64: { batchLimitBytes_ = input.readUInt64(); bitField0_ |= 0x00000080; break; } // case 64 case 72: { batchLimitRows_ = input.readUInt64(); bitField0_ |= 0x00000100; break; } // case 72 case 80: { returnNotNullDataAsOptional_ = input.readEnum(); bitField0_ |= 0x00000200; break; } // case 80 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 sessionId_ = ""; /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The sessionId. */ public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The bytes for sessionId. */ public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The sessionId to set. * @return This builder for chaining. */ public Builder setSessionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sessionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The bytes for sessionId to set. * @return This builder for chaining. */ public Builder setSessionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sessionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object path_ = ""; /** *
       * Path to table to read
       * 
* * 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; } } /** *
       * Path to table to read
       * 
* * 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; } } /** *
       * Path to table to read
       * 
* * 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; } /** *
       * Path to table to read
       * 
* * string path = 2; * @return This builder for chaining. */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * Path to table to read
       * 
* * 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 tech.ydb.proto.table.YdbTable.KeyRange keyRange_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.KeyRange, tech.ydb.proto.table.YdbTable.KeyRange.Builder, tech.ydb.proto.table.YdbTable.KeyRangeOrBuilder> keyRangeBuilder_; /** *
       * Primary key range to read
       * 
* * .Ydb.Table.KeyRange key_range = 3; * @return Whether the keyRange field is set. */ public boolean hasKeyRange() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Primary key range to read
       * 
* * .Ydb.Table.KeyRange key_range = 3; * @return The keyRange. */ public tech.ydb.proto.table.YdbTable.KeyRange getKeyRange() { if (keyRangeBuilder_ == null) { return keyRange_ == null ? tech.ydb.proto.table.YdbTable.KeyRange.getDefaultInstance() : keyRange_; } else { return keyRangeBuilder_.getMessage(); } } /** *
       * Primary key range to read
       * 
* * .Ydb.Table.KeyRange key_range = 3; */ public Builder setKeyRange(tech.ydb.proto.table.YdbTable.KeyRange value) { if (keyRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } keyRange_ = value; } else { keyRangeBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * Primary key range to read
       * 
* * .Ydb.Table.KeyRange key_range = 3; */ public Builder setKeyRange( tech.ydb.proto.table.YdbTable.KeyRange.Builder builderForValue) { if (keyRangeBuilder_ == null) { keyRange_ = builderForValue.build(); } else { keyRangeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * Primary key range to read
       * 
* * .Ydb.Table.KeyRange key_range = 3; */ public Builder mergeKeyRange(tech.ydb.proto.table.YdbTable.KeyRange value) { if (keyRangeBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && keyRange_ != null && keyRange_ != tech.ydb.proto.table.YdbTable.KeyRange.getDefaultInstance()) { getKeyRangeBuilder().mergeFrom(value); } else { keyRange_ = value; } } else { keyRangeBuilder_.mergeFrom(value); } if (keyRange_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** *
       * Primary key range to read
       * 
* * .Ydb.Table.KeyRange key_range = 3; */ public Builder clearKeyRange() { bitField0_ = (bitField0_ & ~0x00000004); keyRange_ = null; if (keyRangeBuilder_ != null) { keyRangeBuilder_.dispose(); keyRangeBuilder_ = null; } onChanged(); return this; } /** *
       * Primary key range to read
       * 
* * .Ydb.Table.KeyRange key_range = 3; */ public tech.ydb.proto.table.YdbTable.KeyRange.Builder getKeyRangeBuilder() { bitField0_ |= 0x00000004; onChanged(); return getKeyRangeFieldBuilder().getBuilder(); } /** *
       * Primary key range to read
       * 
* * .Ydb.Table.KeyRange key_range = 3; */ public tech.ydb.proto.table.YdbTable.KeyRangeOrBuilder getKeyRangeOrBuilder() { if (keyRangeBuilder_ != null) { return keyRangeBuilder_.getMessageOrBuilder(); } else { return keyRange_ == null ? tech.ydb.proto.table.YdbTable.KeyRange.getDefaultInstance() : keyRange_; } } /** *
       * Primary key range to read
       * 
* * .Ydb.Table.KeyRange key_range = 3; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.KeyRange, tech.ydb.proto.table.YdbTable.KeyRange.Builder, tech.ydb.proto.table.YdbTable.KeyRangeOrBuilder> getKeyRangeFieldBuilder() { if (keyRangeBuilder_ == null) { keyRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.KeyRange, tech.ydb.proto.table.YdbTable.KeyRange.Builder, tech.ydb.proto.table.YdbTable.KeyRangeOrBuilder>( getKeyRange(), getParentForChildren(), isClean()); keyRange_ = null; } return keyRangeBuilder_; } private com.google.protobuf.LazyStringArrayList columns_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureColumnsIsMutable() { if (!columns_.isModifiable()) { columns_ = new com.google.protobuf.LazyStringArrayList(columns_); } bitField0_ |= 0x00000008; } /** *
       * Output columns
       * 
* * repeated string columns = 4; * @return A list containing the columns. */ public com.google.protobuf.ProtocolStringList getColumnsList() { columns_.makeImmutable(); return columns_; } /** *
       * Output columns
       * 
* * repeated string columns = 4; * @return The count of columns. */ public int getColumnsCount() { return columns_.size(); } /** *
       * Output columns
       * 
* * repeated string columns = 4; * @param index The index of the element to return. * @return The columns at the given index. */ public java.lang.String getColumns(int index) { return columns_.get(index); } /** *
       * Output columns
       * 
* * repeated string columns = 4; * @param index The index of the value to return. * @return The bytes of the columns at the given index. */ public com.google.protobuf.ByteString getColumnsBytes(int index) { return columns_.getByteString(index); } /** *
       * Output columns
       * 
* * repeated string columns = 4; * @param index The index to set the value at. * @param value The columns to set. * @return This builder for chaining. */ public Builder setColumns( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.set(index, value); bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * Output columns
       * 
* * repeated string columns = 4; * @param value The columns to add. * @return This builder for chaining. */ public Builder addColumns( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.add(value); bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * Output columns
       * 
* * repeated string columns = 4; * @param values The columns to add. * @return This builder for chaining. */ public Builder addAllColumns( java.lang.Iterable values) { ensureColumnsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, columns_); bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * Output columns
       * 
* * repeated string columns = 4; * @return This builder for chaining. */ public Builder clearColumns() { columns_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000008);; onChanged(); return this; } /** *
       * Output columns
       * 
* * repeated string columns = 4; * @param value The bytes of the columns to add. * @return This builder for chaining. */ public Builder addColumnsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureColumnsIsMutable(); columns_.add(value); bitField0_ |= 0x00000008; onChanged(); return this; } private boolean ordered_ ; /** *
       * Require ordered reading
       * 
* * bool ordered = 5; * @return The ordered. */ @java.lang.Override public boolean getOrdered() { return ordered_; } /** *
       * Require ordered reading
       * 
* * bool ordered = 5; * @param value The ordered to set. * @return This builder for chaining. */ public Builder setOrdered(boolean value) { ordered_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * Require ordered reading
       * 
* * bool ordered = 5; * @return This builder for chaining. */ public Builder clearOrdered() { bitField0_ = (bitField0_ & ~0x00000010); ordered_ = false; onChanged(); return this; } private long rowLimit_ ; /** *
       * Limits row count to read
       * 
* * uint64 row_limit = 6; * @return The rowLimit. */ @java.lang.Override public long getRowLimit() { return rowLimit_; } /** *
       * Limits row count to read
       * 
* * uint64 row_limit = 6; * @param value The rowLimit to set. * @return This builder for chaining. */ public Builder setRowLimit(long value) { rowLimit_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * Limits row count to read
       * 
* * uint64 row_limit = 6; * @return This builder for chaining. */ public Builder clearRowLimit() { bitField0_ = (bitField0_ & ~0x00000020); rowLimit_ = 0L; onChanged(); return this; } private int useSnapshot_ = 0; /** *
       * Use a server-side snapshot
       * 
* * .Ydb.FeatureFlag.Status use_snapshot = 7; * @return The enum numeric value on the wire for useSnapshot. */ @java.lang.Override public int getUseSnapshotValue() { return useSnapshot_; } /** *
       * Use a server-side snapshot
       * 
* * .Ydb.FeatureFlag.Status use_snapshot = 7; * @param value The enum numeric value on the wire for useSnapshot to set. * @return This builder for chaining. */ public Builder setUseSnapshotValue(int value) { useSnapshot_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** *
       * Use a server-side snapshot
       * 
* * .Ydb.FeatureFlag.Status use_snapshot = 7; * @return The useSnapshot. */ @java.lang.Override public tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getUseSnapshot() { tech.ydb.proto.common.CommonProtos.FeatureFlag.Status result = tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.forNumber(useSnapshot_); return result == null ? tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } /** *
       * Use a server-side snapshot
       * 
* * .Ydb.FeatureFlag.Status use_snapshot = 7; * @param value The useSnapshot to set. * @return This builder for chaining. */ public Builder setUseSnapshot(tech.ydb.proto.common.CommonProtos.FeatureFlag.Status value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; useSnapshot_ = value.getNumber(); onChanged(); return this; } /** *
       * Use a server-side snapshot
       * 
* * .Ydb.FeatureFlag.Status use_snapshot = 7; * @return This builder for chaining. */ public Builder clearUseSnapshot() { bitField0_ = (bitField0_ & ~0x00000040); useSnapshot_ = 0; onChanged(); return this; } private long batchLimitBytes_ ; /** *
       * Server-side best-effort policy. Can be used as a hint to limit the size
       * of batches sent from a server. If both are specified, the server chooses
       * the smaller one. The limits are not strict, so batch size can be slightly
       * greater than any of the limits
       * 
* * uint64 batch_limit_bytes = 8; * @return The batchLimitBytes. */ @java.lang.Override public long getBatchLimitBytes() { return batchLimitBytes_; } /** *
       * Server-side best-effort policy. Can be used as a hint to limit the size
       * of batches sent from a server. If both are specified, the server chooses
       * the smaller one. The limits are not strict, so batch size can be slightly
       * greater than any of the limits
       * 
* * uint64 batch_limit_bytes = 8; * @param value The batchLimitBytes to set. * @return This builder for chaining. */ public Builder setBatchLimitBytes(long value) { batchLimitBytes_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * Server-side best-effort policy. Can be used as a hint to limit the size
       * of batches sent from a server. If both are specified, the server chooses
       * the smaller one. The limits are not strict, so batch size can be slightly
       * greater than any of the limits
       * 
* * uint64 batch_limit_bytes = 8; * @return This builder for chaining. */ public Builder clearBatchLimitBytes() { bitField0_ = (bitField0_ & ~0x00000080); batchLimitBytes_ = 0L; onChanged(); return this; } private long batchLimitRows_ ; /** * uint64 batch_limit_rows = 9; * @return The batchLimitRows. */ @java.lang.Override public long getBatchLimitRows() { return batchLimitRows_; } /** * uint64 batch_limit_rows = 9; * @param value The batchLimitRows to set. * @return This builder for chaining. */ public Builder setBatchLimitRows(long value) { batchLimitRows_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** * uint64 batch_limit_rows = 9; * @return This builder for chaining. */ public Builder clearBatchLimitRows() { bitField0_ = (bitField0_ & ~0x00000100); batchLimitRows_ = 0L; onChanged(); return this; } private int returnNotNullDataAsOptional_ = 0; /** * .Ydb.FeatureFlag.Status return_not_null_data_as_optional = 10; * @return The enum numeric value on the wire for returnNotNullDataAsOptional. */ @java.lang.Override public int getReturnNotNullDataAsOptionalValue() { return returnNotNullDataAsOptional_; } /** * .Ydb.FeatureFlag.Status return_not_null_data_as_optional = 10; * @param value The enum numeric value on the wire for returnNotNullDataAsOptional to set. * @return This builder for chaining. */ public Builder setReturnNotNullDataAsOptionalValue(int value) { returnNotNullDataAsOptional_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** * .Ydb.FeatureFlag.Status return_not_null_data_as_optional = 10; * @return The returnNotNullDataAsOptional. */ @java.lang.Override public tech.ydb.proto.common.CommonProtos.FeatureFlag.Status getReturnNotNullDataAsOptional() { tech.ydb.proto.common.CommonProtos.FeatureFlag.Status result = tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.forNumber(returnNotNullDataAsOptional_); return result == null ? tech.ydb.proto.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } /** * .Ydb.FeatureFlag.Status return_not_null_data_as_optional = 10; * @param value The returnNotNullDataAsOptional to set. * @return This builder for chaining. */ public Builder setReturnNotNullDataAsOptional(tech.ydb.proto.common.CommonProtos.FeatureFlag.Status value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000200; returnNotNullDataAsOptional_ = value.getNumber(); onChanged(); return this; } /** * .Ydb.FeatureFlag.Status return_not_null_data_as_optional = 10; * @return This builder for chaining. */ public Builder clearReturnNotNullDataAsOptional() { bitField0_ = (bitField0_ & ~0x00000200); returnNotNullDataAsOptional_ = 0; 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.Table.ReadTableRequest) } // @@protoc_insertion_point(class_scope:Ydb.Table.ReadTableRequest) private static final tech.ydb.proto.table.YdbTable.ReadTableRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.ReadTableRequest(); } public static tech.ydb.proto.table.YdbTable.ReadTableRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ReadTableRequest 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.table.YdbTable.ReadTableRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ReadTableResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.ReadTableResponse) com.google.protobuf.MessageOrBuilder { /** *
     * Status of request (same as other statuses)
     * 
* * .Ydb.StatusIds.StatusCode status = 1; * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** *
     * Status of request (same as other statuses)
     * 
* * .Ydb.StatusIds.StatusCode status = 1; * @return The status. */ tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode getStatus(); /** *
     * Issues
     * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ java.util.List getIssuesList(); /** *
     * Issues
     * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ tech.ydb.proto.YdbIssueMessage.IssueMessage getIssues(int index); /** *
     * Issues
     * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ int getIssuesCount(); /** *
     * Issues
     * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ java.util.List getIssuesOrBuilderList(); /** *
     * Issues
     * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ tech.ydb.proto.YdbIssueMessage.IssueMessageOrBuilder getIssuesOrBuilder( int index); /** *
     * Optional snapshot that corresponds to the returned data
     * 
* * .Ydb.VirtualTimestamp snapshot = 4; * @return Whether the snapshot field is set. */ boolean hasSnapshot(); /** *
     * Optional snapshot that corresponds to the returned data
     * 
* * .Ydb.VirtualTimestamp snapshot = 4; * @return The snapshot. */ tech.ydb.proto.common.CommonProtos.VirtualTimestamp getSnapshot(); /** *
     * Optional snapshot that corresponds to the returned data
     * 
* * .Ydb.VirtualTimestamp snapshot = 4; */ tech.ydb.proto.common.CommonProtos.VirtualTimestampOrBuilder getSnapshotOrBuilder(); /** *
     * Read table result
     * 
* * .Ydb.Table.ReadTableResult result = 3; * @return Whether the result field is set. */ boolean hasResult(); /** *
     * Read table result
     * 
* * .Ydb.Table.ReadTableResult result = 3; * @return The result. */ tech.ydb.proto.table.YdbTable.ReadTableResult getResult(); /** *
     * Read table result
     * 
* * .Ydb.Table.ReadTableResult result = 3; */ tech.ydb.proto.table.YdbTable.ReadTableResultOrBuilder getResultOrBuilder(); } /** *
   * ReadTable doesn't use Operation, returns result directly
   * 
* * Protobuf type {@code Ydb.Table.ReadTableResponse} */ public static final class ReadTableResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.ReadTableResponse) ReadTableResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ReadTableResponse.newBuilder() to construct. private ReadTableResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ReadTableResponse() { status_ = 0; issues_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ReadTableResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReadTableResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReadTableResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ReadTableResponse.class, tech.ydb.proto.table.YdbTable.ReadTableResponse.Builder.class); } private int bitField0_; public static final int STATUS_FIELD_NUMBER = 1; private int status_ = 0; /** *
     * Status of request (same as other statuses)
     * 
* * .Ydb.StatusIds.StatusCode status = 1; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** *
     * Status of request (same as other statuses)
     * 
* * .Ydb.StatusIds.StatusCode status = 1; * @return The status. */ @java.lang.Override public tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode getStatus() { tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode result = tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode.forNumber(status_); return result == null ? tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode.UNRECOGNIZED : result; } public static final int ISSUES_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List issues_; /** *
     * Issues
     * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ @java.lang.Override public java.util.List getIssuesList() { return issues_; } /** *
     * Issues
     * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ @java.lang.Override public java.util.List getIssuesOrBuilderList() { return issues_; } /** *
     * Issues
     * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ @java.lang.Override public int getIssuesCount() { return issues_.size(); } /** *
     * Issues
     * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ @java.lang.Override public tech.ydb.proto.YdbIssueMessage.IssueMessage getIssues(int index) { return issues_.get(index); } /** *
     * Issues
     * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ @java.lang.Override public tech.ydb.proto.YdbIssueMessage.IssueMessageOrBuilder getIssuesOrBuilder( int index) { return issues_.get(index); } public static final int SNAPSHOT_FIELD_NUMBER = 4; private tech.ydb.proto.common.CommonProtos.VirtualTimestamp snapshot_; /** *
     * Optional snapshot that corresponds to the returned data
     * 
* * .Ydb.VirtualTimestamp snapshot = 4; * @return Whether the snapshot field is set. */ @java.lang.Override public boolean hasSnapshot() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Optional snapshot that corresponds to the returned data
     * 
* * .Ydb.VirtualTimestamp snapshot = 4; * @return The snapshot. */ @java.lang.Override public tech.ydb.proto.common.CommonProtos.VirtualTimestamp getSnapshot() { return snapshot_ == null ? tech.ydb.proto.common.CommonProtos.VirtualTimestamp.getDefaultInstance() : snapshot_; } /** *
     * Optional snapshot that corresponds to the returned data
     * 
* * .Ydb.VirtualTimestamp snapshot = 4; */ @java.lang.Override public tech.ydb.proto.common.CommonProtos.VirtualTimestampOrBuilder getSnapshotOrBuilder() { return snapshot_ == null ? tech.ydb.proto.common.CommonProtos.VirtualTimestamp.getDefaultInstance() : snapshot_; } public static final int RESULT_FIELD_NUMBER = 3; private tech.ydb.proto.table.YdbTable.ReadTableResult result_; /** *
     * Read table result
     * 
* * .Ydb.Table.ReadTableResult result = 3; * @return Whether the result field is set. */ @java.lang.Override public boolean hasResult() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Read table result
     * 
* * .Ydb.Table.ReadTableResult result = 3; * @return The result. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ReadTableResult getResult() { return result_ == null ? tech.ydb.proto.table.YdbTable.ReadTableResult.getDefaultInstance() : result_; } /** *
     * Read table result
     * 
* * .Ydb.Table.ReadTableResult result = 3; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ReadTableResultOrBuilder getResultOrBuilder() { return result_ == null ? tech.ydb.proto.table.YdbTable.ReadTableResult.getDefaultInstance() : result_; } 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 (status_ != tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode.STATUS_CODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, status_); } for (int i = 0; i < issues_.size(); i++) { output.writeMessage(2, issues_.get(i)); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getResult()); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(4, getSnapshot()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (status_ != tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode.STATUS_CODE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, status_); } for (int i = 0; i < issues_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, issues_.get(i)); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getResult()); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getSnapshot()); } 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.table.YdbTable.ReadTableResponse)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.ReadTableResponse other = (tech.ydb.proto.table.YdbTable.ReadTableResponse) obj; if (status_ != other.status_) return false; if (!getIssuesList() .equals(other.getIssuesList())) return false; if (hasSnapshot() != other.hasSnapshot()) return false; if (hasSnapshot()) { if (!getSnapshot() .equals(other.getSnapshot())) return false; } if (hasResult() != other.hasResult()) return false; if (hasResult()) { if (!getResult() .equals(other.getResult())) 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) + STATUS_FIELD_NUMBER; hash = (53 * hash) + status_; if (getIssuesCount() > 0) { hash = (37 * hash) + ISSUES_FIELD_NUMBER; hash = (53 * hash) + getIssuesList().hashCode(); } if (hasSnapshot()) { hash = (37 * hash) + SNAPSHOT_FIELD_NUMBER; hash = (53 * hash) + getSnapshot().hashCode(); } if (hasResult()) { hash = (37 * hash) + RESULT_FIELD_NUMBER; hash = (53 * hash) + getResult().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.ReadTableResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ReadTableResponse 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.table.YdbTable.ReadTableResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ReadTableResponse 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.table.YdbTable.ReadTableResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ReadTableResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.ReadTableResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ReadTableResponse 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.table.YdbTable.ReadTableResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ReadTableResponse 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.table.YdbTable.ReadTableResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ReadTableResponse 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.table.YdbTable.ReadTableResponse 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; } /** *
     * ReadTable doesn't use Operation, returns result directly
     * 
* * Protobuf type {@code Ydb.Table.ReadTableResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.ReadTableResponse) tech.ydb.proto.table.YdbTable.ReadTableResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReadTableResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReadTableResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ReadTableResponse.class, tech.ydb.proto.table.YdbTable.ReadTableResponse.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.ReadTableResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getIssuesFieldBuilder(); getSnapshotFieldBuilder(); getResultFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; status_ = 0; if (issuesBuilder_ == null) { issues_ = java.util.Collections.emptyList(); } else { issues_ = null; issuesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); snapshot_ = null; if (snapshotBuilder_ != null) { snapshotBuilder_.dispose(); snapshotBuilder_ = null; } result_ = null; if (resultBuilder_ != null) { resultBuilder_.dispose(); resultBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReadTableResponse_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ReadTableResponse getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.ReadTableResponse.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.ReadTableResponse build() { tech.ydb.proto.table.YdbTable.ReadTableResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ReadTableResponse buildPartial() { tech.ydb.proto.table.YdbTable.ReadTableResponse result = new tech.ydb.proto.table.YdbTable.ReadTableResponse(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(tech.ydb.proto.table.YdbTable.ReadTableResponse result) { if (issuesBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { issues_ = java.util.Collections.unmodifiableList(issues_); bitField0_ = (bitField0_ & ~0x00000002); } result.issues_ = issues_; } else { result.issues_ = issuesBuilder_.build(); } } private void buildPartial0(tech.ydb.proto.table.YdbTable.ReadTableResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.status_ = status_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { result.snapshot_ = snapshotBuilder_ == null ? snapshot_ : snapshotBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { result.result_ = resultBuilder_ == null ? result_ : resultBuilder_.build(); to_bitField0_ |= 0x00000002; } 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.table.YdbTable.ReadTableResponse) { return mergeFrom((tech.ydb.proto.table.YdbTable.ReadTableResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.ReadTableResponse other) { if (other == tech.ydb.proto.table.YdbTable.ReadTableResponse.getDefaultInstance()) return this; if (other.status_ != 0) { setStatusValue(other.getStatusValue()); } if (issuesBuilder_ == null) { if (!other.issues_.isEmpty()) { if (issues_.isEmpty()) { issues_ = other.issues_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureIssuesIsMutable(); issues_.addAll(other.issues_); } onChanged(); } } else { if (!other.issues_.isEmpty()) { if (issuesBuilder_.isEmpty()) { issuesBuilder_.dispose(); issuesBuilder_ = null; issues_ = other.issues_; bitField0_ = (bitField0_ & ~0x00000002); issuesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getIssuesFieldBuilder() : null; } else { issuesBuilder_.addAllMessages(other.issues_); } } } if (other.hasSnapshot()) { mergeSnapshot(other.getSnapshot()); } if (other.hasResult()) { mergeResult(other.getResult()); } 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 8: { status_ = input.readEnum(); bitField0_ |= 0x00000001; break; } // case 8 case 18: { tech.ydb.proto.YdbIssueMessage.IssueMessage m = input.readMessage( tech.ydb.proto.YdbIssueMessage.IssueMessage.parser(), extensionRegistry); if (issuesBuilder_ == null) { ensureIssuesIsMutable(); issues_.add(m); } else { issuesBuilder_.addMessage(m); } break; } // case 18 case 26: { input.readMessage( getResultFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 26 case 34: { input.readMessage( getSnapshotFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; 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 bitField0_; private int status_ = 0; /** *
       * Status of request (same as other statuses)
       * 
* * .Ydb.StatusIds.StatusCode status = 1; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** *
       * Status of request (same as other statuses)
       * 
* * .Ydb.StatusIds.StatusCode status = 1; * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { status_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Status of request (same as other statuses)
       * 
* * .Ydb.StatusIds.StatusCode status = 1; * @return The status. */ @java.lang.Override public tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode getStatus() { tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode result = tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode.forNumber(status_); return result == null ? tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode.UNRECOGNIZED : result; } /** *
       * Status of request (same as other statuses)
       * 
* * .Ydb.StatusIds.StatusCode status = 1; * @param value The status to set. * @return This builder for chaining. */ public Builder setStatus(tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; status_ = value.getNumber(); onChanged(); return this; } /** *
       * Status of request (same as other statuses)
       * 
* * .Ydb.StatusIds.StatusCode status = 1; * @return This builder for chaining. */ public Builder clearStatus() { bitField0_ = (bitField0_ & ~0x00000001); status_ = 0; onChanged(); return this; } private java.util.List issues_ = java.util.Collections.emptyList(); private void ensureIssuesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { issues_ = new java.util.ArrayList(issues_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.YdbIssueMessage.IssueMessage, tech.ydb.proto.YdbIssueMessage.IssueMessage.Builder, tech.ydb.proto.YdbIssueMessage.IssueMessageOrBuilder> issuesBuilder_; /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public java.util.List getIssuesList() { if (issuesBuilder_ == null) { return java.util.Collections.unmodifiableList(issues_); } else { return issuesBuilder_.getMessageList(); } } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public int getIssuesCount() { if (issuesBuilder_ == null) { return issues_.size(); } else { return issuesBuilder_.getCount(); } } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public tech.ydb.proto.YdbIssueMessage.IssueMessage getIssues(int index) { if (issuesBuilder_ == null) { return issues_.get(index); } else { return issuesBuilder_.getMessage(index); } } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder setIssues( int index, tech.ydb.proto.YdbIssueMessage.IssueMessage value) { if (issuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureIssuesIsMutable(); issues_.set(index, value); onChanged(); } else { issuesBuilder_.setMessage(index, value); } return this; } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder setIssues( int index, tech.ydb.proto.YdbIssueMessage.IssueMessage.Builder builderForValue) { if (issuesBuilder_ == null) { ensureIssuesIsMutable(); issues_.set(index, builderForValue.build()); onChanged(); } else { issuesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder addIssues(tech.ydb.proto.YdbIssueMessage.IssueMessage value) { if (issuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureIssuesIsMutable(); issues_.add(value); onChanged(); } else { issuesBuilder_.addMessage(value); } return this; } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder addIssues( int index, tech.ydb.proto.YdbIssueMessage.IssueMessage value) { if (issuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureIssuesIsMutable(); issues_.add(index, value); onChanged(); } else { issuesBuilder_.addMessage(index, value); } return this; } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder addIssues( tech.ydb.proto.YdbIssueMessage.IssueMessage.Builder builderForValue) { if (issuesBuilder_ == null) { ensureIssuesIsMutable(); issues_.add(builderForValue.build()); onChanged(); } else { issuesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder addIssues( int index, tech.ydb.proto.YdbIssueMessage.IssueMessage.Builder builderForValue) { if (issuesBuilder_ == null) { ensureIssuesIsMutable(); issues_.add(index, builderForValue.build()); onChanged(); } else { issuesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder addAllIssues( java.lang.Iterable values) { if (issuesBuilder_ == null) { ensureIssuesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, issues_); onChanged(); } else { issuesBuilder_.addAllMessages(values); } return this; } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder clearIssues() { if (issuesBuilder_ == null) { issues_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { issuesBuilder_.clear(); } return this; } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder removeIssues(int index) { if (issuesBuilder_ == null) { ensureIssuesIsMutable(); issues_.remove(index); onChanged(); } else { issuesBuilder_.remove(index); } return this; } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public tech.ydb.proto.YdbIssueMessage.IssueMessage.Builder getIssuesBuilder( int index) { return getIssuesFieldBuilder().getBuilder(index); } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public tech.ydb.proto.YdbIssueMessage.IssueMessageOrBuilder getIssuesOrBuilder( int index) { if (issuesBuilder_ == null) { return issues_.get(index); } else { return issuesBuilder_.getMessageOrBuilder(index); } } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public java.util.List getIssuesOrBuilderList() { if (issuesBuilder_ != null) { return issuesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(issues_); } } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public tech.ydb.proto.YdbIssueMessage.IssueMessage.Builder addIssuesBuilder() { return getIssuesFieldBuilder().addBuilder( tech.ydb.proto.YdbIssueMessage.IssueMessage.getDefaultInstance()); } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public tech.ydb.proto.YdbIssueMessage.IssueMessage.Builder addIssuesBuilder( int index) { return getIssuesFieldBuilder().addBuilder( index, tech.ydb.proto.YdbIssueMessage.IssueMessage.getDefaultInstance()); } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public java.util.List getIssuesBuilderList() { return getIssuesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.YdbIssueMessage.IssueMessage, tech.ydb.proto.YdbIssueMessage.IssueMessage.Builder, tech.ydb.proto.YdbIssueMessage.IssueMessageOrBuilder> getIssuesFieldBuilder() { if (issuesBuilder_ == null) { issuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.YdbIssueMessage.IssueMessage, tech.ydb.proto.YdbIssueMessage.IssueMessage.Builder, tech.ydb.proto.YdbIssueMessage.IssueMessageOrBuilder>( issues_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); issues_ = null; } return issuesBuilder_; } private tech.ydb.proto.common.CommonProtos.VirtualTimestamp snapshot_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.common.CommonProtos.VirtualTimestamp, tech.ydb.proto.common.CommonProtos.VirtualTimestamp.Builder, tech.ydb.proto.common.CommonProtos.VirtualTimestampOrBuilder> snapshotBuilder_; /** *
       * Optional snapshot that corresponds to the returned data
       * 
* * .Ydb.VirtualTimestamp snapshot = 4; * @return Whether the snapshot field is set. */ public boolean hasSnapshot() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Optional snapshot that corresponds to the returned data
       * 
* * .Ydb.VirtualTimestamp snapshot = 4; * @return The snapshot. */ public tech.ydb.proto.common.CommonProtos.VirtualTimestamp getSnapshot() { if (snapshotBuilder_ == null) { return snapshot_ == null ? tech.ydb.proto.common.CommonProtos.VirtualTimestamp.getDefaultInstance() : snapshot_; } else { return snapshotBuilder_.getMessage(); } } /** *
       * Optional snapshot that corresponds to the returned data
       * 
* * .Ydb.VirtualTimestamp snapshot = 4; */ public Builder setSnapshot(tech.ydb.proto.common.CommonProtos.VirtualTimestamp value) { if (snapshotBuilder_ == null) { if (value == null) { throw new NullPointerException(); } snapshot_ = value; } else { snapshotBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * Optional snapshot that corresponds to the returned data
       * 
* * .Ydb.VirtualTimestamp snapshot = 4; */ public Builder setSnapshot( tech.ydb.proto.common.CommonProtos.VirtualTimestamp.Builder builderForValue) { if (snapshotBuilder_ == null) { snapshot_ = builderForValue.build(); } else { snapshotBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * Optional snapshot that corresponds to the returned data
       * 
* * .Ydb.VirtualTimestamp snapshot = 4; */ public Builder mergeSnapshot(tech.ydb.proto.common.CommonProtos.VirtualTimestamp value) { if (snapshotBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && snapshot_ != null && snapshot_ != tech.ydb.proto.common.CommonProtos.VirtualTimestamp.getDefaultInstance()) { getSnapshotBuilder().mergeFrom(value); } else { snapshot_ = value; } } else { snapshotBuilder_.mergeFrom(value); } if (snapshot_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** *
       * Optional snapshot that corresponds to the returned data
       * 
* * .Ydb.VirtualTimestamp snapshot = 4; */ public Builder clearSnapshot() { bitField0_ = (bitField0_ & ~0x00000004); snapshot_ = null; if (snapshotBuilder_ != null) { snapshotBuilder_.dispose(); snapshotBuilder_ = null; } onChanged(); return this; } /** *
       * Optional snapshot that corresponds to the returned data
       * 
* * .Ydb.VirtualTimestamp snapshot = 4; */ public tech.ydb.proto.common.CommonProtos.VirtualTimestamp.Builder getSnapshotBuilder() { bitField0_ |= 0x00000004; onChanged(); return getSnapshotFieldBuilder().getBuilder(); } /** *
       * Optional snapshot that corresponds to the returned data
       * 
* * .Ydb.VirtualTimestamp snapshot = 4; */ public tech.ydb.proto.common.CommonProtos.VirtualTimestampOrBuilder getSnapshotOrBuilder() { if (snapshotBuilder_ != null) { return snapshotBuilder_.getMessageOrBuilder(); } else { return snapshot_ == null ? tech.ydb.proto.common.CommonProtos.VirtualTimestamp.getDefaultInstance() : snapshot_; } } /** *
       * Optional snapshot that corresponds to the returned data
       * 
* * .Ydb.VirtualTimestamp snapshot = 4; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.common.CommonProtos.VirtualTimestamp, tech.ydb.proto.common.CommonProtos.VirtualTimestamp.Builder, tech.ydb.proto.common.CommonProtos.VirtualTimestampOrBuilder> getSnapshotFieldBuilder() { if (snapshotBuilder_ == null) { snapshotBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.common.CommonProtos.VirtualTimestamp, tech.ydb.proto.common.CommonProtos.VirtualTimestamp.Builder, tech.ydb.proto.common.CommonProtos.VirtualTimestampOrBuilder>( getSnapshot(), getParentForChildren(), isClean()); snapshot_ = null; } return snapshotBuilder_; } private tech.ydb.proto.table.YdbTable.ReadTableResult result_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.ReadTableResult, tech.ydb.proto.table.YdbTable.ReadTableResult.Builder, tech.ydb.proto.table.YdbTable.ReadTableResultOrBuilder> resultBuilder_; /** *
       * Read table result
       * 
* * .Ydb.Table.ReadTableResult result = 3; * @return Whether the result field is set. */ public boolean hasResult() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Read table result
       * 
* * .Ydb.Table.ReadTableResult result = 3; * @return The result. */ public tech.ydb.proto.table.YdbTable.ReadTableResult getResult() { if (resultBuilder_ == null) { return result_ == null ? tech.ydb.proto.table.YdbTable.ReadTableResult.getDefaultInstance() : result_; } else { return resultBuilder_.getMessage(); } } /** *
       * Read table result
       * 
* * .Ydb.Table.ReadTableResult result = 3; */ public Builder setResult(tech.ydb.proto.table.YdbTable.ReadTableResult value) { if (resultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } result_ = value; } else { resultBuilder_.setMessage(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * Read table result
       * 
* * .Ydb.Table.ReadTableResult result = 3; */ public Builder setResult( tech.ydb.proto.table.YdbTable.ReadTableResult.Builder builderForValue) { if (resultBuilder_ == null) { result_ = builderForValue.build(); } else { resultBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * Read table result
       * 
* * .Ydb.Table.ReadTableResult result = 3; */ public Builder mergeResult(tech.ydb.proto.table.YdbTable.ReadTableResult value) { if (resultBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && result_ != null && result_ != tech.ydb.proto.table.YdbTable.ReadTableResult.getDefaultInstance()) { getResultBuilder().mergeFrom(value); } else { result_ = value; } } else { resultBuilder_.mergeFrom(value); } if (result_ != null) { bitField0_ |= 0x00000008; onChanged(); } return this; } /** *
       * Read table result
       * 
* * .Ydb.Table.ReadTableResult result = 3; */ public Builder clearResult() { bitField0_ = (bitField0_ & ~0x00000008); result_ = null; if (resultBuilder_ != null) { resultBuilder_.dispose(); resultBuilder_ = null; } onChanged(); return this; } /** *
       * Read table result
       * 
* * .Ydb.Table.ReadTableResult result = 3; */ public tech.ydb.proto.table.YdbTable.ReadTableResult.Builder getResultBuilder() { bitField0_ |= 0x00000008; onChanged(); return getResultFieldBuilder().getBuilder(); } /** *
       * Read table result
       * 
* * .Ydb.Table.ReadTableResult result = 3; */ public tech.ydb.proto.table.YdbTable.ReadTableResultOrBuilder getResultOrBuilder() { if (resultBuilder_ != null) { return resultBuilder_.getMessageOrBuilder(); } else { return result_ == null ? tech.ydb.proto.table.YdbTable.ReadTableResult.getDefaultInstance() : result_; } } /** *
       * Read table result
       * 
* * .Ydb.Table.ReadTableResult result = 3; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.ReadTableResult, tech.ydb.proto.table.YdbTable.ReadTableResult.Builder, tech.ydb.proto.table.YdbTable.ReadTableResultOrBuilder> getResultFieldBuilder() { if (resultBuilder_ == null) { resultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.ReadTableResult, tech.ydb.proto.table.YdbTable.ReadTableResult.Builder, tech.ydb.proto.table.YdbTable.ReadTableResultOrBuilder>( getResult(), getParentForChildren(), isClean()); result_ = null; } return resultBuilder_; } @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.Table.ReadTableResponse) } // @@protoc_insertion_point(class_scope:Ydb.Table.ReadTableResponse) private static final tech.ydb.proto.table.YdbTable.ReadTableResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.ReadTableResponse(); } public static tech.ydb.proto.table.YdbTable.ReadTableResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ReadTableResponse 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.table.YdbTable.ReadTableResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ReadTableResultOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.ReadTableResult) com.google.protobuf.MessageOrBuilder { /** *
     * Result set (same as result of sql request)
     * 
* * .Ydb.ResultSet result_set = 1; * @return Whether the resultSet field is set. */ boolean hasResultSet(); /** *
     * Result set (same as result of sql request)
     * 
* * .Ydb.ResultSet result_set = 1; * @return The resultSet. */ tech.ydb.proto.ValueProtos.ResultSet getResultSet(); /** *
     * Result set (same as result of sql request)
     * 
* * .Ydb.ResultSet result_set = 1; */ tech.ydb.proto.ValueProtos.ResultSetOrBuilder getResultSetOrBuilder(); } /** *
   * Result of read table request
   * 
* * Protobuf type {@code Ydb.Table.ReadTableResult} */ public static final class ReadTableResult extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.ReadTableResult) ReadTableResultOrBuilder { private static final long serialVersionUID = 0L; // Use ReadTableResult.newBuilder() to construct. private ReadTableResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ReadTableResult() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ReadTableResult(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReadTableResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReadTableResult_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ReadTableResult.class, tech.ydb.proto.table.YdbTable.ReadTableResult.Builder.class); } private int bitField0_; public static final int RESULT_SET_FIELD_NUMBER = 1; private tech.ydb.proto.ValueProtos.ResultSet resultSet_; /** *
     * Result set (same as result of sql request)
     * 
* * .Ydb.ResultSet result_set = 1; * @return Whether the resultSet field is set. */ @java.lang.Override public boolean hasResultSet() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Result set (same as result of sql request)
     * 
* * .Ydb.ResultSet result_set = 1; * @return The resultSet. */ @java.lang.Override public tech.ydb.proto.ValueProtos.ResultSet getResultSet() { return resultSet_ == null ? tech.ydb.proto.ValueProtos.ResultSet.getDefaultInstance() : resultSet_; } /** *
     * Result set (same as result of sql request)
     * 
* * .Ydb.ResultSet result_set = 1; */ @java.lang.Override public tech.ydb.proto.ValueProtos.ResultSetOrBuilder getResultSetOrBuilder() { return resultSet_ == null ? tech.ydb.proto.ValueProtos.ResultSet.getDefaultInstance() : resultSet_; } 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, getResultSet()); } 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, getResultSet()); } 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.table.YdbTable.ReadTableResult)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.ReadTableResult other = (tech.ydb.proto.table.YdbTable.ReadTableResult) obj; if (hasResultSet() != other.hasResultSet()) return false; if (hasResultSet()) { if (!getResultSet() .equals(other.getResultSet())) 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 (hasResultSet()) { hash = (37 * hash) + RESULT_SET_FIELD_NUMBER; hash = (53 * hash) + getResultSet().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.ReadTableResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ReadTableResult 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.table.YdbTable.ReadTableResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ReadTableResult 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.table.YdbTable.ReadTableResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ReadTableResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.ReadTableResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ReadTableResult 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.table.YdbTable.ReadTableResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ReadTableResult 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.table.YdbTable.ReadTableResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ReadTableResult 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.table.YdbTable.ReadTableResult 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; } /** *
     * Result of read table request
     * 
* * Protobuf type {@code Ydb.Table.ReadTableResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.ReadTableResult) tech.ydb.proto.table.YdbTable.ReadTableResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReadTableResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReadTableResult_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ReadTableResult.class, tech.ydb.proto.table.YdbTable.ReadTableResult.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.ReadTableResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getResultSetFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; resultSet_ = null; if (resultSetBuilder_ != null) { resultSetBuilder_.dispose(); resultSetBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReadTableResult_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ReadTableResult getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.ReadTableResult.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.ReadTableResult build() { tech.ydb.proto.table.YdbTable.ReadTableResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ReadTableResult buildPartial() { tech.ydb.proto.table.YdbTable.ReadTableResult result = new tech.ydb.proto.table.YdbTable.ReadTableResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.ReadTableResult result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.resultSet_ = resultSetBuilder_ == null ? resultSet_ : resultSetBuilder_.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.table.YdbTable.ReadTableResult) { return mergeFrom((tech.ydb.proto.table.YdbTable.ReadTableResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.ReadTableResult other) { if (other == tech.ydb.proto.table.YdbTable.ReadTableResult.getDefaultInstance()) return this; if (other.hasResultSet()) { mergeResultSet(other.getResultSet()); } 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( getResultSetFieldBuilder().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.ValueProtos.ResultSet resultSet_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.ValueProtos.ResultSet, tech.ydb.proto.ValueProtos.ResultSet.Builder, tech.ydb.proto.ValueProtos.ResultSetOrBuilder> resultSetBuilder_; /** *
       * Result set (same as result of sql request)
       * 
* * .Ydb.ResultSet result_set = 1; * @return Whether the resultSet field is set. */ public boolean hasResultSet() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Result set (same as result of sql request)
       * 
* * .Ydb.ResultSet result_set = 1; * @return The resultSet. */ public tech.ydb.proto.ValueProtos.ResultSet getResultSet() { if (resultSetBuilder_ == null) { return resultSet_ == null ? tech.ydb.proto.ValueProtos.ResultSet.getDefaultInstance() : resultSet_; } else { return resultSetBuilder_.getMessage(); } } /** *
       * Result set (same as result of sql request)
       * 
* * .Ydb.ResultSet result_set = 1; */ public Builder setResultSet(tech.ydb.proto.ValueProtos.ResultSet value) { if (resultSetBuilder_ == null) { if (value == null) { throw new NullPointerException(); } resultSet_ = value; } else { resultSetBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Result set (same as result of sql request)
       * 
* * .Ydb.ResultSet result_set = 1; */ public Builder setResultSet( tech.ydb.proto.ValueProtos.ResultSet.Builder builderForValue) { if (resultSetBuilder_ == null) { resultSet_ = builderForValue.build(); } else { resultSetBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Result set (same as result of sql request)
       * 
* * .Ydb.ResultSet result_set = 1; */ public Builder mergeResultSet(tech.ydb.proto.ValueProtos.ResultSet value) { if (resultSetBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && resultSet_ != null && resultSet_ != tech.ydb.proto.ValueProtos.ResultSet.getDefaultInstance()) { getResultSetBuilder().mergeFrom(value); } else { resultSet_ = value; } } else { resultSetBuilder_.mergeFrom(value); } if (resultSet_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
       * Result set (same as result of sql request)
       * 
* * .Ydb.ResultSet result_set = 1; */ public Builder clearResultSet() { bitField0_ = (bitField0_ & ~0x00000001); resultSet_ = null; if (resultSetBuilder_ != null) { resultSetBuilder_.dispose(); resultSetBuilder_ = null; } onChanged(); return this; } /** *
       * Result set (same as result of sql request)
       * 
* * .Ydb.ResultSet result_set = 1; */ public tech.ydb.proto.ValueProtos.ResultSet.Builder getResultSetBuilder() { bitField0_ |= 0x00000001; onChanged(); return getResultSetFieldBuilder().getBuilder(); } /** *
       * Result set (same as result of sql request)
       * 
* * .Ydb.ResultSet result_set = 1; */ public tech.ydb.proto.ValueProtos.ResultSetOrBuilder getResultSetOrBuilder() { if (resultSetBuilder_ != null) { return resultSetBuilder_.getMessageOrBuilder(); } else { return resultSet_ == null ? tech.ydb.proto.ValueProtos.ResultSet.getDefaultInstance() : resultSet_; } } /** *
       * Result set (same as result of sql request)
       * 
* * .Ydb.ResultSet result_set = 1; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.ValueProtos.ResultSet, tech.ydb.proto.ValueProtos.ResultSet.Builder, tech.ydb.proto.ValueProtos.ResultSetOrBuilder> getResultSetFieldBuilder() { if (resultSetBuilder_ == null) { resultSetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.ValueProtos.ResultSet, tech.ydb.proto.ValueProtos.ResultSet.Builder, tech.ydb.proto.ValueProtos.ResultSetOrBuilder>( getResultSet(), getParentForChildren(), isClean()); resultSet_ = null; } return resultSetBuilder_; } @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.Table.ReadTableResult) } // @@protoc_insertion_point(class_scope:Ydb.Table.ReadTableResult) private static final tech.ydb.proto.table.YdbTable.ReadTableResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.ReadTableResult(); } public static tech.ydb.proto.table.YdbTable.ReadTableResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ReadTableResult 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.table.YdbTable.ReadTableResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ReadRowsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.ReadRowsRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ java.lang.String getSessionId(); /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ com.google.protobuf.ByteString getSessionIdBytes(); /** *
     * Path to table to read
     * 
* * string path = 2; * @return The path. */ java.lang.String getPath(); /** *
     * Path to table to read
     * 
* * string path = 2; * @return The bytes for path. */ com.google.protobuf.ByteString getPathBytes(); /** *
     * Keys to read. Must be a list of structs where each stuct is a key
     * for one requested row and should contain all key columns
     * 
* * .Ydb.TypedValue keys = 3; * @return Whether the keys field is set. */ boolean hasKeys(); /** *
     * Keys to read. Must be a list of structs where each stuct is a key
     * for one requested row and should contain all key columns
     * 
* * .Ydb.TypedValue keys = 3; * @return The keys. */ tech.ydb.proto.ValueProtos.TypedValue getKeys(); /** *
     * Keys to read. Must be a list of structs where each stuct is a key
     * for one requested row and should contain all key columns
     * 
* * .Ydb.TypedValue keys = 3; */ tech.ydb.proto.ValueProtos.TypedValueOrBuilder getKeysOrBuilder(); /** *
     * Output columns. If empty all columns will be requested
     * 
* * repeated string columns = 4; * @return A list containing the columns. */ java.util.List getColumnsList(); /** *
     * Output columns. If empty all columns will be requested
     * 
* * repeated string columns = 4; * @return The count of columns. */ int getColumnsCount(); /** *
     * Output columns. If empty all columns will be requested
     * 
* * repeated string columns = 4; * @param index The index of the element to return. * @return The columns at the given index. */ java.lang.String getColumns(int index); /** *
     * Output columns. If empty all columns will be requested
     * 
* * repeated string columns = 4; * @param index The index of the value to return. * @return The bytes of the columns at the given index. */ com.google.protobuf.ByteString getColumnsBytes(int index); } /** * Protobuf type {@code Ydb.Table.ReadRowsRequest} */ public static final class ReadRowsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.ReadRowsRequest) ReadRowsRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ReadRowsRequest.newBuilder() to construct. private ReadRowsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ReadRowsRequest() { sessionId_ = ""; path_ = ""; columns_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ReadRowsRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReadRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReadRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ReadRowsRequest.class, tech.ydb.proto.table.YdbTable.ReadRowsRequest.Builder.class); } private int bitField0_; public static final int SESSION_ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object sessionId_ = ""; /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The sessionId. */ @java.lang.Override public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; 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(); sessionId_ = s; return s; } } /** *
     * Session identifier
     * 
* * string session_id = 1; * @return The bytes for sessionId. */ @java.lang.Override public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PATH_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object path_ = ""; /** *
     * Path to table to read
     * 
* * 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; } } /** *
     * Path to table to read
     * 
* * 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 KEYS_FIELD_NUMBER = 3; private tech.ydb.proto.ValueProtos.TypedValue keys_; /** *
     * Keys to read. Must be a list of structs where each stuct is a key
     * for one requested row and should contain all key columns
     * 
* * .Ydb.TypedValue keys = 3; * @return Whether the keys field is set. */ @java.lang.Override public boolean hasKeys() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Keys to read. Must be a list of structs where each stuct is a key
     * for one requested row and should contain all key columns
     * 
* * .Ydb.TypedValue keys = 3; * @return The keys. */ @java.lang.Override public tech.ydb.proto.ValueProtos.TypedValue getKeys() { return keys_ == null ? tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance() : keys_; } /** *
     * Keys to read. Must be a list of structs where each stuct is a key
     * for one requested row and should contain all key columns
     * 
* * .Ydb.TypedValue keys = 3; */ @java.lang.Override public tech.ydb.proto.ValueProtos.TypedValueOrBuilder getKeysOrBuilder() { return keys_ == null ? tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance() : keys_; } public static final int COLUMNS_FIELD_NUMBER = 4; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList columns_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * Output columns. If empty all columns will be requested
     * 
* * repeated string columns = 4; * @return A list containing the columns. */ public com.google.protobuf.ProtocolStringList getColumnsList() { return columns_; } /** *
     * Output columns. If empty all columns will be requested
     * 
* * repeated string columns = 4; * @return The count of columns. */ public int getColumnsCount() { return columns_.size(); } /** *
     * Output columns. If empty all columns will be requested
     * 
* * repeated string columns = 4; * @param index The index of the element to return. * @return The columns at the given index. */ public java.lang.String getColumns(int index) { return columns_.get(index); } /** *
     * Output columns. If empty all columns will be requested
     * 
* * repeated string columns = 4; * @param index The index of the value to return. * @return The bytes of the columns at the given index. */ public com.google.protobuf.ByteString getColumnsBytes(int index) { return columns_.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(sessionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getKeys()); } for (int i = 0; i < columns_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, columns_.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(sessionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getKeys()); } { int dataSize = 0; for (int i = 0; i < columns_.size(); i++) { dataSize += computeStringSizeNoTag(columns_.getRaw(i)); } size += dataSize; size += 1 * getColumnsList().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.table.YdbTable.ReadRowsRequest)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.ReadRowsRequest other = (tech.ydb.proto.table.YdbTable.ReadRowsRequest) obj; if (!getSessionId() .equals(other.getSessionId())) return false; if (!getPath() .equals(other.getPath())) return false; if (hasKeys() != other.hasKeys()) return false; if (hasKeys()) { if (!getKeys() .equals(other.getKeys())) return false; } if (!getColumnsList() .equals(other.getColumnsList())) 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) + SESSION_ID_FIELD_NUMBER; hash = (53 * hash) + getSessionId().hashCode(); hash = (37 * hash) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); if (hasKeys()) { hash = (37 * hash) + KEYS_FIELD_NUMBER; hash = (53 * hash) + getKeys().hashCode(); } if (getColumnsCount() > 0) { hash = (37 * hash) + COLUMNS_FIELD_NUMBER; hash = (53 * hash) + getColumnsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.ReadRowsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ReadRowsRequest 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.table.YdbTable.ReadRowsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ReadRowsRequest 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.table.YdbTable.ReadRowsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ReadRowsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.ReadRowsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ReadRowsRequest 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.table.YdbTable.ReadRowsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ReadRowsRequest 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.table.YdbTable.ReadRowsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ReadRowsRequest 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.table.YdbTable.ReadRowsRequest 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.Table.ReadRowsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.ReadRowsRequest) tech.ydb.proto.table.YdbTable.ReadRowsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReadRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReadRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ReadRowsRequest.class, tech.ydb.proto.table.YdbTable.ReadRowsRequest.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.ReadRowsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getKeysFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; sessionId_ = ""; path_ = ""; keys_ = null; if (keysBuilder_ != null) { keysBuilder_.dispose(); keysBuilder_ = null; } columns_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReadRowsRequest_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ReadRowsRequest getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.ReadRowsRequest.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.ReadRowsRequest build() { tech.ydb.proto.table.YdbTable.ReadRowsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ReadRowsRequest buildPartial() { tech.ydb.proto.table.YdbTable.ReadRowsRequest result = new tech.ydb.proto.table.YdbTable.ReadRowsRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.ReadRowsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.sessionId_ = sessionId_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.path_ = path_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { result.keys_ = keysBuilder_ == null ? keys_ : keysBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { columns_.makeImmutable(); result.columns_ = columns_; } 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.table.YdbTable.ReadRowsRequest) { return mergeFrom((tech.ydb.proto.table.YdbTable.ReadRowsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.ReadRowsRequest other) { if (other == tech.ydb.proto.table.YdbTable.ReadRowsRequest.getDefaultInstance()) return this; if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getPath().isEmpty()) { path_ = other.path_; bitField0_ |= 0x00000002; onChanged(); } if (other.hasKeys()) { mergeKeys(other.getKeys()); } if (!other.columns_.isEmpty()) { if (columns_.isEmpty()) { columns_ = other.columns_; bitField0_ |= 0x00000008; } else { ensureColumnsIsMutable(); columns_.addAll(other.columns_); } 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: { sessionId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { path_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage( getKeysFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 34: { java.lang.String s = input.readStringRequireUtf8(); ensureColumnsIsMutable(); columns_.add(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 bitField0_; private java.lang.Object sessionId_ = ""; /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The sessionId. */ public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return The bytes for sessionId. */ public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The sessionId to set. * @return This builder for chaining. */ public Builder setSessionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sessionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @param value The bytes for sessionId to set. * @return This builder for chaining. */ public Builder setSessionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sessionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object path_ = ""; /** *
       * Path to table to read
       * 
* * 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; } } /** *
       * Path to table to read
       * 
* * 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; } } /** *
       * Path to table to read
       * 
* * 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; } /** *
       * Path to table to read
       * 
* * string path = 2; * @return This builder for chaining. */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * Path to table to read
       * 
* * 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 tech.ydb.proto.ValueProtos.TypedValue keys_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.ValueProtos.TypedValue, tech.ydb.proto.ValueProtos.TypedValue.Builder, tech.ydb.proto.ValueProtos.TypedValueOrBuilder> keysBuilder_; /** *
       * Keys to read. Must be a list of structs where each stuct is a key
       * for one requested row and should contain all key columns
       * 
* * .Ydb.TypedValue keys = 3; * @return Whether the keys field is set. */ public boolean hasKeys() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Keys to read. Must be a list of structs where each stuct is a key
       * for one requested row and should contain all key columns
       * 
* * .Ydb.TypedValue keys = 3; * @return The keys. */ public tech.ydb.proto.ValueProtos.TypedValue getKeys() { if (keysBuilder_ == null) { return keys_ == null ? tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance() : keys_; } else { return keysBuilder_.getMessage(); } } /** *
       * Keys to read. Must be a list of structs where each stuct is a key
       * for one requested row and should contain all key columns
       * 
* * .Ydb.TypedValue keys = 3; */ public Builder setKeys(tech.ydb.proto.ValueProtos.TypedValue value) { if (keysBuilder_ == null) { if (value == null) { throw new NullPointerException(); } keys_ = value; } else { keysBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * Keys to read. Must be a list of structs where each stuct is a key
       * for one requested row and should contain all key columns
       * 
* * .Ydb.TypedValue keys = 3; */ public Builder setKeys( tech.ydb.proto.ValueProtos.TypedValue.Builder builderForValue) { if (keysBuilder_ == null) { keys_ = builderForValue.build(); } else { keysBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * Keys to read. Must be a list of structs where each stuct is a key
       * for one requested row and should contain all key columns
       * 
* * .Ydb.TypedValue keys = 3; */ public Builder mergeKeys(tech.ydb.proto.ValueProtos.TypedValue value) { if (keysBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && keys_ != null && keys_ != tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance()) { getKeysBuilder().mergeFrom(value); } else { keys_ = value; } } else { keysBuilder_.mergeFrom(value); } if (keys_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** *
       * Keys to read. Must be a list of structs where each stuct is a key
       * for one requested row and should contain all key columns
       * 
* * .Ydb.TypedValue keys = 3; */ public Builder clearKeys() { bitField0_ = (bitField0_ & ~0x00000004); keys_ = null; if (keysBuilder_ != null) { keysBuilder_.dispose(); keysBuilder_ = null; } onChanged(); return this; } /** *
       * Keys to read. Must be a list of structs where each stuct is a key
       * for one requested row and should contain all key columns
       * 
* * .Ydb.TypedValue keys = 3; */ public tech.ydb.proto.ValueProtos.TypedValue.Builder getKeysBuilder() { bitField0_ |= 0x00000004; onChanged(); return getKeysFieldBuilder().getBuilder(); } /** *
       * Keys to read. Must be a list of structs where each stuct is a key
       * for one requested row and should contain all key columns
       * 
* * .Ydb.TypedValue keys = 3; */ public tech.ydb.proto.ValueProtos.TypedValueOrBuilder getKeysOrBuilder() { if (keysBuilder_ != null) { return keysBuilder_.getMessageOrBuilder(); } else { return keys_ == null ? tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance() : keys_; } } /** *
       * Keys to read. Must be a list of structs where each stuct is a key
       * for one requested row and should contain all key columns
       * 
* * .Ydb.TypedValue keys = 3; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.ValueProtos.TypedValue, tech.ydb.proto.ValueProtos.TypedValue.Builder, tech.ydb.proto.ValueProtos.TypedValueOrBuilder> getKeysFieldBuilder() { if (keysBuilder_ == null) { keysBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.ValueProtos.TypedValue, tech.ydb.proto.ValueProtos.TypedValue.Builder, tech.ydb.proto.ValueProtos.TypedValueOrBuilder>( getKeys(), getParentForChildren(), isClean()); keys_ = null; } return keysBuilder_; } private com.google.protobuf.LazyStringArrayList columns_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureColumnsIsMutable() { if (!columns_.isModifiable()) { columns_ = new com.google.protobuf.LazyStringArrayList(columns_); } bitField0_ |= 0x00000008; } /** *
       * Output columns. If empty all columns will be requested
       * 
* * repeated string columns = 4; * @return A list containing the columns. */ public com.google.protobuf.ProtocolStringList getColumnsList() { columns_.makeImmutable(); return columns_; } /** *
       * Output columns. If empty all columns will be requested
       * 
* * repeated string columns = 4; * @return The count of columns. */ public int getColumnsCount() { return columns_.size(); } /** *
       * Output columns. If empty all columns will be requested
       * 
* * repeated string columns = 4; * @param index The index of the element to return. * @return The columns at the given index. */ public java.lang.String getColumns(int index) { return columns_.get(index); } /** *
       * Output columns. If empty all columns will be requested
       * 
* * repeated string columns = 4; * @param index The index of the value to return. * @return The bytes of the columns at the given index. */ public com.google.protobuf.ByteString getColumnsBytes(int index) { return columns_.getByteString(index); } /** *
       * Output columns. If empty all columns will be requested
       * 
* * repeated string columns = 4; * @param index The index to set the value at. * @param value The columns to set. * @return This builder for chaining. */ public Builder setColumns( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.set(index, value); bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * Output columns. If empty all columns will be requested
       * 
* * repeated string columns = 4; * @param value The columns to add. * @return This builder for chaining. */ public Builder addColumns( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.add(value); bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * Output columns. If empty all columns will be requested
       * 
* * repeated string columns = 4; * @param values The columns to add. * @return This builder for chaining. */ public Builder addAllColumns( java.lang.Iterable values) { ensureColumnsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, columns_); bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * Output columns. If empty all columns will be requested
       * 
* * repeated string columns = 4; * @return This builder for chaining. */ public Builder clearColumns() { columns_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000008);; onChanged(); return this; } /** *
       * Output columns. If empty all columns will be requested
       * 
* * repeated string columns = 4; * @param value The bytes of the columns to add. * @return This builder for chaining. */ public Builder addColumnsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureColumnsIsMutable(); columns_.add(value); bitField0_ |= 0x00000008; 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.Table.ReadRowsRequest) } // @@protoc_insertion_point(class_scope:Ydb.Table.ReadRowsRequest) private static final tech.ydb.proto.table.YdbTable.ReadRowsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.ReadRowsRequest(); } public static tech.ydb.proto.table.YdbTable.ReadRowsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ReadRowsRequest 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.table.YdbTable.ReadRowsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ReadRowsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.ReadRowsResponse) com.google.protobuf.MessageOrBuilder { /** *
     * Status of request (same as other statuses)
     * 
* * .Ydb.StatusIds.StatusCode status = 1; * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** *
     * Status of request (same as other statuses)
     * 
* * .Ydb.StatusIds.StatusCode status = 1; * @return The status. */ tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode getStatus(); /** *
     * Issues
     * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ java.util.List getIssuesList(); /** *
     * Issues
     * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ tech.ydb.proto.YdbIssueMessage.IssueMessage getIssues(int index); /** *
     * Issues
     * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ int getIssuesCount(); /** *
     * Issues
     * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ java.util.List getIssuesOrBuilderList(); /** *
     * Issues
     * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ tech.ydb.proto.YdbIssueMessage.IssueMessageOrBuilder getIssuesOrBuilder( int index); /** *
     * Result set (same as result of sql request)
     * 
* * .Ydb.ResultSet result_set = 3; * @return Whether the resultSet field is set. */ boolean hasResultSet(); /** *
     * Result set (same as result of sql request)
     * 
* * .Ydb.ResultSet result_set = 3; * @return The resultSet. */ tech.ydb.proto.ValueProtos.ResultSet getResultSet(); /** *
     * Result set (same as result of sql request)
     * 
* * .Ydb.ResultSet result_set = 3; */ tech.ydb.proto.ValueProtos.ResultSetOrBuilder getResultSetOrBuilder(); } /** * Protobuf type {@code Ydb.Table.ReadRowsResponse} */ public static final class ReadRowsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.ReadRowsResponse) ReadRowsResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ReadRowsResponse.newBuilder() to construct. private ReadRowsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ReadRowsResponse() { status_ = 0; issues_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ReadRowsResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReadRowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReadRowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ReadRowsResponse.class, tech.ydb.proto.table.YdbTable.ReadRowsResponse.Builder.class); } private int bitField0_; public static final int STATUS_FIELD_NUMBER = 1; private int status_ = 0; /** *
     * Status of request (same as other statuses)
     * 
* * .Ydb.StatusIds.StatusCode status = 1; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** *
     * Status of request (same as other statuses)
     * 
* * .Ydb.StatusIds.StatusCode status = 1; * @return The status. */ @java.lang.Override public tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode getStatus() { tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode result = tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode.forNumber(status_); return result == null ? tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode.UNRECOGNIZED : result; } public static final int ISSUES_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List issues_; /** *
     * Issues
     * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ @java.lang.Override public java.util.List getIssuesList() { return issues_; } /** *
     * Issues
     * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ @java.lang.Override public java.util.List getIssuesOrBuilderList() { return issues_; } /** *
     * Issues
     * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ @java.lang.Override public int getIssuesCount() { return issues_.size(); } /** *
     * Issues
     * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ @java.lang.Override public tech.ydb.proto.YdbIssueMessage.IssueMessage getIssues(int index) { return issues_.get(index); } /** *
     * Issues
     * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ @java.lang.Override public tech.ydb.proto.YdbIssueMessage.IssueMessageOrBuilder getIssuesOrBuilder( int index) { return issues_.get(index); } public static final int RESULT_SET_FIELD_NUMBER = 3; private tech.ydb.proto.ValueProtos.ResultSet resultSet_; /** *
     * Result set (same as result of sql request)
     * 
* * .Ydb.ResultSet result_set = 3; * @return Whether the resultSet field is set. */ @java.lang.Override public boolean hasResultSet() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Result set (same as result of sql request)
     * 
* * .Ydb.ResultSet result_set = 3; * @return The resultSet. */ @java.lang.Override public tech.ydb.proto.ValueProtos.ResultSet getResultSet() { return resultSet_ == null ? tech.ydb.proto.ValueProtos.ResultSet.getDefaultInstance() : resultSet_; } /** *
     * Result set (same as result of sql request)
     * 
* * .Ydb.ResultSet result_set = 3; */ @java.lang.Override public tech.ydb.proto.ValueProtos.ResultSetOrBuilder getResultSetOrBuilder() { return resultSet_ == null ? tech.ydb.proto.ValueProtos.ResultSet.getDefaultInstance() : resultSet_; } 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 (status_ != tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode.STATUS_CODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, status_); } for (int i = 0; i < issues_.size(); i++) { output.writeMessage(2, issues_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getResultSet()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (status_ != tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode.STATUS_CODE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, status_); } for (int i = 0; i < issues_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, issues_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getResultSet()); } 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.table.YdbTable.ReadRowsResponse)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.ReadRowsResponse other = (tech.ydb.proto.table.YdbTable.ReadRowsResponse) obj; if (status_ != other.status_) return false; if (!getIssuesList() .equals(other.getIssuesList())) return false; if (hasResultSet() != other.hasResultSet()) return false; if (hasResultSet()) { if (!getResultSet() .equals(other.getResultSet())) 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) + STATUS_FIELD_NUMBER; hash = (53 * hash) + status_; if (getIssuesCount() > 0) { hash = (37 * hash) + ISSUES_FIELD_NUMBER; hash = (53 * hash) + getIssuesList().hashCode(); } if (hasResultSet()) { hash = (37 * hash) + RESULT_SET_FIELD_NUMBER; hash = (53 * hash) + getResultSet().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.ReadRowsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ReadRowsResponse 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.table.YdbTable.ReadRowsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ReadRowsResponse 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.table.YdbTable.ReadRowsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ReadRowsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.ReadRowsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ReadRowsResponse 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.table.YdbTable.ReadRowsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ReadRowsResponse 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.table.YdbTable.ReadRowsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ReadRowsResponse 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.table.YdbTable.ReadRowsResponse 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.Table.ReadRowsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.ReadRowsResponse) tech.ydb.proto.table.YdbTable.ReadRowsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReadRowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReadRowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ReadRowsResponse.class, tech.ydb.proto.table.YdbTable.ReadRowsResponse.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.ReadRowsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getIssuesFieldBuilder(); getResultSetFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; status_ = 0; if (issuesBuilder_ == null) { issues_ = java.util.Collections.emptyList(); } else { issues_ = null; issuesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); resultSet_ = null; if (resultSetBuilder_ != null) { resultSetBuilder_.dispose(); resultSetBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ReadRowsResponse_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ReadRowsResponse getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.ReadRowsResponse.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.ReadRowsResponse build() { tech.ydb.proto.table.YdbTable.ReadRowsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ReadRowsResponse buildPartial() { tech.ydb.proto.table.YdbTable.ReadRowsResponse result = new tech.ydb.proto.table.YdbTable.ReadRowsResponse(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(tech.ydb.proto.table.YdbTable.ReadRowsResponse result) { if (issuesBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { issues_ = java.util.Collections.unmodifiableList(issues_); bitField0_ = (bitField0_ & ~0x00000002); } result.issues_ = issues_; } else { result.issues_ = issuesBuilder_.build(); } } private void buildPartial0(tech.ydb.proto.table.YdbTable.ReadRowsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.status_ = status_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { result.resultSet_ = resultSetBuilder_ == null ? resultSet_ : resultSetBuilder_.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.table.YdbTable.ReadRowsResponse) { return mergeFrom((tech.ydb.proto.table.YdbTable.ReadRowsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.ReadRowsResponse other) { if (other == tech.ydb.proto.table.YdbTable.ReadRowsResponse.getDefaultInstance()) return this; if (other.status_ != 0) { setStatusValue(other.getStatusValue()); } if (issuesBuilder_ == null) { if (!other.issues_.isEmpty()) { if (issues_.isEmpty()) { issues_ = other.issues_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureIssuesIsMutable(); issues_.addAll(other.issues_); } onChanged(); } } else { if (!other.issues_.isEmpty()) { if (issuesBuilder_.isEmpty()) { issuesBuilder_.dispose(); issuesBuilder_ = null; issues_ = other.issues_; bitField0_ = (bitField0_ & ~0x00000002); issuesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getIssuesFieldBuilder() : null; } else { issuesBuilder_.addAllMessages(other.issues_); } } } if (other.hasResultSet()) { mergeResultSet(other.getResultSet()); } 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 8: { status_ = input.readEnum(); bitField0_ |= 0x00000001; break; } // case 8 case 18: { tech.ydb.proto.YdbIssueMessage.IssueMessage m = input.readMessage( tech.ydb.proto.YdbIssueMessage.IssueMessage.parser(), extensionRegistry); if (issuesBuilder_ == null) { ensureIssuesIsMutable(); issues_.add(m); } else { issuesBuilder_.addMessage(m); } break; } // case 18 case 26: { input.readMessage( getResultSetFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 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 int status_ = 0; /** *
       * Status of request (same as other statuses)
       * 
* * .Ydb.StatusIds.StatusCode status = 1; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** *
       * Status of request (same as other statuses)
       * 
* * .Ydb.StatusIds.StatusCode status = 1; * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { status_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Status of request (same as other statuses)
       * 
* * .Ydb.StatusIds.StatusCode status = 1; * @return The status. */ @java.lang.Override public tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode getStatus() { tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode result = tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode.forNumber(status_); return result == null ? tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode.UNRECOGNIZED : result; } /** *
       * Status of request (same as other statuses)
       * 
* * .Ydb.StatusIds.StatusCode status = 1; * @param value The status to set. * @return This builder for chaining. */ public Builder setStatus(tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; status_ = value.getNumber(); onChanged(); return this; } /** *
       * Status of request (same as other statuses)
       * 
* * .Ydb.StatusIds.StatusCode status = 1; * @return This builder for chaining. */ public Builder clearStatus() { bitField0_ = (bitField0_ & ~0x00000001); status_ = 0; onChanged(); return this; } private java.util.List issues_ = java.util.Collections.emptyList(); private void ensureIssuesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { issues_ = new java.util.ArrayList(issues_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.YdbIssueMessage.IssueMessage, tech.ydb.proto.YdbIssueMessage.IssueMessage.Builder, tech.ydb.proto.YdbIssueMessage.IssueMessageOrBuilder> issuesBuilder_; /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public java.util.List getIssuesList() { if (issuesBuilder_ == null) { return java.util.Collections.unmodifiableList(issues_); } else { return issuesBuilder_.getMessageList(); } } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public int getIssuesCount() { if (issuesBuilder_ == null) { return issues_.size(); } else { return issuesBuilder_.getCount(); } } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public tech.ydb.proto.YdbIssueMessage.IssueMessage getIssues(int index) { if (issuesBuilder_ == null) { return issues_.get(index); } else { return issuesBuilder_.getMessage(index); } } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder setIssues( int index, tech.ydb.proto.YdbIssueMessage.IssueMessage value) { if (issuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureIssuesIsMutable(); issues_.set(index, value); onChanged(); } else { issuesBuilder_.setMessage(index, value); } return this; } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder setIssues( int index, tech.ydb.proto.YdbIssueMessage.IssueMessage.Builder builderForValue) { if (issuesBuilder_ == null) { ensureIssuesIsMutable(); issues_.set(index, builderForValue.build()); onChanged(); } else { issuesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder addIssues(tech.ydb.proto.YdbIssueMessage.IssueMessage value) { if (issuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureIssuesIsMutable(); issues_.add(value); onChanged(); } else { issuesBuilder_.addMessage(value); } return this; } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder addIssues( int index, tech.ydb.proto.YdbIssueMessage.IssueMessage value) { if (issuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureIssuesIsMutable(); issues_.add(index, value); onChanged(); } else { issuesBuilder_.addMessage(index, value); } return this; } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder addIssues( tech.ydb.proto.YdbIssueMessage.IssueMessage.Builder builderForValue) { if (issuesBuilder_ == null) { ensureIssuesIsMutable(); issues_.add(builderForValue.build()); onChanged(); } else { issuesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder addIssues( int index, tech.ydb.proto.YdbIssueMessage.IssueMessage.Builder builderForValue) { if (issuesBuilder_ == null) { ensureIssuesIsMutable(); issues_.add(index, builderForValue.build()); onChanged(); } else { issuesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder addAllIssues( java.lang.Iterable values) { if (issuesBuilder_ == null) { ensureIssuesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, issues_); onChanged(); } else { issuesBuilder_.addAllMessages(values); } return this; } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder clearIssues() { if (issuesBuilder_ == null) { issues_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { issuesBuilder_.clear(); } return this; } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder removeIssues(int index) { if (issuesBuilder_ == null) { ensureIssuesIsMutable(); issues_.remove(index); onChanged(); } else { issuesBuilder_.remove(index); } return this; } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public tech.ydb.proto.YdbIssueMessage.IssueMessage.Builder getIssuesBuilder( int index) { return getIssuesFieldBuilder().getBuilder(index); } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public tech.ydb.proto.YdbIssueMessage.IssueMessageOrBuilder getIssuesOrBuilder( int index) { if (issuesBuilder_ == null) { return issues_.get(index); } else { return issuesBuilder_.getMessageOrBuilder(index); } } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public java.util.List getIssuesOrBuilderList() { if (issuesBuilder_ != null) { return issuesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(issues_); } } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public tech.ydb.proto.YdbIssueMessage.IssueMessage.Builder addIssuesBuilder() { return getIssuesFieldBuilder().addBuilder( tech.ydb.proto.YdbIssueMessage.IssueMessage.getDefaultInstance()); } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public tech.ydb.proto.YdbIssueMessage.IssueMessage.Builder addIssuesBuilder( int index) { return getIssuesFieldBuilder().addBuilder( index, tech.ydb.proto.YdbIssueMessage.IssueMessage.getDefaultInstance()); } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public java.util.List getIssuesBuilderList() { return getIssuesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.YdbIssueMessage.IssueMessage, tech.ydb.proto.YdbIssueMessage.IssueMessage.Builder, tech.ydb.proto.YdbIssueMessage.IssueMessageOrBuilder> getIssuesFieldBuilder() { if (issuesBuilder_ == null) { issuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.YdbIssueMessage.IssueMessage, tech.ydb.proto.YdbIssueMessage.IssueMessage.Builder, tech.ydb.proto.YdbIssueMessage.IssueMessageOrBuilder>( issues_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); issues_ = null; } return issuesBuilder_; } private tech.ydb.proto.ValueProtos.ResultSet resultSet_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.ValueProtos.ResultSet, tech.ydb.proto.ValueProtos.ResultSet.Builder, tech.ydb.proto.ValueProtos.ResultSetOrBuilder> resultSetBuilder_; /** *
       * Result set (same as result of sql request)
       * 
* * .Ydb.ResultSet result_set = 3; * @return Whether the resultSet field is set. */ public boolean hasResultSet() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Result set (same as result of sql request)
       * 
* * .Ydb.ResultSet result_set = 3; * @return The resultSet. */ public tech.ydb.proto.ValueProtos.ResultSet getResultSet() { if (resultSetBuilder_ == null) { return resultSet_ == null ? tech.ydb.proto.ValueProtos.ResultSet.getDefaultInstance() : resultSet_; } else { return resultSetBuilder_.getMessage(); } } /** *
       * Result set (same as result of sql request)
       * 
* * .Ydb.ResultSet result_set = 3; */ public Builder setResultSet(tech.ydb.proto.ValueProtos.ResultSet value) { if (resultSetBuilder_ == null) { if (value == null) { throw new NullPointerException(); } resultSet_ = value; } else { resultSetBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * Result set (same as result of sql request)
       * 
* * .Ydb.ResultSet result_set = 3; */ public Builder setResultSet( tech.ydb.proto.ValueProtos.ResultSet.Builder builderForValue) { if (resultSetBuilder_ == null) { resultSet_ = builderForValue.build(); } else { resultSetBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * Result set (same as result of sql request)
       * 
* * .Ydb.ResultSet result_set = 3; */ public Builder mergeResultSet(tech.ydb.proto.ValueProtos.ResultSet value) { if (resultSetBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && resultSet_ != null && resultSet_ != tech.ydb.proto.ValueProtos.ResultSet.getDefaultInstance()) { getResultSetBuilder().mergeFrom(value); } else { resultSet_ = value; } } else { resultSetBuilder_.mergeFrom(value); } if (resultSet_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** *
       * Result set (same as result of sql request)
       * 
* * .Ydb.ResultSet result_set = 3; */ public Builder clearResultSet() { bitField0_ = (bitField0_ & ~0x00000004); resultSet_ = null; if (resultSetBuilder_ != null) { resultSetBuilder_.dispose(); resultSetBuilder_ = null; } onChanged(); return this; } /** *
       * Result set (same as result of sql request)
       * 
* * .Ydb.ResultSet result_set = 3; */ public tech.ydb.proto.ValueProtos.ResultSet.Builder getResultSetBuilder() { bitField0_ |= 0x00000004; onChanged(); return getResultSetFieldBuilder().getBuilder(); } /** *
       * Result set (same as result of sql request)
       * 
* * .Ydb.ResultSet result_set = 3; */ public tech.ydb.proto.ValueProtos.ResultSetOrBuilder getResultSetOrBuilder() { if (resultSetBuilder_ != null) { return resultSetBuilder_.getMessageOrBuilder(); } else { return resultSet_ == null ? tech.ydb.proto.ValueProtos.ResultSet.getDefaultInstance() : resultSet_; } } /** *
       * Result set (same as result of sql request)
       * 
* * .Ydb.ResultSet result_set = 3; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.ValueProtos.ResultSet, tech.ydb.proto.ValueProtos.ResultSet.Builder, tech.ydb.proto.ValueProtos.ResultSetOrBuilder> getResultSetFieldBuilder() { if (resultSetBuilder_ == null) { resultSetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.ValueProtos.ResultSet, tech.ydb.proto.ValueProtos.ResultSet.Builder, tech.ydb.proto.ValueProtos.ResultSetOrBuilder>( getResultSet(), getParentForChildren(), isClean()); resultSet_ = null; } return resultSetBuilder_; } @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.Table.ReadRowsResponse) } // @@protoc_insertion_point(class_scope:Ydb.Table.ReadRowsResponse) private static final tech.ydb.proto.table.YdbTable.ReadRowsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.ReadRowsResponse(); } public static tech.ydb.proto.table.YdbTable.ReadRowsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ReadRowsResponse 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.table.YdbTable.ReadRowsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BulkUpsertRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.BulkUpsertRequest) com.google.protobuf.MessageOrBuilder { /** * string table = 1; * @return The table. */ java.lang.String getTable(); /** * string table = 1; * @return The bytes for table. */ com.google.protobuf.ByteString getTableBytes(); /** *
     * "rows" parameter must be a list of structs where each stuct represents one row.
     * It must contain all key columns but not necessarily all non-key columns.
     * Similar to UPSERT statement only values of specified columns will be updated.
     * 
* * .Ydb.TypedValue rows = 2; * @return Whether the rows field is set. */ boolean hasRows(); /** *
     * "rows" parameter must be a list of structs where each stuct represents one row.
     * It must contain all key columns but not necessarily all non-key columns.
     * Similar to UPSERT statement only values of specified columns will be updated.
     * 
* * .Ydb.TypedValue rows = 2; * @return The rows. */ tech.ydb.proto.ValueProtos.TypedValue getRows(); /** *
     * "rows" parameter must be a list of structs where each stuct represents one row.
     * It must contain all key columns but not necessarily all non-key columns.
     * Similar to UPSERT statement only values of specified columns will be updated.
     * 
* * .Ydb.TypedValue rows = 2; */ tech.ydb.proto.ValueProtos.TypedValueOrBuilder getRowsOrBuilder(); /** * .Ydb.Operations.OperationParams operation_params = 3; * @return Whether the operationParams field is set. */ boolean hasOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 3; * @return The operationParams. */ tech.ydb.proto.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 3; */ tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder(); /** * .Ydb.Formats.ArrowBatchSettings arrow_batch_settings = 7; * @return Whether the arrowBatchSettings field is set. */ boolean hasArrowBatchSettings(); /** * .Ydb.Formats.ArrowBatchSettings arrow_batch_settings = 7; * @return The arrowBatchSettings. */ tech.ydb.proto.formats.YdbFormats.ArrowBatchSettings getArrowBatchSettings(); /** * .Ydb.Formats.ArrowBatchSettings arrow_batch_settings = 7; */ tech.ydb.proto.formats.YdbFormats.ArrowBatchSettingsOrBuilder getArrowBatchSettingsOrBuilder(); /** * .Ydb.Formats.CsvSettings csv_settings = 8; * @return Whether the csvSettings field is set. */ boolean hasCsvSettings(); /** * .Ydb.Formats.CsvSettings csv_settings = 8; * @return The csvSettings. */ tech.ydb.proto.formats.YdbFormats.CsvSettings getCsvSettings(); /** * .Ydb.Formats.CsvSettings csv_settings = 8; */ tech.ydb.proto.formats.YdbFormats.CsvSettingsOrBuilder getCsvSettingsOrBuilder(); /** *
     * It's last in the definition to help with sidecar patterns
     * 
* * bytes data = 1000; * @return The data. */ com.google.protobuf.ByteString getData(); tech.ydb.proto.table.YdbTable.BulkUpsertRequest.DataFormatCase getDataFormatCase(); } /** * Protobuf type {@code Ydb.Table.BulkUpsertRequest} */ public static final class BulkUpsertRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.BulkUpsertRequest) BulkUpsertRequestOrBuilder { private static final long serialVersionUID = 0L; // Use BulkUpsertRequest.newBuilder() to construct. private BulkUpsertRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BulkUpsertRequest() { table_ = ""; data_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BulkUpsertRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_BulkUpsertRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_BulkUpsertRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.BulkUpsertRequest.class, tech.ydb.proto.table.YdbTable.BulkUpsertRequest.Builder.class); } private int bitField0_; private int dataFormatCase_ = 0; @SuppressWarnings("serial") private java.lang.Object dataFormat_; public enum DataFormatCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ARROW_BATCH_SETTINGS(7), CSV_SETTINGS(8), DATAFORMAT_NOT_SET(0); private final int value; private DataFormatCase(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 DataFormatCase valueOf(int value) { return forNumber(value); } public static DataFormatCase forNumber(int value) { switch (value) { case 7: return ARROW_BATCH_SETTINGS; case 8: return CSV_SETTINGS; case 0: return DATAFORMAT_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public DataFormatCase getDataFormatCase() { return DataFormatCase.forNumber( dataFormatCase_); } public static final int TABLE_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object table_ = ""; /** * string table = 1; * @return The table. */ @java.lang.Override public java.lang.String getTable() { java.lang.Object ref = table_; 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(); table_ = s; return s; } } /** * string table = 1; * @return The bytes for table. */ @java.lang.Override public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); table_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ROWS_FIELD_NUMBER = 2; private tech.ydb.proto.ValueProtos.TypedValue rows_; /** *
     * "rows" parameter must be a list of structs where each stuct represents one row.
     * It must contain all key columns but not necessarily all non-key columns.
     * Similar to UPSERT statement only values of specified columns will be updated.
     * 
* * .Ydb.TypedValue rows = 2; * @return Whether the rows field is set. */ @java.lang.Override public boolean hasRows() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * "rows" parameter must be a list of structs where each stuct represents one row.
     * It must contain all key columns but not necessarily all non-key columns.
     * Similar to UPSERT statement only values of specified columns will be updated.
     * 
* * .Ydb.TypedValue rows = 2; * @return The rows. */ @java.lang.Override public tech.ydb.proto.ValueProtos.TypedValue getRows() { return rows_ == null ? tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance() : rows_; } /** *
     * "rows" parameter must be a list of structs where each stuct represents one row.
     * It must contain all key columns but not necessarily all non-key columns.
     * Similar to UPSERT statement only values of specified columns will be updated.
     * 
* * .Ydb.TypedValue rows = 2; */ @java.lang.Override public tech.ydb.proto.ValueProtos.TypedValueOrBuilder getRowsOrBuilder() { return rows_ == null ? tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance() : rows_; } public static final int OPERATION_PARAMS_FIELD_NUMBER = 3; private tech.ydb.proto.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 3; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return ((bitField0_ & 0x00000002) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 3; * @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 = 3; */ @java.lang.Override public tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } public static final int ARROW_BATCH_SETTINGS_FIELD_NUMBER = 7; /** * .Ydb.Formats.ArrowBatchSettings arrow_batch_settings = 7; * @return Whether the arrowBatchSettings field is set. */ @java.lang.Override public boolean hasArrowBatchSettings() { return dataFormatCase_ == 7; } /** * .Ydb.Formats.ArrowBatchSettings arrow_batch_settings = 7; * @return The arrowBatchSettings. */ @java.lang.Override public tech.ydb.proto.formats.YdbFormats.ArrowBatchSettings getArrowBatchSettings() { if (dataFormatCase_ == 7) { return (tech.ydb.proto.formats.YdbFormats.ArrowBatchSettings) dataFormat_; } return tech.ydb.proto.formats.YdbFormats.ArrowBatchSettings.getDefaultInstance(); } /** * .Ydb.Formats.ArrowBatchSettings arrow_batch_settings = 7; */ @java.lang.Override public tech.ydb.proto.formats.YdbFormats.ArrowBatchSettingsOrBuilder getArrowBatchSettingsOrBuilder() { if (dataFormatCase_ == 7) { return (tech.ydb.proto.formats.YdbFormats.ArrowBatchSettings) dataFormat_; } return tech.ydb.proto.formats.YdbFormats.ArrowBatchSettings.getDefaultInstance(); } public static final int CSV_SETTINGS_FIELD_NUMBER = 8; /** * .Ydb.Formats.CsvSettings csv_settings = 8; * @return Whether the csvSettings field is set. */ @java.lang.Override public boolean hasCsvSettings() { return dataFormatCase_ == 8; } /** * .Ydb.Formats.CsvSettings csv_settings = 8; * @return The csvSettings. */ @java.lang.Override public tech.ydb.proto.formats.YdbFormats.CsvSettings getCsvSettings() { if (dataFormatCase_ == 8) { return (tech.ydb.proto.formats.YdbFormats.CsvSettings) dataFormat_; } return tech.ydb.proto.formats.YdbFormats.CsvSettings.getDefaultInstance(); } /** * .Ydb.Formats.CsvSettings csv_settings = 8; */ @java.lang.Override public tech.ydb.proto.formats.YdbFormats.CsvSettingsOrBuilder getCsvSettingsOrBuilder() { if (dataFormatCase_ == 8) { return (tech.ydb.proto.formats.YdbFormats.CsvSettings) dataFormat_; } return tech.ydb.proto.formats.YdbFormats.CsvSettings.getDefaultInstance(); } public static final int DATA_FIELD_NUMBER = 1000; private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** *
     * It's last in the definition to help with sidecar patterns
     * 
* * bytes data = 1000; * @return The data. */ @java.lang.Override public com.google.protobuf.ByteString getData() { return data_; } 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(table_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, table_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getRows()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getOperationParams()); } if (dataFormatCase_ == 7) { output.writeMessage(7, (tech.ydb.proto.formats.YdbFormats.ArrowBatchSettings) dataFormat_); } if (dataFormatCase_ == 8) { output.writeMessage(8, (tech.ydb.proto.formats.YdbFormats.CsvSettings) dataFormat_); } if (!data_.isEmpty()) { output.writeBytes(1000, data_); } 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(table_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, table_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getRows()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getOperationParams()); } if (dataFormatCase_ == 7) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, (tech.ydb.proto.formats.YdbFormats.ArrowBatchSettings) dataFormat_); } if (dataFormatCase_ == 8) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, (tech.ydb.proto.formats.YdbFormats.CsvSettings) dataFormat_); } if (!data_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1000, data_); } 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.table.YdbTable.BulkUpsertRequest)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.BulkUpsertRequest other = (tech.ydb.proto.table.YdbTable.BulkUpsertRequest) obj; if (!getTable() .equals(other.getTable())) return false; if (hasRows() != other.hasRows()) return false; if (hasRows()) { if (!getRows() .equals(other.getRows())) return false; } if (hasOperationParams() != other.hasOperationParams()) return false; if (hasOperationParams()) { if (!getOperationParams() .equals(other.getOperationParams())) return false; } if (!getData() .equals(other.getData())) return false; if (!getDataFormatCase().equals(other.getDataFormatCase())) return false; switch (dataFormatCase_) { case 7: if (!getArrowBatchSettings() .equals(other.getArrowBatchSettings())) return false; break; case 8: if (!getCsvSettings() .equals(other.getCsvSettings())) 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(); hash = (37 * hash) + TABLE_FIELD_NUMBER; hash = (53 * hash) + getTable().hashCode(); if (hasRows()) { hash = (37 * hash) + ROWS_FIELD_NUMBER; hash = (53 * hash) + getRows().hashCode(); } if (hasOperationParams()) { hash = (37 * hash) + OPERATION_PARAMS_FIELD_NUMBER; hash = (53 * hash) + getOperationParams().hashCode(); } hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); switch (dataFormatCase_) { case 7: hash = (37 * hash) + ARROW_BATCH_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getArrowBatchSettings().hashCode(); break; case 8: hash = (37 * hash) + CSV_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getCsvSettings().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.BulkUpsertRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.BulkUpsertRequest 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.table.YdbTable.BulkUpsertRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.BulkUpsertRequest 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.table.YdbTable.BulkUpsertRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.BulkUpsertRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.BulkUpsertRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.BulkUpsertRequest 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.table.YdbTable.BulkUpsertRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.BulkUpsertRequest 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.table.YdbTable.BulkUpsertRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.BulkUpsertRequest 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.table.YdbTable.BulkUpsertRequest 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.Table.BulkUpsertRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.BulkUpsertRequest) tech.ydb.proto.table.YdbTable.BulkUpsertRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_BulkUpsertRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_BulkUpsertRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.BulkUpsertRequest.class, tech.ydb.proto.table.YdbTable.BulkUpsertRequest.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.BulkUpsertRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getRowsFieldBuilder(); getOperationParamsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; table_ = ""; rows_ = null; if (rowsBuilder_ != null) { rowsBuilder_.dispose(); rowsBuilder_ = null; } operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } if (arrowBatchSettingsBuilder_ != null) { arrowBatchSettingsBuilder_.clear(); } if (csvSettingsBuilder_ != null) { csvSettingsBuilder_.clear(); } data_ = com.google.protobuf.ByteString.EMPTY; dataFormatCase_ = 0; dataFormat_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_BulkUpsertRequest_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.BulkUpsertRequest getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.BulkUpsertRequest.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.BulkUpsertRequest build() { tech.ydb.proto.table.YdbTable.BulkUpsertRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.BulkUpsertRequest buildPartial() { tech.ydb.proto.table.YdbTable.BulkUpsertRequest result = new tech.ydb.proto.table.YdbTable.BulkUpsertRequest(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.BulkUpsertRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.table_ = table_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.rows_ = rowsBuilder_ == null ? rows_ : rowsBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.operationParams_ = operationParamsBuilder_ == null ? operationParams_ : operationParamsBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000020) != 0)) { result.data_ = data_; } result.bitField0_ |= to_bitField0_; } private void buildPartialOneofs(tech.ydb.proto.table.YdbTable.BulkUpsertRequest result) { result.dataFormatCase_ = dataFormatCase_; result.dataFormat_ = this.dataFormat_; if (dataFormatCase_ == 7 && arrowBatchSettingsBuilder_ != null) { result.dataFormat_ = arrowBatchSettingsBuilder_.build(); } if (dataFormatCase_ == 8 && csvSettingsBuilder_ != null) { result.dataFormat_ = csvSettingsBuilder_.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.table.YdbTable.BulkUpsertRequest) { return mergeFrom((tech.ydb.proto.table.YdbTable.BulkUpsertRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.BulkUpsertRequest other) { if (other == tech.ydb.proto.table.YdbTable.BulkUpsertRequest.getDefaultInstance()) return this; if (!other.getTable().isEmpty()) { table_ = other.table_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasRows()) { mergeRows(other.getRows()); } if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } if (other.getData() != com.google.protobuf.ByteString.EMPTY) { setData(other.getData()); } switch (other.getDataFormatCase()) { case ARROW_BATCH_SETTINGS: { mergeArrowBatchSettings(other.getArrowBatchSettings()); break; } case CSV_SETTINGS: { mergeCsvSettings(other.getCsvSettings()); break; } case DATAFORMAT_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: { table_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getRowsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage( getOperationParamsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 58: { input.readMessage( getArrowBatchSettingsFieldBuilder().getBuilder(), extensionRegistry); dataFormatCase_ = 7; break; } // case 58 case 66: { input.readMessage( getCsvSettingsFieldBuilder().getBuilder(), extensionRegistry); dataFormatCase_ = 8; break; } // case 66 case 8002: { data_ = input.readBytes(); bitField0_ |= 0x00000020; break; } // case 8002 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 dataFormatCase_ = 0; private java.lang.Object dataFormat_; public DataFormatCase getDataFormatCase() { return DataFormatCase.forNumber( dataFormatCase_); } public Builder clearDataFormat() { dataFormatCase_ = 0; dataFormat_ = null; onChanged(); return this; } private int bitField0_; private java.lang.Object table_ = ""; /** * string table = 1; * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } else { return (java.lang.String) ref; } } /** * string table = 1; * @return The bytes for table. */ public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); table_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string table = 1; * @param value The table to set. * @return This builder for chaining. */ public Builder setTable( java.lang.String value) { if (value == null) { throw new NullPointerException(); } table_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * string table = 1; * @return This builder for chaining. */ public Builder clearTable() { table_ = getDefaultInstance().getTable(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * string table = 1; * @param value The bytes for table to set. * @return This builder for chaining. */ public Builder setTableBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private tech.ydb.proto.ValueProtos.TypedValue rows_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.ValueProtos.TypedValue, tech.ydb.proto.ValueProtos.TypedValue.Builder, tech.ydb.proto.ValueProtos.TypedValueOrBuilder> rowsBuilder_; /** *
       * "rows" parameter must be a list of structs where each stuct represents one row.
       * It must contain all key columns but not necessarily all non-key columns.
       * Similar to UPSERT statement only values of specified columns will be updated.
       * 
* * .Ydb.TypedValue rows = 2; * @return Whether the rows field is set. */ public boolean hasRows() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * "rows" parameter must be a list of structs where each stuct represents one row.
       * It must contain all key columns but not necessarily all non-key columns.
       * Similar to UPSERT statement only values of specified columns will be updated.
       * 
* * .Ydb.TypedValue rows = 2; * @return The rows. */ public tech.ydb.proto.ValueProtos.TypedValue getRows() { if (rowsBuilder_ == null) { return rows_ == null ? tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance() : rows_; } else { return rowsBuilder_.getMessage(); } } /** *
       * "rows" parameter must be a list of structs where each stuct represents one row.
       * It must contain all key columns but not necessarily all non-key columns.
       * Similar to UPSERT statement only values of specified columns will be updated.
       * 
* * .Ydb.TypedValue rows = 2; */ public Builder setRows(tech.ydb.proto.ValueProtos.TypedValue value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } rows_ = value; } else { rowsBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * "rows" parameter must be a list of structs where each stuct represents one row.
       * It must contain all key columns but not necessarily all non-key columns.
       * Similar to UPSERT statement only values of specified columns will be updated.
       * 
* * .Ydb.TypedValue rows = 2; */ public Builder setRows( tech.ydb.proto.ValueProtos.TypedValue.Builder builderForValue) { if (rowsBuilder_ == null) { rows_ = builderForValue.build(); } else { rowsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * "rows" parameter must be a list of structs where each stuct represents one row.
       * It must contain all key columns but not necessarily all non-key columns.
       * Similar to UPSERT statement only values of specified columns will be updated.
       * 
* * .Ydb.TypedValue rows = 2; */ public Builder mergeRows(tech.ydb.proto.ValueProtos.TypedValue value) { if (rowsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && rows_ != null && rows_ != tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance()) { getRowsBuilder().mergeFrom(value); } else { rows_ = value; } } else { rowsBuilder_.mergeFrom(value); } if (rows_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** *
       * "rows" parameter must be a list of structs where each stuct represents one row.
       * It must contain all key columns but not necessarily all non-key columns.
       * Similar to UPSERT statement only values of specified columns will be updated.
       * 
* * .Ydb.TypedValue rows = 2; */ public Builder clearRows() { bitField0_ = (bitField0_ & ~0x00000002); rows_ = null; if (rowsBuilder_ != null) { rowsBuilder_.dispose(); rowsBuilder_ = null; } onChanged(); return this; } /** *
       * "rows" parameter must be a list of structs where each stuct represents one row.
       * It must contain all key columns but not necessarily all non-key columns.
       * Similar to UPSERT statement only values of specified columns will be updated.
       * 
* * .Ydb.TypedValue rows = 2; */ public tech.ydb.proto.ValueProtos.TypedValue.Builder getRowsBuilder() { bitField0_ |= 0x00000002; onChanged(); return getRowsFieldBuilder().getBuilder(); } /** *
       * "rows" parameter must be a list of structs where each stuct represents one row.
       * It must contain all key columns but not necessarily all non-key columns.
       * Similar to UPSERT statement only values of specified columns will be updated.
       * 
* * .Ydb.TypedValue rows = 2; */ public tech.ydb.proto.ValueProtos.TypedValueOrBuilder getRowsOrBuilder() { if (rowsBuilder_ != null) { return rowsBuilder_.getMessageOrBuilder(); } else { return rows_ == null ? tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance() : rows_; } } /** *
       * "rows" parameter must be a list of structs where each stuct represents one row.
       * It must contain all key columns but not necessarily all non-key columns.
       * Similar to UPSERT statement only values of specified columns will be updated.
       * 
* * .Ydb.TypedValue rows = 2; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.ValueProtos.TypedValue, tech.ydb.proto.ValueProtos.TypedValue.Builder, tech.ydb.proto.ValueProtos.TypedValueOrBuilder> getRowsFieldBuilder() { if (rowsBuilder_ == null) { rowsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.ValueProtos.TypedValue, tech.ydb.proto.ValueProtos.TypedValue.Builder, tech.ydb.proto.ValueProtos.TypedValueOrBuilder>( getRows(), getParentForChildren(), isClean()); rows_ = null; } return rowsBuilder_; } 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 = 3; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return ((bitField0_ & 0x00000004) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 3; * @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 = 3; */ 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_ |= 0x00000004; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder setOperationParams( tech.ydb.proto.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder mergeOperationParams(tech.ydb.proto.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && operationParams_ != null && operationParams_ != tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance()) { getOperationParamsBuilder().mergeFrom(value); } else { operationParams_ = value; } } else { operationParamsBuilder_.mergeFrom(value); } if (operationParams_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder clearOperationParams() { bitField0_ = (bitField0_ & ~0x00000004); operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public tech.ydb.proto.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { bitField0_ |= 0x00000004; onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 3; */ 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 = 3; */ 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 com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.formats.YdbFormats.ArrowBatchSettings, tech.ydb.proto.formats.YdbFormats.ArrowBatchSettings.Builder, tech.ydb.proto.formats.YdbFormats.ArrowBatchSettingsOrBuilder> arrowBatchSettingsBuilder_; /** * .Ydb.Formats.ArrowBatchSettings arrow_batch_settings = 7; * @return Whether the arrowBatchSettings field is set. */ @java.lang.Override public boolean hasArrowBatchSettings() { return dataFormatCase_ == 7; } /** * .Ydb.Formats.ArrowBatchSettings arrow_batch_settings = 7; * @return The arrowBatchSettings. */ @java.lang.Override public tech.ydb.proto.formats.YdbFormats.ArrowBatchSettings getArrowBatchSettings() { if (arrowBatchSettingsBuilder_ == null) { if (dataFormatCase_ == 7) { return (tech.ydb.proto.formats.YdbFormats.ArrowBatchSettings) dataFormat_; } return tech.ydb.proto.formats.YdbFormats.ArrowBatchSettings.getDefaultInstance(); } else { if (dataFormatCase_ == 7) { return arrowBatchSettingsBuilder_.getMessage(); } return tech.ydb.proto.formats.YdbFormats.ArrowBatchSettings.getDefaultInstance(); } } /** * .Ydb.Formats.ArrowBatchSettings arrow_batch_settings = 7; */ public Builder setArrowBatchSettings(tech.ydb.proto.formats.YdbFormats.ArrowBatchSettings value) { if (arrowBatchSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } dataFormat_ = value; onChanged(); } else { arrowBatchSettingsBuilder_.setMessage(value); } dataFormatCase_ = 7; return this; } /** * .Ydb.Formats.ArrowBatchSettings arrow_batch_settings = 7; */ public Builder setArrowBatchSettings( tech.ydb.proto.formats.YdbFormats.ArrowBatchSettings.Builder builderForValue) { if (arrowBatchSettingsBuilder_ == null) { dataFormat_ = builderForValue.build(); onChanged(); } else { arrowBatchSettingsBuilder_.setMessage(builderForValue.build()); } dataFormatCase_ = 7; return this; } /** * .Ydb.Formats.ArrowBatchSettings arrow_batch_settings = 7; */ public Builder mergeArrowBatchSettings(tech.ydb.proto.formats.YdbFormats.ArrowBatchSettings value) { if (arrowBatchSettingsBuilder_ == null) { if (dataFormatCase_ == 7 && dataFormat_ != tech.ydb.proto.formats.YdbFormats.ArrowBatchSettings.getDefaultInstance()) { dataFormat_ = tech.ydb.proto.formats.YdbFormats.ArrowBatchSettings.newBuilder((tech.ydb.proto.formats.YdbFormats.ArrowBatchSettings) dataFormat_) .mergeFrom(value).buildPartial(); } else { dataFormat_ = value; } onChanged(); } else { if (dataFormatCase_ == 7) { arrowBatchSettingsBuilder_.mergeFrom(value); } else { arrowBatchSettingsBuilder_.setMessage(value); } } dataFormatCase_ = 7; return this; } /** * .Ydb.Formats.ArrowBatchSettings arrow_batch_settings = 7; */ public Builder clearArrowBatchSettings() { if (arrowBatchSettingsBuilder_ == null) { if (dataFormatCase_ == 7) { dataFormatCase_ = 0; dataFormat_ = null; onChanged(); } } else { if (dataFormatCase_ == 7) { dataFormatCase_ = 0; dataFormat_ = null; } arrowBatchSettingsBuilder_.clear(); } return this; } /** * .Ydb.Formats.ArrowBatchSettings arrow_batch_settings = 7; */ public tech.ydb.proto.formats.YdbFormats.ArrowBatchSettings.Builder getArrowBatchSettingsBuilder() { return getArrowBatchSettingsFieldBuilder().getBuilder(); } /** * .Ydb.Formats.ArrowBatchSettings arrow_batch_settings = 7; */ @java.lang.Override public tech.ydb.proto.formats.YdbFormats.ArrowBatchSettingsOrBuilder getArrowBatchSettingsOrBuilder() { if ((dataFormatCase_ == 7) && (arrowBatchSettingsBuilder_ != null)) { return arrowBatchSettingsBuilder_.getMessageOrBuilder(); } else { if (dataFormatCase_ == 7) { return (tech.ydb.proto.formats.YdbFormats.ArrowBatchSettings) dataFormat_; } return tech.ydb.proto.formats.YdbFormats.ArrowBatchSettings.getDefaultInstance(); } } /** * .Ydb.Formats.ArrowBatchSettings arrow_batch_settings = 7; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.formats.YdbFormats.ArrowBatchSettings, tech.ydb.proto.formats.YdbFormats.ArrowBatchSettings.Builder, tech.ydb.proto.formats.YdbFormats.ArrowBatchSettingsOrBuilder> getArrowBatchSettingsFieldBuilder() { if (arrowBatchSettingsBuilder_ == null) { if (!(dataFormatCase_ == 7)) { dataFormat_ = tech.ydb.proto.formats.YdbFormats.ArrowBatchSettings.getDefaultInstance(); } arrowBatchSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.formats.YdbFormats.ArrowBatchSettings, tech.ydb.proto.formats.YdbFormats.ArrowBatchSettings.Builder, tech.ydb.proto.formats.YdbFormats.ArrowBatchSettingsOrBuilder>( (tech.ydb.proto.formats.YdbFormats.ArrowBatchSettings) dataFormat_, getParentForChildren(), isClean()); dataFormat_ = null; } dataFormatCase_ = 7; onChanged(); return arrowBatchSettingsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.formats.YdbFormats.CsvSettings, tech.ydb.proto.formats.YdbFormats.CsvSettings.Builder, tech.ydb.proto.formats.YdbFormats.CsvSettingsOrBuilder> csvSettingsBuilder_; /** * .Ydb.Formats.CsvSettings csv_settings = 8; * @return Whether the csvSettings field is set. */ @java.lang.Override public boolean hasCsvSettings() { return dataFormatCase_ == 8; } /** * .Ydb.Formats.CsvSettings csv_settings = 8; * @return The csvSettings. */ @java.lang.Override public tech.ydb.proto.formats.YdbFormats.CsvSettings getCsvSettings() { if (csvSettingsBuilder_ == null) { if (dataFormatCase_ == 8) { return (tech.ydb.proto.formats.YdbFormats.CsvSettings) dataFormat_; } return tech.ydb.proto.formats.YdbFormats.CsvSettings.getDefaultInstance(); } else { if (dataFormatCase_ == 8) { return csvSettingsBuilder_.getMessage(); } return tech.ydb.proto.formats.YdbFormats.CsvSettings.getDefaultInstance(); } } /** * .Ydb.Formats.CsvSettings csv_settings = 8; */ public Builder setCsvSettings(tech.ydb.proto.formats.YdbFormats.CsvSettings value) { if (csvSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } dataFormat_ = value; onChanged(); } else { csvSettingsBuilder_.setMessage(value); } dataFormatCase_ = 8; return this; } /** * .Ydb.Formats.CsvSettings csv_settings = 8; */ public Builder setCsvSettings( tech.ydb.proto.formats.YdbFormats.CsvSettings.Builder builderForValue) { if (csvSettingsBuilder_ == null) { dataFormat_ = builderForValue.build(); onChanged(); } else { csvSettingsBuilder_.setMessage(builderForValue.build()); } dataFormatCase_ = 8; return this; } /** * .Ydb.Formats.CsvSettings csv_settings = 8; */ public Builder mergeCsvSettings(tech.ydb.proto.formats.YdbFormats.CsvSettings value) { if (csvSettingsBuilder_ == null) { if (dataFormatCase_ == 8 && dataFormat_ != tech.ydb.proto.formats.YdbFormats.CsvSettings.getDefaultInstance()) { dataFormat_ = tech.ydb.proto.formats.YdbFormats.CsvSettings.newBuilder((tech.ydb.proto.formats.YdbFormats.CsvSettings) dataFormat_) .mergeFrom(value).buildPartial(); } else { dataFormat_ = value; } onChanged(); } else { if (dataFormatCase_ == 8) { csvSettingsBuilder_.mergeFrom(value); } else { csvSettingsBuilder_.setMessage(value); } } dataFormatCase_ = 8; return this; } /** * .Ydb.Formats.CsvSettings csv_settings = 8; */ public Builder clearCsvSettings() { if (csvSettingsBuilder_ == null) { if (dataFormatCase_ == 8) { dataFormatCase_ = 0; dataFormat_ = null; onChanged(); } } else { if (dataFormatCase_ == 8) { dataFormatCase_ = 0; dataFormat_ = null; } csvSettingsBuilder_.clear(); } return this; } /** * .Ydb.Formats.CsvSettings csv_settings = 8; */ public tech.ydb.proto.formats.YdbFormats.CsvSettings.Builder getCsvSettingsBuilder() { return getCsvSettingsFieldBuilder().getBuilder(); } /** * .Ydb.Formats.CsvSettings csv_settings = 8; */ @java.lang.Override public tech.ydb.proto.formats.YdbFormats.CsvSettingsOrBuilder getCsvSettingsOrBuilder() { if ((dataFormatCase_ == 8) && (csvSettingsBuilder_ != null)) { return csvSettingsBuilder_.getMessageOrBuilder(); } else { if (dataFormatCase_ == 8) { return (tech.ydb.proto.formats.YdbFormats.CsvSettings) dataFormat_; } return tech.ydb.proto.formats.YdbFormats.CsvSettings.getDefaultInstance(); } } /** * .Ydb.Formats.CsvSettings csv_settings = 8; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.formats.YdbFormats.CsvSettings, tech.ydb.proto.formats.YdbFormats.CsvSettings.Builder, tech.ydb.proto.formats.YdbFormats.CsvSettingsOrBuilder> getCsvSettingsFieldBuilder() { if (csvSettingsBuilder_ == null) { if (!(dataFormatCase_ == 8)) { dataFormat_ = tech.ydb.proto.formats.YdbFormats.CsvSettings.getDefaultInstance(); } csvSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.formats.YdbFormats.CsvSettings, tech.ydb.proto.formats.YdbFormats.CsvSettings.Builder, tech.ydb.proto.formats.YdbFormats.CsvSettingsOrBuilder>( (tech.ydb.proto.formats.YdbFormats.CsvSettings) dataFormat_, getParentForChildren(), isClean()); dataFormat_ = null; } dataFormatCase_ = 8; onChanged(); return csvSettingsBuilder_; } private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** *
       * It's last in the definition to help with sidecar patterns
       * 
* * bytes data = 1000; * @return The data. */ @java.lang.Override public com.google.protobuf.ByteString getData() { return data_; } /** *
       * It's last in the definition to help with sidecar patterns
       * 
* * bytes data = 1000; * @param value The data to set. * @return This builder for chaining. */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } data_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * It's last in the definition to help with sidecar patterns
       * 
* * bytes data = 1000; * @return This builder for chaining. */ public Builder clearData() { bitField0_ = (bitField0_ & ~0x00000020); data_ = getDefaultInstance().getData(); 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.Table.BulkUpsertRequest) } // @@protoc_insertion_point(class_scope:Ydb.Table.BulkUpsertRequest) private static final tech.ydb.proto.table.YdbTable.BulkUpsertRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.BulkUpsertRequest(); } public static tech.ydb.proto.table.YdbTable.BulkUpsertRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BulkUpsertRequest 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.table.YdbTable.BulkUpsertRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BulkUpsertResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.BulkUpsertResponse) 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.Table.BulkUpsertResponse} */ public static final class BulkUpsertResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.BulkUpsertResponse) BulkUpsertResponseOrBuilder { private static final long serialVersionUID = 0L; // Use BulkUpsertResponse.newBuilder() to construct. private BulkUpsertResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BulkUpsertResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BulkUpsertResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_BulkUpsertResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_BulkUpsertResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.BulkUpsertResponse.class, tech.ydb.proto.table.YdbTable.BulkUpsertResponse.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.table.YdbTable.BulkUpsertResponse)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.BulkUpsertResponse other = (tech.ydb.proto.table.YdbTable.BulkUpsertResponse) 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.table.YdbTable.BulkUpsertResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.BulkUpsertResponse 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.table.YdbTable.BulkUpsertResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.BulkUpsertResponse 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.table.YdbTable.BulkUpsertResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.BulkUpsertResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.BulkUpsertResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.BulkUpsertResponse 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.table.YdbTable.BulkUpsertResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.BulkUpsertResponse 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.table.YdbTable.BulkUpsertResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.BulkUpsertResponse 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.table.YdbTable.BulkUpsertResponse 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.Table.BulkUpsertResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.BulkUpsertResponse) tech.ydb.proto.table.YdbTable.BulkUpsertResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_BulkUpsertResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_BulkUpsertResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.BulkUpsertResponse.class, tech.ydb.proto.table.YdbTable.BulkUpsertResponse.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.BulkUpsertResponse.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.table.YdbTable.internal_static_Ydb_Table_BulkUpsertResponse_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.BulkUpsertResponse getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.BulkUpsertResponse.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.BulkUpsertResponse build() { tech.ydb.proto.table.YdbTable.BulkUpsertResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.BulkUpsertResponse buildPartial() { tech.ydb.proto.table.YdbTable.BulkUpsertResponse result = new tech.ydb.proto.table.YdbTable.BulkUpsertResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.BulkUpsertResponse 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.table.YdbTable.BulkUpsertResponse) { return mergeFrom((tech.ydb.proto.table.YdbTable.BulkUpsertResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.BulkUpsertResponse other) { if (other == tech.ydb.proto.table.YdbTable.BulkUpsertResponse.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.Table.BulkUpsertResponse) } // @@protoc_insertion_point(class_scope:Ydb.Table.BulkUpsertResponse) private static final tech.ydb.proto.table.YdbTable.BulkUpsertResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.BulkUpsertResponse(); } public static tech.ydb.proto.table.YdbTable.BulkUpsertResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BulkUpsertResponse 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.table.YdbTable.BulkUpsertResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BulkUpsertResultOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.BulkUpsertResult) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code Ydb.Table.BulkUpsertResult} */ public static final class BulkUpsertResult extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.BulkUpsertResult) BulkUpsertResultOrBuilder { private static final long serialVersionUID = 0L; // Use BulkUpsertResult.newBuilder() to construct. private BulkUpsertResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BulkUpsertResult() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BulkUpsertResult(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_BulkUpsertResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_BulkUpsertResult_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.BulkUpsertResult.class, tech.ydb.proto.table.YdbTable.BulkUpsertResult.Builder.class); } 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 { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; 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.table.YdbTable.BulkUpsertResult)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.BulkUpsertResult other = (tech.ydb.proto.table.YdbTable.BulkUpsertResult) obj; 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 = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.BulkUpsertResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.BulkUpsertResult 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.table.YdbTable.BulkUpsertResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.BulkUpsertResult 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.table.YdbTable.BulkUpsertResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.BulkUpsertResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.BulkUpsertResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.BulkUpsertResult 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.table.YdbTable.BulkUpsertResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.BulkUpsertResult 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.table.YdbTable.BulkUpsertResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.BulkUpsertResult 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.table.YdbTable.BulkUpsertResult 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.Table.BulkUpsertResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.BulkUpsertResult) tech.ydb.proto.table.YdbTable.BulkUpsertResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_BulkUpsertResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_BulkUpsertResult_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.BulkUpsertResult.class, tech.ydb.proto.table.YdbTable.BulkUpsertResult.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.BulkUpsertResult.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_BulkUpsertResult_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.BulkUpsertResult getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.BulkUpsertResult.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.BulkUpsertResult build() { tech.ydb.proto.table.YdbTable.BulkUpsertResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.BulkUpsertResult buildPartial() { tech.ydb.proto.table.YdbTable.BulkUpsertResult result = new tech.ydb.proto.table.YdbTable.BulkUpsertResult(this); onBuilt(); return result; } @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.table.YdbTable.BulkUpsertResult) { return mergeFrom((tech.ydb.proto.table.YdbTable.BulkUpsertResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.BulkUpsertResult other) { if (other == tech.ydb.proto.table.YdbTable.BulkUpsertResult.getDefaultInstance()) return this; 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; 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; } @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.Table.BulkUpsertResult) } // @@protoc_insertion_point(class_scope:Ydb.Table.BulkUpsertResult) private static final tech.ydb.proto.table.YdbTable.BulkUpsertResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.BulkUpsertResult(); } public static tech.ydb.proto.table.YdbTable.BulkUpsertResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BulkUpsertResult 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.table.YdbTable.BulkUpsertResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExecuteScanQueryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.ExecuteScanQueryRequest) com.google.protobuf.MessageOrBuilder { /** * .Ydb.Table.Query query = 3; * @return Whether the query field is set. */ boolean hasQuery(); /** * .Ydb.Table.Query query = 3; * @return The query. */ tech.ydb.proto.table.YdbTable.Query getQuery(); /** * .Ydb.Table.Query query = 3; */ tech.ydb.proto.table.YdbTable.QueryOrBuilder getQueryOrBuilder(); /** * map<string, .Ydb.TypedValue> parameters = 4; */ int getParametersCount(); /** * map<string, .Ydb.TypedValue> parameters = 4; */ boolean containsParameters( java.lang.String key); /** * Use {@link #getParametersMap()} instead. */ @java.lang.Deprecated java.util.Map getParameters(); /** * map<string, .Ydb.TypedValue> parameters = 4; */ java.util.Map getParametersMap(); /** * map<string, .Ydb.TypedValue> parameters = 4; */ /* nullable */ tech.ydb.proto.ValueProtos.TypedValue getParametersOrDefault( java.lang.String key, /* nullable */ tech.ydb.proto.ValueProtos.TypedValue defaultValue); /** * map<string, .Ydb.TypedValue> parameters = 4; */ tech.ydb.proto.ValueProtos.TypedValue getParametersOrThrow( java.lang.String key); /** * .Ydb.Table.ExecuteScanQueryRequest.Mode mode = 6; * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** * .Ydb.Table.ExecuteScanQueryRequest.Mode mode = 6; * @return The mode. */ tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest.Mode getMode(); /** * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 8; * @return The enum numeric value on the wire for collectStats. */ int getCollectStatsValue(); /** * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 8; * @return The collectStats. */ tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode getCollectStats(); /** *
     * works only in mode: MODE_EXPLAIN,
     * collects additional diagnostics about query compilation, including query plan and scheme
     * 
* * bool collect_full_diagnostics = 9; * @return The collectFullDiagnostics. */ boolean getCollectFullDiagnostics(); } /** * Protobuf type {@code Ydb.Table.ExecuteScanQueryRequest} */ public static final class ExecuteScanQueryRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.ExecuteScanQueryRequest) ExecuteScanQueryRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ExecuteScanQueryRequest.newBuilder() to construct. private ExecuteScanQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExecuteScanQueryRequest() { mode_ = 0; collectStats_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExecuteScanQueryRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteScanQueryRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 4: return internalGetParameters(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteScanQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest.class, tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest.Builder.class); } /** * Protobuf enum {@code Ydb.Table.ExecuteScanQueryRequest.Mode} */ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { /** * MODE_UNSPECIFIED = 0; */ MODE_UNSPECIFIED(0), /** * MODE_EXPLAIN = 1; */ MODE_EXPLAIN(1), /** *
       * MODE_PREPARE = 2;
       * 
* * MODE_EXEC = 3; */ MODE_EXEC(3), UNRECOGNIZED(-1), ; /** * MODE_UNSPECIFIED = 0; */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** * MODE_EXPLAIN = 1; */ public static final int MODE_EXPLAIN_VALUE = 1; /** *
       * MODE_PREPARE = 2;
       * 
* * MODE_EXEC = 3; */ public static final int MODE_EXEC_VALUE = 3; 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 Mode 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 Mode forNumber(int value) { switch (value) { case 0: return MODE_UNSPECIFIED; case 1: return MODE_EXPLAIN; case 3: return MODE_EXEC; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Mode> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Mode findValueByNumber(int number) { return Mode.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.table.YdbTable.ExecuteScanQueryRequest.getDescriptor().getEnumTypes().get(0); } private static final Mode[] VALUES = values(); public static Mode 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 Mode(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Ydb.Table.ExecuteScanQueryRequest.Mode) } private int bitField0_; public static final int QUERY_FIELD_NUMBER = 3; private tech.ydb.proto.table.YdbTable.Query query_; /** * .Ydb.Table.Query query = 3; * @return Whether the query field is set. */ @java.lang.Override public boolean hasQuery() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.Table.Query query = 3; * @return The query. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.Query getQuery() { return query_ == null ? tech.ydb.proto.table.YdbTable.Query.getDefaultInstance() : query_; } /** * .Ydb.Table.Query query = 3; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.QueryOrBuilder getQueryOrBuilder() { return query_ == null ? tech.ydb.proto.table.YdbTable.Query.getDefaultInstance() : query_; } public static final int PARAMETERS_FIELD_NUMBER = 4; private static final class ParametersDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, tech.ydb.proto.ValueProtos.TypedValue> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteScanQueryRequest_ParametersEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, tech.ydb.proto.ValueProtos.TypedValue.getDefaultInstance()); } @SuppressWarnings("serial") private com.google.protobuf.MapField< java.lang.String, tech.ydb.proto.ValueProtos.TypedValue> parameters_; private com.google.protobuf.MapField internalGetParameters() { if (parameters_ == null) { return com.google.protobuf.MapField.emptyMapField( ParametersDefaultEntryHolder.defaultEntry); } return parameters_; } public int getParametersCount() { return internalGetParameters().getMap().size(); } /** * map<string, .Ydb.TypedValue> parameters = 4; */ @java.lang.Override public boolean containsParameters( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetParameters().getMap().containsKey(key); } /** * Use {@link #getParametersMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getParameters() { return getParametersMap(); } /** * map<string, .Ydb.TypedValue> parameters = 4; */ @java.lang.Override public java.util.Map getParametersMap() { return internalGetParameters().getMap(); } /** * map<string, .Ydb.TypedValue> parameters = 4; */ @java.lang.Override public /* nullable */ tech.ydb.proto.ValueProtos.TypedValue getParametersOrDefault( java.lang.String key, /* nullable */ tech.ydb.proto.ValueProtos.TypedValue defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetParameters().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .Ydb.TypedValue> parameters = 4; */ @java.lang.Override public tech.ydb.proto.ValueProtos.TypedValue getParametersOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetParameters().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int MODE_FIELD_NUMBER = 6; private int mode_ = 0; /** * .Ydb.Table.ExecuteScanQueryRequest.Mode mode = 6; * @return The enum numeric value on the wire for mode. */ @java.lang.Override public int getModeValue() { return mode_; } /** * .Ydb.Table.ExecuteScanQueryRequest.Mode mode = 6; * @return The mode. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest.Mode getMode() { tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest.Mode result = tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest.Mode.forNumber(mode_); return result == null ? tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest.Mode.UNRECOGNIZED : result; } public static final int COLLECT_STATS_FIELD_NUMBER = 8; private int collectStats_ = 0; /** * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 8; * @return The enum numeric value on the wire for collectStats. */ @java.lang.Override public int getCollectStatsValue() { return collectStats_; } /** * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 8; * @return The collectStats. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode getCollectStats() { tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode result = tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode.forNumber(collectStats_); return result == null ? tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode.UNRECOGNIZED : result; } public static final int COLLECT_FULL_DIAGNOSTICS_FIELD_NUMBER = 9; private boolean collectFullDiagnostics_ = false; /** *
     * works only in mode: MODE_EXPLAIN,
     * collects additional diagnostics about query compilation, including query plan and scheme
     * 
* * bool collect_full_diagnostics = 9; * @return The collectFullDiagnostics. */ @java.lang.Override public boolean getCollectFullDiagnostics() { return collectFullDiagnostics_; } 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(3, getQuery()); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetParameters(), ParametersDefaultEntryHolder.defaultEntry, 4); if (mode_ != tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest.Mode.MODE_UNSPECIFIED.getNumber()) { output.writeEnum(6, mode_); } if (collectStats_ != tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode.STATS_COLLECTION_UNSPECIFIED.getNumber()) { output.writeEnum(8, collectStats_); } if (collectFullDiagnostics_ != false) { output.writeBool(9, collectFullDiagnostics_); } 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(3, getQuery()); } for (java.util.Map.Entry entry : internalGetParameters().getMap().entrySet()) { com.google.protobuf.MapEntry parameters__ = ParametersDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, parameters__); } if (mode_ != tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest.Mode.MODE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(6, mode_); } if (collectStats_ != tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode.STATS_COLLECTION_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(8, collectStats_); } if (collectFullDiagnostics_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(9, collectFullDiagnostics_); } 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.table.YdbTable.ExecuteScanQueryRequest)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest other = (tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest) obj; if (hasQuery() != other.hasQuery()) return false; if (hasQuery()) { if (!getQuery() .equals(other.getQuery())) return false; } if (!internalGetParameters().equals( other.internalGetParameters())) return false; if (mode_ != other.mode_) return false; if (collectStats_ != other.collectStats_) return false; if (getCollectFullDiagnostics() != other.getCollectFullDiagnostics()) 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 (hasQuery()) { hash = (37 * hash) + QUERY_FIELD_NUMBER; hash = (53 * hash) + getQuery().hashCode(); } if (!internalGetParameters().getMap().isEmpty()) { hash = (37 * hash) + PARAMETERS_FIELD_NUMBER; hash = (53 * hash) + internalGetParameters().hashCode(); } hash = (37 * hash) + MODE_FIELD_NUMBER; hash = (53 * hash) + mode_; hash = (37 * hash) + COLLECT_STATS_FIELD_NUMBER; hash = (53 * hash) + collectStats_; hash = (37 * hash) + COLLECT_FULL_DIAGNOSTICS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getCollectFullDiagnostics()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest 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.table.YdbTable.ExecuteScanQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest 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.table.YdbTable.ExecuteScanQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest 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.table.YdbTable.ExecuteScanQueryRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest 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.table.YdbTable.ExecuteScanQueryRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest 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.table.YdbTable.ExecuteScanQueryRequest 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.Table.ExecuteScanQueryRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.ExecuteScanQueryRequest) tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteScanQueryRequest_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 4: return internalGetParameters(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 4: return internalGetMutableParameters(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteScanQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest.class, tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getQueryFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; query_ = null; if (queryBuilder_ != null) { queryBuilder_.dispose(); queryBuilder_ = null; } internalGetMutableParameters().clear(); mode_ = 0; collectStats_ = 0; collectFullDiagnostics_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteScanQueryRequest_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest build() { tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest buildPartial() { tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest result = new tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.query_ = queryBuilder_ == null ? query_ : queryBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.parameters_ = internalGetParameters(); result.parameters_.makeImmutable(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.mode_ = mode_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.collectStats_ = collectStats_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.collectFullDiagnostics_ = collectFullDiagnostics_; } 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.table.YdbTable.ExecuteScanQueryRequest) { return mergeFrom((tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest other) { if (other == tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest.getDefaultInstance()) return this; if (other.hasQuery()) { mergeQuery(other.getQuery()); } internalGetMutableParameters().mergeFrom( other.internalGetParameters()); bitField0_ |= 0x00000002; if (other.mode_ != 0) { setModeValue(other.getModeValue()); } if (other.collectStats_ != 0) { setCollectStatsValue(other.getCollectStatsValue()); } if (other.getCollectFullDiagnostics() != false) { setCollectFullDiagnostics(other.getCollectFullDiagnostics()); } 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 26: { input.readMessage( getQueryFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 26 case 34: { com.google.protobuf.MapEntry parameters__ = input.readMessage( ParametersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableParameters().getMutableMap().put( parameters__.getKey(), parameters__.getValue()); bitField0_ |= 0x00000002; break; } // case 34 case 48: { mode_ = input.readEnum(); bitField0_ |= 0x00000004; break; } // case 48 case 64: { collectStats_ = input.readEnum(); bitField0_ |= 0x00000008; break; } // case 64 case 72: { collectFullDiagnostics_ = input.readBool(); bitField0_ |= 0x00000010; break; } // case 72 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.table.YdbTable.Query query_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.Query, tech.ydb.proto.table.YdbTable.Query.Builder, tech.ydb.proto.table.YdbTable.QueryOrBuilder> queryBuilder_; /** * .Ydb.Table.Query query = 3; * @return Whether the query field is set. */ public boolean hasQuery() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.Table.Query query = 3; * @return The query. */ public tech.ydb.proto.table.YdbTable.Query getQuery() { if (queryBuilder_ == null) { return query_ == null ? tech.ydb.proto.table.YdbTable.Query.getDefaultInstance() : query_; } else { return queryBuilder_.getMessage(); } } /** * .Ydb.Table.Query query = 3; */ public Builder setQuery(tech.ydb.proto.table.YdbTable.Query value) { if (queryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } query_ = value; } else { queryBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .Ydb.Table.Query query = 3; */ public Builder setQuery( tech.ydb.proto.table.YdbTable.Query.Builder builderForValue) { if (queryBuilder_ == null) { query_ = builderForValue.build(); } else { queryBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .Ydb.Table.Query query = 3; */ public Builder mergeQuery(tech.ydb.proto.table.YdbTable.Query value) { if (queryBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && query_ != null && query_ != tech.ydb.proto.table.YdbTable.Query.getDefaultInstance()) { getQueryBuilder().mergeFrom(value); } else { query_ = value; } } else { queryBuilder_.mergeFrom(value); } if (query_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * .Ydb.Table.Query query = 3; */ public Builder clearQuery() { bitField0_ = (bitField0_ & ~0x00000001); query_ = null; if (queryBuilder_ != null) { queryBuilder_.dispose(); queryBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Table.Query query = 3; */ public tech.ydb.proto.table.YdbTable.Query.Builder getQueryBuilder() { bitField0_ |= 0x00000001; onChanged(); return getQueryFieldBuilder().getBuilder(); } /** * .Ydb.Table.Query query = 3; */ public tech.ydb.proto.table.YdbTable.QueryOrBuilder getQueryOrBuilder() { if (queryBuilder_ != null) { return queryBuilder_.getMessageOrBuilder(); } else { return query_ == null ? tech.ydb.proto.table.YdbTable.Query.getDefaultInstance() : query_; } } /** * .Ydb.Table.Query query = 3; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.Query, tech.ydb.proto.table.YdbTable.Query.Builder, tech.ydb.proto.table.YdbTable.QueryOrBuilder> getQueryFieldBuilder() { if (queryBuilder_ == null) { queryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.Query, tech.ydb.proto.table.YdbTable.Query.Builder, tech.ydb.proto.table.YdbTable.QueryOrBuilder>( getQuery(), getParentForChildren(), isClean()); query_ = null; } return queryBuilder_; } private com.google.protobuf.MapField< java.lang.String, tech.ydb.proto.ValueProtos.TypedValue> parameters_; private com.google.protobuf.MapField internalGetParameters() { if (parameters_ == null) { return com.google.protobuf.MapField.emptyMapField( ParametersDefaultEntryHolder.defaultEntry); } return parameters_; } private com.google.protobuf.MapField internalGetMutableParameters() { if (parameters_ == null) { parameters_ = com.google.protobuf.MapField.newMapField( ParametersDefaultEntryHolder.defaultEntry); } if (!parameters_.isMutable()) { parameters_ = parameters_.copy(); } bitField0_ |= 0x00000002; onChanged(); return parameters_; } public int getParametersCount() { return internalGetParameters().getMap().size(); } /** * map<string, .Ydb.TypedValue> parameters = 4; */ @java.lang.Override public boolean containsParameters( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetParameters().getMap().containsKey(key); } /** * Use {@link #getParametersMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getParameters() { return getParametersMap(); } /** * map<string, .Ydb.TypedValue> parameters = 4; */ @java.lang.Override public java.util.Map getParametersMap() { return internalGetParameters().getMap(); } /** * map<string, .Ydb.TypedValue> parameters = 4; */ @java.lang.Override public /* nullable */ tech.ydb.proto.ValueProtos.TypedValue getParametersOrDefault( java.lang.String key, /* nullable */ tech.ydb.proto.ValueProtos.TypedValue defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetParameters().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .Ydb.TypedValue> parameters = 4; */ @java.lang.Override public tech.ydb.proto.ValueProtos.TypedValue getParametersOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetParameters().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearParameters() { bitField0_ = (bitField0_ & ~0x00000002); internalGetMutableParameters().getMutableMap() .clear(); return this; } /** * map<string, .Ydb.TypedValue> parameters = 4; */ public Builder removeParameters( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableParameters().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableParameters() { bitField0_ |= 0x00000002; return internalGetMutableParameters().getMutableMap(); } /** * map<string, .Ydb.TypedValue> parameters = 4; */ public Builder putParameters( java.lang.String key, tech.ydb.proto.ValueProtos.TypedValue value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableParameters().getMutableMap() .put(key, value); bitField0_ |= 0x00000002; return this; } /** * map<string, .Ydb.TypedValue> parameters = 4; */ public Builder putAllParameters( java.util.Map values) { internalGetMutableParameters().getMutableMap() .putAll(values); bitField0_ |= 0x00000002; return this; } private int mode_ = 0; /** * .Ydb.Table.ExecuteScanQueryRequest.Mode mode = 6; * @return The enum numeric value on the wire for mode. */ @java.lang.Override public int getModeValue() { return mode_; } /** * .Ydb.Table.ExecuteScanQueryRequest.Mode mode = 6; * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ public Builder setModeValue(int value) { mode_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * .Ydb.Table.ExecuteScanQueryRequest.Mode mode = 6; * @return The mode. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest.Mode getMode() { tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest.Mode result = tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest.Mode.forNumber(mode_); return result == null ? tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest.Mode.UNRECOGNIZED : result; } /** * .Ydb.Table.ExecuteScanQueryRequest.Mode mode = 6; * @param value The mode to set. * @return This builder for chaining. */ public Builder setMode(tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest.Mode value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; mode_ = value.getNumber(); onChanged(); return this; } /** * .Ydb.Table.ExecuteScanQueryRequest.Mode mode = 6; * @return This builder for chaining. */ public Builder clearMode() { bitField0_ = (bitField0_ & ~0x00000004); mode_ = 0; onChanged(); return this; } private int collectStats_ = 0; /** * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 8; * @return The enum numeric value on the wire for collectStats. */ @java.lang.Override public int getCollectStatsValue() { return collectStats_; } /** * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 8; * @param value The enum numeric value on the wire for collectStats to set. * @return This builder for chaining. */ public Builder setCollectStatsValue(int value) { collectStats_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 8; * @return The collectStats. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode getCollectStats() { tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode result = tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode.forNumber(collectStats_); return result == null ? tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode.UNRECOGNIZED : result; } /** * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 8; * @param value The collectStats to set. * @return This builder for chaining. */ public Builder setCollectStats(tech.ydb.proto.table.YdbTable.QueryStatsCollection.Mode value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; collectStats_ = value.getNumber(); onChanged(); return this; } /** * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 8; * @return This builder for chaining. */ public Builder clearCollectStats() { bitField0_ = (bitField0_ & ~0x00000008); collectStats_ = 0; onChanged(); return this; } private boolean collectFullDiagnostics_ ; /** *
       * works only in mode: MODE_EXPLAIN,
       * collects additional diagnostics about query compilation, including query plan and scheme
       * 
* * bool collect_full_diagnostics = 9; * @return The collectFullDiagnostics. */ @java.lang.Override public boolean getCollectFullDiagnostics() { return collectFullDiagnostics_; } /** *
       * works only in mode: MODE_EXPLAIN,
       * collects additional diagnostics about query compilation, including query plan and scheme
       * 
* * bool collect_full_diagnostics = 9; * @param value The collectFullDiagnostics to set. * @return This builder for chaining. */ public Builder setCollectFullDiagnostics(boolean value) { collectFullDiagnostics_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * works only in mode: MODE_EXPLAIN,
       * collects additional diagnostics about query compilation, including query plan and scheme
       * 
* * bool collect_full_diagnostics = 9; * @return This builder for chaining. */ public Builder clearCollectFullDiagnostics() { bitField0_ = (bitField0_ & ~0x00000010); collectFullDiagnostics_ = false; 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.Table.ExecuteScanQueryRequest) } // @@protoc_insertion_point(class_scope:Ydb.Table.ExecuteScanQueryRequest) private static final tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest(); } public static tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExecuteScanQueryRequest 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.table.YdbTable.ExecuteScanQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExecuteScanQueryPartialResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.ExecuteScanQueryPartialResponse) com.google.protobuf.MessageOrBuilder { /** * .Ydb.StatusIds.StatusCode status = 1; * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** * .Ydb.StatusIds.StatusCode status = 1; * @return The status. */ tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode getStatus(); /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ java.util.List getIssuesList(); /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ tech.ydb.proto.YdbIssueMessage.IssueMessage getIssues(int index); /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ int getIssuesCount(); /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ java.util.List getIssuesOrBuilderList(); /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ tech.ydb.proto.YdbIssueMessage.IssueMessageOrBuilder getIssuesOrBuilder( int index); /** * .Ydb.Table.ExecuteScanQueryPartialResult result = 3; * @return Whether the result field is set. */ boolean hasResult(); /** * .Ydb.Table.ExecuteScanQueryPartialResult result = 3; * @return The result. */ tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult getResult(); /** * .Ydb.Table.ExecuteScanQueryPartialResult result = 3; */ tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResultOrBuilder getResultOrBuilder(); } /** * Protobuf type {@code Ydb.Table.ExecuteScanQueryPartialResponse} */ public static final class ExecuteScanQueryPartialResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.ExecuteScanQueryPartialResponse) ExecuteScanQueryPartialResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ExecuteScanQueryPartialResponse.newBuilder() to construct. private ExecuteScanQueryPartialResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExecuteScanQueryPartialResponse() { status_ = 0; issues_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExecuteScanQueryPartialResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteScanQueryPartialResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteScanQueryPartialResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponse.class, tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponse.Builder.class); } private int bitField0_; public static final int STATUS_FIELD_NUMBER = 1; private int status_ = 0; /** * .Ydb.StatusIds.StatusCode status = 1; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** * .Ydb.StatusIds.StatusCode status = 1; * @return The status. */ @java.lang.Override public tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode getStatus() { tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode result = tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode.forNumber(status_); return result == null ? tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode.UNRECOGNIZED : result; } public static final int ISSUES_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List issues_; /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ @java.lang.Override public java.util.List getIssuesList() { return issues_; } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ @java.lang.Override public java.util.List getIssuesOrBuilderList() { return issues_; } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ @java.lang.Override public int getIssuesCount() { return issues_.size(); } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ @java.lang.Override public tech.ydb.proto.YdbIssueMessage.IssueMessage getIssues(int index) { return issues_.get(index); } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ @java.lang.Override public tech.ydb.proto.YdbIssueMessage.IssueMessageOrBuilder getIssuesOrBuilder( int index) { return issues_.get(index); } public static final int RESULT_FIELD_NUMBER = 3; private tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult result_; /** * .Ydb.Table.ExecuteScanQueryPartialResult result = 3; * @return Whether the result field is set. */ @java.lang.Override public boolean hasResult() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.Table.ExecuteScanQueryPartialResult result = 3; * @return The result. */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult getResult() { return result_ == null ? tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult.getDefaultInstance() : result_; } /** * .Ydb.Table.ExecuteScanQueryPartialResult result = 3; */ @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResultOrBuilder getResultOrBuilder() { return result_ == null ? tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult.getDefaultInstance() : result_; } 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 (status_ != tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode.STATUS_CODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, status_); } for (int i = 0; i < issues_.size(); i++) { output.writeMessage(2, issues_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getResult()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (status_ != tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode.STATUS_CODE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, status_); } for (int i = 0; i < issues_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, issues_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getResult()); } 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.table.YdbTable.ExecuteScanQueryPartialResponse)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponse other = (tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponse) obj; if (status_ != other.status_) return false; if (!getIssuesList() .equals(other.getIssuesList())) return false; if (hasResult() != other.hasResult()) return false; if (hasResult()) { if (!getResult() .equals(other.getResult())) 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) + STATUS_FIELD_NUMBER; hash = (53 * hash) + status_; if (getIssuesCount() > 0) { hash = (37 * hash) + ISSUES_FIELD_NUMBER; hash = (53 * hash) + getIssuesList().hashCode(); } if (hasResult()) { hash = (37 * hash) + RESULT_FIELD_NUMBER; hash = (53 * hash) + getResult().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponse 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.table.YdbTable.ExecuteScanQueryPartialResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponse 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.table.YdbTable.ExecuteScanQueryPartialResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponse 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.table.YdbTable.ExecuteScanQueryPartialResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponse 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.table.YdbTable.ExecuteScanQueryPartialResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponse 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.table.YdbTable.ExecuteScanQueryPartialResponse 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.Table.ExecuteScanQueryPartialResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.ExecuteScanQueryPartialResponse) tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteScanQueryPartialResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteScanQueryPartialResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponse.class, tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponse.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getIssuesFieldBuilder(); getResultFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; status_ = 0; if (issuesBuilder_ == null) { issues_ = java.util.Collections.emptyList(); } else { issues_ = null; issuesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); result_ = null; if (resultBuilder_ != null) { resultBuilder_.dispose(); resultBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteScanQueryPartialResponse_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponse getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponse.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponse build() { tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponse buildPartial() { tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponse result = new tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponse(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponse result) { if (issuesBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { issues_ = java.util.Collections.unmodifiableList(issues_); bitField0_ = (bitField0_ & ~0x00000002); } result.issues_ = issues_; } else { result.issues_ = issuesBuilder_.build(); } } private void buildPartial0(tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.status_ = status_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { result.result_ = resultBuilder_ == null ? result_ : resultBuilder_.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.table.YdbTable.ExecuteScanQueryPartialResponse) { return mergeFrom((tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponse other) { if (other == tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponse.getDefaultInstance()) return this; if (other.status_ != 0) { setStatusValue(other.getStatusValue()); } if (issuesBuilder_ == null) { if (!other.issues_.isEmpty()) { if (issues_.isEmpty()) { issues_ = other.issues_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureIssuesIsMutable(); issues_.addAll(other.issues_); } onChanged(); } } else { if (!other.issues_.isEmpty()) { if (issuesBuilder_.isEmpty()) { issuesBuilder_.dispose(); issuesBuilder_ = null; issues_ = other.issues_; bitField0_ = (bitField0_ & ~0x00000002); issuesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getIssuesFieldBuilder() : null; } else { issuesBuilder_.addAllMessages(other.issues_); } } } if (other.hasResult()) { mergeResult(other.getResult()); } 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 8: { status_ = input.readEnum(); bitField0_ |= 0x00000001; break; } // case 8 case 18: { tech.ydb.proto.YdbIssueMessage.IssueMessage m = input.readMessage( tech.ydb.proto.YdbIssueMessage.IssueMessage.parser(), extensionRegistry); if (issuesBuilder_ == null) { ensureIssuesIsMutable(); issues_.add(m); } else { issuesBuilder_.addMessage(m); } break; } // case 18 case 26: { input.readMessage( getResultFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 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 int status_ = 0; /** * .Ydb.StatusIds.StatusCode status = 1; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** * .Ydb.StatusIds.StatusCode status = 1; * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { status_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * .Ydb.StatusIds.StatusCode status = 1; * @return The status. */ @java.lang.Override public tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode getStatus() { tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode result = tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode.forNumber(status_); return result == null ? tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode.UNRECOGNIZED : result; } /** * .Ydb.StatusIds.StatusCode status = 1; * @param value The status to set. * @return This builder for chaining. */ public Builder setStatus(tech.ydb.proto.StatusCodesProtos.StatusIds.StatusCode value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; status_ = value.getNumber(); onChanged(); return this; } /** * .Ydb.StatusIds.StatusCode status = 1; * @return This builder for chaining. */ public Builder clearStatus() { bitField0_ = (bitField0_ & ~0x00000001); status_ = 0; onChanged(); return this; } private java.util.List issues_ = java.util.Collections.emptyList(); private void ensureIssuesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { issues_ = new java.util.ArrayList(issues_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.YdbIssueMessage.IssueMessage, tech.ydb.proto.YdbIssueMessage.IssueMessage.Builder, tech.ydb.proto.YdbIssueMessage.IssueMessageOrBuilder> issuesBuilder_; /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public java.util.List getIssuesList() { if (issuesBuilder_ == null) { return java.util.Collections.unmodifiableList(issues_); } else { return issuesBuilder_.getMessageList(); } } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public int getIssuesCount() { if (issuesBuilder_ == null) { return issues_.size(); } else { return issuesBuilder_.getCount(); } } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public tech.ydb.proto.YdbIssueMessage.IssueMessage getIssues(int index) { if (issuesBuilder_ == null) { return issues_.get(index); } else { return issuesBuilder_.getMessage(index); } } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder setIssues( int index, tech.ydb.proto.YdbIssueMessage.IssueMessage value) { if (issuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureIssuesIsMutable(); issues_.set(index, value); onChanged(); } else { issuesBuilder_.setMessage(index, value); } return this; } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder setIssues( int index, tech.ydb.proto.YdbIssueMessage.IssueMessage.Builder builderForValue) { if (issuesBuilder_ == null) { ensureIssuesIsMutable(); issues_.set(index, builderForValue.build()); onChanged(); } else { issuesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder addIssues(tech.ydb.proto.YdbIssueMessage.IssueMessage value) { if (issuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureIssuesIsMutable(); issues_.add(value); onChanged(); } else { issuesBuilder_.addMessage(value); } return this; } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder addIssues( int index, tech.ydb.proto.YdbIssueMessage.IssueMessage value) { if (issuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureIssuesIsMutable(); issues_.add(index, value); onChanged(); } else { issuesBuilder_.addMessage(index, value); } return this; } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder addIssues( tech.ydb.proto.YdbIssueMessage.IssueMessage.Builder builderForValue) { if (issuesBuilder_ == null) { ensureIssuesIsMutable(); issues_.add(builderForValue.build()); onChanged(); } else { issuesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder addIssues( int index, tech.ydb.proto.YdbIssueMessage.IssueMessage.Builder builderForValue) { if (issuesBuilder_ == null) { ensureIssuesIsMutable(); issues_.add(index, builderForValue.build()); onChanged(); } else { issuesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder addAllIssues( java.lang.Iterable values) { if (issuesBuilder_ == null) { ensureIssuesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, issues_); onChanged(); } else { issuesBuilder_.addAllMessages(values); } return this; } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder clearIssues() { if (issuesBuilder_ == null) { issues_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { issuesBuilder_.clear(); } return this; } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder removeIssues(int index) { if (issuesBuilder_ == null) { ensureIssuesIsMutable(); issues_.remove(index); onChanged(); } else { issuesBuilder_.remove(index); } return this; } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public tech.ydb.proto.YdbIssueMessage.IssueMessage.Builder getIssuesBuilder( int index) { return getIssuesFieldBuilder().getBuilder(index); } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public tech.ydb.proto.YdbIssueMessage.IssueMessageOrBuilder getIssuesOrBuilder( int index) { if (issuesBuilder_ == null) { return issues_.get(index); } else { return issuesBuilder_.getMessageOrBuilder(index); } } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public java.util.List getIssuesOrBuilderList() { if (issuesBuilder_ != null) { return issuesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(issues_); } } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public tech.ydb.proto.YdbIssueMessage.IssueMessage.Builder addIssuesBuilder() { return getIssuesFieldBuilder().addBuilder( tech.ydb.proto.YdbIssueMessage.IssueMessage.getDefaultInstance()); } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public tech.ydb.proto.YdbIssueMessage.IssueMessage.Builder addIssuesBuilder( int index) { return getIssuesFieldBuilder().addBuilder( index, tech.ydb.proto.YdbIssueMessage.IssueMessage.getDefaultInstance()); } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public java.util.List getIssuesBuilderList() { return getIssuesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.YdbIssueMessage.IssueMessage, tech.ydb.proto.YdbIssueMessage.IssueMessage.Builder, tech.ydb.proto.YdbIssueMessage.IssueMessageOrBuilder> getIssuesFieldBuilder() { if (issuesBuilder_ == null) { issuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.YdbIssueMessage.IssueMessage, tech.ydb.proto.YdbIssueMessage.IssueMessage.Builder, tech.ydb.proto.YdbIssueMessage.IssueMessageOrBuilder>( issues_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); issues_ = null; } return issuesBuilder_; } private tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult result_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult, tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult.Builder, tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResultOrBuilder> resultBuilder_; /** * .Ydb.Table.ExecuteScanQueryPartialResult result = 3; * @return Whether the result field is set. */ public boolean hasResult() { return ((bitField0_ & 0x00000004) != 0); } /** * .Ydb.Table.ExecuteScanQueryPartialResult result = 3; * @return The result. */ public tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult getResult() { if (resultBuilder_ == null) { return result_ == null ? tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult.getDefaultInstance() : result_; } else { return resultBuilder_.getMessage(); } } /** * .Ydb.Table.ExecuteScanQueryPartialResult result = 3; */ public Builder setResult(tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult value) { if (resultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } result_ = value; } else { resultBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * .Ydb.Table.ExecuteScanQueryPartialResult result = 3; */ public Builder setResult( tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult.Builder builderForValue) { if (resultBuilder_ == null) { result_ = builderForValue.build(); } else { resultBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * .Ydb.Table.ExecuteScanQueryPartialResult result = 3; */ public Builder mergeResult(tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult value) { if (resultBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && result_ != null && result_ != tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult.getDefaultInstance()) { getResultBuilder().mergeFrom(value); } else { result_ = value; } } else { resultBuilder_.mergeFrom(value); } if (result_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * .Ydb.Table.ExecuteScanQueryPartialResult result = 3; */ public Builder clearResult() { bitField0_ = (bitField0_ & ~0x00000004); result_ = null; if (resultBuilder_ != null) { resultBuilder_.dispose(); resultBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Table.ExecuteScanQueryPartialResult result = 3; */ public tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult.Builder getResultBuilder() { bitField0_ |= 0x00000004; onChanged(); return getResultFieldBuilder().getBuilder(); } /** * .Ydb.Table.ExecuteScanQueryPartialResult result = 3; */ public tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResultOrBuilder getResultOrBuilder() { if (resultBuilder_ != null) { return resultBuilder_.getMessageOrBuilder(); } else { return result_ == null ? tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult.getDefaultInstance() : result_; } } /** * .Ydb.Table.ExecuteScanQueryPartialResult result = 3; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult, tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult.Builder, tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResultOrBuilder> getResultFieldBuilder() { if (resultBuilder_ == null) { resultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult, tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult.Builder, tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResultOrBuilder>( getResult(), getParentForChildren(), isClean()); result_ = null; } return resultBuilder_; } @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.Table.ExecuteScanQueryPartialResponse) } // @@protoc_insertion_point(class_scope:Ydb.Table.ExecuteScanQueryPartialResponse) private static final tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponse(); } public static tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExecuteScanQueryPartialResponse 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.table.YdbTable.ExecuteScanQueryPartialResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExecuteScanQueryPartialResultOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.ExecuteScanQueryPartialResult) com.google.protobuf.MessageOrBuilder { /** * .Ydb.ResultSet result_set = 1; * @return Whether the resultSet field is set. */ boolean hasResultSet(); /** * .Ydb.ResultSet result_set = 1; * @return The resultSet. */ tech.ydb.proto.ValueProtos.ResultSet getResultSet(); /** * .Ydb.ResultSet result_set = 1; */ tech.ydb.proto.ValueProtos.ResultSetOrBuilder getResultSetOrBuilder(); /** * .Ydb.TableStats.QueryStats query_stats = 6; * @return Whether the queryStats field is set. */ boolean hasQueryStats(); /** * .Ydb.TableStats.QueryStats query_stats = 6; * @return The queryStats. */ tech.ydb.proto.YdbQueryStats.QueryStats getQueryStats(); /** * .Ydb.TableStats.QueryStats query_stats = 6; */ tech.ydb.proto.YdbQueryStats.QueryStatsOrBuilder getQueryStatsOrBuilder(); /** *
     * works only in mode: MODE_EXPLAIN,
     * collects additional diagnostics about query compilation, including query plan and scheme
     * 
* * string query_full_diagnostics = 7; * @return The queryFullDiagnostics. */ java.lang.String getQueryFullDiagnostics(); /** *
     * works only in mode: MODE_EXPLAIN,
     * collects additional diagnostics about query compilation, including query plan and scheme
     * 
* * string query_full_diagnostics = 7; * @return The bytes for queryFullDiagnostics. */ com.google.protobuf.ByteString getQueryFullDiagnosticsBytes(); } /** * Protobuf type {@code Ydb.Table.ExecuteScanQueryPartialResult} */ public static final class ExecuteScanQueryPartialResult extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Table.ExecuteScanQueryPartialResult) ExecuteScanQueryPartialResultOrBuilder { private static final long serialVersionUID = 0L; // Use ExecuteScanQueryPartialResult.newBuilder() to construct. private ExecuteScanQueryPartialResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExecuteScanQueryPartialResult() { queryFullDiagnostics_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExecuteScanQueryPartialResult(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteScanQueryPartialResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteScanQueryPartialResult_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult.class, tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult.Builder.class); } private int bitField0_; public static final int RESULT_SET_FIELD_NUMBER = 1; private tech.ydb.proto.ValueProtos.ResultSet resultSet_; /** * .Ydb.ResultSet result_set = 1; * @return Whether the resultSet field is set. */ @java.lang.Override public boolean hasResultSet() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.ResultSet result_set = 1; * @return The resultSet. */ @java.lang.Override public tech.ydb.proto.ValueProtos.ResultSet getResultSet() { return resultSet_ == null ? tech.ydb.proto.ValueProtos.ResultSet.getDefaultInstance() : resultSet_; } /** * .Ydb.ResultSet result_set = 1; */ @java.lang.Override public tech.ydb.proto.ValueProtos.ResultSetOrBuilder getResultSetOrBuilder() { return resultSet_ == null ? tech.ydb.proto.ValueProtos.ResultSet.getDefaultInstance() : resultSet_; } public static final int QUERY_STATS_FIELD_NUMBER = 6; private tech.ydb.proto.YdbQueryStats.QueryStats queryStats_; /** * .Ydb.TableStats.QueryStats query_stats = 6; * @return Whether the queryStats field is set. */ @java.lang.Override public boolean hasQueryStats() { return ((bitField0_ & 0x00000002) != 0); } /** * .Ydb.TableStats.QueryStats query_stats = 6; * @return The queryStats. */ @java.lang.Override public tech.ydb.proto.YdbQueryStats.QueryStats getQueryStats() { return queryStats_ == null ? tech.ydb.proto.YdbQueryStats.QueryStats.getDefaultInstance() : queryStats_; } /** * .Ydb.TableStats.QueryStats query_stats = 6; */ @java.lang.Override public tech.ydb.proto.YdbQueryStats.QueryStatsOrBuilder getQueryStatsOrBuilder() { return queryStats_ == null ? tech.ydb.proto.YdbQueryStats.QueryStats.getDefaultInstance() : queryStats_; } public static final int QUERY_FULL_DIAGNOSTICS_FIELD_NUMBER = 7; @SuppressWarnings("serial") private volatile java.lang.Object queryFullDiagnostics_ = ""; /** *
     * works only in mode: MODE_EXPLAIN,
     * collects additional diagnostics about query compilation, including query plan and scheme
     * 
* * string query_full_diagnostics = 7; * @return The queryFullDiagnostics. */ @java.lang.Override public java.lang.String getQueryFullDiagnostics() { java.lang.Object ref = queryFullDiagnostics_; 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(); queryFullDiagnostics_ = s; return s; } } /** *
     * works only in mode: MODE_EXPLAIN,
     * collects additional diagnostics about query compilation, including query plan and scheme
     * 
* * string query_full_diagnostics = 7; * @return The bytes for queryFullDiagnostics. */ @java.lang.Override public com.google.protobuf.ByteString getQueryFullDiagnosticsBytes() { java.lang.Object ref = queryFullDiagnostics_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); queryFullDiagnostics_ = 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, getResultSet()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(6, getQueryStats()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryFullDiagnostics_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, queryFullDiagnostics_); } 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, getResultSet()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getQueryStats()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryFullDiagnostics_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, queryFullDiagnostics_); } 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.table.YdbTable.ExecuteScanQueryPartialResult)) { return super.equals(obj); } tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult other = (tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult) obj; if (hasResultSet() != other.hasResultSet()) return false; if (hasResultSet()) { if (!getResultSet() .equals(other.getResultSet())) return false; } if (hasQueryStats() != other.hasQueryStats()) return false; if (hasQueryStats()) { if (!getQueryStats() .equals(other.getQueryStats())) return false; } if (!getQueryFullDiagnostics() .equals(other.getQueryFullDiagnostics())) 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 (hasResultSet()) { hash = (37 * hash) + RESULT_SET_FIELD_NUMBER; hash = (53 * hash) + getResultSet().hashCode(); } if (hasQueryStats()) { hash = (37 * hash) + QUERY_STATS_FIELD_NUMBER; hash = (53 * hash) + getQueryStats().hashCode(); } hash = (37 * hash) + QUERY_FULL_DIAGNOSTICS_FIELD_NUMBER; hash = (53 * hash) + getQueryFullDiagnostics().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult 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.table.YdbTable.ExecuteScanQueryPartialResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult 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.table.YdbTable.ExecuteScanQueryPartialResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult 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.table.YdbTable.ExecuteScanQueryPartialResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult 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.table.YdbTable.ExecuteScanQueryPartialResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult 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.table.YdbTable.ExecuteScanQueryPartialResult 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.Table.ExecuteScanQueryPartialResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Table.ExecuteScanQueryPartialResult) tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteScanQueryPartialResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteScanQueryPartialResult_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult.class, tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult.Builder.class); } // Construct using tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getResultSetFieldBuilder(); getQueryStatsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; resultSet_ = null; if (resultSetBuilder_ != null) { resultSetBuilder_.dispose(); resultSetBuilder_ = null; } queryStats_ = null; if (queryStatsBuilder_ != null) { queryStatsBuilder_.dispose(); queryStatsBuilder_ = null; } queryFullDiagnostics_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.table.YdbTable.internal_static_Ydb_Table_ExecuteScanQueryPartialResult_descriptor; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult getDefaultInstanceForType() { return tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult build() { tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult buildPartial() { tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult result = new tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.resultSet_ = resultSetBuilder_ == null ? resultSet_ : resultSetBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.queryStats_ = queryStatsBuilder_ == null ? queryStats_ : queryStatsBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.queryFullDiagnostics_ = queryFullDiagnostics_; } 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.table.YdbTable.ExecuteScanQueryPartialResult) { return mergeFrom((tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult other) { if (other == tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult.getDefaultInstance()) return this; if (other.hasResultSet()) { mergeResultSet(other.getResultSet()); } if (other.hasQueryStats()) { mergeQueryStats(other.getQueryStats()); } if (!other.getQueryFullDiagnostics().isEmpty()) { queryFullDiagnostics_ = other.queryFullDiagnostics_; bitField0_ |= 0x00000004; 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( getResultSetFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 50: { input.readMessage( getQueryStatsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 50 case 58: { queryFullDiagnostics_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 58 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.ValueProtos.ResultSet resultSet_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.ValueProtos.ResultSet, tech.ydb.proto.ValueProtos.ResultSet.Builder, tech.ydb.proto.ValueProtos.ResultSetOrBuilder> resultSetBuilder_; /** * .Ydb.ResultSet result_set = 1; * @return Whether the resultSet field is set. */ public boolean hasResultSet() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.ResultSet result_set = 1; * @return The resultSet. */ public tech.ydb.proto.ValueProtos.ResultSet getResultSet() { if (resultSetBuilder_ == null) { return resultSet_ == null ? tech.ydb.proto.ValueProtos.ResultSet.getDefaultInstance() : resultSet_; } else { return resultSetBuilder_.getMessage(); } } /** * .Ydb.ResultSet result_set = 1; */ public Builder setResultSet(tech.ydb.proto.ValueProtos.ResultSet value) { if (resultSetBuilder_ == null) { if (value == null) { throw new NullPointerException(); } resultSet_ = value; } else { resultSetBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .Ydb.ResultSet result_set = 1; */ public Builder setResultSet( tech.ydb.proto.ValueProtos.ResultSet.Builder builderForValue) { if (resultSetBuilder_ == null) { resultSet_ = builderForValue.build(); } else { resultSetBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .Ydb.ResultSet result_set = 1; */ public Builder mergeResultSet(tech.ydb.proto.ValueProtos.ResultSet value) { if (resultSetBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && resultSet_ != null && resultSet_ != tech.ydb.proto.ValueProtos.ResultSet.getDefaultInstance()) { getResultSetBuilder().mergeFrom(value); } else { resultSet_ = value; } } else { resultSetBuilder_.mergeFrom(value); } if (resultSet_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * .Ydb.ResultSet result_set = 1; */ public Builder clearResultSet() { bitField0_ = (bitField0_ & ~0x00000001); resultSet_ = null; if (resultSetBuilder_ != null) { resultSetBuilder_.dispose(); resultSetBuilder_ = null; } onChanged(); return this; } /** * .Ydb.ResultSet result_set = 1; */ public tech.ydb.proto.ValueProtos.ResultSet.Builder getResultSetBuilder() { bitField0_ |= 0x00000001; onChanged(); return getResultSetFieldBuilder().getBuilder(); } /** * .Ydb.ResultSet result_set = 1; */ public tech.ydb.proto.ValueProtos.ResultSetOrBuilder getResultSetOrBuilder() { if (resultSetBuilder_ != null) { return resultSetBuilder_.getMessageOrBuilder(); } else { return resultSet_ == null ? tech.ydb.proto.ValueProtos.ResultSet.getDefaultInstance() : resultSet_; } } /** * .Ydb.ResultSet result_set = 1; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.ValueProtos.ResultSet, tech.ydb.proto.ValueProtos.ResultSet.Builder, tech.ydb.proto.ValueProtos.ResultSetOrBuilder> getResultSetFieldBuilder() { if (resultSetBuilder_ == null) { resultSetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.ValueProtos.ResultSet, tech.ydb.proto.ValueProtos.ResultSet.Builder, tech.ydb.proto.ValueProtos.ResultSetOrBuilder>( getResultSet(), getParentForChildren(), isClean()); resultSet_ = null; } return resultSetBuilder_; } private tech.ydb.proto.YdbQueryStats.QueryStats queryStats_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.YdbQueryStats.QueryStats, tech.ydb.proto.YdbQueryStats.QueryStats.Builder, tech.ydb.proto.YdbQueryStats.QueryStatsOrBuilder> queryStatsBuilder_; /** * .Ydb.TableStats.QueryStats query_stats = 6; * @return Whether the queryStats field is set. */ public boolean hasQueryStats() { return ((bitField0_ & 0x00000002) != 0); } /** * .Ydb.TableStats.QueryStats query_stats = 6; * @return The queryStats. */ public tech.ydb.proto.YdbQueryStats.QueryStats getQueryStats() { if (queryStatsBuilder_ == null) { return queryStats_ == null ? tech.ydb.proto.YdbQueryStats.QueryStats.getDefaultInstance() : queryStats_; } else { return queryStatsBuilder_.getMessage(); } } /** * .Ydb.TableStats.QueryStats query_stats = 6; */ public Builder setQueryStats(tech.ydb.proto.YdbQueryStats.QueryStats value) { if (queryStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } queryStats_ = value; } else { queryStatsBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * .Ydb.TableStats.QueryStats query_stats = 6; */ public Builder setQueryStats( tech.ydb.proto.YdbQueryStats.QueryStats.Builder builderForValue) { if (queryStatsBuilder_ == null) { queryStats_ = builderForValue.build(); } else { queryStatsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * .Ydb.TableStats.QueryStats query_stats = 6; */ public Builder mergeQueryStats(tech.ydb.proto.YdbQueryStats.QueryStats value) { if (queryStatsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && queryStats_ != null && queryStats_ != tech.ydb.proto.YdbQueryStats.QueryStats.getDefaultInstance()) { getQueryStatsBuilder().mergeFrom(value); } else { queryStats_ = value; } } else { queryStatsBuilder_.mergeFrom(value); } if (queryStats_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** * .Ydb.TableStats.QueryStats query_stats = 6; */ public Builder clearQueryStats() { bitField0_ = (bitField0_ & ~0x00000002); queryStats_ = null; if (queryStatsBuilder_ != null) { queryStatsBuilder_.dispose(); queryStatsBuilder_ = null; } onChanged(); return this; } /** * .Ydb.TableStats.QueryStats query_stats = 6; */ public tech.ydb.proto.YdbQueryStats.QueryStats.Builder getQueryStatsBuilder() { bitField0_ |= 0x00000002; onChanged(); return getQueryStatsFieldBuilder().getBuilder(); } /** * .Ydb.TableStats.QueryStats query_stats = 6; */ public tech.ydb.proto.YdbQueryStats.QueryStatsOrBuilder getQueryStatsOrBuilder() { if (queryStatsBuilder_ != null) { return queryStatsBuilder_.getMessageOrBuilder(); } else { return queryStats_ == null ? tech.ydb.proto.YdbQueryStats.QueryStats.getDefaultInstance() : queryStats_; } } /** * .Ydb.TableStats.QueryStats query_stats = 6; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.YdbQueryStats.QueryStats, tech.ydb.proto.YdbQueryStats.QueryStats.Builder, tech.ydb.proto.YdbQueryStats.QueryStatsOrBuilder> getQueryStatsFieldBuilder() { if (queryStatsBuilder_ == null) { queryStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.YdbQueryStats.QueryStats, tech.ydb.proto.YdbQueryStats.QueryStats.Builder, tech.ydb.proto.YdbQueryStats.QueryStatsOrBuilder>( getQueryStats(), getParentForChildren(), isClean()); queryStats_ = null; } return queryStatsBuilder_; } private java.lang.Object queryFullDiagnostics_ = ""; /** *
       * works only in mode: MODE_EXPLAIN,
       * collects additional diagnostics about query compilation, including query plan and scheme
       * 
* * string query_full_diagnostics = 7; * @return The queryFullDiagnostics. */ public java.lang.String getQueryFullDiagnostics() { java.lang.Object ref = queryFullDiagnostics_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryFullDiagnostics_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * works only in mode: MODE_EXPLAIN,
       * collects additional diagnostics about query compilation, including query plan and scheme
       * 
* * string query_full_diagnostics = 7; * @return The bytes for queryFullDiagnostics. */ public com.google.protobuf.ByteString getQueryFullDiagnosticsBytes() { java.lang.Object ref = queryFullDiagnostics_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); queryFullDiagnostics_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * works only in mode: MODE_EXPLAIN,
       * collects additional diagnostics about query compilation, including query plan and scheme
       * 
* * string query_full_diagnostics = 7; * @param value The queryFullDiagnostics to set. * @return This builder for chaining. */ public Builder setQueryFullDiagnostics( java.lang.String value) { if (value == null) { throw new NullPointerException(); } queryFullDiagnostics_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * works only in mode: MODE_EXPLAIN,
       * collects additional diagnostics about query compilation, including query plan and scheme
       * 
* * string query_full_diagnostics = 7; * @return This builder for chaining. */ public Builder clearQueryFullDiagnostics() { queryFullDiagnostics_ = getDefaultInstance().getQueryFullDiagnostics(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** *
       * works only in mode: MODE_EXPLAIN,
       * collects additional diagnostics about query compilation, including query plan and scheme
       * 
* * string query_full_diagnostics = 7; * @param value The bytes for queryFullDiagnostics to set. * @return This builder for chaining. */ public Builder setQueryFullDiagnosticsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); queryFullDiagnostics_ = value; bitField0_ |= 0x00000004; 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.Table.ExecuteScanQueryPartialResult) } // @@protoc_insertion_point(class_scope:Ydb.Table.ExecuteScanQueryPartialResult) private static final tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult(); } public static tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExecuteScanQueryPartialResult 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.table.YdbTable.ExecuteScanQueryPartialResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_CreateSessionRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_CreateSessionRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_CreateSessionResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_CreateSessionResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_CreateSessionResult_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_CreateSessionResult_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_DeleteSessionRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_DeleteSessionRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_DeleteSessionResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_DeleteSessionResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_GlobalIndex_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_GlobalIndex_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_GlobalAsyncIndex_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_GlobalAsyncIndex_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_GlobalUniqueIndex_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_GlobalUniqueIndex_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_TableIndex_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_TableIndex_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_TableIndexDescription_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_TableIndexDescription_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_IndexBuildState_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_IndexBuildState_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_IndexBuildDescription_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_IndexBuildDescription_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_IndexBuildMetadata_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_IndexBuildMetadata_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ChangefeedMode_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ChangefeedMode_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ChangefeedFormat_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ChangefeedFormat_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_Changefeed_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_Changefeed_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_Changefeed_AttributesEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_Changefeed_AttributesEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ChangefeedDescription_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ChangefeedDescription_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ChangefeedDescription_AttributesEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ChangefeedDescription_AttributesEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_StoragePool_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_StoragePool_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_StoragePolicy_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_StoragePolicy_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ColumnFamilyPolicy_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ColumnFamilyPolicy_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_CompactionPolicy_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_CompactionPolicy_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ExplicitPartitions_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ExplicitPartitions_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_PartitionStats_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_PartitionStats_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_TableStats_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_TableStats_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_PartitioningPolicy_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_PartitioningPolicy_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ExecutionPolicy_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ExecutionPolicy_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ReplicationPolicy_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ReplicationPolicy_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_CachingPolicy_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_CachingPolicy_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_TableProfile_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_TableProfile_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_SequenceDescription_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_SequenceDescription_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_SequenceDescription_SetVal_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_SequenceDescription_SetVal_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ColumnMeta_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ColumnMeta_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_DateTypeColumnModeSettings_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_DateTypeColumnModeSettings_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ValueSinceUnixEpochModeSettings_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ValueSinceUnixEpochModeSettings_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_TtlSettings_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_TtlSettings_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_StorageSettings_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_StorageSettings_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ColumnFamily_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ColumnFamily_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_PartitioningSettings_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_PartitioningSettings_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_AzReadReplicasSettings_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_AzReadReplicasSettings_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ClusterReplicasSettings_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ClusterReplicasSettings_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ReadReplicasSettings_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ReadReplicasSettings_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_CreateTableRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_CreateTableRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_CreateTableRequest_AttributesEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_CreateTableRequest_AttributesEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_CreateTableResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_CreateTableResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_DropTableRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_DropTableRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_DropTableResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_DropTableResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_RenameIndexItem_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_RenameIndexItem_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_AlterTableRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_AlterTableRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_AlterTableRequest_AlterAttributesEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_AlterTableRequest_AlterAttributesEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_AlterTableResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_AlterTableResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_CopyTableRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_CopyTableRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_CopyTableResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_CopyTableResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_CopyTableItem_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_CopyTableItem_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_CopyTablesRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_CopyTablesRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_CopyTablesResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_CopyTablesResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_RenameTableItem_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_RenameTableItem_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_RenameTablesRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_RenameTablesRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_RenameTablesResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_RenameTablesResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_DescribeTableRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_DescribeTableRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_DescribeTableResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_DescribeTableResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_DescribeTableResult_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_DescribeTableResult_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_DescribeTableResult_AttributesEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_DescribeTableResult_AttributesEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_Query_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_Query_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_SerializableModeSettings_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_SerializableModeSettings_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_OnlineModeSettings_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_OnlineModeSettings_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_StaleModeSettings_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_StaleModeSettings_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_SnapshotModeSettings_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_SnapshotModeSettings_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_TransactionSettings_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_TransactionSettings_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_TransactionControl_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_TransactionControl_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_QueryCachePolicy_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_QueryCachePolicy_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_QueryStatsCollection_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_QueryStatsCollection_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ExecuteDataQueryRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ExecuteDataQueryRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ExecuteDataQueryRequest_ParametersEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ExecuteDataQueryRequest_ParametersEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ExecuteDataQueryResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ExecuteDataQueryResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ExecuteSchemeQueryRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ExecuteSchemeQueryRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ExecuteSchemeQueryResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ExecuteSchemeQueryResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_TransactionMeta_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_TransactionMeta_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_QueryMeta_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_QueryMeta_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_QueryMeta_ParametersTypesEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_QueryMeta_ParametersTypesEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ExecuteQueryResult_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ExecuteQueryResult_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ExplainDataQueryRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ExplainDataQueryRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ExplainDataQueryResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ExplainDataQueryResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ExplainQueryResult_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ExplainQueryResult_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_PrepareDataQueryRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_PrepareDataQueryRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_PrepareDataQueryResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_PrepareDataQueryResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_PrepareQueryResult_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_PrepareQueryResult_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_PrepareQueryResult_ParametersTypesEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_PrepareQueryResult_ParametersTypesEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_KeepAliveRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_KeepAliveRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_KeepAliveResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_KeepAliveResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_KeepAliveResult_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_KeepAliveResult_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_BeginTransactionRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_BeginTransactionRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_BeginTransactionResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_BeginTransactionResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_BeginTransactionResult_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_BeginTransactionResult_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_CommitTransactionRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_CommitTransactionRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_CommitTransactionResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_CommitTransactionResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_CommitTransactionResult_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_CommitTransactionResult_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_RollbackTransactionRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_RollbackTransactionRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_RollbackTransactionResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_RollbackTransactionResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_StoragePolicyDescription_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_StoragePolicyDescription_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_StoragePolicyDescription_LabelsEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_StoragePolicyDescription_LabelsEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_CompactionPolicyDescription_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_CompactionPolicyDescription_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_CompactionPolicyDescription_LabelsEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_CompactionPolicyDescription_LabelsEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_PartitioningPolicyDescription_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_PartitioningPolicyDescription_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_PartitioningPolicyDescription_LabelsEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_PartitioningPolicyDescription_LabelsEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ExecutionPolicyDescription_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ExecutionPolicyDescription_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ExecutionPolicyDescription_LabelsEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ExecutionPolicyDescription_LabelsEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ReplicationPolicyDescription_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ReplicationPolicyDescription_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ReplicationPolicyDescription_LabelsEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ReplicationPolicyDescription_LabelsEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_CachingPolicyDescription_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_CachingPolicyDescription_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_CachingPolicyDescription_LabelsEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_CachingPolicyDescription_LabelsEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_TableProfileDescription_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_TableProfileDescription_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_TableProfileDescription_LabelsEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_TableProfileDescription_LabelsEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_DescribeTableOptionsRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_DescribeTableOptionsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_DescribeTableOptionsResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_DescribeTableOptionsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_DescribeTableOptionsResult_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_DescribeTableOptionsResult_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_KeyRange_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_KeyRange_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ReadTableRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ReadTableRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ReadTableResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ReadTableResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ReadTableResult_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ReadTableResult_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ReadRowsRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ReadRowsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ReadRowsResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ReadRowsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_BulkUpsertRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_BulkUpsertRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_BulkUpsertResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_BulkUpsertResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_BulkUpsertResult_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_BulkUpsertResult_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ExecuteScanQueryRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ExecuteScanQueryRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ExecuteScanQueryRequest_ParametersEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ExecuteScanQueryRequest_ParametersEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ExecuteScanQueryPartialResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ExecuteScanQueryPartialResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Table_ExecuteScanQueryPartialResult_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Table_ExecuteScanQueryPartialResult_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\026protos/ydb_table.proto\022\tYdb.Table\032#pro" + "tos/annotations/validation.proto\032\027protos" + "/ydb_common.proto\032\036protos/ydb_issue_mess" + "age.proto\032\032protos/ydb_operation.proto\032\034p" + "rotos/ydb_query_stats.proto\032\026protos/ydb_" + "value.proto\032\027protos/ydb_scheme.proto\032\035pr" + "otos/ydb_status_codes.proto\032\026protos/ydb_" + "topic.proto\032\030protos/ydb_formats.proto\032\033g" + "oogle/protobuf/empty.proto\032\036google/proto" + "buf/duration.proto\032\037google/protobuf/time" + "stamp.proto\"Q\n\024CreateSessionRequest\0229\n\020o" + "peration_params\030\001 \001(\0132\037.Ydb.Operations.O" + "perationParams\"E\n\025CreateSessionResponse\022" + ",\n\toperation\030\001 \001(\0132\031.Ydb.Operations.Oper" + "ation\")\n\023CreateSessionResult\022\022\n\nsession_" + "id\030\001 \001(\t\"e\n\024DeleteSessionRequest\022\022\n\nsess" + "ion_id\030\001 \001(\t\0229\n\020operation_params\030\002 \001(\0132\037" + ".Ydb.Operations.OperationParams\"E\n\025Delet" + "eSessionResponse\022,\n\toperation\030\001 \001(\0132\031.Yd" + "b.Operations.Operation\"\r\n\013GlobalIndex\"\022\n" + "\020GlobalAsyncIndex\"\023\n\021GlobalUniqueIndex\"\367" + "\001\n\nTableIndex\022\014\n\004name\030\001 \001(\t\022\025\n\rindex_col" + "umns\030\002 \003(\t\022.\n\014global_index\030\003 \001(\0132\026.Ydb.T" + "able.GlobalIndexH\000\0229\n\022global_async_index" + "\030\004 \001(\0132\033.Ydb.Table.GlobalAsyncIndexH\000\022;\n" + "\023global_unique_index\030\006 \001(\0132\034.Ydb.Table.G" + "lobalUniqueIndexH\000\022\024\n\014data_columns\030\005 \003(\t" + "B\006\n\004type\"\230\003\n\025TableIndexDescription\022\014\n\004na" + "me\030\001 \001(\t\022\025\n\rindex_columns\030\002 \003(\t\022.\n\014globa" + "l_index\030\003 \001(\0132\026.Ydb.Table.GlobalIndexH\000\022" + "9\n\022global_async_index\030\005 \001(\0132\033.Ydb.Table." + "GlobalAsyncIndexH\000\022;\n\023global_unique_inde" + "x\030\010 \001(\0132\034.Ydb.Table.GlobalUniqueIndexH\000\022" + "7\n\006status\030\004 \001(\0162\'.Ydb.Table.TableIndexDe" + "scription.Status\022\024\n\014data_columns\030\006 \003(\t\022\022" + "\n\nsize_bytes\030\007 \001(\004\"G\n\006Status\022\026\n\022STATUS_U" + "NSPECIFIED\020\000\022\020\n\014STATUS_READY\020\001\022\023\n\017STATUS" + "_BUILDING\020\002B\006\n\004type\"\335\001\n\017IndexBuildState\"" + "\311\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\023\n\017STAT" + "E_PREPARING\020\001\022\032\n\026STATE_TRANSFERING_DATA\020" + "\002\022\022\n\016STATE_APPLYING\020\003\022\016\n\nSTATE_DONE\020\004\022\026\n" + "\022STATE_CANCELLATION\020\005\022\023\n\017STATE_CANCELLED" + "\020\006\022\023\n\017STATE_REJECTION\020\007\022\022\n\016STATE_REJECTE" + "D\020\010\"K\n\025IndexBuildDescription\022\014\n\004path\030\001 \001" + "(\t\022$\n\005index\030\002 \001(\0132\025.Ydb.Table.TableIndex" + "\"\216\001\n\022IndexBuildMetadata\0225\n\013description\030\001" + " \001(\0132 .Ydb.Table.IndexBuildDescription\022/" + "\n\005state\030\002 \001(\0162 .Ydb.Table.IndexBuildStat" + "e.State\022\020\n\010progress\030\003 \001(\002\"\232\001\n\016Changefeed" + "Mode\"\207\001\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\022\n\016M" + "ODE_KEYS_ONLY\020\001\022\020\n\014MODE_UPDATES\020\002\022\022\n\016MOD" + "E_NEW_IMAGE\020\003\022\022\n\016MODE_OLD_IMAGE\020\004\022\033\n\027MOD" + "E_NEW_AND_OLD_IMAGES\020\005\"\201\001\n\020ChangefeedFor" + "mat\"m\n\006Format\022\026\n\022FORMAT_UNSPECIFIED\020\000\022\017\n" + "\013FORMAT_JSON\020\001\022 \n\034FORMAT_DYNAMODB_STREAM" + "S_JSON\020\002\022\030\n\024FORMAT_DEBEZIUM_JSON\020\003\"\216\004\n\nC" + "hangefeed\022\014\n\004name\030\001 \001(\t\022,\n\004mode\030\002 \001(\0162\036." + "Ydb.Table.ChangefeedMode.Mode\0222\n\006format\030" + "\003 \001(\0162\".Ydb.Table.ChangefeedFormat.Forma" + "t\0223\n\020retention_period\030\004 \001(\0132\031.google.pro" + "tobuf.Duration\022\032\n\022virtual_timestamps\030\005 \001" + "(\010\022\024\n\014initial_scan\030\006 \001(\010\022R\n\nattributes\030\007" + " \003(\0132%.Ydb.Table.Changefeed.AttributesEn" + "tryB\027\242\346*\007\n\005\010\001\020\200 \252\346*\010\n\006\n\004\010\001\020d\022\033\n\naws_regi" + "on\030\010 \001(\tB\007\242\346*\003\030\200\001\022?\n\034resolved_timestamps" + "_interval\030\t \001(\0132\031.google.protobuf.Durati" + "on\022D\n\033topic_partitioning_settings\030\n \001(\0132" + "\037.Ydb.Topic.PartitioningSettings\0321\n\017Attr" + "ibutesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + "\0028\001\"\207\004\n\025ChangefeedDescription\022\014\n\004name\030\001 " + "\001(\t\022,\n\004mode\030\002 \001(\0162\036.Ydb.Table.Changefeed" + "Mode.Mode\0222\n\006format\030\003 \001(\0162\".Ydb.Table.Ch" + "angefeedFormat.Format\0225\n\005state\030\004 \001(\0162&.Y" + "db.Table.ChangefeedDescription.State\022\032\n\022" + "virtual_timestamps\030\005 \001(\010\022D\n\nattributes\030\006" + " \003(\01320.Ydb.Table.ChangefeedDescription.A" + "ttributesEntry\022\022\n\naws_region\030\007 \001(\t\022?\n\034re" + "solved_timestamps_interval\030\010 \001(\0132\031.googl" + "e.protobuf.Duration\0321\n\017AttributesEntry\022\013" + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"]\n\005State\022" + "\025\n\021STATE_UNSPECIFIED\020\000\022\021\n\rSTATE_ENABLED\020" + "\001\022\022\n\016STATE_DISABLED\020\002\022\026\n\022STATE_INITIAL_S" + "CAN\020\003\"\034\n\013StoragePool\022\r\n\005media\030\001 \001(\t\"\252\002\n\r" + "StoragePolicy\022\023\n\013preset_name\030\001 \001(\t\022&\n\006sy" + "slog\030\002 \001(\0132\026.Ydb.Table.StoragePool\022#\n\003lo" + "g\030\003 \001(\0132\026.Ydb.Table.StoragePool\022$\n\004data\030" + "\004 \001(\0132\026.Ydb.Table.StoragePool\022(\n\010externa" + "l\030\005 \001(\0132\026.Ydb.Table.StoragePool\022/\n\016keep_" + "in_memory\030\006 \001(\0162\027.Ydb.FeatureFlag.Status" + "\0226\n\017column_families\030\007 \003(\0132\035.Ydb.Table.Co" + "lumnFamilyPolicy\"\261\002\n\022ColumnFamilyPolicy\022" + "\014\n\004name\030\001 \001(\t\022$\n\004data\030\002 \001(\0132\026.Ydb.Table." + "StoragePool\022(\n\010external\030\003 \001(\0132\026.Ydb.Tabl" + "e.StoragePool\022/\n\016keep_in_memory\030\004 \001(\0162\027." + "Ydb.FeatureFlag.Status\022>\n\013compression\030\005 " + "\001(\0162).Ydb.Table.ColumnFamilyPolicy.Compr" + "ession\"L\n\013Compression\022\033\n\027COMPRESSION_UNS" + "PECIFIED\020\000\022\020\n\014UNCOMPRESSED\020\001\022\016\n\nCOMPRESS" + "ED\020\002\"\'\n\020CompactionPolicy\022\023\n\013preset_name\030" + "\001 \001(\t\";\n\022ExplicitPartitions\022%\n\014split_poi" + "nts\030\001 \003(\0132\017.Ydb.TypedValue\";\n\016PartitionS" + "tats\022\025\n\rrows_estimate\030\001 \001(\004\022\022\n\nstore_siz" + "e\030\002 \001(\004\"\351\001\n\nTableStats\0222\n\017partition_stat" + "s\030\001 \003(\0132\031.Ydb.Table.PartitionStats\022\025\n\rro" + "ws_estimate\030\002 \001(\004\022\022\n\nstore_size\030\003 \001(\004\022\022\n" + "\npartitions\030\004 \001(\004\0221\n\rcreation_time\030\005 \001(\013" + "2\032.google.protobuf.Timestamp\0225\n\021modifica" + "tion_time\030\006 \001(\0132\032.google.protobuf.Timest" + "amp\"\334\002\n\022PartitioningPolicy\022\023\n\013preset_nam" + "e\030\001 \001(\t\022O\n\021auto_partitioning\030\002 \001(\01624.Ydb" + ".Table.PartitioningPolicy.AutoPartitioni" + "ngPolicy\022\034\n\022uniform_partitions\030\003 \001(\004H\000\022<" + "\n\023explicit_partitions\030\004 \001(\0132\035.Ydb.Table." + "ExplicitPartitionsH\000\"v\n\026AutoPartitioning" + "Policy\022(\n$AUTO_PARTITIONING_POLICY_UNSPE" + "CIFIED\020\000\022\014\n\010DISABLED\020\001\022\016\n\nAUTO_SPLIT\020\002\022\024" + "\n\020AUTO_SPLIT_MERGE\020\003B\014\n\npartitions\"&\n\017Ex" + "ecutionPolicy\022\023\n\013preset_name\030\001 \001(\t\"\261\001\n\021R" + "eplicationPolicy\022\023\n\013preset_name\030\001 \001(\t\022\026\n" + "\016replicas_count\030\002 \001(\r\022=\n\034create_per_avai" + "lability_zone\030\003 \001(\0162\027.Ydb.FeatureFlag.St" + "atus\0220\n\017allow_promotion\030\004 \001(\0162\027.Ydb.Feat" + "ureFlag.Status\"$\n\rCachingPolicy\022\023\n\013prese" + "t_name\030\001 \001(\t\"\353\002\n\014TableProfile\022\023\n\013preset_" + "name\030\001 \001(\t\0220\n\016storage_policy\030\002 \001(\0132\030.Ydb" + ".Table.StoragePolicy\0226\n\021compaction_polic" + "y\030\003 \001(\0132\033.Ydb.Table.CompactionPolicy\022:\n\023" + "partitioning_policy\030\004 \001(\0132\035.Ydb.Table.Pa" + "rtitioningPolicy\0224\n\020execution_policy\030\005 \001" + "(\0132\032.Ydb.Table.ExecutionPolicy\0228\n\022replic" + "ation_policy\030\006 \001(\0132\034.Ydb.Table.Replicati" + "onPolicy\0220\n\016caching_policy\030\007 \001(\0132\030.Ydb.T" + "able.CachingPolicy\"\252\003\n\023SequenceDescripti" + "on\022\021\n\004name\030\001 \001(\tH\000\210\001\001\022\026\n\tmin_value\030\002 \001(\022" + "H\001\210\001\001\022\026\n\tmax_value\030\003 \001(\022H\002\210\001\001\022\030\n\013start_v" + "alue\030\004 \001(\022H\003\210\001\001\022\022\n\005cache\030\005 \001(\004H\004\210\001\001\022\026\n\ti" + "ncrement\030\006 \001(\022H\005\210\001\001\022\022\n\005cycle\030\007 \001(\010H\006\210\001\001\022" + ";\n\007set_val\030\010 \001(\0132%.Ydb.Table.SequenceDes" + "cription.SetValH\007\210\001\001\032V\n\006SetVal\022\027\n\nnext_v" + "alue\030\001 \001(\022H\000\210\001\001\022\026\n\tnext_used\030\002 \001(\010H\001\210\001\001B" + "\r\n\013_next_valueB\014\n\n_next_usedB\007\n\005_nameB\014\n" + "\n_min_valueB\014\n\n_max_valueB\016\n\014_start_valu" + "eB\010\n\006_cacheB\014\n\n_incrementB\010\n\006_cycleB\n\n\010_" + "set_val\"\332\001\n\nColumnMeta\022\014\n\004name\030\001 \001(\t\022\027\n\004" + "type\030\002 \001(\0132\t.Ydb.Type\022\016\n\006family\030\003 \001(\t\022\025\n" + "\010not_null\030\004 \001(\010H\001\210\001\001\022\'\n\014from_literal\030\005 \001" + "(\0132\017.Ydb.TypedValueH\000\0227\n\rfrom_sequence\030\006" + " \001(\0132\036.Ydb.Table.SequenceDescriptionH\000B\017" + "\n\rdefault_valueB\013\n\t_not_null\"O\n\032DateType" + "ColumnModeSettings\022\023\n\013column_name\030\001 \001(\t\022" + "\034\n\024expire_after_seconds\030\002 \001(\r\"\216\002\n\037ValueS" + "inceUnixEpochModeSettings\022\023\n\013column_name" + "\030\001 \001(\t\022D\n\013column_unit\030\002 \001(\0162/.Ydb.Table." + "ValueSinceUnixEpochModeSettings.Unit\022\034\n\024" + "expire_after_seconds\030\003 \001(\r\"r\n\004Unit\022\024\n\020UN" + "IT_UNSPECIFIED\020\000\022\020\n\014UNIT_SECONDS\020\001\022\025\n\021UN" + "IT_MILLISECONDS\020\002\022\025\n\021UNIT_MICROSECONDS\020\003" + "\022\024\n\020UNIT_NANOSECONDS\020\004\"\304\001\n\013TtlSettings\022A" + "\n\020date_type_column\030\001 \001(\0132%.Ydb.Table.Dat" + "eTypeColumnModeSettingsH\000\022L\n\026value_since" + "_unix_epoch\030\002 \001(\0132*.Ydb.Table.ValueSince" + "UnixEpochModeSettingsH\000\022\034\n\024run_interval_" + "seconds\030\003 \001(\rB\006\n\004mode\"\332\001\n\017StorageSetting" + "s\0222\n\022tablet_commit_log0\030\001 \001(\0132\026.Ydb.Tabl" + "e.StoragePool\0222\n\022tablet_commit_log1\030\002 \001(" + "\0132\026.Ydb.Table.StoragePool\022(\n\010external\030\004 " + "\001(\0132\026.Ydb.Table.StoragePool\0225\n\024store_ext" + "ernal_blobs\030\005 \001(\0162\027.Ydb.FeatureFlag.Stat" + "us\"\204\002\n\014ColumnFamily\022\014\n\004name\030\001 \001(\t\022$\n\004dat" + "a\030\002 \001(\0132\026.Ydb.Table.StoragePool\0228\n\013compr" + "ession\030\003 \001(\0162#.Ydb.Table.ColumnFamily.Co" + "mpression\022/\n\016keep_in_memory\030\004 \001(\0162\027.Ydb." + "FeatureFlag.Status\"U\n\013Compression\022\033\n\027COM" + "PRESSION_UNSPECIFIED\020\000\022\024\n\020COMPRESSION_NO" + "NE\020\001\022\023\n\017COMPRESSION_LZ4\020\002\"\367\001\n\024Partitioni" + "ngSettings\022\024\n\014partition_by\030\001 \003(\t\0225\n\024part" + "itioning_by_size\030\002 \001(\0162\027.Ydb.FeatureFlag" + ".Status\022\031\n\021partition_size_mb\030\003 \001(\004\0225\n\024pa" + "rtitioning_by_load\030\004 \001(\0162\027.Ydb.FeatureFl" + "ag.Status\022\034\n\024min_partitions_count\030\006 \001(\004\022" + "\034\n\024max_partitions_count\030\007 \001(\004J\004\010\005\020\006\"C\n\026A" + "zReadReplicasSettings\022\014\n\004name\030\001 \001(\t\022\033\n\023r" + "ead_replicas_count\030\002 \001(\004\"_\n\027ClusterRepli" + "casSettings\022D\n\031az_read_replicas_settings" + "\030\002 \003(\0132!.Ydb.Table.AzReadReplicasSetting" + "s\"t\n\024ReadReplicasSettings\022$\n\032per_az_read" + "_replicas_count\030\001 \001(\004H\000\022$\n\032any_az_read_r" + "eplicas_count\030\002 \001(\004H\000B\n\n\010settingsJ\004\010\003\020\004\"" + "\252\007\n\022CreateTableRequest\022\022\n\nsession_id\030\001 \001" + "(\t\022\014\n\004path\030\002 \001(\t\022&\n\007columns\030\003 \003(\0132\025.Ydb." + "Table.ColumnMeta\022\023\n\013primary_key\030\004 \003(\t\022(\n" + "\007profile\030\005 \001(\0132\027.Ydb.Table.TableProfile\022" + "9\n\020operation_params\030\006 \001(\0132\037.Ydb.Operatio" + "ns.OperationParams\022&\n\007indexes\030\007 \003(\0132\025.Yd" + "b.Table.TableIndex\022,\n\014ttl_settings\030\010 \001(\013" + "2\026.Ydb.Table.TtlSettings\0224\n\020storage_sett" + "ings\030\t \001(\0132\032.Ydb.Table.StorageSettings\0220" + "\n\017column_families\030\n \003(\0132\027.Ydb.Table.Colu" + "mnFamily\022Z\n\nattributes\030\013 \003(\0132-.Ydb.Table" + ".CreateTableRequest.AttributesEntryB\027\242\346*" + "\007\n\005\010\001\020\200 \252\346*\010\n\006\n\004\010\001\020d\022\031\n\021compaction_polic" + "y\030\014 \001(\t\022\034\n\022uniform_partitions\030\r \001(\004H\000\022:\n" + "\021partition_at_keys\030\016 \001(\0132\035.Ydb.Table.Exp" + "licitPartitionsH\000\022>\n\025partitioning_settin" + "gs\030\017 \001(\0132\037.Ydb.Table.PartitioningSetting" + "s\0221\n\020key_bloom_filter\030\020 \001(\0162\027.Ydb.Featur" + "eFlag.Status\022?\n\026read_replicas_settings\030\021" + " \001(\0132\037.Ydb.Table.ReadReplicasSettings\022\017\n" + "\007tiering\030\022 \001(\t\022\021\n\ttemporary\030\023 \001(\010\022(\n\nsto" + "re_type\030\024 \001(\0162\024.Ydb.Table.StoreType\0321\n\017A" + "ttributesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" + "(\t:\0028\001B\014\n\npartitions\"C\n\023CreateTableRespo" + "nse\022,\n\toperation\030\001 \001(\0132\031.Ydb.Operations." + "Operation\"u\n\020DropTableRequest\022\022\n\nsession" + "_id\030\001 \001(\t\022\014\n\004path\030\002 \001(\t\0229\n\020operation_par" + "ams\030\004 \001(\0132\037.Ydb.Operations.OperationPara" + "msJ\004\010\003\020\004\"A\n\021DropTableResponse\022,\n\toperati" + "on\030\001 \001(\0132\031.Ydb.Operations.Operation\"]\n\017R" + "enameIndexItem\022\023\n\013source_name\030\001 \001(\t\022\030\n\020d" + "estination_name\030\002 \001(\t\022\033\n\023replace_destina" + "tion\030\003 \001(\010\"\225\t\n\021AlterTableRequest\022\022\n\nsess" + "ion_id\030\001 \001(\t\022\014\n\004path\030\002 \001(\t\022*\n\013add_column" + "s\030\003 \003(\0132\025.Ydb.Table.ColumnMeta\022\024\n\014drop_c" + "olumns\030\004 \003(\t\0229\n\020operation_params\030\005 \001(\0132\037" + ".Ydb.Operations.OperationParams\022,\n\ralter" + "_columns\030\006 \003(\0132\025.Ydb.Table.ColumnMeta\0222\n" + "\020set_ttl_settings\030\007 \001(\0132\026.Ydb.Table.TtlS" + "ettingsH\000\0223\n\021drop_ttl_settings\030\010 \001(\0132\026.g" + "oogle.protobuf.EmptyH\000\022*\n\013add_indexes\030\t " + "\003(\0132\025.Ydb.Table.TableIndex\022\024\n\014drop_index" + "es\030\n \003(\t\022:\n\026alter_storage_settings\030\013 \001(\013" + "2\032.Ydb.Table.StorageSettings\0224\n\023add_colu" + "mn_families\030\014 \003(\0132\027.Ydb.Table.ColumnFami" + "ly\0226\n\025alter_column_families\030\r \003(\0132\027.Ydb." + "Table.ColumnFamily\022`\n\020alter_attributes\030\016" + " \003(\01321.Ydb.Table.AlterTableRequest.Alter" + "AttributesEntryB\023\242\346*\003\030\200 \252\346*\010\n\006\n\004\010\001\020d\022\035\n\025" + "set_compaction_policy\030\017 \001(\t\022D\n\033alter_par" + "titioning_settings\030\020 \001(\0132\037.Ydb.Table.Par" + "titioningSettings\0225\n\024set_key_bloom_filte" + "r\030\021 \001(\0162\027.Ydb.FeatureFlag.Status\022C\n\032set_" + "read_replicas_settings\030\022 \001(\0132\037.Ydb.Table" + ".ReadReplicasSettings\022.\n\017add_changefeeds" + "\030\023 \003(\0132\025.Ydb.Table.Changefeed\022\030\n\020drop_ch" + "angefeeds\030\024 \003(\t\0222\n\016rename_indexes\030\025 \003(\0132" + "\032.Ydb.Table.RenameIndexItem\022\025\n\013set_tieri" + "ng\030\026 \001(\tH\001\022.\n\014drop_tiering\030\027 \001(\0132\026.googl" + "e.protobuf.EmptyH\001\0326\n\024AlterAttributesEnt" + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\014\n\ntt" + "l_actionB\020\n\016tiering_action\"B\n\022AlterTable" + "Response\022,\n\toperation\030\001 \001(\0132\031.Ydb.Operat" + "ions.Operation\"\220\001\n\020CopyTableRequest\022\022\n\ns" + "ession_id\030\001 \001(\t\022\023\n\013source_path\030\002 \001(\t\022\030\n\020" + "destination_path\030\003 \001(\t\0229\n\020operation_para" + "ms\030\004 \001(\0132\037.Ydb.Operations.OperationParam" + "s\"A\n\021CopyTableResponse\022,\n\toperation\030\001 \001(" + "\0132\031.Ydb.Operations.Operation\"T\n\rCopyTabl" + "eItem\022\023\n\013source_path\030\001 \001(\t\022\030\n\020destinatio" + "n_path\030\002 \001(\t\022\024\n\014omit_indexes\030\003 \001(\010\"\214\001\n\021C" + "opyTablesRequest\0229\n\020operation_params\030\001 \001" + "(\0132\037.Ydb.Operations.OperationParams\022\022\n\ns" + "ession_id\030\002 \001(\t\022(\n\006tables\030\003 \003(\0132\030.Ydb.Ta" + "ble.CopyTableItem\"B\n\022CopyTablesResponse\022" + ",\n\toperation\030\001 \001(\0132\031.Ydb.Operations.Oper" + "ation\"]\n\017RenameTableItem\022\023\n\013source_path\030" + "\001 \001(\t\022\030\n\020destination_path\030\002 \001(\t\022\033\n\023repla" + "ce_destination\030\003 \001(\010\"\220\001\n\023RenameTablesReq" + "uest\0229\n\020operation_params\030\001 \001(\0132\037.Ydb.Ope" + "rations.OperationParams\022\022\n\nsession_id\030\002 " + "\001(\t\022*\n\006tables\030\003 \003(\0132\032.Ydb.Table.RenameTa" + "bleItem\"D\n\024RenameTablesResponse\022,\n\topera" + "tion\030\001 \001(\0132\031.Ydb.Operations.Operation\"\323\001" + "\n\024DescribeTableRequest\022\022\n\nsession_id\030\001 \001" + "(\t\022\014\n\004path\030\002 \001(\t\0229\n\020operation_params\030\004 \001" + "(\0132\037.Ydb.Operations.OperationParams\022 \n\030i" + "nclude_shard_key_bounds\030\005 \001(\010\022\033\n\023include" + "_table_stats\030\006 \001(\010\022\037\n\027include_partition_" + "stats\030\007 \001(\010\"E\n\025DescribeTableResponse\022,\n\t" + "operation\030\001 \001(\0132\031.Ydb.Operations.Operati" + "on\"\311\006\n\023DescribeTableResult\022\037\n\004self\030\001 \001(\013" + "2\021.Ydb.Scheme.Entry\022&\n\007columns\030\002 \003(\0132\025.Y" + "db.Table.ColumnMeta\022\023\n\013primary_key\030\003 \003(\t" + "\022)\n\020shard_key_bounds\030\004 \003(\0132\017.Ydb.TypedVa" + "lue\0221\n\007indexes\030\005 \003(\0132 .Ydb.Table.TableIn" + "dexDescription\022*\n\013table_stats\030\006 \001(\0132\025.Yd" + "b.Table.TableStats\022,\n\014ttl_settings\030\007 \001(\013" + "2\026.Ydb.Table.TtlSettings\0224\n\020storage_sett" + "ings\030\010 \001(\0132\032.Ydb.Table.StorageSettings\0220" + "\n\017column_families\030\t \003(\0132\027.Ydb.Table.Colu" + "mnFamily\022B\n\nattributes\030\n \003(\0132..Ydb.Table" + ".DescribeTableResult.AttributesEntry\022>\n\025" + "partitioning_settings\030\014 \001(\0132\037.Ydb.Table." + "PartitioningSettings\0221\n\020key_bloom_filter" + "\030\r \001(\0162\027.Ydb.FeatureFlag.Status\022?\n\026read_" + "replicas_settings\030\016 \001(\0132\037.Ydb.Table.Read" + "ReplicasSettings\0225\n\013changefeeds\030\017 \003(\0132 ." + "Ydb.Table.ChangefeedDescription\022\017\n\007tieri" + "ng\030\020 \001(\t\022\021\n\ttemporary\030\021 \001(\010\022(\n\nstore_typ" + "e\030\022 \001(\0162\024.Ydb.Table.StoreType\0321\n\017Attribu" + "tesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + "J\004\010\013\020\014\"2\n\005Query\022\022\n\010yql_text\030\001 \001(\tH\000\022\014\n\002i" + "d\030\002 \001(\tH\000B\007\n\005query\"\032\n\030SerializableModeSe" + "ttings\"6\n\022OnlineModeSettings\022 \n\030allow_in" + "consistent_reads\030\001 \001(\010\"\023\n\021StaleModeSetti" + "ngs\"\026\n\024SnapshotModeSettings\"\233\002\n\023Transact" + "ionSettings\022F\n\027serializable_read_write\030\001" + " \001(\0132#.Ydb.Table.SerializableModeSetting" + "sH\000\0229\n\020online_read_only\030\002 \001(\0132\035.Ydb.Tabl" + "e.OnlineModeSettingsH\000\0227\n\017stale_read_onl" + "y\030\003 \001(\0132\034.Ydb.Table.StaleModeSettingsH\000\022" + "=\n\022snapshot_read_only\030\004 \001(\0132\037.Ydb.Table." + "SnapshotModeSettingsH\000B\t\n\007tx_mode\"{\n\022Tra" + "nsactionControl\022\017\n\005tx_id\030\001 \001(\tH\000\0222\n\010begi" + "n_tx\030\002 \001(\0132\036.Ydb.Table.TransactionSettin" + "gsH\000\022\021\n\tcommit_tx\030\n \001(\010B\r\n\013tx_selector\")" + "\n\020QueryCachePolicy\022\025\n\rkeep_in_cache\030\001 \001(" + "\010\"\261\001\n\024QueryStatsCollection\"\230\001\n\004Mode\022 \n\034S" + "TATS_COLLECTION_UNSPECIFIED\020\000\022\031\n\025STATS_C" + "OLLECTION_NONE\020\001\022\032\n\026STATS_COLLECTION_BAS" + "IC\020\002\022\031\n\025STATS_COLLECTION_FULL\020\003\022\034\n\030STATS" + "_COLLECTION_PROFILE\020\004\"\276\003\n\027ExecuteDataQue" + "ryRequest\022\022\n\nsession_id\030\001 \001(\t\0221\n\ntx_cont" + "rol\030\002 \001(\0132\035.Ydb.Table.TransactionControl" + "\022\037\n\005query\030\003 \001(\0132\020.Ydb.Table.Query\022F\n\npar" + "ameters\030\004 \003(\01322.Ydb.Table.ExecuteDataQue" + "ryRequest.ParametersEntry\0227\n\022query_cache" + "_policy\030\005 \001(\0132\033.Ydb.Table.QueryCachePoli" + "cy\0229\n\020operation_params\030\006 \001(\0132\037.Ydb.Opera" + "tions.OperationParams\022;\n\rcollect_stats\030\007" + " \001(\0162$.Ydb.Table.QueryStatsCollection.Mo" + "de\032B\n\017ParametersEntry\022\013\n\003key\030\001 \001(\t\022\036\n\005va" + "lue\030\002 \001(\0132\017.Ydb.TypedValue:\0028\001\"H\n\030Execut" + "eDataQueryResponse\022,\n\toperation\030\001 \001(\0132\031." + "Ydb.Operations.Operation\"|\n\031ExecuteSchem" + "eQueryRequest\022\022\n\nsession_id\030\001 \001(\t\022\020\n\010yql" + "_text\030\002 \001(\t\0229\n\020operation_params\030\003 \001(\0132\037." + "Ydb.Operations.OperationParams\"J\n\032Execut" + "eSchemeQueryResponse\022,\n\toperation\030\001 \001(\0132" + "\031.Ydb.Operations.Operation\"\035\n\017Transactio" + "nMeta\022\n\n\002id\030\001 \001(\t\"\237\001\n\tQueryMeta\022\n\n\002id\030\001 " + "\001(\t\022C\n\020parameters_types\030\002 \003(\0132).Ydb.Tabl" + "e.QueryMeta.ParametersTypesEntry\032A\n\024Para" + "metersTypesEntry\022\013\n\003key\030\001 \001(\t\022\030\n\005value\030\002" + " \001(\0132\t.Ydb.Type:\0028\001\"\301\001\n\022ExecuteQueryResu" + "lt\022#\n\013result_sets\030\001 \003(\0132\016.Ydb.ResultSet\022" + "+\n\007tx_meta\030\002 \001(\0132\032.Ydb.Table.Transaction" + "Meta\022(\n\nquery_meta\030\003 \001(\0132\024.Ydb.Table.Que" + "ryMeta\022/\n\013query_stats\030\004 \001(\0132\032.Ydb.TableS" + "tats.QueryStats\"\234\001\n\027ExplainDataQueryRequ" + "est\022\022\n\nsession_id\030\001 \001(\t\022\020\n\010yql_text\030\002 \001(" + "\t\0229\n\020operation_params\030\003 \001(\0132\037.Ydb.Operat" + "ions.OperationParams\022 \n\030collect_full_dia" + "gnostics\030\004 \001(\010\"H\n\030ExplainDataQueryRespon" + "se\022,\n\toperation\030\001 \001(\0132\031.Ydb.Operations.O" + "peration\"[\n\022ExplainQueryResult\022\021\n\tquery_" + "ast\030\001 \001(\t\022\022\n\nquery_plan\030\002 \001(\t\022\036\n\026query_f" + "ull_diagnostics\030\003 \001(\t\"z\n\027PrepareDataQuer" + "yRequest\022\022\n\nsession_id\030\001 \001(\t\022\020\n\010yql_text" + "\030\002 \001(\t\0229\n\020operation_params\030\003 \001(\0132\037.Ydb.O" + "perations.OperationParams\"H\n\030PrepareData" + "QueryResponse\022,\n\toperation\030\001 \001(\0132\031.Ydb.O" + "perations.Operation\"\267\001\n\022PrepareQueryResu" + "lt\022\020\n\010query_id\030\001 \001(\t\022L\n\020parameters_types" + "\030\002 \003(\01322.Ydb.Table.PrepareQueryResult.Pa" + "rametersTypesEntry\032A\n\024ParametersTypesEnt" + "ry\022\013\n\003key\030\001 \001(\t\022\030\n\005value\030\002 \001(\0132\t.Ydb.Typ" + "e:\0028\001\"a\n\020KeepAliveRequest\022\022\n\nsession_id\030" + "\001 \001(\t\0229\n\020operation_params\030\002 \001(\0132\037.Ydb.Op" + "erations.OperationParams\"A\n\021KeepAliveRes" + "ponse\022,\n\toperation\030\001 \001(\0132\031.Ydb.Operation" + "s.Operation\"\267\001\n\017KeepAliveResult\022@\n\016sessi" + "on_status\030\001 \001(\0162(.Ydb.Table.KeepAliveRes" + "ult.SessionStatus\"b\n\rSessionStatus\022\036\n\032SE" + "SSION_STATUS_UNSPECIFIED\020\000\022\030\n\024SESSION_ST" + "ATUS_READY\020\001\022\027\n\023SESSION_STATUS_BUSY\020\002\"\235\001" + "\n\027BeginTransactionRequest\022\022\n\nsession_id\030" + "\001 \001(\t\0223\n\013tx_settings\030\002 \001(\0132\036.Ydb.Table.T" + "ransactionSettings\0229\n\020operation_params\030\003" + " \001(\0132\037.Ydb.Operations.OperationParams\"H\n" + "\030BeginTransactionResponse\022,\n\toperation\030\001" + " \001(\0132\031.Ydb.Operations.Operation\"E\n\026Begin" + "TransactionResult\022+\n\007tx_meta\030\001 \001(\0132\032.Ydb" + ".Table.TransactionMeta\"\265\001\n\030CommitTransac" + "tionRequest\022\022\n\nsession_id\030\001 \001(\t\022\r\n\005tx_id" + "\030\002 \001(\t\0229\n\020operation_params\030\003 \001(\0132\037.Ydb.O" + "perations.OperationParams\022;\n\rcollect_sta" + "ts\030\004 \001(\0162$.Ydb.Table.QueryStatsCollectio" + "n.Mode\"I\n\031CommitTransactionResponse\022,\n\to" + "peration\030\001 \001(\0132\031.Ydb.Operations.Operatio" + "n\"J\n\027CommitTransactionResult\022/\n\013query_st" + "ats\030\001 \001(\0132\032.Ydb.TableStats.QueryStats\"z\n" + "\032RollbackTransactionRequest\022\022\n\nsession_i" + "d\030\001 \001(\t\022\r\n\005tx_id\030\002 \001(\t\0229\n\020operation_para" + "ms\030\003 \001(\0132\037.Ydb.Operations.OperationParam" + "s\"K\n\033RollbackTransactionResponse\022,\n\toper" + "ation\030\001 \001(\0132\031.Ydb.Operations.Operation\"\230" + "\001\n\030StoragePolicyDescription\022\014\n\004name\030\001 \001(" + "\t\022?\n\006labels\030\002 \003(\0132/.Ydb.Table.StoragePol" + "icyDescription.LabelsEntry\032-\n\013LabelsEntr" + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\236\001\n\033Co", "mpactionPolicyDescription\022\014\n\004name\030\001 \001(\t\022" + "B\n\006labels\030\002 \003(\01322.Ydb.Table.CompactionPo" + "licyDescription.LabelsEntry\032-\n\013LabelsEnt" + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\242\001\n\035P" + "artitioningPolicyDescription\022\014\n\004name\030\001 \001" + "(\t\022D\n\006labels\030\002 \003(\01324.Ydb.Table.Partition" + "ingPolicyDescription.LabelsEntry\032-\n\013Labe" + "lsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"" + "\234\001\n\032ExecutionPolicyDescription\022\014\n\004name\030\001" + " \001(\t\022A\n\006labels\030\002 \003(\01321.Ydb.Table.Executi" + "onPolicyDescription.LabelsEntry\032-\n\013Label" + "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\240" + "\001\n\034ReplicationPolicyDescription\022\014\n\004name\030" + "\001 \001(\t\022C\n\006labels\030\002 \003(\01323.Ydb.Table.Replic" + "ationPolicyDescription.LabelsEntry\032-\n\013La" + "belsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" + "\001\"\230\001\n\030CachingPolicyDescription\022\014\n\004name\030\001" + " \001(\t\022?\n\006labels\030\002 \003(\0132/.Ydb.Table.Caching" + "PolicyDescription.LabelsEntry\032-\n\013LabelsE" + "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\276\004\n" + "\027TableProfileDescription\022\014\n\004name\030\001 \001(\t\022>" + "\n\006labels\030\002 \003(\0132..Ydb.Table.TableProfileD" + "escription.LabelsEntry\022\036\n\026default_storag" + "e_policy\030\003 \001(\t\022 \n\030allowed_storage_polici" + "es\030\004 \003(\t\022!\n\031default_compaction_policy\030\005 " + "\001(\t\022#\n\033allowed_compaction_policies\030\006 \003(\t" + "\022#\n\033default_partitioning_policy\030\007 \001(\t\022%\n" + "\035allowed_partitioning_policies\030\010 \003(\t\022 \n\030" + "default_execution_policy\030\t \001(\t\022\"\n\032allowe" + "d_execution_policies\030\n \003(\t\022\"\n\032default_re" + "plication_policy\030\013 \001(\t\022$\n\034allowed_replic" + "ation_policies\030\014 \003(\t\022\036\n\026default_caching_" + "policy\030\r \001(\t\022 \n\030allowed_caching_policies" + "\030\016 \003(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + "lue\030\002 \001(\t:\0028\001\"X\n\033DescribeTableOptionsReq" + "uest\0229\n\020operation_params\030\001 \001(\0132\037.Ydb.Ope" + "rations.OperationParams\"L\n\034DescribeTable" + "OptionsResponse\022,\n\toperation\030\001 \001(\0132\031.Ydb" + ".Operations.Operation\"\231\004\n\032DescribeTableO" + "ptionsResult\022A\n\025table_profile_presets\030\001 " + "\003(\0132\".Ydb.Table.TableProfileDescription\022" + "C\n\026storage_policy_presets\030\002 \003(\0132#.Ydb.Ta" + "ble.StoragePolicyDescription\022I\n\031compacti" + "on_policy_presets\030\003 \003(\0132&.Ydb.Table.Comp" + "actionPolicyDescription\022M\n\033partitioning_" + "policy_presets\030\004 \003(\0132(.Ydb.Table.Partiti" + "oningPolicyDescription\022G\n\030execution_poli" + "cy_presets\030\005 \003(\0132%.Ydb.Table.ExecutionPo" + "licyDescription\022K\n\032replication_policy_pr" + "esets\030\006 \003(\0132\'.Ydb.Table.ReplicationPolic" + "yDescription\022C\n\026caching_policy_presets\030\007" + " \003(\0132#.Ydb.Table.CachingPolicyDescriptio" + "n\"\300\001\n\010KeyRange\022\"\n\007greater\030\001 \001(\0132\017.Ydb.Ty" + "pedValueH\000\022+\n\020greater_or_equal\030\002 \001(\0132\017.Y" + "db.TypedValueH\000\022\037\n\004less\030\003 \001(\0132\017.Ydb.Type" + "dValueH\001\022(\n\rless_or_equal\030\004 \001(\0132\017.Ydb.Ty" + "pedValueH\001B\014\n\nfrom_boundB\n\n\010to_bound\"\270\002\n" + "\020ReadTableRequest\022\022\n\nsession_id\030\001 \001(\t\022\014\n" + "\004path\030\002 \001(\t\022&\n\tkey_range\030\003 \001(\0132\023.Ydb.Tab" + "le.KeyRange\022\017\n\007columns\030\004 \003(\t\022\017\n\007ordered\030" + "\005 \001(\010\022\021\n\trow_limit\030\006 \001(\004\022-\n\014use_snapshot" + "\030\007 \001(\0162\027.Ydb.FeatureFlag.Status\022\031\n\021batch" + "_limit_bytes\030\010 \001(\004\022\030\n\020batch_limit_rows\030\t" + " \001(\004\022A\n return_not_null_data_as_optional" + "\030\n \001(\0162\027.Ydb.FeatureFlag.Status\"\274\001\n\021Read" + "TableResponse\022)\n\006status\030\001 \001(\0162\031.Ydb.Stat" + "usIds.StatusCode\022\'\n\006issues\030\002 \003(\0132\027.Ydb.I" + "ssue.IssueMessage\022\'\n\010snapshot\030\004 \001(\0132\025.Yd" + "b.VirtualTimestamp\022*\n\006result\030\003 \001(\0132\032.Ydb" + ".Table.ReadTableResult\"5\n\017ReadTableResul" + "t\022\"\n\nresult_set\030\001 \001(\0132\016.Ydb.ResultSet\"c\n" + "\017ReadRowsRequest\022\022\n\nsession_id\030\001 \001(\t\022\014\n\004" + "path\030\002 \001(\t\022\035\n\004keys\030\003 \001(\0132\017.Ydb.TypedValu" + "e\022\017\n\007columns\030\004 \003(\t\"\212\001\n\020ReadRowsResponse\022" + ")\n\006status\030\001 \001(\0162\031.Ydb.StatusIds.StatusCo" + "de\022\'\n\006issues\030\002 \003(\0132\027.Ydb.Issue.IssueMess" + "age\022\"\n\nresult_set\030\003 \001(\0132\016.Ydb.ResultSet\"" + "\215\002\n\021BulkUpsertRequest\022\r\n\005table\030\001 \001(\t\022\035\n\004" + "rows\030\002 \001(\0132\017.Ydb.TypedValue\0229\n\020operation" + "_params\030\003 \001(\0132\037.Ydb.Operations.Operation" + "Params\022?\n\024arrow_batch_settings\030\007 \001(\0132\037.Y" + "db.Formats.ArrowBatchSettingsH\000\0220\n\014csv_s" + "ettings\030\010 \001(\0132\030.Ydb.Formats.CsvSettingsH" + "\000\022\r\n\004data\030\350\007 \001(\014B\r\n\013data_format\"B\n\022BulkU" + "psertResponse\022,\n\toperation\030\001 \001(\0132\031.Ydb.O" + "perations.Operation\"\022\n\020BulkUpsertResult\"" + "\263\003\n\027ExecuteScanQueryRequest\022\037\n\005query\030\003 \001" + "(\0132\020.Ydb.Table.Query\022F\n\nparameters\030\004 \003(\013" + "22.Ydb.Table.ExecuteScanQueryRequest.Par" + "ametersEntry\0225\n\004mode\030\006 \001(\0162\'.Ydb.Table.E" + "xecuteScanQueryRequest.Mode\022;\n\rcollect_s" + "tats\030\010 \001(\0162$.Ydb.Table.QueryStatsCollect" + "ion.Mode\022 \n\030collect_full_diagnostics\030\t \001" + "(\010\032B\n\017ParametersEntry\022\013\n\003key\030\001 \001(\t\022\036\n\005va" + "lue\030\002 \001(\0132\017.Ydb.TypedValue:\0028\001\"=\n\004Mode\022\024" + "\n\020MODE_UNSPECIFIED\020\000\022\020\n\014MODE_EXPLAIN\020\001\022\r" + "\n\tMODE_EXEC\020\003J\004\010\001\020\002J\004\010\002\020\003J\004\010\005\020\006J\004\010\007\020\010\"\257\001" + "\n\037ExecuteScanQueryPartialResponse\022)\n\006sta" + "tus\030\001 \001(\0162\031.Ydb.StatusIds.StatusCode\022\'\n\006" + "issues\030\002 \003(\0132\027.Ydb.Issue.IssueMessage\0228\n" + "\006result\030\003 \001(\0132(.Ydb.Table.ExecuteScanQue" + "ryPartialResult\"\254\001\n\035ExecuteScanQueryPart" + "ialResult\022\"\n\nresult_set\030\001 \001(\0132\016.Ydb.Resu" + "ltSet\022/\n\013query_stats\030\006 \001(\0132\032.Ydb.TableSt" + "ats.QueryStats\022\036\n\026query_full_diagnostics" + "\030\007 \001(\tJ\004\010\002\020\003J\004\010\003\020\004J\004\010\004\020\005J\004\010\005\020\006*R\n\tStoreT" + "ype\022\032\n\026STORE_TYPE_UNSPECIFIED\020\000\022\022\n\016STORE" + "_TYPE_ROW\020\001\022\025\n\021STORE_TYPE_COLUMN\020\002BS\n\024te" + "ch.ydb.proto.tableZ8github.com/ydb-platf" + "orm/ydb-go-genproto/protos/Ydb_Table\370\001\001b" + "\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { tech.ydb.proto.Validation.getDescriptor(), tech.ydb.proto.common.CommonProtos.getDescriptor(), tech.ydb.proto.YdbIssueMessage.getDescriptor(), tech.ydb.proto.OperationProtos.getDescriptor(), tech.ydb.proto.YdbQueryStats.getDescriptor(), tech.ydb.proto.ValueProtos.getDescriptor(), tech.ydb.proto.scheme.SchemeOperationProtos.getDescriptor(), tech.ydb.proto.StatusCodesProtos.getDescriptor(), tech.ydb.proto.topic.YdbTopic.getDescriptor(), tech.ydb.proto.formats.YdbFormats.getDescriptor(), com.google.protobuf.EmptyProto.getDescriptor(), com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); internal_static_Ydb_Table_CreateSessionRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_Ydb_Table_CreateSessionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_CreateSessionRequest_descriptor, new java.lang.String[] { "OperationParams", }); internal_static_Ydb_Table_CreateSessionResponse_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_Ydb_Table_CreateSessionResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_CreateSessionResponse_descriptor, new java.lang.String[] { "Operation", }); internal_static_Ydb_Table_CreateSessionResult_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_Ydb_Table_CreateSessionResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_CreateSessionResult_descriptor, new java.lang.String[] { "SessionId", }); internal_static_Ydb_Table_DeleteSessionRequest_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_Ydb_Table_DeleteSessionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_DeleteSessionRequest_descriptor, new java.lang.String[] { "SessionId", "OperationParams", }); internal_static_Ydb_Table_DeleteSessionResponse_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_Ydb_Table_DeleteSessionResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_DeleteSessionResponse_descriptor, new java.lang.String[] { "Operation", }); internal_static_Ydb_Table_GlobalIndex_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_Ydb_Table_GlobalIndex_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_GlobalIndex_descriptor, new java.lang.String[] { }); internal_static_Ydb_Table_GlobalAsyncIndex_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_Ydb_Table_GlobalAsyncIndex_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_GlobalAsyncIndex_descriptor, new java.lang.String[] { }); internal_static_Ydb_Table_GlobalUniqueIndex_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_Ydb_Table_GlobalUniqueIndex_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_GlobalUniqueIndex_descriptor, new java.lang.String[] { }); internal_static_Ydb_Table_TableIndex_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_Ydb_Table_TableIndex_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_TableIndex_descriptor, new java.lang.String[] { "Name", "IndexColumns", "GlobalIndex", "GlobalAsyncIndex", "GlobalUniqueIndex", "DataColumns", "Type", }); internal_static_Ydb_Table_TableIndexDescription_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_Ydb_Table_TableIndexDescription_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_TableIndexDescription_descriptor, new java.lang.String[] { "Name", "IndexColumns", "GlobalIndex", "GlobalAsyncIndex", "GlobalUniqueIndex", "Status", "DataColumns", "SizeBytes", "Type", }); internal_static_Ydb_Table_IndexBuildState_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_Ydb_Table_IndexBuildState_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_IndexBuildState_descriptor, new java.lang.String[] { }); internal_static_Ydb_Table_IndexBuildDescription_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_Ydb_Table_IndexBuildDescription_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_IndexBuildDescription_descriptor, new java.lang.String[] { "Path", "Index", }); internal_static_Ydb_Table_IndexBuildMetadata_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_Ydb_Table_IndexBuildMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_IndexBuildMetadata_descriptor, new java.lang.String[] { "Description", "State", "Progress", }); internal_static_Ydb_Table_ChangefeedMode_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_Ydb_Table_ChangefeedMode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ChangefeedMode_descriptor, new java.lang.String[] { }); internal_static_Ydb_Table_ChangefeedFormat_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_Ydb_Table_ChangefeedFormat_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ChangefeedFormat_descriptor, new java.lang.String[] { }); internal_static_Ydb_Table_Changefeed_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_Ydb_Table_Changefeed_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_Changefeed_descriptor, new java.lang.String[] { "Name", "Mode", "Format", "RetentionPeriod", "VirtualTimestamps", "InitialScan", "Attributes", "AwsRegion", "ResolvedTimestampsInterval", "TopicPartitioningSettings", }); internal_static_Ydb_Table_Changefeed_AttributesEntry_descriptor = internal_static_Ydb_Table_Changefeed_descriptor.getNestedTypes().get(0); internal_static_Ydb_Table_Changefeed_AttributesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_Changefeed_AttributesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_Ydb_Table_ChangefeedDescription_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_Ydb_Table_ChangefeedDescription_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ChangefeedDescription_descriptor, new java.lang.String[] { "Name", "Mode", "Format", "State", "VirtualTimestamps", "Attributes", "AwsRegion", "ResolvedTimestampsInterval", }); internal_static_Ydb_Table_ChangefeedDescription_AttributesEntry_descriptor = internal_static_Ydb_Table_ChangefeedDescription_descriptor.getNestedTypes().get(0); internal_static_Ydb_Table_ChangefeedDescription_AttributesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ChangefeedDescription_AttributesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_Ydb_Table_StoragePool_descriptor = getDescriptor().getMessageTypes().get(17); internal_static_Ydb_Table_StoragePool_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_StoragePool_descriptor, new java.lang.String[] { "Media", }); internal_static_Ydb_Table_StoragePolicy_descriptor = getDescriptor().getMessageTypes().get(18); internal_static_Ydb_Table_StoragePolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_StoragePolicy_descriptor, new java.lang.String[] { "PresetName", "Syslog", "Log", "Data", "External", "KeepInMemory", "ColumnFamilies", }); internal_static_Ydb_Table_ColumnFamilyPolicy_descriptor = getDescriptor().getMessageTypes().get(19); internal_static_Ydb_Table_ColumnFamilyPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ColumnFamilyPolicy_descriptor, new java.lang.String[] { "Name", "Data", "External", "KeepInMemory", "Compression", }); internal_static_Ydb_Table_CompactionPolicy_descriptor = getDescriptor().getMessageTypes().get(20); internal_static_Ydb_Table_CompactionPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_CompactionPolicy_descriptor, new java.lang.String[] { "PresetName", }); internal_static_Ydb_Table_ExplicitPartitions_descriptor = getDescriptor().getMessageTypes().get(21); internal_static_Ydb_Table_ExplicitPartitions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ExplicitPartitions_descriptor, new java.lang.String[] { "SplitPoints", }); internal_static_Ydb_Table_PartitionStats_descriptor = getDescriptor().getMessageTypes().get(22); internal_static_Ydb_Table_PartitionStats_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_PartitionStats_descriptor, new java.lang.String[] { "RowsEstimate", "StoreSize", }); internal_static_Ydb_Table_TableStats_descriptor = getDescriptor().getMessageTypes().get(23); internal_static_Ydb_Table_TableStats_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_TableStats_descriptor, new java.lang.String[] { "PartitionStats", "RowsEstimate", "StoreSize", "Partitions", "CreationTime", "ModificationTime", }); internal_static_Ydb_Table_PartitioningPolicy_descriptor = getDescriptor().getMessageTypes().get(24); internal_static_Ydb_Table_PartitioningPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_PartitioningPolicy_descriptor, new java.lang.String[] { "PresetName", "AutoPartitioning", "UniformPartitions", "ExplicitPartitions", "Partitions", }); internal_static_Ydb_Table_ExecutionPolicy_descriptor = getDescriptor().getMessageTypes().get(25); internal_static_Ydb_Table_ExecutionPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ExecutionPolicy_descriptor, new java.lang.String[] { "PresetName", }); internal_static_Ydb_Table_ReplicationPolicy_descriptor = getDescriptor().getMessageTypes().get(26); internal_static_Ydb_Table_ReplicationPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ReplicationPolicy_descriptor, new java.lang.String[] { "PresetName", "ReplicasCount", "CreatePerAvailabilityZone", "AllowPromotion", }); internal_static_Ydb_Table_CachingPolicy_descriptor = getDescriptor().getMessageTypes().get(27); internal_static_Ydb_Table_CachingPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_CachingPolicy_descriptor, new java.lang.String[] { "PresetName", }); internal_static_Ydb_Table_TableProfile_descriptor = getDescriptor().getMessageTypes().get(28); internal_static_Ydb_Table_TableProfile_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_TableProfile_descriptor, new java.lang.String[] { "PresetName", "StoragePolicy", "CompactionPolicy", "PartitioningPolicy", "ExecutionPolicy", "ReplicationPolicy", "CachingPolicy", }); internal_static_Ydb_Table_SequenceDescription_descriptor = getDescriptor().getMessageTypes().get(29); internal_static_Ydb_Table_SequenceDescription_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_SequenceDescription_descriptor, new java.lang.String[] { "Name", "MinValue", "MaxValue", "StartValue", "Cache", "Increment", "Cycle", "SetVal", "Name", "MinValue", "MaxValue", "StartValue", "Cache", "Increment", "Cycle", "SetVal", }); internal_static_Ydb_Table_SequenceDescription_SetVal_descriptor = internal_static_Ydb_Table_SequenceDescription_descriptor.getNestedTypes().get(0); internal_static_Ydb_Table_SequenceDescription_SetVal_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_SequenceDescription_SetVal_descriptor, new java.lang.String[] { "NextValue", "NextUsed", "NextValue", "NextUsed", }); internal_static_Ydb_Table_ColumnMeta_descriptor = getDescriptor().getMessageTypes().get(30); internal_static_Ydb_Table_ColumnMeta_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ColumnMeta_descriptor, new java.lang.String[] { "Name", "Type", "Family", "NotNull", "FromLiteral", "FromSequence", "DefaultValue", "NotNull", }); internal_static_Ydb_Table_DateTypeColumnModeSettings_descriptor = getDescriptor().getMessageTypes().get(31); internal_static_Ydb_Table_DateTypeColumnModeSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_DateTypeColumnModeSettings_descriptor, new java.lang.String[] { "ColumnName", "ExpireAfterSeconds", }); internal_static_Ydb_Table_ValueSinceUnixEpochModeSettings_descriptor = getDescriptor().getMessageTypes().get(32); internal_static_Ydb_Table_ValueSinceUnixEpochModeSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ValueSinceUnixEpochModeSettings_descriptor, new java.lang.String[] { "ColumnName", "ColumnUnit", "ExpireAfterSeconds", }); internal_static_Ydb_Table_TtlSettings_descriptor = getDescriptor().getMessageTypes().get(33); internal_static_Ydb_Table_TtlSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_TtlSettings_descriptor, new java.lang.String[] { "DateTypeColumn", "ValueSinceUnixEpoch", "RunIntervalSeconds", "Mode", }); internal_static_Ydb_Table_StorageSettings_descriptor = getDescriptor().getMessageTypes().get(34); internal_static_Ydb_Table_StorageSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_StorageSettings_descriptor, new java.lang.String[] { "TabletCommitLog0", "TabletCommitLog1", "External", "StoreExternalBlobs", }); internal_static_Ydb_Table_ColumnFamily_descriptor = getDescriptor().getMessageTypes().get(35); internal_static_Ydb_Table_ColumnFamily_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ColumnFamily_descriptor, new java.lang.String[] { "Name", "Data", "Compression", "KeepInMemory", }); internal_static_Ydb_Table_PartitioningSettings_descriptor = getDescriptor().getMessageTypes().get(36); internal_static_Ydb_Table_PartitioningSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_PartitioningSettings_descriptor, new java.lang.String[] { "PartitionBy", "PartitioningBySize", "PartitionSizeMb", "PartitioningByLoad", "MinPartitionsCount", "MaxPartitionsCount", }); internal_static_Ydb_Table_AzReadReplicasSettings_descriptor = getDescriptor().getMessageTypes().get(37); internal_static_Ydb_Table_AzReadReplicasSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_AzReadReplicasSettings_descriptor, new java.lang.String[] { "Name", "ReadReplicasCount", }); internal_static_Ydb_Table_ClusterReplicasSettings_descriptor = getDescriptor().getMessageTypes().get(38); internal_static_Ydb_Table_ClusterReplicasSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ClusterReplicasSettings_descriptor, new java.lang.String[] { "AzReadReplicasSettings", }); internal_static_Ydb_Table_ReadReplicasSettings_descriptor = getDescriptor().getMessageTypes().get(39); internal_static_Ydb_Table_ReadReplicasSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ReadReplicasSettings_descriptor, new java.lang.String[] { "PerAzReadReplicasCount", "AnyAzReadReplicasCount", "Settings", }); internal_static_Ydb_Table_CreateTableRequest_descriptor = getDescriptor().getMessageTypes().get(40); internal_static_Ydb_Table_CreateTableRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_CreateTableRequest_descriptor, new java.lang.String[] { "SessionId", "Path", "Columns", "PrimaryKey", "Profile", "OperationParams", "Indexes", "TtlSettings", "StorageSettings", "ColumnFamilies", "Attributes", "CompactionPolicy", "UniformPartitions", "PartitionAtKeys", "PartitioningSettings", "KeyBloomFilter", "ReadReplicasSettings", "Tiering", "Temporary", "StoreType", "Partitions", }); internal_static_Ydb_Table_CreateTableRequest_AttributesEntry_descriptor = internal_static_Ydb_Table_CreateTableRequest_descriptor.getNestedTypes().get(0); internal_static_Ydb_Table_CreateTableRequest_AttributesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_CreateTableRequest_AttributesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_Ydb_Table_CreateTableResponse_descriptor = getDescriptor().getMessageTypes().get(41); internal_static_Ydb_Table_CreateTableResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_CreateTableResponse_descriptor, new java.lang.String[] { "Operation", }); internal_static_Ydb_Table_DropTableRequest_descriptor = getDescriptor().getMessageTypes().get(42); internal_static_Ydb_Table_DropTableRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_DropTableRequest_descriptor, new java.lang.String[] { "SessionId", "Path", "OperationParams", }); internal_static_Ydb_Table_DropTableResponse_descriptor = getDescriptor().getMessageTypes().get(43); internal_static_Ydb_Table_DropTableResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_DropTableResponse_descriptor, new java.lang.String[] { "Operation", }); internal_static_Ydb_Table_RenameIndexItem_descriptor = getDescriptor().getMessageTypes().get(44); internal_static_Ydb_Table_RenameIndexItem_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_RenameIndexItem_descriptor, new java.lang.String[] { "SourceName", "DestinationName", "ReplaceDestination", }); internal_static_Ydb_Table_AlterTableRequest_descriptor = getDescriptor().getMessageTypes().get(45); internal_static_Ydb_Table_AlterTableRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_AlterTableRequest_descriptor, new java.lang.String[] { "SessionId", "Path", "AddColumns", "DropColumns", "OperationParams", "AlterColumns", "SetTtlSettings", "DropTtlSettings", "AddIndexes", "DropIndexes", "AlterStorageSettings", "AddColumnFamilies", "AlterColumnFamilies", "AlterAttributes", "SetCompactionPolicy", "AlterPartitioningSettings", "SetKeyBloomFilter", "SetReadReplicasSettings", "AddChangefeeds", "DropChangefeeds", "RenameIndexes", "SetTiering", "DropTiering", "TtlAction", "TieringAction", }); internal_static_Ydb_Table_AlterTableRequest_AlterAttributesEntry_descriptor = internal_static_Ydb_Table_AlterTableRequest_descriptor.getNestedTypes().get(0); internal_static_Ydb_Table_AlterTableRequest_AlterAttributesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_AlterTableRequest_AlterAttributesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_Ydb_Table_AlterTableResponse_descriptor = getDescriptor().getMessageTypes().get(46); internal_static_Ydb_Table_AlterTableResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_AlterTableResponse_descriptor, new java.lang.String[] { "Operation", }); internal_static_Ydb_Table_CopyTableRequest_descriptor = getDescriptor().getMessageTypes().get(47); internal_static_Ydb_Table_CopyTableRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_CopyTableRequest_descriptor, new java.lang.String[] { "SessionId", "SourcePath", "DestinationPath", "OperationParams", }); internal_static_Ydb_Table_CopyTableResponse_descriptor = getDescriptor().getMessageTypes().get(48); internal_static_Ydb_Table_CopyTableResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_CopyTableResponse_descriptor, new java.lang.String[] { "Operation", }); internal_static_Ydb_Table_CopyTableItem_descriptor = getDescriptor().getMessageTypes().get(49); internal_static_Ydb_Table_CopyTableItem_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_CopyTableItem_descriptor, new java.lang.String[] { "SourcePath", "DestinationPath", "OmitIndexes", }); internal_static_Ydb_Table_CopyTablesRequest_descriptor = getDescriptor().getMessageTypes().get(50); internal_static_Ydb_Table_CopyTablesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_CopyTablesRequest_descriptor, new java.lang.String[] { "OperationParams", "SessionId", "Tables", }); internal_static_Ydb_Table_CopyTablesResponse_descriptor = getDescriptor().getMessageTypes().get(51); internal_static_Ydb_Table_CopyTablesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_CopyTablesResponse_descriptor, new java.lang.String[] { "Operation", }); internal_static_Ydb_Table_RenameTableItem_descriptor = getDescriptor().getMessageTypes().get(52); internal_static_Ydb_Table_RenameTableItem_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_RenameTableItem_descriptor, new java.lang.String[] { "SourcePath", "DestinationPath", "ReplaceDestination", }); internal_static_Ydb_Table_RenameTablesRequest_descriptor = getDescriptor().getMessageTypes().get(53); internal_static_Ydb_Table_RenameTablesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_RenameTablesRequest_descriptor, new java.lang.String[] { "OperationParams", "SessionId", "Tables", }); internal_static_Ydb_Table_RenameTablesResponse_descriptor = getDescriptor().getMessageTypes().get(54); internal_static_Ydb_Table_RenameTablesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_RenameTablesResponse_descriptor, new java.lang.String[] { "Operation", }); internal_static_Ydb_Table_DescribeTableRequest_descriptor = getDescriptor().getMessageTypes().get(55); internal_static_Ydb_Table_DescribeTableRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_DescribeTableRequest_descriptor, new java.lang.String[] { "SessionId", "Path", "OperationParams", "IncludeShardKeyBounds", "IncludeTableStats", "IncludePartitionStats", }); internal_static_Ydb_Table_DescribeTableResponse_descriptor = getDescriptor().getMessageTypes().get(56); internal_static_Ydb_Table_DescribeTableResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_DescribeTableResponse_descriptor, new java.lang.String[] { "Operation", }); internal_static_Ydb_Table_DescribeTableResult_descriptor = getDescriptor().getMessageTypes().get(57); internal_static_Ydb_Table_DescribeTableResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_DescribeTableResult_descriptor, new java.lang.String[] { "Self", "Columns", "PrimaryKey", "ShardKeyBounds", "Indexes", "TableStats", "TtlSettings", "StorageSettings", "ColumnFamilies", "Attributes", "PartitioningSettings", "KeyBloomFilter", "ReadReplicasSettings", "Changefeeds", "Tiering", "Temporary", "StoreType", }); internal_static_Ydb_Table_DescribeTableResult_AttributesEntry_descriptor = internal_static_Ydb_Table_DescribeTableResult_descriptor.getNestedTypes().get(0); internal_static_Ydb_Table_DescribeTableResult_AttributesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_DescribeTableResult_AttributesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_Ydb_Table_Query_descriptor = getDescriptor().getMessageTypes().get(58); internal_static_Ydb_Table_Query_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_Query_descriptor, new java.lang.String[] { "YqlText", "Id", "Query", }); internal_static_Ydb_Table_SerializableModeSettings_descriptor = getDescriptor().getMessageTypes().get(59); internal_static_Ydb_Table_SerializableModeSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_SerializableModeSettings_descriptor, new java.lang.String[] { }); internal_static_Ydb_Table_OnlineModeSettings_descriptor = getDescriptor().getMessageTypes().get(60); internal_static_Ydb_Table_OnlineModeSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_OnlineModeSettings_descriptor, new java.lang.String[] { "AllowInconsistentReads", }); internal_static_Ydb_Table_StaleModeSettings_descriptor = getDescriptor().getMessageTypes().get(61); internal_static_Ydb_Table_StaleModeSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_StaleModeSettings_descriptor, new java.lang.String[] { }); internal_static_Ydb_Table_SnapshotModeSettings_descriptor = getDescriptor().getMessageTypes().get(62); internal_static_Ydb_Table_SnapshotModeSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_SnapshotModeSettings_descriptor, new java.lang.String[] { }); internal_static_Ydb_Table_TransactionSettings_descriptor = getDescriptor().getMessageTypes().get(63); internal_static_Ydb_Table_TransactionSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_TransactionSettings_descriptor, new java.lang.String[] { "SerializableReadWrite", "OnlineReadOnly", "StaleReadOnly", "SnapshotReadOnly", "TxMode", }); internal_static_Ydb_Table_TransactionControl_descriptor = getDescriptor().getMessageTypes().get(64); internal_static_Ydb_Table_TransactionControl_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_TransactionControl_descriptor, new java.lang.String[] { "TxId", "BeginTx", "CommitTx", "TxSelector", }); internal_static_Ydb_Table_QueryCachePolicy_descriptor = getDescriptor().getMessageTypes().get(65); internal_static_Ydb_Table_QueryCachePolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_QueryCachePolicy_descriptor, new java.lang.String[] { "KeepInCache", }); internal_static_Ydb_Table_QueryStatsCollection_descriptor = getDescriptor().getMessageTypes().get(66); internal_static_Ydb_Table_QueryStatsCollection_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_QueryStatsCollection_descriptor, new java.lang.String[] { }); internal_static_Ydb_Table_ExecuteDataQueryRequest_descriptor = getDescriptor().getMessageTypes().get(67); internal_static_Ydb_Table_ExecuteDataQueryRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ExecuteDataQueryRequest_descriptor, new java.lang.String[] { "SessionId", "TxControl", "Query", "Parameters", "QueryCachePolicy", "OperationParams", "CollectStats", }); internal_static_Ydb_Table_ExecuteDataQueryRequest_ParametersEntry_descriptor = internal_static_Ydb_Table_ExecuteDataQueryRequest_descriptor.getNestedTypes().get(0); internal_static_Ydb_Table_ExecuteDataQueryRequest_ParametersEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ExecuteDataQueryRequest_ParametersEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_Ydb_Table_ExecuteDataQueryResponse_descriptor = getDescriptor().getMessageTypes().get(68); internal_static_Ydb_Table_ExecuteDataQueryResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ExecuteDataQueryResponse_descriptor, new java.lang.String[] { "Operation", }); internal_static_Ydb_Table_ExecuteSchemeQueryRequest_descriptor = getDescriptor().getMessageTypes().get(69); internal_static_Ydb_Table_ExecuteSchemeQueryRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ExecuteSchemeQueryRequest_descriptor, new java.lang.String[] { "SessionId", "YqlText", "OperationParams", }); internal_static_Ydb_Table_ExecuteSchemeQueryResponse_descriptor = getDescriptor().getMessageTypes().get(70); internal_static_Ydb_Table_ExecuteSchemeQueryResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ExecuteSchemeQueryResponse_descriptor, new java.lang.String[] { "Operation", }); internal_static_Ydb_Table_TransactionMeta_descriptor = getDescriptor().getMessageTypes().get(71); internal_static_Ydb_Table_TransactionMeta_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_TransactionMeta_descriptor, new java.lang.String[] { "Id", }); internal_static_Ydb_Table_QueryMeta_descriptor = getDescriptor().getMessageTypes().get(72); internal_static_Ydb_Table_QueryMeta_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_QueryMeta_descriptor, new java.lang.String[] { "Id", "ParametersTypes", }); internal_static_Ydb_Table_QueryMeta_ParametersTypesEntry_descriptor = internal_static_Ydb_Table_QueryMeta_descriptor.getNestedTypes().get(0); internal_static_Ydb_Table_QueryMeta_ParametersTypesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_QueryMeta_ParametersTypesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_Ydb_Table_ExecuteQueryResult_descriptor = getDescriptor().getMessageTypes().get(73); internal_static_Ydb_Table_ExecuteQueryResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ExecuteQueryResult_descriptor, new java.lang.String[] { "ResultSets", "TxMeta", "QueryMeta", "QueryStats", }); internal_static_Ydb_Table_ExplainDataQueryRequest_descriptor = getDescriptor().getMessageTypes().get(74); internal_static_Ydb_Table_ExplainDataQueryRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ExplainDataQueryRequest_descriptor, new java.lang.String[] { "SessionId", "YqlText", "OperationParams", "CollectFullDiagnostics", }); internal_static_Ydb_Table_ExplainDataQueryResponse_descriptor = getDescriptor().getMessageTypes().get(75); internal_static_Ydb_Table_ExplainDataQueryResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ExplainDataQueryResponse_descriptor, new java.lang.String[] { "Operation", }); internal_static_Ydb_Table_ExplainQueryResult_descriptor = getDescriptor().getMessageTypes().get(76); internal_static_Ydb_Table_ExplainQueryResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ExplainQueryResult_descriptor, new java.lang.String[] { "QueryAst", "QueryPlan", "QueryFullDiagnostics", }); internal_static_Ydb_Table_PrepareDataQueryRequest_descriptor = getDescriptor().getMessageTypes().get(77); internal_static_Ydb_Table_PrepareDataQueryRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_PrepareDataQueryRequest_descriptor, new java.lang.String[] { "SessionId", "YqlText", "OperationParams", }); internal_static_Ydb_Table_PrepareDataQueryResponse_descriptor = getDescriptor().getMessageTypes().get(78); internal_static_Ydb_Table_PrepareDataQueryResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_PrepareDataQueryResponse_descriptor, new java.lang.String[] { "Operation", }); internal_static_Ydb_Table_PrepareQueryResult_descriptor = getDescriptor().getMessageTypes().get(79); internal_static_Ydb_Table_PrepareQueryResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_PrepareQueryResult_descriptor, new java.lang.String[] { "QueryId", "ParametersTypes", }); internal_static_Ydb_Table_PrepareQueryResult_ParametersTypesEntry_descriptor = internal_static_Ydb_Table_PrepareQueryResult_descriptor.getNestedTypes().get(0); internal_static_Ydb_Table_PrepareQueryResult_ParametersTypesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_PrepareQueryResult_ParametersTypesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_Ydb_Table_KeepAliveRequest_descriptor = getDescriptor().getMessageTypes().get(80); internal_static_Ydb_Table_KeepAliveRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_KeepAliveRequest_descriptor, new java.lang.String[] { "SessionId", "OperationParams", }); internal_static_Ydb_Table_KeepAliveResponse_descriptor = getDescriptor().getMessageTypes().get(81); internal_static_Ydb_Table_KeepAliveResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_KeepAliveResponse_descriptor, new java.lang.String[] { "Operation", }); internal_static_Ydb_Table_KeepAliveResult_descriptor = getDescriptor().getMessageTypes().get(82); internal_static_Ydb_Table_KeepAliveResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_KeepAliveResult_descriptor, new java.lang.String[] { "SessionStatus", }); internal_static_Ydb_Table_BeginTransactionRequest_descriptor = getDescriptor().getMessageTypes().get(83); internal_static_Ydb_Table_BeginTransactionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_BeginTransactionRequest_descriptor, new java.lang.String[] { "SessionId", "TxSettings", "OperationParams", }); internal_static_Ydb_Table_BeginTransactionResponse_descriptor = getDescriptor().getMessageTypes().get(84); internal_static_Ydb_Table_BeginTransactionResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_BeginTransactionResponse_descriptor, new java.lang.String[] { "Operation", }); internal_static_Ydb_Table_BeginTransactionResult_descriptor = getDescriptor().getMessageTypes().get(85); internal_static_Ydb_Table_BeginTransactionResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_BeginTransactionResult_descriptor, new java.lang.String[] { "TxMeta", }); internal_static_Ydb_Table_CommitTransactionRequest_descriptor = getDescriptor().getMessageTypes().get(86); internal_static_Ydb_Table_CommitTransactionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_CommitTransactionRequest_descriptor, new java.lang.String[] { "SessionId", "TxId", "OperationParams", "CollectStats", }); internal_static_Ydb_Table_CommitTransactionResponse_descriptor = getDescriptor().getMessageTypes().get(87); internal_static_Ydb_Table_CommitTransactionResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_CommitTransactionResponse_descriptor, new java.lang.String[] { "Operation", }); internal_static_Ydb_Table_CommitTransactionResult_descriptor = getDescriptor().getMessageTypes().get(88); internal_static_Ydb_Table_CommitTransactionResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_CommitTransactionResult_descriptor, new java.lang.String[] { "QueryStats", }); internal_static_Ydb_Table_RollbackTransactionRequest_descriptor = getDescriptor().getMessageTypes().get(89); internal_static_Ydb_Table_RollbackTransactionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_RollbackTransactionRequest_descriptor, new java.lang.String[] { "SessionId", "TxId", "OperationParams", }); internal_static_Ydb_Table_RollbackTransactionResponse_descriptor = getDescriptor().getMessageTypes().get(90); internal_static_Ydb_Table_RollbackTransactionResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_RollbackTransactionResponse_descriptor, new java.lang.String[] { "Operation", }); internal_static_Ydb_Table_StoragePolicyDescription_descriptor = getDescriptor().getMessageTypes().get(91); internal_static_Ydb_Table_StoragePolicyDescription_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_StoragePolicyDescription_descriptor, new java.lang.String[] { "Name", "Labels", }); internal_static_Ydb_Table_StoragePolicyDescription_LabelsEntry_descriptor = internal_static_Ydb_Table_StoragePolicyDescription_descriptor.getNestedTypes().get(0); internal_static_Ydb_Table_StoragePolicyDescription_LabelsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_StoragePolicyDescription_LabelsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_Ydb_Table_CompactionPolicyDescription_descriptor = getDescriptor().getMessageTypes().get(92); internal_static_Ydb_Table_CompactionPolicyDescription_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_CompactionPolicyDescription_descriptor, new java.lang.String[] { "Name", "Labels", }); internal_static_Ydb_Table_CompactionPolicyDescription_LabelsEntry_descriptor = internal_static_Ydb_Table_CompactionPolicyDescription_descriptor.getNestedTypes().get(0); internal_static_Ydb_Table_CompactionPolicyDescription_LabelsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_CompactionPolicyDescription_LabelsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_Ydb_Table_PartitioningPolicyDescription_descriptor = getDescriptor().getMessageTypes().get(93); internal_static_Ydb_Table_PartitioningPolicyDescription_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_PartitioningPolicyDescription_descriptor, new java.lang.String[] { "Name", "Labels", }); internal_static_Ydb_Table_PartitioningPolicyDescription_LabelsEntry_descriptor = internal_static_Ydb_Table_PartitioningPolicyDescription_descriptor.getNestedTypes().get(0); internal_static_Ydb_Table_PartitioningPolicyDescription_LabelsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_PartitioningPolicyDescription_LabelsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_Ydb_Table_ExecutionPolicyDescription_descriptor = getDescriptor().getMessageTypes().get(94); internal_static_Ydb_Table_ExecutionPolicyDescription_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ExecutionPolicyDescription_descriptor, new java.lang.String[] { "Name", "Labels", }); internal_static_Ydb_Table_ExecutionPolicyDescription_LabelsEntry_descriptor = internal_static_Ydb_Table_ExecutionPolicyDescription_descriptor.getNestedTypes().get(0); internal_static_Ydb_Table_ExecutionPolicyDescription_LabelsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ExecutionPolicyDescription_LabelsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_Ydb_Table_ReplicationPolicyDescription_descriptor = getDescriptor().getMessageTypes().get(95); internal_static_Ydb_Table_ReplicationPolicyDescription_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ReplicationPolicyDescription_descriptor, new java.lang.String[] { "Name", "Labels", }); internal_static_Ydb_Table_ReplicationPolicyDescription_LabelsEntry_descriptor = internal_static_Ydb_Table_ReplicationPolicyDescription_descriptor.getNestedTypes().get(0); internal_static_Ydb_Table_ReplicationPolicyDescription_LabelsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ReplicationPolicyDescription_LabelsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_Ydb_Table_CachingPolicyDescription_descriptor = getDescriptor().getMessageTypes().get(96); internal_static_Ydb_Table_CachingPolicyDescription_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_CachingPolicyDescription_descriptor, new java.lang.String[] { "Name", "Labels", }); internal_static_Ydb_Table_CachingPolicyDescription_LabelsEntry_descriptor = internal_static_Ydb_Table_CachingPolicyDescription_descriptor.getNestedTypes().get(0); internal_static_Ydb_Table_CachingPolicyDescription_LabelsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_CachingPolicyDescription_LabelsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_Ydb_Table_TableProfileDescription_descriptor = getDescriptor().getMessageTypes().get(97); internal_static_Ydb_Table_TableProfileDescription_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_TableProfileDescription_descriptor, new java.lang.String[] { "Name", "Labels", "DefaultStoragePolicy", "AllowedStoragePolicies", "DefaultCompactionPolicy", "AllowedCompactionPolicies", "DefaultPartitioningPolicy", "AllowedPartitioningPolicies", "DefaultExecutionPolicy", "AllowedExecutionPolicies", "DefaultReplicationPolicy", "AllowedReplicationPolicies", "DefaultCachingPolicy", "AllowedCachingPolicies", }); internal_static_Ydb_Table_TableProfileDescription_LabelsEntry_descriptor = internal_static_Ydb_Table_TableProfileDescription_descriptor.getNestedTypes().get(0); internal_static_Ydb_Table_TableProfileDescription_LabelsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_TableProfileDescription_LabelsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_Ydb_Table_DescribeTableOptionsRequest_descriptor = getDescriptor().getMessageTypes().get(98); internal_static_Ydb_Table_DescribeTableOptionsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_DescribeTableOptionsRequest_descriptor, new java.lang.String[] { "OperationParams", }); internal_static_Ydb_Table_DescribeTableOptionsResponse_descriptor = getDescriptor().getMessageTypes().get(99); internal_static_Ydb_Table_DescribeTableOptionsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_DescribeTableOptionsResponse_descriptor, new java.lang.String[] { "Operation", }); internal_static_Ydb_Table_DescribeTableOptionsResult_descriptor = getDescriptor().getMessageTypes().get(100); internal_static_Ydb_Table_DescribeTableOptionsResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_DescribeTableOptionsResult_descriptor, new java.lang.String[] { "TableProfilePresets", "StoragePolicyPresets", "CompactionPolicyPresets", "PartitioningPolicyPresets", "ExecutionPolicyPresets", "ReplicationPolicyPresets", "CachingPolicyPresets", }); internal_static_Ydb_Table_KeyRange_descriptor = getDescriptor().getMessageTypes().get(101); internal_static_Ydb_Table_KeyRange_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_KeyRange_descriptor, new java.lang.String[] { "Greater", "GreaterOrEqual", "Less", "LessOrEqual", "FromBound", "ToBound", }); internal_static_Ydb_Table_ReadTableRequest_descriptor = getDescriptor().getMessageTypes().get(102); internal_static_Ydb_Table_ReadTableRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ReadTableRequest_descriptor, new java.lang.String[] { "SessionId", "Path", "KeyRange", "Columns", "Ordered", "RowLimit", "UseSnapshot", "BatchLimitBytes", "BatchLimitRows", "ReturnNotNullDataAsOptional", }); internal_static_Ydb_Table_ReadTableResponse_descriptor = getDescriptor().getMessageTypes().get(103); internal_static_Ydb_Table_ReadTableResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ReadTableResponse_descriptor, new java.lang.String[] { "Status", "Issues", "Snapshot", "Result", }); internal_static_Ydb_Table_ReadTableResult_descriptor = getDescriptor().getMessageTypes().get(104); internal_static_Ydb_Table_ReadTableResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ReadTableResult_descriptor, new java.lang.String[] { "ResultSet", }); internal_static_Ydb_Table_ReadRowsRequest_descriptor = getDescriptor().getMessageTypes().get(105); internal_static_Ydb_Table_ReadRowsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ReadRowsRequest_descriptor, new java.lang.String[] { "SessionId", "Path", "Keys", "Columns", }); internal_static_Ydb_Table_ReadRowsResponse_descriptor = getDescriptor().getMessageTypes().get(106); internal_static_Ydb_Table_ReadRowsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ReadRowsResponse_descriptor, new java.lang.String[] { "Status", "Issues", "ResultSet", }); internal_static_Ydb_Table_BulkUpsertRequest_descriptor = getDescriptor().getMessageTypes().get(107); internal_static_Ydb_Table_BulkUpsertRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_BulkUpsertRequest_descriptor, new java.lang.String[] { "Table", "Rows", "OperationParams", "ArrowBatchSettings", "CsvSettings", "Data", "DataFormat", }); internal_static_Ydb_Table_BulkUpsertResponse_descriptor = getDescriptor().getMessageTypes().get(108); internal_static_Ydb_Table_BulkUpsertResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_BulkUpsertResponse_descriptor, new java.lang.String[] { "Operation", }); internal_static_Ydb_Table_BulkUpsertResult_descriptor = getDescriptor().getMessageTypes().get(109); internal_static_Ydb_Table_BulkUpsertResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_BulkUpsertResult_descriptor, new java.lang.String[] { }); internal_static_Ydb_Table_ExecuteScanQueryRequest_descriptor = getDescriptor().getMessageTypes().get(110); internal_static_Ydb_Table_ExecuteScanQueryRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ExecuteScanQueryRequest_descriptor, new java.lang.String[] { "Query", "Parameters", "Mode", "CollectStats", "CollectFullDiagnostics", }); internal_static_Ydb_Table_ExecuteScanQueryRequest_ParametersEntry_descriptor = internal_static_Ydb_Table_ExecuteScanQueryRequest_descriptor.getNestedTypes().get(0); internal_static_Ydb_Table_ExecuteScanQueryRequest_ParametersEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ExecuteScanQueryRequest_ParametersEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_Ydb_Table_ExecuteScanQueryPartialResponse_descriptor = getDescriptor().getMessageTypes().get(111); internal_static_Ydb_Table_ExecuteScanQueryPartialResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ExecuteScanQueryPartialResponse_descriptor, new java.lang.String[] { "Status", "Issues", "Result", }); internal_static_Ydb_Table_ExecuteScanQueryPartialResult_descriptor = getDescriptor().getMessageTypes().get(112); internal_static_Ydb_Table_ExecuteScanQueryPartialResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ExecuteScanQueryPartialResult_descriptor, new java.lang.String[] { "ResultSet", "QueryStats", "QueryFullDiagnostics", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(tech.ydb.proto.Validation.length); registry.add(tech.ydb.proto.Validation.mapKey); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); tech.ydb.proto.Validation.getDescriptor(); tech.ydb.proto.common.CommonProtos.getDescriptor(); tech.ydb.proto.YdbIssueMessage.getDescriptor(); tech.ydb.proto.OperationProtos.getDescriptor(); tech.ydb.proto.YdbQueryStats.getDescriptor(); tech.ydb.proto.ValueProtos.getDescriptor(); tech.ydb.proto.scheme.SchemeOperationProtos.getDescriptor(); tech.ydb.proto.StatusCodesProtos.getDescriptor(); tech.ydb.proto.topic.YdbTopic.getDescriptor(); tech.ydb.proto.formats.YdbFormats.getDescriptor(); com.google.protobuf.EmptyProto.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy