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

com.yandex.ydb.table.YdbTable Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: ydb/public/api/protos/ydb_table.proto

package com.yandex.ydb.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);
  }
  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.
     */
    com.yandex.ydb.OperationProtos.OperationParams getOperationParams();
    /**
     * .Ydb.Operations.OperationParams operation_params = 1;
     */
    com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CreateSessionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.OperationProtos.OperationParams.Builder subBuilder = null; if (operationParams_ != null) { subBuilder = operationParams_.toBuilder(); } operationParams_ = input.readMessage(com.yandex.ydb.OperationProtos.OperationParams.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operationParams_); operationParams_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CreateSessionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CreateSessionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CreateSessionRequest.class, com.yandex.ydb.table.YdbTable.CreateSessionRequest.Builder.class); } public static final int OPERATION_PARAMS_FIELD_NUMBER = 1; private com.yandex.ydb.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 1; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 1; * @return The operationParams. */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return getOperationParams(); } 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 (operationParams_ != null) { output.writeMessage(1, getOperationParams()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (operationParams_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getOperationParams()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.CreateSessionRequest)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.CreateSessionRequest other = (com.yandex.ydb.table.YdbTable.CreateSessionRequest) obj; if (hasOperationParams() != other.hasOperationParams()) return false; if (hasOperationParams()) { if (!getOperationParams() .equals(other.getOperationParams())) return false; } if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.CreateSessionRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CreateSessionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CreateSessionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.CreateSessionRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.CreateSessionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CreateSessionRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CreateSessionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.CreateSessionRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CreateSessionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CreateSessionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CreateSessionRequest.class, com.yandex.ydb.table.YdbTable.CreateSessionRequest.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); if (operationParamsBuilder_ == null) { operationParams_ = null; } else { operationParams_ = null; operationParamsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CreateSessionRequest_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CreateSessionRequest getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.CreateSessionRequest.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.CreateSessionRequest build() { com.yandex.ydb.table.YdbTable.CreateSessionRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CreateSessionRequest buildPartial() { com.yandex.ydb.table.YdbTable.CreateSessionRequest result = new com.yandex.ydb.table.YdbTable.CreateSessionRequest(this); if (operationParamsBuilder_ == null) { result.operationParams_ = operationParams_; } else { result.operationParams_ = operationParamsBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.CreateSessionRequest) { return mergeFrom((com.yandex.ydb.table.YdbTable.CreateSessionRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.CreateSessionRequest other) { if (other == com.yandex.ydb.table.YdbTable.CreateSessionRequest.getDefaultInstance()) return this; if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.CreateSessionRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.CreateSessionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.yandex.ydb.OperationProtos.OperationParams operationParams_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> operationParamsBuilder_; /** * .Ydb.Operations.OperationParams operation_params = 1; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return operationParamsBuilder_ != null || operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 1; * @return The operationParams. */ public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { if (operationParamsBuilder_ == null) { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } else { return operationParamsBuilder_.getMessage(); } } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public Builder setOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operationParams_ = value; onChanged(); } else { operationParamsBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public Builder setOperationParams( com.yandex.ydb.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); onChanged(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public Builder mergeOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (operationParams_ != null) { operationParams_ = com.yandex.ydb.OperationProtos.OperationParams.newBuilder(operationParams_).mergeFrom(value).buildPartial(); } else { operationParams_ = value; } onChanged(); } else { operationParamsBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public Builder clearOperationParams() { if (operationParamsBuilder_ == null) { operationParams_ = null; onChanged(); } else { operationParams_ = null; operationParamsBuilder_ = null; } return this; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public com.yandex.ydb.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { if (operationParamsBuilder_ != null) { return operationParamsBuilder_.getMessageOrBuilder(); } else { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } } /** * .Ydb.Operations.OperationParams operation_params = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> getOperationParamsFieldBuilder() { if (operationParamsBuilder_ == null) { operationParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CreateSessionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.CreateSessionRequest(); } public static com.yandex.ydb.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 { return new CreateSessionRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.Operation getOperation(); /** *
     * Holds CreateSessionResult in case of CreateSessionResult
     * 
* * .Ydb.Operations.Operation operation = 1; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CreateSessionResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.OperationProtos.Operation.Builder subBuilder = null; if (operation_ != null) { subBuilder = operation_.toBuilder(); } operation_ = input.readMessage(com.yandex.ydb.OperationProtos.Operation.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operation_); operation_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CreateSessionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CreateSessionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CreateSessionResponse.class, com.yandex.ydb.table.YdbTable.CreateSessionResponse.Builder.class); } public static final int OPERATION_FIELD_NUMBER = 1; private com.yandex.ydb.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 operation_ != null; } /** *
     * Holds CreateSessionResult in case of CreateSessionResult
     * 
* * .Ydb.Operations.Operation operation = 1; * @return The operation. */ @java.lang.Override public com.yandex.ydb.OperationProtos.Operation getOperation() { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } /** *
     * Holds CreateSessionResult in case of CreateSessionResult
     * 
* * .Ydb.Operations.Operation operation = 1; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { return getOperation(); } 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 (operation_ != null) { output.writeMessage(1, getOperation()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (operation_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getOperation()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.CreateSessionResponse)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.CreateSessionResponse other = (com.yandex.ydb.table.YdbTable.CreateSessionResponse) obj; if (hasOperation() != other.hasOperation()) return false; if (hasOperation()) { if (!getOperation() .equals(other.getOperation())) return false; } if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.CreateSessionResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CreateSessionResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CreateSessionResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.CreateSessionResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.CreateSessionResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CreateSessionResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CreateSessionResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.CreateSessionResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CreateSessionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CreateSessionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CreateSessionResponse.class, com.yandex.ydb.table.YdbTable.CreateSessionResponse.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); if (operationBuilder_ == null) { operation_ = null; } else { operation_ = null; operationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CreateSessionResponse_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CreateSessionResponse getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.CreateSessionResponse.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.CreateSessionResponse build() { com.yandex.ydb.table.YdbTable.CreateSessionResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CreateSessionResponse buildPartial() { com.yandex.ydb.table.YdbTable.CreateSessionResponse result = new com.yandex.ydb.table.YdbTable.CreateSessionResponse(this); if (operationBuilder_ == null) { result.operation_ = operation_; } else { result.operation_ = operationBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.CreateSessionResponse) { return mergeFrom((com.yandex.ydb.table.YdbTable.CreateSessionResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.CreateSessionResponse other) { if (other == com.yandex.ydb.table.YdbTable.CreateSessionResponse.getDefaultInstance()) return this; if (other.hasOperation()) { mergeOperation(other.getOperation()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.CreateSessionResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.CreateSessionResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.yandex.ydb.OperationProtos.Operation operation_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.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 operationBuilder_ != null || operation_ != null; } /** *
       * Holds CreateSessionResult in case of CreateSessionResult
       * 
* * .Ydb.Operations.Operation operation = 1; * @return The operation. */ public com.yandex.ydb.OperationProtos.Operation getOperation() { if (operationBuilder_ == null) { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } else { return operationBuilder_.getMessage(); } } /** *
       * Holds CreateSessionResult in case of CreateSessionResult
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operation_ = value; onChanged(); } else { operationBuilder_.setMessage(value); } return this; } /** *
       * Holds CreateSessionResult in case of CreateSessionResult
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation( com.yandex.ydb.OperationProtos.Operation.Builder builderForValue) { if (operationBuilder_ == null) { operation_ = builderForValue.build(); onChanged(); } else { operationBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Holds CreateSessionResult in case of CreateSessionResult
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder mergeOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (operation_ != null) { operation_ = com.yandex.ydb.OperationProtos.Operation.newBuilder(operation_).mergeFrom(value).buildPartial(); } else { operation_ = value; } onChanged(); } else { operationBuilder_.mergeFrom(value); } return this; } /** *
       * Holds CreateSessionResult in case of CreateSessionResult
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder clearOperation() { if (operationBuilder_ == null) { operation_ = null; onChanged(); } else { operation_ = null; operationBuilder_ = null; } return this; } /** *
       * Holds CreateSessionResult in case of CreateSessionResult
       * 
* * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.Operation.Builder getOperationBuilder() { onChanged(); return getOperationFieldBuilder().getBuilder(); } /** *
       * Holds CreateSessionResult in case of CreateSessionResult
       * 
* * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { if (operationBuilder_ != null) { return operationBuilder_.getMessageOrBuilder(); } else { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } } /** *
       * Holds CreateSessionResult in case of CreateSessionResult
       * 
* * .Ydb.Operations.Operation operation = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> getOperationFieldBuilder() { if (operationBuilder_ == null) { operationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CreateSessionResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.CreateSessionResponse(); } public static com.yandex.ydb.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 { return new CreateSessionResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CreateSessionResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); sessionId_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CreateSessionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CreateSessionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CreateSessionResult.class, com.yandex.ydb.table.YdbTable.CreateSessionResult.Builder.class); } public static final int SESSION_ID_FIELD_NUMBER = 1; 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 (!getSessionIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getSessionIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.CreateSessionResult)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.CreateSessionResult other = (com.yandex.ydb.table.YdbTable.CreateSessionResult) obj; if (!getSessionId() .equals(other.getSessionId())) return false; if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.CreateSessionResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CreateSessionResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CreateSessionResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.CreateSessionResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.CreateSessionResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CreateSessionResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CreateSessionResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.CreateSessionResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CreateSessionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CreateSessionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CreateSessionResult.class, com.yandex.ydb.table.YdbTable.CreateSessionResult.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.CreateSessionResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); sessionId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CreateSessionResult_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CreateSessionResult getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.CreateSessionResult.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.CreateSessionResult build() { com.yandex.ydb.table.YdbTable.CreateSessionResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CreateSessionResult buildPartial() { com.yandex.ydb.table.YdbTable.CreateSessionResult result = new com.yandex.ydb.table.YdbTable.CreateSessionResult(this); result.sessionId_ = sessionId_; 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 com.yandex.ydb.table.YdbTable.CreateSessionResult) { return mergeFrom((com.yandex.ydb.table.YdbTable.CreateSessionResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.CreateSessionResult other) { if (other == com.yandex.ydb.table.YdbTable.CreateSessionResult.getDefaultInstance()) return this; if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.CreateSessionResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.CreateSessionResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); 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; 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 com.yandex.ydb.table.YdbTable.CreateSessionResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.CreateSessionResult(); } public static com.yandex.ydb.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 { return new CreateSessionResult(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 2; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DeleteSessionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); sessionId_ = s; break; } case 18: { com.yandex.ydb.OperationProtos.OperationParams.Builder subBuilder = null; if (operationParams_ != null) { subBuilder = operationParams_.toBuilder(); } operationParams_ = input.readMessage(com.yandex.ydb.OperationProtos.OperationParams.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operationParams_); operationParams_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DeleteSessionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DeleteSessionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.DeleteSessionRequest.class, com.yandex.ydb.table.YdbTable.DeleteSessionRequest.Builder.class); } public static final int SESSION_ID_FIELD_NUMBER = 1; 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 com.yandex.ydb.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 2; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 2; * @return The operationParams. */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } /** * .Ydb.Operations.OperationParams operation_params = 2; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return getOperationParams(); } 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 (!getSessionIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_); } if (operationParams_ != null) { output.writeMessage(2, getOperationParams()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getSessionIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_); } if (operationParams_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getOperationParams()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.DeleteSessionRequest)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.DeleteSessionRequest other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.DeleteSessionRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DeleteSessionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DeleteSessionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.DeleteSessionRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.DeleteSessionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DeleteSessionRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DeleteSessionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.DeleteSessionRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DeleteSessionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DeleteSessionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.DeleteSessionRequest.class, com.yandex.ydb.table.YdbTable.DeleteSessionRequest.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); sessionId_ = ""; if (operationParamsBuilder_ == null) { operationParams_ = null; } else { operationParams_ = null; operationParamsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DeleteSessionRequest_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.DeleteSessionRequest getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.DeleteSessionRequest.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.DeleteSessionRequest build() { com.yandex.ydb.table.YdbTable.DeleteSessionRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.DeleteSessionRequest buildPartial() { com.yandex.ydb.table.YdbTable.DeleteSessionRequest result = new com.yandex.ydb.table.YdbTable.DeleteSessionRequest(this); result.sessionId_ = sessionId_; if (operationParamsBuilder_ == null) { result.operationParams_ = operationParams_; } else { result.operationParams_ = operationParamsBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.DeleteSessionRequest) { return mergeFrom((com.yandex.ydb.table.YdbTable.DeleteSessionRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.DeleteSessionRequest other) { if (other == com.yandex.ydb.table.YdbTable.DeleteSessionRequest.getDefaultInstance()) return this; if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; onChanged(); } if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.DeleteSessionRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.DeleteSessionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); 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; onChanged(); return this; } private com.yandex.ydb.OperationProtos.OperationParams operationParams_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> operationParamsBuilder_; /** * .Ydb.Operations.OperationParams operation_params = 2; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return operationParamsBuilder_ != null || operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 2; * @return The operationParams. */ public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { if (operationParamsBuilder_ == null) { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } else { return operationParamsBuilder_.getMessage(); } } /** * .Ydb.Operations.OperationParams operation_params = 2; */ public Builder setOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operationParams_ = value; onChanged(); } else { operationParamsBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 2; */ public Builder setOperationParams( com.yandex.ydb.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); onChanged(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 2; */ public Builder mergeOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (operationParams_ != null) { operationParams_ = com.yandex.ydb.OperationProtos.OperationParams.newBuilder(operationParams_).mergeFrom(value).buildPartial(); } else { operationParams_ = value; } onChanged(); } else { operationParamsBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 2; */ public Builder clearOperationParams() { if (operationParamsBuilder_ == null) { operationParams_ = null; onChanged(); } else { operationParams_ = null; operationParamsBuilder_ = null; } return this; } /** * .Ydb.Operations.OperationParams operation_params = 2; */ public com.yandex.ydb.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 2; */ public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { if (operationParamsBuilder_ != null) { return operationParamsBuilder_.getMessageOrBuilder(); } else { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } } /** * .Ydb.Operations.OperationParams operation_params = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> getOperationParamsFieldBuilder() { if (operationParamsBuilder_ == null) { operationParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DeleteSessionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.DeleteSessionRequest(); } public static com.yandex.ydb.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 { return new DeleteSessionRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.Operation getOperation(); /** * .Ydb.Operations.Operation operation = 1; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DeleteSessionResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.OperationProtos.Operation.Builder subBuilder = null; if (operation_ != null) { subBuilder = operation_.toBuilder(); } operation_ = input.readMessage(com.yandex.ydb.OperationProtos.Operation.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operation_); operation_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DeleteSessionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DeleteSessionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.DeleteSessionResponse.class, com.yandex.ydb.table.YdbTable.DeleteSessionResponse.Builder.class); } public static final int OPERATION_FIELD_NUMBER = 1; private com.yandex.ydb.OperationProtos.Operation operation_; /** * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ @java.lang.Override public boolean hasOperation() { return operation_ != null; } /** * .Ydb.Operations.Operation operation = 1; * @return The operation. */ @java.lang.Override public com.yandex.ydb.OperationProtos.Operation getOperation() { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } /** * .Ydb.Operations.Operation operation = 1; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { return getOperation(); } 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 (operation_ != null) { output.writeMessage(1, getOperation()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (operation_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getOperation()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.DeleteSessionResponse)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.DeleteSessionResponse other = (com.yandex.ydb.table.YdbTable.DeleteSessionResponse) obj; if (hasOperation() != other.hasOperation()) return false; if (hasOperation()) { if (!getOperation() .equals(other.getOperation())) return false; } if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.DeleteSessionResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DeleteSessionResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DeleteSessionResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.DeleteSessionResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.DeleteSessionResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DeleteSessionResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DeleteSessionResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.DeleteSessionResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DeleteSessionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DeleteSessionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.DeleteSessionResponse.class, com.yandex.ydb.table.YdbTable.DeleteSessionResponse.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); if (operationBuilder_ == null) { operation_ = null; } else { operation_ = null; operationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DeleteSessionResponse_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.DeleteSessionResponse getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.DeleteSessionResponse.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.DeleteSessionResponse build() { com.yandex.ydb.table.YdbTable.DeleteSessionResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.DeleteSessionResponse buildPartial() { com.yandex.ydb.table.YdbTable.DeleteSessionResponse result = new com.yandex.ydb.table.YdbTable.DeleteSessionResponse(this); if (operationBuilder_ == null) { result.operation_ = operation_; } else { result.operation_ = operationBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.DeleteSessionResponse) { return mergeFrom((com.yandex.ydb.table.YdbTable.DeleteSessionResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.DeleteSessionResponse other) { if (other == com.yandex.ydb.table.YdbTable.DeleteSessionResponse.getDefaultInstance()) return this; if (other.hasOperation()) { mergeOperation(other.getOperation()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.DeleteSessionResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.DeleteSessionResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.yandex.ydb.OperationProtos.Operation operation_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> operationBuilder_; /** * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ public boolean hasOperation() { return operationBuilder_ != null || operation_ != null; } /** * .Ydb.Operations.Operation operation = 1; * @return The operation. */ public com.yandex.ydb.OperationProtos.Operation getOperation() { if (operationBuilder_ == null) { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } else { return operationBuilder_.getMessage(); } } /** * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operation_ = value; onChanged(); } else { operationBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation( com.yandex.ydb.OperationProtos.Operation.Builder builderForValue) { if (operationBuilder_ == null) { operation_ = builderForValue.build(); onChanged(); } else { operationBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder mergeOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (operation_ != null) { operation_ = com.yandex.ydb.OperationProtos.Operation.newBuilder(operation_).mergeFrom(value).buildPartial(); } else { operation_ = value; } onChanged(); } else { operationBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder clearOperation() { if (operationBuilder_ == null) { operation_ = null; onChanged(); } else { operation_ = null; operationBuilder_ = null; } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.Operation.Builder getOperationBuilder() { onChanged(); return getOperationFieldBuilder().getBuilder(); } /** * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { if (operationBuilder_ != null) { return operationBuilder_.getMessageOrBuilder(); } else { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } } /** * .Ydb.Operations.Operation operation = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> getOperationFieldBuilder() { if (operationBuilder_ == null) { operationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DeleteSessionResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.DeleteSessionResponse(); } public static com.yandex.ydb.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 { return new DeleteSessionResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GlobalIndex( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_GlobalIndex_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_GlobalIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.GlobalIndex.class, com.yandex.ydb.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 { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.GlobalIndex)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.GlobalIndex other = (com.yandex.ydb.table.YdbTable.GlobalIndex) obj; if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.GlobalIndex parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.GlobalIndex parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.GlobalIndex parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.GlobalIndex parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.GlobalIndex parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.GlobalIndex parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.GlobalIndex parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.GlobalIndexOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_GlobalIndex_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_GlobalIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.GlobalIndex.class, com.yandex.ydb.table.YdbTable.GlobalIndex.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.GlobalIndex.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_GlobalIndex_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.GlobalIndex getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.GlobalIndex.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.GlobalIndex build() { com.yandex.ydb.table.YdbTable.GlobalIndex result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.GlobalIndex buildPartial() { com.yandex.ydb.table.YdbTable.GlobalIndex result = new com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.GlobalIndex) { return mergeFrom((com.yandex.ydb.table.YdbTable.GlobalIndex)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.GlobalIndex other) { if (other == com.yandex.ydb.table.YdbTable.GlobalIndex.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.GlobalIndex parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.GlobalIndex) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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 com.yandex.ydb.table.YdbTable.GlobalIndex DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.GlobalIndex(); } public static com.yandex.ydb.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 { return new GlobalIndex(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GlobalAsyncIndex( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_GlobalAsyncIndex_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_GlobalAsyncIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.class, com.yandex.ydb.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 { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.GlobalAsyncIndex)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.GlobalAsyncIndex other = (com.yandex.ydb.table.YdbTable.GlobalAsyncIndex) obj; if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.GlobalAsyncIndex parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.GlobalAsyncIndex parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.GlobalAsyncIndex parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.GlobalAsyncIndex parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.GlobalAsyncIndex parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.GlobalAsyncIndex parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.GlobalAsyncIndex parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.GlobalAsyncIndexOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_GlobalAsyncIndex_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_GlobalAsyncIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.class, com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_GlobalAsyncIndex_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.GlobalAsyncIndex getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.GlobalAsyncIndex build() { com.yandex.ydb.table.YdbTable.GlobalAsyncIndex result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.GlobalAsyncIndex buildPartial() { com.yandex.ydb.table.YdbTable.GlobalAsyncIndex result = new com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.GlobalAsyncIndex) { return mergeFrom((com.yandex.ydb.table.YdbTable.GlobalAsyncIndex)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.GlobalAsyncIndex other) { if (other == com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.GlobalAsyncIndex parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.GlobalAsyncIndex) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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 com.yandex.ydb.table.YdbTable.GlobalAsyncIndex DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.GlobalAsyncIndex(); } public static com.yandex.ydb.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 { return new GlobalAsyncIndex(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.table.YdbTable.GlobalAsyncIndex 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. */ com.yandex.ydb.table.YdbTable.GlobalIndex getGlobalIndex(); /** * .Ydb.Table.GlobalIndex global_index = 3; */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.GlobalAsyncIndex getGlobalAsyncIndex(); /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 4; */ com.yandex.ydb.table.YdbTable.GlobalAsyncIndexOrBuilder getGlobalAsyncIndexOrBuilder(); /** *
     * 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); public com.yandex.ydb.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.EMPTY; dataColumns_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TableIndex(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TableIndex( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); name_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { indexColumns_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } indexColumns_.add(s); break; } case 26: { com.yandex.ydb.table.YdbTable.GlobalIndex.Builder subBuilder = null; if (typeCase_ == 3) { subBuilder = ((com.yandex.ydb.table.YdbTable.GlobalIndex) type_).toBuilder(); } type_ = input.readMessage(com.yandex.ydb.table.YdbTable.GlobalIndex.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.yandex.ydb.table.YdbTable.GlobalIndex) type_); type_ = subBuilder.buildPartial(); } typeCase_ = 3; break; } case 34: { com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.Builder subBuilder = null; if (typeCase_ == 4) { subBuilder = ((com.yandex.ydb.table.YdbTable.GlobalAsyncIndex) type_).toBuilder(); } type_ = input.readMessage(com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.yandex.ydb.table.YdbTable.GlobalAsyncIndex) type_); type_ = subBuilder.buildPartial(); } typeCase_ = 4; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { dataColumns_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; } dataColumns_.add(s); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { indexColumns_ = indexColumns_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000002) != 0)) { dataColumns_ = dataColumns_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TableIndex_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TableIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.TableIndex.class, com.yandex.ydb.table.YdbTable.TableIndex.Builder.class); } private int typeCase_ = 0; 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), 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 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; 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; private com.google.protobuf.LazyStringList indexColumns_; /** *
     * 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 com.yandex.ydb.table.YdbTable.GlobalIndex getGlobalIndex() { if (typeCase_ == 3) { return (com.yandex.ydb.table.YdbTable.GlobalIndex) type_; } return com.yandex.ydb.table.YdbTable.GlobalIndex.getDefaultInstance(); } /** * .Ydb.Table.GlobalIndex global_index = 3; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.GlobalIndexOrBuilder getGlobalIndexOrBuilder() { if (typeCase_ == 3) { return (com.yandex.ydb.table.YdbTable.GlobalIndex) type_; } return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.GlobalAsyncIndex getGlobalAsyncIndex() { if (typeCase_ == 4) { return (com.yandex.ydb.table.YdbTable.GlobalAsyncIndex) type_; } return com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.getDefaultInstance(); } /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 4; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.GlobalAsyncIndexOrBuilder getGlobalAsyncIndexOrBuilder() { if (typeCase_ == 4) { return (com.yandex.ydb.table.YdbTable.GlobalAsyncIndex) type_; } return com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.getDefaultInstance(); } public static final int DATA_COLUMNS_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList dataColumns_; /** *
     * 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 (!getNameBytes().isEmpty()) { 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, (com.yandex.ydb.table.YdbTable.GlobalIndex) type_); } if (typeCase_ == 4) { output.writeMessage(4, (com.yandex.ydb.table.YdbTable.GlobalAsyncIndex) type_); } for (int i = 0; i < dataColumns_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, dataColumns_.getRaw(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getNameBytes().isEmpty()) { 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, (com.yandex.ydb.table.YdbTable.GlobalIndex) type_); } if (typeCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, (com.yandex.ydb.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(); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.TableIndex)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.TableIndex other = (com.yandex.ydb.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 0: default: } if (!unknownFields.equals(other.unknownFields)) 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 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.TableIndex parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TableIndex parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TableIndex parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.TableIndex parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.TableIndex parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TableIndex parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TableIndex parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.TableIndexOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TableIndex_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TableIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.TableIndex.class, com.yandex.ydb.table.YdbTable.TableIndex.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.TableIndex.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; indexColumns_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); dataColumns_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); typeCase_ = 0; type_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TableIndex_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.TableIndex getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.TableIndex.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.TableIndex build() { com.yandex.ydb.table.YdbTable.TableIndex result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.TableIndex buildPartial() { com.yandex.ydb.table.YdbTable.TableIndex result = new com.yandex.ydb.table.YdbTable.TableIndex(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (((bitField0_ & 0x00000001) != 0)) { indexColumns_ = indexColumns_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.indexColumns_ = indexColumns_; if (typeCase_ == 3) { if (globalIndexBuilder_ == null) { result.type_ = type_; } else { result.type_ = globalIndexBuilder_.build(); } } if (typeCase_ == 4) { if (globalAsyncIndexBuilder_ == null) { result.type_ = type_; } else { result.type_ = globalAsyncIndexBuilder_.build(); } } if (((bitField0_ & 0x00000002) != 0)) { dataColumns_ = dataColumns_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } result.dataColumns_ = dataColumns_; result.typeCase_ = typeCase_; 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 com.yandex.ydb.table.YdbTable.TableIndex) { return mergeFrom((com.yandex.ydb.table.YdbTable.TableIndex)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.TableIndex other) { if (other == com.yandex.ydb.table.YdbTable.TableIndex.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.indexColumns_.isEmpty()) { if (indexColumns_.isEmpty()) { indexColumns_ = other.indexColumns_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureIndexColumnsIsMutable(); indexColumns_.addAll(other.indexColumns_); } onChanged(); } if (!other.dataColumns_.isEmpty()) { if (dataColumns_.isEmpty()) { dataColumns_ = other.dataColumns_; bitField0_ = (bitField0_ & ~0x00000002); } 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 TYPE_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.TableIndex parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.TableIndex) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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; onChanged(); return this; } /** *
       * Name of index
       * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); 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; onChanged(); return this; } private com.google.protobuf.LazyStringList indexColumns_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureIndexColumnsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { indexColumns_ = new com.google.protobuf.LazyStringArrayList(indexColumns_); bitField0_ |= 0x00000001; } } /** *
       * list of columns
       * 
* * repeated string index_columns = 2; * @return A list containing the indexColumns. */ public com.google.protobuf.ProtocolStringList getIndexColumnsList() { return indexColumns_.getUnmodifiableView(); } /** *
       * 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); 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); 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_); onChanged(); return this; } /** *
       * list of columns
       * 
* * repeated string index_columns = 2; * @return This builder for chaining. */ public Builder clearIndexColumns() { indexColumns_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); 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); onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.GlobalIndex, com.yandex.ydb.table.YdbTable.GlobalIndex.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.GlobalIndex getGlobalIndex() { if (globalIndexBuilder_ == null) { if (typeCase_ == 3) { return (com.yandex.ydb.table.YdbTable.GlobalIndex) type_; } return com.yandex.ydb.table.YdbTable.GlobalIndex.getDefaultInstance(); } else { if (typeCase_ == 3) { return globalIndexBuilder_.getMessage(); } return com.yandex.ydb.table.YdbTable.GlobalIndex.getDefaultInstance(); } } /** * .Ydb.Table.GlobalIndex global_index = 3; */ public Builder setGlobalIndex(com.yandex.ydb.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( com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.GlobalIndex value) { if (globalIndexBuilder_ == null) { if (typeCase_ == 3 && type_ != com.yandex.ydb.table.YdbTable.GlobalIndex.getDefaultInstance()) { type_ = com.yandex.ydb.table.YdbTable.GlobalIndex.newBuilder((com.yandex.ydb.table.YdbTable.GlobalIndex) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 3) { globalIndexBuilder_.mergeFrom(value); } 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 com.yandex.ydb.table.YdbTable.GlobalIndex.Builder getGlobalIndexBuilder() { return getGlobalIndexFieldBuilder().getBuilder(); } /** * .Ydb.Table.GlobalIndex global_index = 3; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.GlobalIndexOrBuilder getGlobalIndexOrBuilder() { if ((typeCase_ == 3) && (globalIndexBuilder_ != null)) { return globalIndexBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 3) { return (com.yandex.ydb.table.YdbTable.GlobalIndex) type_; } return com.yandex.ydb.table.YdbTable.GlobalIndex.getDefaultInstance(); } } /** * .Ydb.Table.GlobalIndex global_index = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.GlobalIndex, com.yandex.ydb.table.YdbTable.GlobalIndex.Builder, com.yandex.ydb.table.YdbTable.GlobalIndexOrBuilder> getGlobalIndexFieldBuilder() { if (globalIndexBuilder_ == null) { if (!(typeCase_ == 3)) { type_ = com.yandex.ydb.table.YdbTable.GlobalIndex.getDefaultInstance(); } globalIndexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.GlobalIndex, com.yandex.ydb.table.YdbTable.GlobalIndex.Builder, com.yandex.ydb.table.YdbTable.GlobalIndexOrBuilder>( (com.yandex.ydb.table.YdbTable.GlobalIndex) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 3; onChanged();; return globalIndexBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.GlobalAsyncIndex, com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.GlobalAsyncIndex getGlobalAsyncIndex() { if (globalAsyncIndexBuilder_ == null) { if (typeCase_ == 4) { return (com.yandex.ydb.table.YdbTable.GlobalAsyncIndex) type_; } return com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.getDefaultInstance(); } else { if (typeCase_ == 4) { return globalAsyncIndexBuilder_.getMessage(); } return com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.getDefaultInstance(); } } /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 4; */ public Builder setGlobalAsyncIndex(com.yandex.ydb.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( com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.GlobalAsyncIndex value) { if (globalAsyncIndexBuilder_ == null) { if (typeCase_ == 4 && type_ != com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.getDefaultInstance()) { type_ = com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.newBuilder((com.yandex.ydb.table.YdbTable.GlobalAsyncIndex) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 4) { globalAsyncIndexBuilder_.mergeFrom(value); } 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 com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.Builder getGlobalAsyncIndexBuilder() { return getGlobalAsyncIndexFieldBuilder().getBuilder(); } /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 4; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.GlobalAsyncIndexOrBuilder getGlobalAsyncIndexOrBuilder() { if ((typeCase_ == 4) && (globalAsyncIndexBuilder_ != null)) { return globalAsyncIndexBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 4) { return (com.yandex.ydb.table.YdbTable.GlobalAsyncIndex) type_; } return com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.getDefaultInstance(); } } /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.GlobalAsyncIndex, com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.Builder, com.yandex.ydb.table.YdbTable.GlobalAsyncIndexOrBuilder> getGlobalAsyncIndexFieldBuilder() { if (globalAsyncIndexBuilder_ == null) { if (!(typeCase_ == 4)) { type_ = com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.getDefaultInstance(); } globalAsyncIndexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.GlobalAsyncIndex, com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.Builder, com.yandex.ydb.table.YdbTable.GlobalAsyncIndexOrBuilder>( (com.yandex.ydb.table.YdbTable.GlobalAsyncIndex) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 4; onChanged();; return globalAsyncIndexBuilder_; } private com.google.protobuf.LazyStringList dataColumns_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureDataColumnsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { dataColumns_ = new com.google.protobuf.LazyStringArrayList(dataColumns_); bitField0_ |= 0x00000002; } } /** *
       * 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_.getUnmodifiableView(); } /** *
       * 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); 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); 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_); 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.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); 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); 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 com.yandex.ydb.table.YdbTable.TableIndex DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.TableIndex(); } public static com.yandex.ydb.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 { return new TableIndex(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.GlobalIndex getGlobalIndex(); /** * .Ydb.Table.GlobalIndex global_index = 3; */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.GlobalAsyncIndex getGlobalAsyncIndex(); /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 5; */ com.yandex.ydb.table.YdbTable.GlobalAsyncIndexOrBuilder getGlobalAsyncIndexOrBuilder(); /** * .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. */ com.yandex.ydb.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(); public com.yandex.ydb.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.EMPTY; status_ = 0; dataColumns_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TableIndexDescription(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TableIndexDescription( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); name_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { indexColumns_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } indexColumns_.add(s); break; } case 26: { com.yandex.ydb.table.YdbTable.GlobalIndex.Builder subBuilder = null; if (typeCase_ == 3) { subBuilder = ((com.yandex.ydb.table.YdbTable.GlobalIndex) type_).toBuilder(); } type_ = input.readMessage(com.yandex.ydb.table.YdbTable.GlobalIndex.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.yandex.ydb.table.YdbTable.GlobalIndex) type_); type_ = subBuilder.buildPartial(); } typeCase_ = 3; break; } case 32: { int rawValue = input.readEnum(); status_ = rawValue; break; } case 42: { com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.Builder subBuilder = null; if (typeCase_ == 5) { subBuilder = ((com.yandex.ydb.table.YdbTable.GlobalAsyncIndex) type_).toBuilder(); } type_ = input.readMessage(com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.yandex.ydb.table.YdbTable.GlobalAsyncIndex) type_); type_ = subBuilder.buildPartial(); } typeCase_ = 5; break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { dataColumns_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; } dataColumns_.add(s); break; } case 56: { sizeBytes_ = input.readUInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { indexColumns_ = indexColumns_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000002) != 0)) { dataColumns_ = dataColumns_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TableIndexDescription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TableIndexDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.TableIndexDescription.class, com.yandex.ydb.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 com.yandex.ydb.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; 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), 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 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; 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; private com.google.protobuf.LazyStringList indexColumns_; /** *
     * 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 com.yandex.ydb.table.YdbTable.GlobalIndex getGlobalIndex() { if (typeCase_ == 3) { return (com.yandex.ydb.table.YdbTable.GlobalIndex) type_; } return com.yandex.ydb.table.YdbTable.GlobalIndex.getDefaultInstance(); } /** * .Ydb.Table.GlobalIndex global_index = 3; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.GlobalIndexOrBuilder getGlobalIndexOrBuilder() { if (typeCase_ == 3) { return (com.yandex.ydb.table.YdbTable.GlobalIndex) type_; } return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.GlobalAsyncIndex getGlobalAsyncIndex() { if (typeCase_ == 5) { return (com.yandex.ydb.table.YdbTable.GlobalAsyncIndex) type_; } return com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.getDefaultInstance(); } /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 5; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.GlobalAsyncIndexOrBuilder getGlobalAsyncIndexOrBuilder() { if (typeCase_ == 5) { return (com.yandex.ydb.table.YdbTable.GlobalAsyncIndex) type_; } return com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.getDefaultInstance(); } public static final int STATUS_FIELD_NUMBER = 4; private int status_; /** * .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 com.yandex.ydb.table.YdbTable.TableIndexDescription.Status getStatus() { @SuppressWarnings("deprecation") com.yandex.ydb.table.YdbTable.TableIndexDescription.Status result = com.yandex.ydb.table.YdbTable.TableIndexDescription.Status.valueOf(status_); return result == null ? com.yandex.ydb.table.YdbTable.TableIndexDescription.Status.UNRECOGNIZED : result; } public static final int DATA_COLUMNS_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList dataColumns_; /** *
     * 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_; /** *
     * 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 (!getNameBytes().isEmpty()) { 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, (com.yandex.ydb.table.YdbTable.GlobalIndex) type_); } if (status_ != com.yandex.ydb.table.YdbTable.TableIndexDescription.Status.STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(4, status_); } if (typeCase_ == 5) { output.writeMessage(5, (com.yandex.ydb.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_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getNameBytes().isEmpty()) { 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, (com.yandex.ydb.table.YdbTable.GlobalIndex) type_); } if (status_ != com.yandex.ydb.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, (com.yandex.ydb.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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.TableIndexDescription)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.TableIndexDescription other = (com.yandex.ydb.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 0: default: } if (!unknownFields.equals(other.unknownFields)) 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 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.TableIndexDescription parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TableIndexDescription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TableIndexDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.TableIndexDescription parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.TableIndexDescription parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TableIndexDescription parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TableIndexDescription parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.TableIndexDescriptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TableIndexDescription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TableIndexDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.TableIndexDescription.class, com.yandex.ydb.table.YdbTable.TableIndexDescription.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.TableIndexDescription.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; indexColumns_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); status_ = 0; dataColumns_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); sizeBytes_ = 0L; typeCase_ = 0; type_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TableIndexDescription_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.TableIndexDescription getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.TableIndexDescription.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.TableIndexDescription build() { com.yandex.ydb.table.YdbTable.TableIndexDescription result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.TableIndexDescription buildPartial() { com.yandex.ydb.table.YdbTable.TableIndexDescription result = new com.yandex.ydb.table.YdbTable.TableIndexDescription(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (((bitField0_ & 0x00000001) != 0)) { indexColumns_ = indexColumns_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.indexColumns_ = indexColumns_; if (typeCase_ == 3) { if (globalIndexBuilder_ == null) { result.type_ = type_; } else { result.type_ = globalIndexBuilder_.build(); } } if (typeCase_ == 5) { if (globalAsyncIndexBuilder_ == null) { result.type_ = type_; } else { result.type_ = globalAsyncIndexBuilder_.build(); } } result.status_ = status_; if (((bitField0_ & 0x00000002) != 0)) { dataColumns_ = dataColumns_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } result.dataColumns_ = dataColumns_; result.sizeBytes_ = sizeBytes_; result.typeCase_ = typeCase_; 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 com.yandex.ydb.table.YdbTable.TableIndexDescription) { return mergeFrom((com.yandex.ydb.table.YdbTable.TableIndexDescription)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.TableIndexDescription other) { if (other == com.yandex.ydb.table.YdbTable.TableIndexDescription.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.indexColumns_.isEmpty()) { if (indexColumns_.isEmpty()) { indexColumns_ = other.indexColumns_; bitField0_ = (bitField0_ & ~0x00000001); } 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_ = (bitField0_ & ~0x00000002); } 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 TYPE_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.TableIndexDescription parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.TableIndexDescription) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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; onChanged(); return this; } /** *
       * Name of index
       * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); 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; onChanged(); return this; } private com.google.protobuf.LazyStringList indexColumns_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureIndexColumnsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { indexColumns_ = new com.google.protobuf.LazyStringArrayList(indexColumns_); bitField0_ |= 0x00000001; } } /** *
       * list of columns
       * 
* * repeated string index_columns = 2; * @return A list containing the indexColumns. */ public com.google.protobuf.ProtocolStringList getIndexColumnsList() { return indexColumns_.getUnmodifiableView(); } /** *
       * 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); 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); 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_); onChanged(); return this; } /** *
       * list of columns
       * 
* * repeated string index_columns = 2; * @return This builder for chaining. */ public Builder clearIndexColumns() { indexColumns_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); 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); onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.GlobalIndex, com.yandex.ydb.table.YdbTable.GlobalIndex.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.GlobalIndex getGlobalIndex() { if (globalIndexBuilder_ == null) { if (typeCase_ == 3) { return (com.yandex.ydb.table.YdbTable.GlobalIndex) type_; } return com.yandex.ydb.table.YdbTable.GlobalIndex.getDefaultInstance(); } else { if (typeCase_ == 3) { return globalIndexBuilder_.getMessage(); } return com.yandex.ydb.table.YdbTable.GlobalIndex.getDefaultInstance(); } } /** * .Ydb.Table.GlobalIndex global_index = 3; */ public Builder setGlobalIndex(com.yandex.ydb.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( com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.GlobalIndex value) { if (globalIndexBuilder_ == null) { if (typeCase_ == 3 && type_ != com.yandex.ydb.table.YdbTable.GlobalIndex.getDefaultInstance()) { type_ = com.yandex.ydb.table.YdbTable.GlobalIndex.newBuilder((com.yandex.ydb.table.YdbTable.GlobalIndex) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 3) { globalIndexBuilder_.mergeFrom(value); } 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 com.yandex.ydb.table.YdbTable.GlobalIndex.Builder getGlobalIndexBuilder() { return getGlobalIndexFieldBuilder().getBuilder(); } /** * .Ydb.Table.GlobalIndex global_index = 3; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.GlobalIndexOrBuilder getGlobalIndexOrBuilder() { if ((typeCase_ == 3) && (globalIndexBuilder_ != null)) { return globalIndexBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 3) { return (com.yandex.ydb.table.YdbTable.GlobalIndex) type_; } return com.yandex.ydb.table.YdbTable.GlobalIndex.getDefaultInstance(); } } /** * .Ydb.Table.GlobalIndex global_index = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.GlobalIndex, com.yandex.ydb.table.YdbTable.GlobalIndex.Builder, com.yandex.ydb.table.YdbTable.GlobalIndexOrBuilder> getGlobalIndexFieldBuilder() { if (globalIndexBuilder_ == null) { if (!(typeCase_ == 3)) { type_ = com.yandex.ydb.table.YdbTable.GlobalIndex.getDefaultInstance(); } globalIndexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.GlobalIndex, com.yandex.ydb.table.YdbTable.GlobalIndex.Builder, com.yandex.ydb.table.YdbTable.GlobalIndexOrBuilder>( (com.yandex.ydb.table.YdbTable.GlobalIndex) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 3; onChanged();; return globalIndexBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.GlobalAsyncIndex, com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.GlobalAsyncIndex getGlobalAsyncIndex() { if (globalAsyncIndexBuilder_ == null) { if (typeCase_ == 5) { return (com.yandex.ydb.table.YdbTable.GlobalAsyncIndex) type_; } return com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.getDefaultInstance(); } else { if (typeCase_ == 5) { return globalAsyncIndexBuilder_.getMessage(); } return com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.getDefaultInstance(); } } /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 5; */ public Builder setGlobalAsyncIndex(com.yandex.ydb.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( com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.GlobalAsyncIndex value) { if (globalAsyncIndexBuilder_ == null) { if (typeCase_ == 5 && type_ != com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.getDefaultInstance()) { type_ = com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.newBuilder((com.yandex.ydb.table.YdbTable.GlobalAsyncIndex) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 5) { globalAsyncIndexBuilder_.mergeFrom(value); } 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 com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.Builder getGlobalAsyncIndexBuilder() { return getGlobalAsyncIndexFieldBuilder().getBuilder(); } /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 5; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.GlobalAsyncIndexOrBuilder getGlobalAsyncIndexOrBuilder() { if ((typeCase_ == 5) && (globalAsyncIndexBuilder_ != null)) { return globalAsyncIndexBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 5) { return (com.yandex.ydb.table.YdbTable.GlobalAsyncIndex) type_; } return com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.getDefaultInstance(); } } /** * .Ydb.Table.GlobalAsyncIndex global_async_index = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.GlobalAsyncIndex, com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.Builder, com.yandex.ydb.table.YdbTable.GlobalAsyncIndexOrBuilder> getGlobalAsyncIndexFieldBuilder() { if (globalAsyncIndexBuilder_ == null) { if (!(typeCase_ == 5)) { type_ = com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.getDefaultInstance(); } globalAsyncIndexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.GlobalAsyncIndex, com.yandex.ydb.table.YdbTable.GlobalAsyncIndex.Builder, com.yandex.ydb.table.YdbTable.GlobalAsyncIndexOrBuilder>( (com.yandex.ydb.table.YdbTable.GlobalAsyncIndex) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 5; onChanged();; return globalAsyncIndexBuilder_; } 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; onChanged(); return this; } /** * .Ydb.Table.TableIndexDescription.Status status = 4; * @return The status. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.TableIndexDescription.Status getStatus() { @SuppressWarnings("deprecation") com.yandex.ydb.table.YdbTable.TableIndexDescription.Status result = com.yandex.ydb.table.YdbTable.TableIndexDescription.Status.valueOf(status_); return result == null ? com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.TableIndexDescription.Status value) { if (value == null) { throw new NullPointerException(); } status_ = value.getNumber(); onChanged(); return this; } /** * .Ydb.Table.TableIndexDescription.Status status = 4; * @return This builder for chaining. */ public Builder clearStatus() { status_ = 0; onChanged(); return this; } private com.google.protobuf.LazyStringList dataColumns_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureDataColumnsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { dataColumns_ = new com.google.protobuf.LazyStringArrayList(dataColumns_); bitField0_ |= 0x00000002; } } /** *
       * 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_.getUnmodifiableView(); } /** *
       * 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); 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); 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_); 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.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); 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); 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; onChanged(); return this; } /** *
       * Size of index data in bytes
       * 
* * uint64 size_bytes = 7; * @return This builder for chaining. */ public Builder clearSizeBytes() { 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 com.yandex.ydb.table.YdbTable.TableIndexDescription DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.TableIndexDescription(); } public static com.yandex.ydb.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 { return new TableIndexDescription(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private IndexBuildState( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_IndexBuildState_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_IndexBuildState_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.IndexBuildState.class, com.yandex.ydb.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 com.yandex.ydb.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 { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.IndexBuildState)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.IndexBuildState other = (com.yandex.ydb.table.YdbTable.IndexBuildState) obj; if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.IndexBuildState parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.IndexBuildState parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.IndexBuildState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.IndexBuildState parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.IndexBuildState parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.IndexBuildState parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.IndexBuildState parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.IndexBuildStateOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_IndexBuildState_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_IndexBuildState_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.IndexBuildState.class, com.yandex.ydb.table.YdbTable.IndexBuildState.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.IndexBuildState.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_IndexBuildState_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.IndexBuildState getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.IndexBuildState.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.IndexBuildState build() { com.yandex.ydb.table.YdbTable.IndexBuildState result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.IndexBuildState buildPartial() { com.yandex.ydb.table.YdbTable.IndexBuildState result = new com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.IndexBuildState) { return mergeFrom((com.yandex.ydb.table.YdbTable.IndexBuildState)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.IndexBuildState other) { if (other == com.yandex.ydb.table.YdbTable.IndexBuildState.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.IndexBuildState parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.IndexBuildState) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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 com.yandex.ydb.table.YdbTable.IndexBuildState DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.IndexBuildState(); } public static com.yandex.ydb.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 { return new IndexBuildState(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.TableIndex getIndex(); /** * .Ydb.Table.TableIndex index = 2; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private IndexBuildDescription( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); path_ = s; break; } case 18: { com.yandex.ydb.table.YdbTable.TableIndex.Builder subBuilder = null; if (index_ != null) { subBuilder = index_.toBuilder(); } index_ = input.readMessage(com.yandex.ydb.table.YdbTable.TableIndex.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(index_); index_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_IndexBuildDescription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_IndexBuildDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.IndexBuildDescription.class, com.yandex.ydb.table.YdbTable.IndexBuildDescription.Builder.class); } public static final int PATH_FIELD_NUMBER = 1; 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 com.yandex.ydb.table.YdbTable.TableIndex index_; /** * .Ydb.Table.TableIndex index = 2; * @return Whether the index field is set. */ @java.lang.Override public boolean hasIndex() { return index_ != null; } /** * .Ydb.Table.TableIndex index = 2; * @return The index. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.TableIndex getIndex() { return index_ == null ? com.yandex.ydb.table.YdbTable.TableIndex.getDefaultInstance() : index_; } /** * .Ydb.Table.TableIndex index = 2; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.TableIndexOrBuilder getIndexOrBuilder() { return getIndex(); } 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 (!getPathBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_); } if (index_ != null) { output.writeMessage(2, getIndex()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getPathBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_); } if (index_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getIndex()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.IndexBuildDescription)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.IndexBuildDescription other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.IndexBuildDescription parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.IndexBuildDescription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.IndexBuildDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.IndexBuildDescription parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.IndexBuildDescription parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.IndexBuildDescription parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.IndexBuildDescription parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.IndexBuildDescriptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_IndexBuildDescription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_IndexBuildDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.IndexBuildDescription.class, com.yandex.ydb.table.YdbTable.IndexBuildDescription.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); path_ = ""; if (indexBuilder_ == null) { index_ = null; } else { index_ = null; indexBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_IndexBuildDescription_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.IndexBuildDescription getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.IndexBuildDescription.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.IndexBuildDescription build() { com.yandex.ydb.table.YdbTable.IndexBuildDescription result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.IndexBuildDescription buildPartial() { com.yandex.ydb.table.YdbTable.IndexBuildDescription result = new com.yandex.ydb.table.YdbTable.IndexBuildDescription(this); result.path_ = path_; if (indexBuilder_ == null) { result.index_ = index_; } else { result.index_ = indexBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.IndexBuildDescription) { return mergeFrom((com.yandex.ydb.table.YdbTable.IndexBuildDescription)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.IndexBuildDescription other) { if (other == com.yandex.ydb.table.YdbTable.IndexBuildDescription.getDefaultInstance()) return this; if (!other.getPath().isEmpty()) { path_ = other.path_; onChanged(); } if (other.hasIndex()) { mergeIndex(other.getIndex()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.IndexBuildDescription parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.IndexBuildDescription) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; onChanged(); return this; } /** * string path = 1; * @return This builder for chaining. */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); 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; onChanged(); return this; } private com.yandex.ydb.table.YdbTable.TableIndex index_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.TableIndex, com.yandex.ydb.table.YdbTable.TableIndex.Builder, com.yandex.ydb.table.YdbTable.TableIndexOrBuilder> indexBuilder_; /** * .Ydb.Table.TableIndex index = 2; * @return Whether the index field is set. */ public boolean hasIndex() { return indexBuilder_ != null || index_ != null; } /** * .Ydb.Table.TableIndex index = 2; * @return The index. */ public com.yandex.ydb.table.YdbTable.TableIndex getIndex() { if (indexBuilder_ == null) { return index_ == null ? com.yandex.ydb.table.YdbTable.TableIndex.getDefaultInstance() : index_; } else { return indexBuilder_.getMessage(); } } /** * .Ydb.Table.TableIndex index = 2; */ public Builder setIndex(com.yandex.ydb.table.YdbTable.TableIndex value) { if (indexBuilder_ == null) { if (value == null) { throw new NullPointerException(); } index_ = value; onChanged(); } else { indexBuilder_.setMessage(value); } return this; } /** * .Ydb.Table.TableIndex index = 2; */ public Builder setIndex( com.yandex.ydb.table.YdbTable.TableIndex.Builder builderForValue) { if (indexBuilder_ == null) { index_ = builderForValue.build(); onChanged(); } else { indexBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Table.TableIndex index = 2; */ public Builder mergeIndex(com.yandex.ydb.table.YdbTable.TableIndex value) { if (indexBuilder_ == null) { if (index_ != null) { index_ = com.yandex.ydb.table.YdbTable.TableIndex.newBuilder(index_).mergeFrom(value).buildPartial(); } else { index_ = value; } onChanged(); } else { indexBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Table.TableIndex index = 2; */ public Builder clearIndex() { if (indexBuilder_ == null) { index_ = null; onChanged(); } else { index_ = null; indexBuilder_ = null; } return this; } /** * .Ydb.Table.TableIndex index = 2; */ public com.yandex.ydb.table.YdbTable.TableIndex.Builder getIndexBuilder() { onChanged(); return getIndexFieldBuilder().getBuilder(); } /** * .Ydb.Table.TableIndex index = 2; */ public com.yandex.ydb.table.YdbTable.TableIndexOrBuilder getIndexOrBuilder() { if (indexBuilder_ != null) { return indexBuilder_.getMessageOrBuilder(); } else { return index_ == null ? com.yandex.ydb.table.YdbTable.TableIndex.getDefaultInstance() : index_; } } /** * .Ydb.Table.TableIndex index = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.TableIndex, com.yandex.ydb.table.YdbTable.TableIndex.Builder, com.yandex.ydb.table.YdbTable.TableIndexOrBuilder> getIndexFieldBuilder() { if (indexBuilder_ == null) { indexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.TableIndex, com.yandex.ydb.table.YdbTable.TableIndex.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.IndexBuildDescription DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.IndexBuildDescription(); } public static com.yandex.ydb.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 { return new IndexBuildDescription(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.IndexBuildDescription getDescription(); /** * .Ydb.Table.IndexBuildDescription description = 1; */ com.yandex.ydb.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. */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private IndexBuildMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.table.YdbTable.IndexBuildDescription.Builder subBuilder = null; if (description_ != null) { subBuilder = description_.toBuilder(); } description_ = input.readMessage(com.yandex.ydb.table.YdbTable.IndexBuildDescription.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(description_); description_ = subBuilder.buildPartial(); } break; } case 16: { int rawValue = input.readEnum(); state_ = rawValue; break; } case 29: { progress_ = input.readFloat(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_IndexBuildMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_IndexBuildMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.IndexBuildMetadata.class, com.yandex.ydb.table.YdbTable.IndexBuildMetadata.Builder.class); } public static final int DESCRIPTION_FIELD_NUMBER = 1; private com.yandex.ydb.table.YdbTable.IndexBuildDescription description_; /** * .Ydb.Table.IndexBuildDescription description = 1; * @return Whether the description field is set. */ @java.lang.Override public boolean hasDescription() { return description_ != null; } /** * .Ydb.Table.IndexBuildDescription description = 1; * @return The description. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.IndexBuildDescription getDescription() { return description_ == null ? com.yandex.ydb.table.YdbTable.IndexBuildDescription.getDefaultInstance() : description_; } /** * .Ydb.Table.IndexBuildDescription description = 1; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.IndexBuildDescriptionOrBuilder getDescriptionOrBuilder() { return getDescription(); } public static final int STATE_FIELD_NUMBER = 2; private int state_; /** * .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 com.yandex.ydb.table.YdbTable.IndexBuildState.State getState() { @SuppressWarnings("deprecation") com.yandex.ydb.table.YdbTable.IndexBuildState.State result = com.yandex.ydb.table.YdbTable.IndexBuildState.State.valueOf(state_); return result == null ? com.yandex.ydb.table.YdbTable.IndexBuildState.State.UNRECOGNIZED : result; } public static final int PROGRESS_FIELD_NUMBER = 3; private float progress_; /** * 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 (description_ != null) { output.writeMessage(1, getDescription()); } if (state_ != com.yandex.ydb.table.YdbTable.IndexBuildState.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(2, state_); } if (progress_ != 0F) { output.writeFloat(3, progress_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (description_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getDescription()); } if (state_ != com.yandex.ydb.table.YdbTable.IndexBuildState.State.STATE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, state_); } if (progress_ != 0F) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(3, progress_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.IndexBuildMetadata)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.IndexBuildMetadata other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.IndexBuildMetadata parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.IndexBuildMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.IndexBuildMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.IndexBuildMetadata parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.IndexBuildMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.IndexBuildMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.IndexBuildMetadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.IndexBuildMetadataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_IndexBuildMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_IndexBuildMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.IndexBuildMetadata.class, com.yandex.ydb.table.YdbTable.IndexBuildMetadata.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); if (descriptionBuilder_ == null) { description_ = null; } else { description_ = null; descriptionBuilder_ = null; } state_ = 0; progress_ = 0F; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_IndexBuildMetadata_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.IndexBuildMetadata getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.IndexBuildMetadata.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.IndexBuildMetadata build() { com.yandex.ydb.table.YdbTable.IndexBuildMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.IndexBuildMetadata buildPartial() { com.yandex.ydb.table.YdbTable.IndexBuildMetadata result = new com.yandex.ydb.table.YdbTable.IndexBuildMetadata(this); if (descriptionBuilder_ == null) { result.description_ = description_; } else { result.description_ = descriptionBuilder_.build(); } result.state_ = state_; result.progress_ = progress_; 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 com.yandex.ydb.table.YdbTable.IndexBuildMetadata) { return mergeFrom((com.yandex.ydb.table.YdbTable.IndexBuildMetadata)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.IndexBuildMetadata other) { if (other == com.yandex.ydb.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.unknownFields); 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 { com.yandex.ydb.table.YdbTable.IndexBuildMetadata parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.IndexBuildMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.yandex.ydb.table.YdbTable.IndexBuildDescription description_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.IndexBuildDescription, com.yandex.ydb.table.YdbTable.IndexBuildDescription.Builder, com.yandex.ydb.table.YdbTable.IndexBuildDescriptionOrBuilder> descriptionBuilder_; /** * .Ydb.Table.IndexBuildDescription description = 1; * @return Whether the description field is set. */ public boolean hasDescription() { return descriptionBuilder_ != null || description_ != null; } /** * .Ydb.Table.IndexBuildDescription description = 1; * @return The description. */ public com.yandex.ydb.table.YdbTable.IndexBuildDescription getDescription() { if (descriptionBuilder_ == null) { return description_ == null ? com.yandex.ydb.table.YdbTable.IndexBuildDescription.getDefaultInstance() : description_; } else { return descriptionBuilder_.getMessage(); } } /** * .Ydb.Table.IndexBuildDescription description = 1; */ public Builder setDescription(com.yandex.ydb.table.YdbTable.IndexBuildDescription value) { if (descriptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } description_ = value; onChanged(); } else { descriptionBuilder_.setMessage(value); } return this; } /** * .Ydb.Table.IndexBuildDescription description = 1; */ public Builder setDescription( com.yandex.ydb.table.YdbTable.IndexBuildDescription.Builder builderForValue) { if (descriptionBuilder_ == null) { description_ = builderForValue.build(); onChanged(); } else { descriptionBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Table.IndexBuildDescription description = 1; */ public Builder mergeDescription(com.yandex.ydb.table.YdbTable.IndexBuildDescription value) { if (descriptionBuilder_ == null) { if (description_ != null) { description_ = com.yandex.ydb.table.YdbTable.IndexBuildDescription.newBuilder(description_).mergeFrom(value).buildPartial(); } else { description_ = value; } onChanged(); } else { descriptionBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Table.IndexBuildDescription description = 1; */ public Builder clearDescription() { if (descriptionBuilder_ == null) { description_ = null; onChanged(); } else { description_ = null; descriptionBuilder_ = null; } return this; } /** * .Ydb.Table.IndexBuildDescription description = 1; */ public com.yandex.ydb.table.YdbTable.IndexBuildDescription.Builder getDescriptionBuilder() { onChanged(); return getDescriptionFieldBuilder().getBuilder(); } /** * .Ydb.Table.IndexBuildDescription description = 1; */ public com.yandex.ydb.table.YdbTable.IndexBuildDescriptionOrBuilder getDescriptionOrBuilder() { if (descriptionBuilder_ != null) { return descriptionBuilder_.getMessageOrBuilder(); } else { return description_ == null ? com.yandex.ydb.table.YdbTable.IndexBuildDescription.getDefaultInstance() : description_; } } /** * .Ydb.Table.IndexBuildDescription description = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.IndexBuildDescription, com.yandex.ydb.table.YdbTable.IndexBuildDescription.Builder, com.yandex.ydb.table.YdbTable.IndexBuildDescriptionOrBuilder> getDescriptionFieldBuilder() { if (descriptionBuilder_ == null) { descriptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.IndexBuildDescription, com.yandex.ydb.table.YdbTable.IndexBuildDescription.Builder, com.yandex.ydb.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; onChanged(); return this; } /** * .Ydb.Table.IndexBuildState.State state = 2; * @return The state. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.IndexBuildState.State getState() { @SuppressWarnings("deprecation") com.yandex.ydb.table.YdbTable.IndexBuildState.State result = com.yandex.ydb.table.YdbTable.IndexBuildState.State.valueOf(state_); return result == null ? com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.IndexBuildState.State value) { if (value == null) { throw new NullPointerException(); } state_ = value.getNumber(); onChanged(); return this; } /** * .Ydb.Table.IndexBuildState.State state = 2; * @return This builder for chaining. */ public Builder clearState() { 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; onChanged(); return this; } /** * float progress = 3; * @return This builder for chaining. */ public Builder clearProgress() { 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 com.yandex.ydb.table.YdbTable.IndexBuildMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.IndexBuildMetadata(); } public static com.yandex.ydb.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 { return new IndexBuildMetadata(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ChangefeedMode( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ChangefeedMode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ChangefeedMode_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ChangefeedMode.class, com.yandex.ydb.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 com.yandex.ydb.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 { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.ChangefeedMode)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.ChangefeedMode other = (com.yandex.ydb.table.YdbTable.ChangefeedMode) obj; if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.ChangefeedMode parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ChangefeedMode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ChangefeedMode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.ChangefeedMode parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.ChangefeedMode parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ChangefeedMode parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ChangefeedMode parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.ChangefeedModeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ChangefeedMode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ChangefeedMode_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ChangefeedMode.class, com.yandex.ydb.table.YdbTable.ChangefeedMode.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.ChangefeedMode.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ChangefeedMode_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ChangefeedMode getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.ChangefeedMode.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.ChangefeedMode build() { com.yandex.ydb.table.YdbTable.ChangefeedMode result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ChangefeedMode buildPartial() { com.yandex.ydb.table.YdbTable.ChangefeedMode result = new com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ChangefeedMode) { return mergeFrom((com.yandex.ydb.table.YdbTable.ChangefeedMode)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.ChangefeedMode other) { if (other == com.yandex.ydb.table.YdbTable.ChangefeedMode.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.ChangefeedMode parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.ChangefeedMode) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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 com.yandex.ydb.table.YdbTable.ChangefeedMode DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.ChangefeedMode(); } public static com.yandex.ydb.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 { return new ChangefeedMode(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ChangefeedFormat( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ChangefeedFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ChangefeedFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ChangefeedFormat.class, com.yandex.ydb.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), /** * FORMAT_JSON = 1; */ FORMAT_JSON(1), UNRECOGNIZED(-1), ; /** * FORMAT_UNSPECIFIED = 0; */ public static final int FORMAT_UNSPECIFIED_VALUE = 0; /** * FORMAT_JSON = 1; */ public static final int FORMAT_JSON_VALUE = 1; 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; 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 com.yandex.ydb.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 { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.ChangefeedFormat)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.ChangefeedFormat other = (com.yandex.ydb.table.YdbTable.ChangefeedFormat) obj; if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.ChangefeedFormat parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ChangefeedFormat parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ChangefeedFormat parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.ChangefeedFormat parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.ChangefeedFormat parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ChangefeedFormat parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ChangefeedFormat parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.ChangefeedFormatOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ChangefeedFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ChangefeedFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ChangefeedFormat.class, com.yandex.ydb.table.YdbTable.ChangefeedFormat.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.ChangefeedFormat.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ChangefeedFormat_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ChangefeedFormat getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.ChangefeedFormat.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.ChangefeedFormat build() { com.yandex.ydb.table.YdbTable.ChangefeedFormat result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ChangefeedFormat buildPartial() { com.yandex.ydb.table.YdbTable.ChangefeedFormat result = new com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ChangefeedFormat) { return mergeFrom((com.yandex.ydb.table.YdbTable.ChangefeedFormat)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.ChangefeedFormat other) { if (other == com.yandex.ydb.table.YdbTable.ChangefeedFormat.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.ChangefeedFormat parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.ChangefeedFormat) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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 com.yandex.ydb.table.YdbTable.ChangefeedFormat DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.ChangefeedFormat(); } public static com.yandex.ydb.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 { return new ChangefeedFormat(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.ChangefeedFormat.Format getFormat(); } /** * 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; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Changefeed(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Changefeed( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); name_ = s; break; } case 16: { int rawValue = input.readEnum(); mode_ = rawValue; break; } case 24: { int rawValue = input.readEnum(); format_ = rawValue; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_Changefeed_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_Changefeed_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.Changefeed.class, com.yandex.ydb.table.YdbTable.Changefeed.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; 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_; /** *
     * 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 com.yandex.ydb.table.YdbTable.ChangefeedMode.Mode getMode() { @SuppressWarnings("deprecation") com.yandex.ydb.table.YdbTable.ChangefeedMode.Mode result = com.yandex.ydb.table.YdbTable.ChangefeedMode.Mode.valueOf(mode_); return result == null ? com.yandex.ydb.table.YdbTable.ChangefeedMode.Mode.UNRECOGNIZED : result; } public static final int FORMAT_FIELD_NUMBER = 3; private int format_; /** *
     * 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 com.yandex.ydb.table.YdbTable.ChangefeedFormat.Format getFormat() { @SuppressWarnings("deprecation") com.yandex.ydb.table.YdbTable.ChangefeedFormat.Format result = com.yandex.ydb.table.YdbTable.ChangefeedFormat.Format.valueOf(format_); return result == null ? com.yandex.ydb.table.YdbTable.ChangefeedFormat.Format.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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (mode_ != com.yandex.ydb.table.YdbTable.ChangefeedMode.Mode.MODE_UNSPECIFIED.getNumber()) { output.writeEnum(2, mode_); } if (format_ != com.yandex.ydb.table.YdbTable.ChangefeedFormat.Format.FORMAT_UNSPECIFIED.getNumber()) { output.writeEnum(3, format_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (mode_ != com.yandex.ydb.table.YdbTable.ChangefeedMode.Mode.MODE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, mode_); } if (format_ != com.yandex.ydb.table.YdbTable.ChangefeedFormat.Format.FORMAT_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, format_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.Changefeed)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.Changefeed other = (com.yandex.ydb.table.YdbTable.Changefeed) obj; if (!getName() .equals(other.getName())) return false; if (mode_ != other.mode_) return false; if (format_ != other.format_) return false; if (!unknownFields.equals(other.unknownFields)) 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 = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.Changefeed parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.Changefeed parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.Changefeed parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.Changefeed parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.Changefeed parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.Changefeed parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.Changefeed parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.ChangefeedOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_Changefeed_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_Changefeed_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.Changefeed.class, com.yandex.ydb.table.YdbTable.Changefeed.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; mode_ = 0; format_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_Changefeed_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.Changefeed getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.Changefeed.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.Changefeed build() { com.yandex.ydb.table.YdbTable.Changefeed result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.Changefeed buildPartial() { com.yandex.ydb.table.YdbTable.Changefeed result = new com.yandex.ydb.table.YdbTable.Changefeed(this); result.name_ = name_; result.mode_ = mode_; result.format_ = format_; 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 com.yandex.ydb.table.YdbTable.Changefeed) { return mergeFrom((com.yandex.ydb.table.YdbTable.Changefeed)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.Changefeed other) { if (other == com.yandex.ydb.table.YdbTable.Changefeed.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (other.mode_ != 0) { setModeValue(other.getModeValue()); } if (other.format_ != 0) { setFormatValue(other.getFormatValue()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.Changefeed parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.Changefeed) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; onChanged(); return this; } /** *
       * Name of the feed
       * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); 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; 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; 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 com.yandex.ydb.table.YdbTable.ChangefeedMode.Mode getMode() { @SuppressWarnings("deprecation") com.yandex.ydb.table.YdbTable.ChangefeedMode.Mode result = com.yandex.ydb.table.YdbTable.ChangefeedMode.Mode.valueOf(mode_); return result == null ? com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.ChangefeedMode.Mode value) { if (value == null) { throw new NullPointerException(); } 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() { 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; onChanged(); return this; } /** *
       * Format of the data
       * 
* * .Ydb.Table.ChangefeedFormat.Format format = 3; * @return The format. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.ChangefeedFormat.Format getFormat() { @SuppressWarnings("deprecation") com.yandex.ydb.table.YdbTable.ChangefeedFormat.Format result = com.yandex.ydb.table.YdbTable.ChangefeedFormat.Format.valueOf(format_); return result == null ? com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.ChangefeedFormat.Format value) { if (value == null) { throw new NullPointerException(); } format_ = value.getNumber(); onChanged(); return this; } /** *
       * Format of the data
       * 
* * .Ydb.Table.ChangefeedFormat.Format format = 3; * @return This builder for chaining. */ public Builder clearFormat() { format_ = 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.Changefeed) } // @@protoc_insertion_point(class_scope:Ydb.Table.Changefeed) private static final com.yandex.ydb.table.YdbTable.Changefeed DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.Changefeed(); } public static com.yandex.ydb.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 { return new Changefeed(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.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. */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.ChangefeedDescription.State getState(); } /** * 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; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ChangefeedDescription(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ChangefeedDescription( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); name_ = s; break; } case 16: { int rawValue = input.readEnum(); mode_ = rawValue; break; } case 24: { int rawValue = input.readEnum(); format_ = rawValue; break; } case 32: { int rawValue = input.readEnum(); state_ = rawValue; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ChangefeedDescription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ChangefeedDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ChangefeedDescription.class, com.yandex.ydb.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), /** * STATE_ENABLED = 1; */ STATE_ENABLED(1), /** * STATE_DISABLED = 2; */ STATE_DISABLED(2), UNRECOGNIZED(-1), ; /** * STATE_UNSPECIFIED = 0; */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** * STATE_ENABLED = 1; */ public static final int STATE_ENABLED_VALUE = 1; /** * STATE_DISABLED = 2; */ public static final int STATE_DISABLED_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 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; 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 com.yandex.ydb.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) } public static final int NAME_FIELD_NUMBER = 1; 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_; /** *
     * 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 com.yandex.ydb.table.YdbTable.ChangefeedMode.Mode getMode() { @SuppressWarnings("deprecation") com.yandex.ydb.table.YdbTable.ChangefeedMode.Mode result = com.yandex.ydb.table.YdbTable.ChangefeedMode.Mode.valueOf(mode_); return result == null ? com.yandex.ydb.table.YdbTable.ChangefeedMode.Mode.UNRECOGNIZED : result; } public static final int FORMAT_FIELD_NUMBER = 3; private int format_; /** *
     * 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 com.yandex.ydb.table.YdbTable.ChangefeedFormat.Format getFormat() { @SuppressWarnings("deprecation") com.yandex.ydb.table.YdbTable.ChangefeedFormat.Format result = com.yandex.ydb.table.YdbTable.ChangefeedFormat.Format.valueOf(format_); return result == null ? com.yandex.ydb.table.YdbTable.ChangefeedFormat.Format.UNRECOGNIZED : result; } public static final int STATE_FIELD_NUMBER = 4; private int state_; /** *
     * 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 com.yandex.ydb.table.YdbTable.ChangefeedDescription.State getState() { @SuppressWarnings("deprecation") com.yandex.ydb.table.YdbTable.ChangefeedDescription.State result = com.yandex.ydb.table.YdbTable.ChangefeedDescription.State.valueOf(state_); return result == null ? com.yandex.ydb.table.YdbTable.ChangefeedDescription.State.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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (mode_ != com.yandex.ydb.table.YdbTable.ChangefeedMode.Mode.MODE_UNSPECIFIED.getNumber()) { output.writeEnum(2, mode_); } if (format_ != com.yandex.ydb.table.YdbTable.ChangefeedFormat.Format.FORMAT_UNSPECIFIED.getNumber()) { output.writeEnum(3, format_); } if (state_ != com.yandex.ydb.table.YdbTable.ChangefeedDescription.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(4, state_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (mode_ != com.yandex.ydb.table.YdbTable.ChangefeedMode.Mode.MODE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, mode_); } if (format_ != com.yandex.ydb.table.YdbTable.ChangefeedFormat.Format.FORMAT_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, format_); } if (state_ != com.yandex.ydb.table.YdbTable.ChangefeedDescription.State.STATE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, state_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.ChangefeedDescription)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.ChangefeedDescription other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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 = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.ChangefeedDescription parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ChangefeedDescription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ChangefeedDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.ChangefeedDescription parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.ChangefeedDescription parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ChangefeedDescription parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ChangefeedDescription parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.ChangefeedDescriptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ChangefeedDescription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ChangefeedDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ChangefeedDescription.class, com.yandex.ydb.table.YdbTable.ChangefeedDescription.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; mode_ = 0; format_ = 0; state_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ChangefeedDescription_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ChangefeedDescription getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.ChangefeedDescription.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.ChangefeedDescription build() { com.yandex.ydb.table.YdbTable.ChangefeedDescription result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ChangefeedDescription buildPartial() { com.yandex.ydb.table.YdbTable.ChangefeedDescription result = new com.yandex.ydb.table.YdbTable.ChangefeedDescription(this); result.name_ = name_; result.mode_ = mode_; result.format_ = format_; result.state_ = state_; 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 com.yandex.ydb.table.YdbTable.ChangefeedDescription) { return mergeFrom((com.yandex.ydb.table.YdbTable.ChangefeedDescription)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.ChangefeedDescription other) { if (other == com.yandex.ydb.table.YdbTable.ChangefeedDescription.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (other.mode_ != 0) { setModeValue(other.getModeValue()); } if (other.format_ != 0) { setFormatValue(other.getFormatValue()); } if (other.state_ != 0) { setStateValue(other.getStateValue()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.ChangefeedDescription parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.ChangefeedDescription) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; onChanged(); return this; } /** *
       * Name of the feed
       * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); 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; 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; 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 com.yandex.ydb.table.YdbTable.ChangefeedMode.Mode getMode() { @SuppressWarnings("deprecation") com.yandex.ydb.table.YdbTable.ChangefeedMode.Mode result = com.yandex.ydb.table.YdbTable.ChangefeedMode.Mode.valueOf(mode_); return result == null ? com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.ChangefeedMode.Mode value) { if (value == null) { throw new NullPointerException(); } 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() { 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; onChanged(); return this; } /** *
       * Format of the data
       * 
* * .Ydb.Table.ChangefeedFormat.Format format = 3; * @return The format. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.ChangefeedFormat.Format getFormat() { @SuppressWarnings("deprecation") com.yandex.ydb.table.YdbTable.ChangefeedFormat.Format result = com.yandex.ydb.table.YdbTable.ChangefeedFormat.Format.valueOf(format_); return result == null ? com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.ChangefeedFormat.Format value) { if (value == null) { throw new NullPointerException(); } format_ = value.getNumber(); onChanged(); return this; } /** *
       * Format of the data
       * 
* * .Ydb.Table.ChangefeedFormat.Format format = 3; * @return This builder for chaining. */ public Builder clearFormat() { 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; onChanged(); return this; } /** *
       * State of the feed
       * 
* * .Ydb.Table.ChangefeedDescription.State state = 4; * @return The state. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.ChangefeedDescription.State getState() { @SuppressWarnings("deprecation") com.yandex.ydb.table.YdbTable.ChangefeedDescription.State result = com.yandex.ydb.table.YdbTable.ChangefeedDescription.State.valueOf(state_); return result == null ? com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.ChangefeedDescription.State value) { if (value == null) { throw new NullPointerException(); } state_ = value.getNumber(); onChanged(); return this; } /** *
       * State of the feed
       * 
* * .Ydb.Table.ChangefeedDescription.State state = 4; * @return This builder for chaining. */ public Builder clearState() { state_ = 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.ChangefeedDescription) } // @@protoc_insertion_point(class_scope:Ydb.Table.ChangefeedDescription) private static final com.yandex.ydb.table.YdbTable.ChangefeedDescription DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.ChangefeedDescription(); } public static com.yandex.ydb.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 { return new ChangefeedDescription(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StoragePool( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); media_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_StoragePool_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_StoragePool_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.StoragePool.class, com.yandex.ydb.table.YdbTable.StoragePool.Builder.class); } public static final int MEDIA_FIELD_NUMBER = 1; 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 (!getMediaBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, media_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getMediaBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, media_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.StoragePool)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.StoragePool other = (com.yandex.ydb.table.YdbTable.StoragePool) obj; if (!getMedia() .equals(other.getMedia())) return false; if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.StoragePool parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.StoragePool parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.StoragePool parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.StoragePool parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.StoragePool parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.StoragePool parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.StoragePool parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_StoragePool_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_StoragePool_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.StoragePool.class, com.yandex.ydb.table.YdbTable.StoragePool.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.StoragePool.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); media_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_StoragePool_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.StoragePool getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.StoragePool.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.StoragePool build() { com.yandex.ydb.table.YdbTable.StoragePool result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.StoragePool buildPartial() { com.yandex.ydb.table.YdbTable.StoragePool result = new com.yandex.ydb.table.YdbTable.StoragePool(this); result.media_ = media_; 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 com.yandex.ydb.table.YdbTable.StoragePool) { return mergeFrom((com.yandex.ydb.table.YdbTable.StoragePool)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.StoragePool other) { if (other == com.yandex.ydb.table.YdbTable.StoragePool.getDefaultInstance()) return this; if (!other.getMedia().isEmpty()) { media_ = other.media_; onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.StoragePool parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.StoragePool) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; onChanged(); return this; } /** * string media = 1; * @return This builder for chaining. */ public Builder clearMedia() { media_ = getDefaultInstance().getMedia(); 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; 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 com.yandex.ydb.table.YdbTable.StoragePool DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.StoragePool(); } public static com.yandex.ydb.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 { return new StoragePool(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.StoragePool getSyslog(); /** * .Ydb.Table.StoragePool syslog = 2; */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.StoragePool getLog(); /** * .Ydb.Table.StoragePool log = 3; */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.StoragePool getData(); /** * .Ydb.Table.StoragePool data = 4; */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.StoragePool getExternal(); /** * .Ydb.Table.StoragePool external = 5; */ com.yandex.ydb.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. */ com.yandex.ydb.common.CommonProtos.FeatureFlag.Status getKeepInMemory(); /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ java.util.List getColumnFamiliesList(); /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ com.yandex.ydb.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; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StoragePolicy( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); presetName_ = s; break; } case 18: { com.yandex.ydb.table.YdbTable.StoragePool.Builder subBuilder = null; if (syslog_ != null) { subBuilder = syslog_.toBuilder(); } syslog_ = input.readMessage(com.yandex.ydb.table.YdbTable.StoragePool.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(syslog_); syslog_ = subBuilder.buildPartial(); } break; } case 26: { com.yandex.ydb.table.YdbTable.StoragePool.Builder subBuilder = null; if (log_ != null) { subBuilder = log_.toBuilder(); } log_ = input.readMessage(com.yandex.ydb.table.YdbTable.StoragePool.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(log_); log_ = subBuilder.buildPartial(); } break; } case 34: { com.yandex.ydb.table.YdbTable.StoragePool.Builder subBuilder = null; if (data_ != null) { subBuilder = data_.toBuilder(); } data_ = input.readMessage(com.yandex.ydb.table.YdbTable.StoragePool.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(data_); data_ = subBuilder.buildPartial(); } break; } case 42: { com.yandex.ydb.table.YdbTable.StoragePool.Builder subBuilder = null; if (external_ != null) { subBuilder = external_.toBuilder(); } external_ = input.readMessage(com.yandex.ydb.table.YdbTable.StoragePool.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(external_); external_ = subBuilder.buildPartial(); } break; } case 48: { int rawValue = input.readEnum(); keepInMemory_ = rawValue; break; } case 58: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { columnFamilies_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } columnFamilies_.add( input.readMessage(com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { columnFamilies_ = java.util.Collections.unmodifiableList(columnFamilies_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_StoragePolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_StoragePolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.StoragePolicy.class, com.yandex.ydb.table.YdbTable.StoragePolicy.Builder.class); } public static final int PRESET_NAME_FIELD_NUMBER = 1; 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 com.yandex.ydb.table.YdbTable.StoragePool syslog_; /** * .Ydb.Table.StoragePool syslog = 2; * @return Whether the syslog field is set. */ @java.lang.Override public boolean hasSyslog() { return syslog_ != null; } /** * .Ydb.Table.StoragePool syslog = 2; * @return The syslog. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.StoragePool getSyslog() { return syslog_ == null ? com.yandex.ydb.table.YdbTable.StoragePool.getDefaultInstance() : syslog_; } /** * .Ydb.Table.StoragePool syslog = 2; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder getSyslogOrBuilder() { return getSyslog(); } public static final int LOG_FIELD_NUMBER = 3; private com.yandex.ydb.table.YdbTable.StoragePool log_; /** * .Ydb.Table.StoragePool log = 3; * @return Whether the log field is set. */ @java.lang.Override public boolean hasLog() { return log_ != null; } /** * .Ydb.Table.StoragePool log = 3; * @return The log. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.StoragePool getLog() { return log_ == null ? com.yandex.ydb.table.YdbTable.StoragePool.getDefaultInstance() : log_; } /** * .Ydb.Table.StoragePool log = 3; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder getLogOrBuilder() { return getLog(); } public static final int DATA_FIELD_NUMBER = 4; private com.yandex.ydb.table.YdbTable.StoragePool data_; /** * .Ydb.Table.StoragePool data = 4; * @return Whether the data field is set. */ @java.lang.Override public boolean hasData() { return data_ != null; } /** * .Ydb.Table.StoragePool data = 4; * @return The data. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.StoragePool getData() { return data_ == null ? com.yandex.ydb.table.YdbTable.StoragePool.getDefaultInstance() : data_; } /** * .Ydb.Table.StoragePool data = 4; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder getDataOrBuilder() { return getData(); } public static final int EXTERNAL_FIELD_NUMBER = 5; private com.yandex.ydb.table.YdbTable.StoragePool external_; /** * .Ydb.Table.StoragePool external = 5; * @return Whether the external field is set. */ @java.lang.Override public boolean hasExternal() { return external_ != null; } /** * .Ydb.Table.StoragePool external = 5; * @return The external. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.StoragePool getExternal() { return external_ == null ? com.yandex.ydb.table.YdbTable.StoragePool.getDefaultInstance() : external_; } /** * .Ydb.Table.StoragePool external = 5; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder getExternalOrBuilder() { return getExternal(); } public static final int KEEP_IN_MEMORY_FIELD_NUMBER = 6; private int keepInMemory_; /** * .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 com.yandex.ydb.common.CommonProtos.FeatureFlag.Status getKeepInMemory() { @SuppressWarnings("deprecation") com.yandex.ydb.common.CommonProtos.FeatureFlag.Status result = com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.valueOf(keepInMemory_); return result == null ? com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } public static final int COLUMN_FAMILIES_FIELD_NUMBER = 7; 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 com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy getColumnFamilies(int index) { return columnFamilies_.get(index); } /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ @java.lang.Override public com.yandex.ydb.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 (!getPresetNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, presetName_); } if (syslog_ != null) { output.writeMessage(2, getSyslog()); } if (log_ != null) { output.writeMessage(3, getLog()); } if (data_ != null) { output.writeMessage(4, getData()); } if (external_ != null) { output.writeMessage(5, getExternal()); } if (keepInMemory_ != com.yandex.ydb.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)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getPresetNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, presetName_); } if (syslog_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getSyslog()); } if (log_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getLog()); } if (data_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getData()); } if (external_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getExternal()); } if (keepInMemory_ != com.yandex.ydb.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 += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.StoragePolicy)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.StoragePolicy other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.StoragePolicy parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.StoragePolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.StoragePolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.StoragePolicy parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.StoragePolicy parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.StoragePolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.StoragePolicy parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.StoragePolicyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_StoragePolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_StoragePolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.StoragePolicy.class, com.yandex.ydb.table.YdbTable.StoragePolicy.Builder.class); } // Construct using com.yandex.ydb.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) { getColumnFamiliesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); presetName_ = ""; if (syslogBuilder_ == null) { syslog_ = null; } else { syslog_ = null; syslogBuilder_ = null; } if (logBuilder_ == null) { log_ = null; } else { log_ = null; logBuilder_ = null; } if (dataBuilder_ == null) { data_ = null; } else { data_ = null; dataBuilder_ = null; } if (externalBuilder_ == null) { external_ = null; } else { external_ = null; externalBuilder_ = null; } keepInMemory_ = 0; if (columnFamiliesBuilder_ == null) { columnFamilies_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { columnFamiliesBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_StoragePolicy_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.StoragePolicy getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.StoragePolicy.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.StoragePolicy build() { com.yandex.ydb.table.YdbTable.StoragePolicy result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.StoragePolicy buildPartial() { com.yandex.ydb.table.YdbTable.StoragePolicy result = new com.yandex.ydb.table.YdbTable.StoragePolicy(this); int from_bitField0_ = bitField0_; result.presetName_ = presetName_; if (syslogBuilder_ == null) { result.syslog_ = syslog_; } else { result.syslog_ = syslogBuilder_.build(); } if (logBuilder_ == null) { result.log_ = log_; } else { result.log_ = logBuilder_.build(); } if (dataBuilder_ == null) { result.data_ = data_; } else { result.data_ = dataBuilder_.build(); } if (externalBuilder_ == null) { result.external_ = external_; } else { result.external_ = externalBuilder_.build(); } result.keepInMemory_ = keepInMemory_; if (columnFamiliesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { columnFamilies_ = java.util.Collections.unmodifiableList(columnFamilies_); bitField0_ = (bitField0_ & ~0x00000001); } result.columnFamilies_ = columnFamilies_; } else { result.columnFamilies_ = columnFamiliesBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.StoragePolicy) { return mergeFrom((com.yandex.ydb.table.YdbTable.StoragePolicy)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.StoragePolicy other) { if (other == com.yandex.ydb.table.YdbTable.StoragePolicy.getDefaultInstance()) return this; if (!other.getPresetName().isEmpty()) { presetName_ = other.presetName_; 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_ & ~0x00000001); } else { ensureColumnFamiliesIsMutable(); columnFamilies_.addAll(other.columnFamilies_); } onChanged(); } } else { if (!other.columnFamilies_.isEmpty()) { if (columnFamiliesBuilder_.isEmpty()) { columnFamiliesBuilder_.dispose(); columnFamiliesBuilder_ = null; columnFamilies_ = other.columnFamilies_; bitField0_ = (bitField0_ & ~0x00000001); columnFamiliesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getColumnFamiliesFieldBuilder() : null; } else { columnFamiliesBuilder_.addAllMessages(other.columnFamilies_); } } } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.StoragePolicy parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.StoragePolicy) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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; onChanged(); return this; } /** * string preset_name = 1; * @return This builder for chaining. */ public Builder clearPresetName() { presetName_ = getDefaultInstance().getPresetName(); 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; onChanged(); return this; } private com.yandex.ydb.table.YdbTable.StoragePool syslog_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StoragePool, com.yandex.ydb.table.YdbTable.StoragePool.Builder, com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder> syslogBuilder_; /** * .Ydb.Table.StoragePool syslog = 2; * @return Whether the syslog field is set. */ public boolean hasSyslog() { return syslogBuilder_ != null || syslog_ != null; } /** * .Ydb.Table.StoragePool syslog = 2; * @return The syslog. */ public com.yandex.ydb.table.YdbTable.StoragePool getSyslog() { if (syslogBuilder_ == null) { return syslog_ == null ? com.yandex.ydb.table.YdbTable.StoragePool.getDefaultInstance() : syslog_; } else { return syslogBuilder_.getMessage(); } } /** * .Ydb.Table.StoragePool syslog = 2; */ public Builder setSyslog(com.yandex.ydb.table.YdbTable.StoragePool value) { if (syslogBuilder_ == null) { if (value == null) { throw new NullPointerException(); } syslog_ = value; onChanged(); } else { syslogBuilder_.setMessage(value); } return this; } /** * .Ydb.Table.StoragePool syslog = 2; */ public Builder setSyslog( com.yandex.ydb.table.YdbTable.StoragePool.Builder builderForValue) { if (syslogBuilder_ == null) { syslog_ = builderForValue.build(); onChanged(); } else { syslogBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Table.StoragePool syslog = 2; */ public Builder mergeSyslog(com.yandex.ydb.table.YdbTable.StoragePool value) { if (syslogBuilder_ == null) { if (syslog_ != null) { syslog_ = com.yandex.ydb.table.YdbTable.StoragePool.newBuilder(syslog_).mergeFrom(value).buildPartial(); } else { syslog_ = value; } onChanged(); } else { syslogBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Table.StoragePool syslog = 2; */ public Builder clearSyslog() { if (syslogBuilder_ == null) { syslog_ = null; onChanged(); } else { syslog_ = null; syslogBuilder_ = null; } return this; } /** * .Ydb.Table.StoragePool syslog = 2; */ public com.yandex.ydb.table.YdbTable.StoragePool.Builder getSyslogBuilder() { onChanged(); return getSyslogFieldBuilder().getBuilder(); } /** * .Ydb.Table.StoragePool syslog = 2; */ public com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder getSyslogOrBuilder() { if (syslogBuilder_ != null) { return syslogBuilder_.getMessageOrBuilder(); } else { return syslog_ == null ? com.yandex.ydb.table.YdbTable.StoragePool.getDefaultInstance() : syslog_; } } /** * .Ydb.Table.StoragePool syslog = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StoragePool, com.yandex.ydb.table.YdbTable.StoragePool.Builder, com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder> getSyslogFieldBuilder() { if (syslogBuilder_ == null) { syslogBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StoragePool, com.yandex.ydb.table.YdbTable.StoragePool.Builder, com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder>( getSyslog(), getParentForChildren(), isClean()); syslog_ = null; } return syslogBuilder_; } private com.yandex.ydb.table.YdbTable.StoragePool log_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StoragePool, com.yandex.ydb.table.YdbTable.StoragePool.Builder, com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder> logBuilder_; /** * .Ydb.Table.StoragePool log = 3; * @return Whether the log field is set. */ public boolean hasLog() { return logBuilder_ != null || log_ != null; } /** * .Ydb.Table.StoragePool log = 3; * @return The log. */ public com.yandex.ydb.table.YdbTable.StoragePool getLog() { if (logBuilder_ == null) { return log_ == null ? com.yandex.ydb.table.YdbTable.StoragePool.getDefaultInstance() : log_; } else { return logBuilder_.getMessage(); } } /** * .Ydb.Table.StoragePool log = 3; */ public Builder setLog(com.yandex.ydb.table.YdbTable.StoragePool value) { if (logBuilder_ == null) { if (value == null) { throw new NullPointerException(); } log_ = value; onChanged(); } else { logBuilder_.setMessage(value); } return this; } /** * .Ydb.Table.StoragePool log = 3; */ public Builder setLog( com.yandex.ydb.table.YdbTable.StoragePool.Builder builderForValue) { if (logBuilder_ == null) { log_ = builderForValue.build(); onChanged(); } else { logBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Table.StoragePool log = 3; */ public Builder mergeLog(com.yandex.ydb.table.YdbTable.StoragePool value) { if (logBuilder_ == null) { if (log_ != null) { log_ = com.yandex.ydb.table.YdbTable.StoragePool.newBuilder(log_).mergeFrom(value).buildPartial(); } else { log_ = value; } onChanged(); } else { logBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Table.StoragePool log = 3; */ public Builder clearLog() { if (logBuilder_ == null) { log_ = null; onChanged(); } else { log_ = null; logBuilder_ = null; } return this; } /** * .Ydb.Table.StoragePool log = 3; */ public com.yandex.ydb.table.YdbTable.StoragePool.Builder getLogBuilder() { onChanged(); return getLogFieldBuilder().getBuilder(); } /** * .Ydb.Table.StoragePool log = 3; */ public com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder getLogOrBuilder() { if (logBuilder_ != null) { return logBuilder_.getMessageOrBuilder(); } else { return log_ == null ? com.yandex.ydb.table.YdbTable.StoragePool.getDefaultInstance() : log_; } } /** * .Ydb.Table.StoragePool log = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StoragePool, com.yandex.ydb.table.YdbTable.StoragePool.Builder, com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder> getLogFieldBuilder() { if (logBuilder_ == null) { logBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StoragePool, com.yandex.ydb.table.YdbTable.StoragePool.Builder, com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder>( getLog(), getParentForChildren(), isClean()); log_ = null; } return logBuilder_; } private com.yandex.ydb.table.YdbTable.StoragePool data_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StoragePool, com.yandex.ydb.table.YdbTable.StoragePool.Builder, com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder> dataBuilder_; /** * .Ydb.Table.StoragePool data = 4; * @return Whether the data field is set. */ public boolean hasData() { return dataBuilder_ != null || data_ != null; } /** * .Ydb.Table.StoragePool data = 4; * @return The data. */ public com.yandex.ydb.table.YdbTable.StoragePool getData() { if (dataBuilder_ == null) { return data_ == null ? com.yandex.ydb.table.YdbTable.StoragePool.getDefaultInstance() : data_; } else { return dataBuilder_.getMessage(); } } /** * .Ydb.Table.StoragePool data = 4; */ public Builder setData(com.yandex.ydb.table.YdbTable.StoragePool value) { if (dataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { dataBuilder_.setMessage(value); } return this; } /** * .Ydb.Table.StoragePool data = 4; */ public Builder setData( com.yandex.ydb.table.YdbTable.StoragePool.Builder builderForValue) { if (dataBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { dataBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Table.StoragePool data = 4; */ public Builder mergeData(com.yandex.ydb.table.YdbTable.StoragePool value) { if (dataBuilder_ == null) { if (data_ != null) { data_ = com.yandex.ydb.table.YdbTable.StoragePool.newBuilder(data_).mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { dataBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Table.StoragePool data = 4; */ public Builder clearData() { if (dataBuilder_ == null) { data_ = null; onChanged(); } else { data_ = null; dataBuilder_ = null; } return this; } /** * .Ydb.Table.StoragePool data = 4; */ public com.yandex.ydb.table.YdbTable.StoragePool.Builder getDataBuilder() { onChanged(); return getDataFieldBuilder().getBuilder(); } /** * .Ydb.Table.StoragePool data = 4; */ public com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder getDataOrBuilder() { if (dataBuilder_ != null) { return dataBuilder_.getMessageOrBuilder(); } else { return data_ == null ? com.yandex.ydb.table.YdbTable.StoragePool.getDefaultInstance() : data_; } } /** * .Ydb.Table.StoragePool data = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StoragePool, com.yandex.ydb.table.YdbTable.StoragePool.Builder, com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder> getDataFieldBuilder() { if (dataBuilder_ == null) { dataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StoragePool, com.yandex.ydb.table.YdbTable.StoragePool.Builder, com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder>( getData(), getParentForChildren(), isClean()); data_ = null; } return dataBuilder_; } private com.yandex.ydb.table.YdbTable.StoragePool external_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StoragePool, com.yandex.ydb.table.YdbTable.StoragePool.Builder, com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder> externalBuilder_; /** * .Ydb.Table.StoragePool external = 5; * @return Whether the external field is set. */ public boolean hasExternal() { return externalBuilder_ != null || external_ != null; } /** * .Ydb.Table.StoragePool external = 5; * @return The external. */ public com.yandex.ydb.table.YdbTable.StoragePool getExternal() { if (externalBuilder_ == null) { return external_ == null ? com.yandex.ydb.table.YdbTable.StoragePool.getDefaultInstance() : external_; } else { return externalBuilder_.getMessage(); } } /** * .Ydb.Table.StoragePool external = 5; */ public Builder setExternal(com.yandex.ydb.table.YdbTable.StoragePool value) { if (externalBuilder_ == null) { if (value == null) { throw new NullPointerException(); } external_ = value; onChanged(); } else { externalBuilder_.setMessage(value); } return this; } /** * .Ydb.Table.StoragePool external = 5; */ public Builder setExternal( com.yandex.ydb.table.YdbTable.StoragePool.Builder builderForValue) { if (externalBuilder_ == null) { external_ = builderForValue.build(); onChanged(); } else { externalBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Table.StoragePool external = 5; */ public Builder mergeExternal(com.yandex.ydb.table.YdbTable.StoragePool value) { if (externalBuilder_ == null) { if (external_ != null) { external_ = com.yandex.ydb.table.YdbTable.StoragePool.newBuilder(external_).mergeFrom(value).buildPartial(); } else { external_ = value; } onChanged(); } else { externalBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Table.StoragePool external = 5; */ public Builder clearExternal() { if (externalBuilder_ == null) { external_ = null; onChanged(); } else { external_ = null; externalBuilder_ = null; } return this; } /** * .Ydb.Table.StoragePool external = 5; */ public com.yandex.ydb.table.YdbTable.StoragePool.Builder getExternalBuilder() { onChanged(); return getExternalFieldBuilder().getBuilder(); } /** * .Ydb.Table.StoragePool external = 5; */ public com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder getExternalOrBuilder() { if (externalBuilder_ != null) { return externalBuilder_.getMessageOrBuilder(); } else { return external_ == null ? com.yandex.ydb.table.YdbTable.StoragePool.getDefaultInstance() : external_; } } /** * .Ydb.Table.StoragePool external = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StoragePool, com.yandex.ydb.table.YdbTable.StoragePool.Builder, com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder> getExternalFieldBuilder() { if (externalBuilder_ == null) { externalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StoragePool, com.yandex.ydb.table.YdbTable.StoragePool.Builder, com.yandex.ydb.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; onChanged(); return this; } /** * .Ydb.FeatureFlag.Status keep_in_memory = 6; * @return The keepInMemory. */ @java.lang.Override public com.yandex.ydb.common.CommonProtos.FeatureFlag.Status getKeepInMemory() { @SuppressWarnings("deprecation") com.yandex.ydb.common.CommonProtos.FeatureFlag.Status result = com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.valueOf(keepInMemory_); return result == null ? com.yandex.ydb.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(com.yandex.ydb.common.CommonProtos.FeatureFlag.Status value) { if (value == null) { throw new NullPointerException(); } keepInMemory_ = value.getNumber(); onChanged(); return this; } /** * .Ydb.FeatureFlag.Status keep_in_memory = 6; * @return This builder for chaining. */ public Builder clearKeepInMemory() { keepInMemory_ = 0; onChanged(); return this; } private java.util.List columnFamilies_ = java.util.Collections.emptyList(); private void ensureColumnFamiliesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { columnFamilies_ = new java.util.ArrayList(columnFamilies_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy, com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy.Builder, com.yandex.ydb.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 com.yandex.ydb.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, com.yandex.ydb.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, com.yandex.ydb.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(com.yandex.ydb.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, com.yandex.ydb.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( com.yandex.ydb.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, com.yandex.ydb.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_ & ~0x00000001); 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 com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy.Builder getColumnFamiliesBuilder( int index) { return getColumnFamiliesFieldBuilder().getBuilder(index); } /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ public com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy.Builder addColumnFamiliesBuilder() { return getColumnFamiliesFieldBuilder().addBuilder( com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy.getDefaultInstance()); } /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ public com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy.Builder addColumnFamiliesBuilder( int index) { return getColumnFamiliesFieldBuilder().addBuilder( index, com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy.getDefaultInstance()); } /** * repeated .Ydb.Table.ColumnFamilyPolicy column_families = 7; */ public java.util.List getColumnFamiliesBuilderList() { return getColumnFamiliesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy, com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy.Builder, com.yandex.ydb.table.YdbTable.ColumnFamilyPolicyOrBuilder> getColumnFamiliesFieldBuilder() { if (columnFamiliesBuilder_ == null) { columnFamiliesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy, com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy.Builder, com.yandex.ydb.table.YdbTable.ColumnFamilyPolicyOrBuilder>( columnFamilies_, ((bitField0_ & 0x00000001) != 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 com.yandex.ydb.table.YdbTable.StoragePolicy DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.StoragePolicy(); } public static com.yandex.ydb.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 { return new StoragePolicy(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.StoragePool getData(); /** *
     * Storage settings for the column group (default to values in storage policy)
     * 
* * .Ydb.Table.StoragePool data = 2; */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.StoragePool getExternal(); /** * .Ydb.Table.StoragePool external = 3; */ com.yandex.ydb.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. */ com.yandex.ydb.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. */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ColumnFamilyPolicy( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); name_ = s; break; } case 18: { com.yandex.ydb.table.YdbTable.StoragePool.Builder subBuilder = null; if (data_ != null) { subBuilder = data_.toBuilder(); } data_ = input.readMessage(com.yandex.ydb.table.YdbTable.StoragePool.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(data_); data_ = subBuilder.buildPartial(); } break; } case 26: { com.yandex.ydb.table.YdbTable.StoragePool.Builder subBuilder = null; if (external_ != null) { subBuilder = external_.toBuilder(); } external_ = input.readMessage(com.yandex.ydb.table.YdbTable.StoragePool.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(external_); external_ = subBuilder.buildPartial(); } break; } case 32: { int rawValue = input.readEnum(); keepInMemory_ = rawValue; break; } case 40: { int rawValue = input.readEnum(); compression_ = rawValue; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ColumnFamilyPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ColumnFamilyPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy.class, com.yandex.ydb.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 com.yandex.ydb.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) } public static final int NAME_FIELD_NUMBER = 1; 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 com.yandex.ydb.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 data_ != null; } /** *
     * Storage settings for the column group (default to values in storage policy)
     * 
* * .Ydb.Table.StoragePool data = 2; * @return The data. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.StoragePool getData() { return data_ == null ? com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder getDataOrBuilder() { return getData(); } public static final int EXTERNAL_FIELD_NUMBER = 3; private com.yandex.ydb.table.YdbTable.StoragePool external_; /** * .Ydb.Table.StoragePool external = 3; * @return Whether the external field is set. */ @java.lang.Override public boolean hasExternal() { return external_ != null; } /** * .Ydb.Table.StoragePool external = 3; * @return The external. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.StoragePool getExternal() { return external_ == null ? com.yandex.ydb.table.YdbTable.StoragePool.getDefaultInstance() : external_; } /** * .Ydb.Table.StoragePool external = 3; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder getExternalOrBuilder() { return getExternal(); } public static final int KEEP_IN_MEMORY_FIELD_NUMBER = 4; private int keepInMemory_; /** *
     * 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 com.yandex.ydb.common.CommonProtos.FeatureFlag.Status getKeepInMemory() { @SuppressWarnings("deprecation") com.yandex.ydb.common.CommonProtos.FeatureFlag.Status result = com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.valueOf(keepInMemory_); return result == null ? com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } public static final int COMPRESSION_FIELD_NUMBER = 5; private int compression_; /** *
     * 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 com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy.Compression getCompression() { @SuppressWarnings("deprecation") com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy.Compression result = com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy.Compression.valueOf(compression_); return result == null ? com.yandex.ydb.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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (data_ != null) { output.writeMessage(2, getData()); } if (external_ != null) { output.writeMessage(3, getExternal()); } if (keepInMemory_ != com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(4, keepInMemory_); } if (compression_ != com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy.Compression.COMPRESSION_UNSPECIFIED.getNumber()) { output.writeEnum(5, compression_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (data_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getData()); } if (external_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getExternal()); } if (keepInMemory_ != com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, keepInMemory_); } if (compression_ != com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy.Compression.COMPRESSION_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, compression_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.ColumnFamilyPolicyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ColumnFamilyPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ColumnFamilyPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy.class, com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; if (dataBuilder_ == null) { data_ = null; } else { data_ = null; dataBuilder_ = null; } if (externalBuilder_ == null) { external_ = null; } else { external_ = null; externalBuilder_ = null; } keepInMemory_ = 0; compression_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ColumnFamilyPolicy_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy build() { com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy buildPartial() { com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy result = new com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy(this); result.name_ = name_; if (dataBuilder_ == null) { result.data_ = data_; } else { result.data_ = dataBuilder_.build(); } if (externalBuilder_ == null) { result.external_ = external_; } else { result.external_ = externalBuilder_.build(); } result.keepInMemory_ = keepInMemory_; result.compression_ = compression_; 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 com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy) { return mergeFrom((com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy other) { if (other == com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; 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.unknownFields); 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 { com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; 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(); 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; onChanged(); return this; } private com.yandex.ydb.table.YdbTable.StoragePool data_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StoragePool, com.yandex.ydb.table.YdbTable.StoragePool.Builder, com.yandex.ydb.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 dataBuilder_ != null || data_ != null; } /** *
       * Storage settings for the column group (default to values in storage policy)
       * 
* * .Ydb.Table.StoragePool data = 2; * @return The data. */ public com.yandex.ydb.table.YdbTable.StoragePool getData() { if (dataBuilder_ == null) { return data_ == null ? com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.StoragePool value) { if (dataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { dataBuilder_.setMessage(value); } return this; } /** *
       * Storage settings for the column group (default to values in storage policy)
       * 
* * .Ydb.Table.StoragePool data = 2; */ public Builder setData( com.yandex.ydb.table.YdbTable.StoragePool.Builder builderForValue) { if (dataBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { dataBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Storage settings for the column group (default to values in storage policy)
       * 
* * .Ydb.Table.StoragePool data = 2; */ public Builder mergeData(com.yandex.ydb.table.YdbTable.StoragePool value) { if (dataBuilder_ == null) { if (data_ != null) { data_ = com.yandex.ydb.table.YdbTable.StoragePool.newBuilder(data_).mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { dataBuilder_.mergeFrom(value); } return this; } /** *
       * Storage settings for the column group (default to values in storage policy)
       * 
* * .Ydb.Table.StoragePool data = 2; */ public Builder clearData() { if (dataBuilder_ == null) { data_ = null; onChanged(); } else { data_ = null; dataBuilder_ = null; } return this; } /** *
       * Storage settings for the column group (default to values in storage policy)
       * 
* * .Ydb.Table.StoragePool data = 2; */ public com.yandex.ydb.table.YdbTable.StoragePool.Builder getDataBuilder() { onChanged(); return getDataFieldBuilder().getBuilder(); } /** *
       * Storage settings for the column group (default to values in storage policy)
       * 
* * .Ydb.Table.StoragePool data = 2; */ public com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder getDataOrBuilder() { if (dataBuilder_ != null) { return dataBuilder_.getMessageOrBuilder(); } else { return data_ == null ? com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.StoragePool, com.yandex.ydb.table.YdbTable.StoragePool.Builder, com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder> getDataFieldBuilder() { if (dataBuilder_ == null) { dataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StoragePool, com.yandex.ydb.table.YdbTable.StoragePool.Builder, com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder>( getData(), getParentForChildren(), isClean()); data_ = null; } return dataBuilder_; } private com.yandex.ydb.table.YdbTable.StoragePool external_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StoragePool, com.yandex.ydb.table.YdbTable.StoragePool.Builder, com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder> externalBuilder_; /** * .Ydb.Table.StoragePool external = 3; * @return Whether the external field is set. */ public boolean hasExternal() { return externalBuilder_ != null || external_ != null; } /** * .Ydb.Table.StoragePool external = 3; * @return The external. */ public com.yandex.ydb.table.YdbTable.StoragePool getExternal() { if (externalBuilder_ == null) { return external_ == null ? com.yandex.ydb.table.YdbTable.StoragePool.getDefaultInstance() : external_; } else { return externalBuilder_.getMessage(); } } /** * .Ydb.Table.StoragePool external = 3; */ public Builder setExternal(com.yandex.ydb.table.YdbTable.StoragePool value) { if (externalBuilder_ == null) { if (value == null) { throw new NullPointerException(); } external_ = value; onChanged(); } else { externalBuilder_.setMessage(value); } return this; } /** * .Ydb.Table.StoragePool external = 3; */ public Builder setExternal( com.yandex.ydb.table.YdbTable.StoragePool.Builder builderForValue) { if (externalBuilder_ == null) { external_ = builderForValue.build(); onChanged(); } else { externalBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Table.StoragePool external = 3; */ public Builder mergeExternal(com.yandex.ydb.table.YdbTable.StoragePool value) { if (externalBuilder_ == null) { if (external_ != null) { external_ = com.yandex.ydb.table.YdbTable.StoragePool.newBuilder(external_).mergeFrom(value).buildPartial(); } else { external_ = value; } onChanged(); } else { externalBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Table.StoragePool external = 3; */ public Builder clearExternal() { if (externalBuilder_ == null) { external_ = null; onChanged(); } else { external_ = null; externalBuilder_ = null; } return this; } /** * .Ydb.Table.StoragePool external = 3; */ public com.yandex.ydb.table.YdbTable.StoragePool.Builder getExternalBuilder() { onChanged(); return getExternalFieldBuilder().getBuilder(); } /** * .Ydb.Table.StoragePool external = 3; */ public com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder getExternalOrBuilder() { if (externalBuilder_ != null) { return externalBuilder_.getMessageOrBuilder(); } else { return external_ == null ? com.yandex.ydb.table.YdbTable.StoragePool.getDefaultInstance() : external_; } } /** * .Ydb.Table.StoragePool external = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StoragePool, com.yandex.ydb.table.YdbTable.StoragePool.Builder, com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder> getExternalFieldBuilder() { if (externalBuilder_ == null) { externalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StoragePool, com.yandex.ydb.table.YdbTable.StoragePool.Builder, com.yandex.ydb.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; 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 com.yandex.ydb.common.CommonProtos.FeatureFlag.Status getKeepInMemory() { @SuppressWarnings("deprecation") com.yandex.ydb.common.CommonProtos.FeatureFlag.Status result = com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.valueOf(keepInMemory_); return result == null ? com.yandex.ydb.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(com.yandex.ydb.common.CommonProtos.FeatureFlag.Status value) { if (value == null) { throw new NullPointerException(); } 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() { 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; onChanged(); return this; } /** *
       * Optionally specify whether data should be compressed
       * 
* * .Ydb.Table.ColumnFamilyPolicy.Compression compression = 5; * @return The compression. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy.Compression getCompression() { @SuppressWarnings("deprecation") com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy.Compression result = com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy.Compression.valueOf(compression_); return result == null ? com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy.Compression value) { if (value == null) { throw new NullPointerException(); } 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() { 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 com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.ColumnFamilyPolicy(); } public static com.yandex.ydb.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 { return new ColumnFamilyPolicy(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CompactionPolicy( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); presetName_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CompactionPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CompactionPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CompactionPolicy.class, com.yandex.ydb.table.YdbTable.CompactionPolicy.Builder.class); } public static final int PRESET_NAME_FIELD_NUMBER = 1; 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 (!getPresetNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, presetName_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getPresetNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, presetName_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.CompactionPolicy)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.CompactionPolicy other = (com.yandex.ydb.table.YdbTable.CompactionPolicy) obj; if (!getPresetName() .equals(other.getPresetName())) return false; if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.CompactionPolicy parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CompactionPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CompactionPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.CompactionPolicy parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.CompactionPolicy parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CompactionPolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CompactionPolicy parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.CompactionPolicyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CompactionPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CompactionPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CompactionPolicy.class, com.yandex.ydb.table.YdbTable.CompactionPolicy.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.CompactionPolicy.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); presetName_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CompactionPolicy_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CompactionPolicy getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.CompactionPolicy.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.CompactionPolicy build() { com.yandex.ydb.table.YdbTable.CompactionPolicy result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CompactionPolicy buildPartial() { com.yandex.ydb.table.YdbTable.CompactionPolicy result = new com.yandex.ydb.table.YdbTable.CompactionPolicy(this); result.presetName_ = presetName_; 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 com.yandex.ydb.table.YdbTable.CompactionPolicy) { return mergeFrom((com.yandex.ydb.table.YdbTable.CompactionPolicy)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.CompactionPolicy other) { if (other == com.yandex.ydb.table.YdbTable.CompactionPolicy.getDefaultInstance()) return this; if (!other.getPresetName().isEmpty()) { presetName_ = other.presetName_; onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.CompactionPolicy parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.CompactionPolicy) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; onChanged(); return this; } /** * string preset_name = 1; * @return This builder for chaining. */ public Builder clearPresetName() { presetName_ = getDefaultInstance().getPresetName(); 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; 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 com.yandex.ydb.table.YdbTable.CompactionPolicy DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.CompactionPolicy(); } public static com.yandex.ydb.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 { return new CompactionPolicy(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExplicitPartitions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { splitPoints_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } splitPoints_.add( input.readMessage(com.yandex.ydb.ValueProtos.TypedValue.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { splitPoints_ = java.util.Collections.unmodifiableList(splitPoints_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExplicitPartitions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExplicitPartitions_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ExplicitPartitions.class, com.yandex.ydb.table.YdbTable.ExplicitPartitions.Builder.class); } public static final int SPLIT_POINTS_FIELD_NUMBER = 1; 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 com.yandex.ydb.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 com.yandex.ydb.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)); } unknownFields.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 += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.ExplicitPartitions)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.ExplicitPartitions other = (com.yandex.ydb.table.YdbTable.ExplicitPartitions) obj; if (!getSplitPointsList() .equals(other.getSplitPointsList())) return false; if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.ExplicitPartitions parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExplicitPartitions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExplicitPartitions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.ExplicitPartitions parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.ExplicitPartitions parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExplicitPartitions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExplicitPartitions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.ExplicitPartitionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExplicitPartitions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExplicitPartitions_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ExplicitPartitions.class, com.yandex.ydb.table.YdbTable.ExplicitPartitions.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.ExplicitPartitions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getSplitPointsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (splitPointsBuilder_ == null) { splitPoints_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { splitPointsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExplicitPartitions_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExplicitPartitions getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.ExplicitPartitions.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExplicitPartitions build() { com.yandex.ydb.table.YdbTable.ExplicitPartitions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExplicitPartitions buildPartial() { com.yandex.ydb.table.YdbTable.ExplicitPartitions result = new com.yandex.ydb.table.YdbTable.ExplicitPartitions(this); int from_bitField0_ = bitField0_; if (splitPointsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { splitPoints_ = java.util.Collections.unmodifiableList(splitPoints_); bitField0_ = (bitField0_ & ~0x00000001); } result.splitPoints_ = splitPoints_; } else { result.splitPoints_ = splitPointsBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.ExplicitPartitions) { return mergeFrom((com.yandex.ydb.table.YdbTable.ExplicitPartitions)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.ExplicitPartitions other) { if (other == com.yandex.ydb.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.unknownFields); 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 { com.yandex.ydb.table.YdbTable.ExplicitPartitions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.ExplicitPartitions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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< com.yandex.ydb.ValueProtos.TypedValue, com.yandex.ydb.ValueProtos.TypedValue.Builder, com.yandex.ydb.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 com.yandex.ydb.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, com.yandex.ydb.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, com.yandex.ydb.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(com.yandex.ydb.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, com.yandex.ydb.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( com.yandex.ydb.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, com.yandex.ydb.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 com.yandex.ydb.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 com.yandex.ydb.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 com.yandex.ydb.ValueProtos.TypedValue.Builder addSplitPointsBuilder() { return getSplitPointsFieldBuilder().addBuilder( com.yandex.ydb.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 com.yandex.ydb.ValueProtos.TypedValue.Builder addSplitPointsBuilder( int index) { return getSplitPointsFieldBuilder().addBuilder( index, com.yandex.ydb.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< com.yandex.ydb.ValueProtos.TypedValue, com.yandex.ydb.ValueProtos.TypedValue.Builder, com.yandex.ydb.ValueProtos.TypedValueOrBuilder> getSplitPointsFieldBuilder() { if (splitPointsBuilder_ == null) { splitPointsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.ValueProtos.TypedValue, com.yandex.ydb.ValueProtos.TypedValue.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExplicitPartitions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.ExplicitPartitions(); } public static com.yandex.ydb.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 { return new ExplicitPartitions(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PartitionStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { rowsEstimate_ = input.readUInt64(); break; } case 16: { storeSize_ = input.readUInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_PartitionStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_PartitionStats_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.PartitionStats.class, com.yandex.ydb.table.YdbTable.PartitionStats.Builder.class); } public static final int ROWS_ESTIMATE_FIELD_NUMBER = 1; private long rowsEstimate_; /** *
     * 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_; /** *
     * 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_); } unknownFields.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 += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.PartitionStats)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.PartitionStats other = (com.yandex.ydb.table.YdbTable.PartitionStats) obj; if (getRowsEstimate() != other.getRowsEstimate()) return false; if (getStoreSize() != other.getStoreSize()) return false; if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.PartitionStats parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PartitionStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PartitionStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.PartitionStats parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.PartitionStats parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PartitionStats parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PartitionStats parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.PartitionStatsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_PartitionStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_PartitionStats_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.PartitionStats.class, com.yandex.ydb.table.YdbTable.PartitionStats.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.PartitionStats.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); rowsEstimate_ = 0L; storeSize_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_PartitionStats_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.PartitionStats getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.PartitionStats.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.PartitionStats build() { com.yandex.ydb.table.YdbTable.PartitionStats result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.PartitionStats buildPartial() { com.yandex.ydb.table.YdbTable.PartitionStats result = new com.yandex.ydb.table.YdbTable.PartitionStats(this); result.rowsEstimate_ = rowsEstimate_; result.storeSize_ = storeSize_; 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 com.yandex.ydb.table.YdbTable.PartitionStats) { return mergeFrom((com.yandex.ydb.table.YdbTable.PartitionStats)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.PartitionStats other) { if (other == com.yandex.ydb.table.YdbTable.PartitionStats.getDefaultInstance()) return this; if (other.getRowsEstimate() != 0L) { setRowsEstimate(other.getRowsEstimate()); } if (other.getStoreSize() != 0L) { setStoreSize(other.getStoreSize()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.PartitionStats parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.PartitionStats) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; onChanged(); return this; } /** *
       * Approximate number of rows in shard
       * 
* * uint64 rows_estimate = 1; * @return This builder for chaining. */ public Builder clearRowsEstimate() { 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; onChanged(); return this; } /** *
       * Approximate size of shard (bytes)
       * 
* * uint64 store_size = 2; * @return This builder for chaining. */ public Builder clearStoreSize() { 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 com.yandex.ydb.table.YdbTable.PartitionStats DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.PartitionStats(); } public static com.yandex.ydb.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 { return new PartitionStats(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TableStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { partitionStats_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } partitionStats_.add( input.readMessage(com.yandex.ydb.table.YdbTable.PartitionStats.parser(), extensionRegistry)); break; } case 16: { rowsEstimate_ = input.readUInt64(); break; } case 24: { storeSize_ = input.readUInt64(); break; } case 32: { partitions_ = input.readUInt64(); break; } case 42: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (creationTime_ != null) { subBuilder = creationTime_.toBuilder(); } creationTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(creationTime_); creationTime_ = subBuilder.buildPartial(); } break; } case 50: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (modificationTime_ != null) { subBuilder = modificationTime_.toBuilder(); } modificationTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(modificationTime_); modificationTime_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { partitionStats_ = java.util.Collections.unmodifiableList(partitionStats_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TableStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TableStats_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.TableStats.class, com.yandex.ydb.table.YdbTable.TableStats.Builder.class); } public static final int PARTITION_STATS_FIELD_NUMBER = 1; 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 com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PartitionStatsOrBuilder getPartitionStatsOrBuilder( int index) { return partitionStats_.get(index); } public static final int ROWS_ESTIMATE_FIELD_NUMBER = 2; private long rowsEstimate_; /** *
     * 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_; /** *
     * 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_; /** *
     * 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 creationTime_ != null; } /** *
     * 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 getCreationTime(); } 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 modificationTime_ != null; } /** *
     * 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 getModificationTime(); } 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 (creationTime_ != null) { output.writeMessage(5, getCreationTime()); } if (modificationTime_ != null) { output.writeMessage(6, getModificationTime()); } unknownFields.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 (creationTime_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getCreationTime()); } if (modificationTime_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getModificationTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.TableStats)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.TableStats other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.TableStats parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TableStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TableStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.TableStats parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.TableStats parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TableStats parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TableStats parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.TableStatsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TableStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TableStats_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.TableStats.class, com.yandex.ydb.table.YdbTable.TableStats.Builder.class); } // Construct using com.yandex.ydb.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(); } } @java.lang.Override public Builder clear() { super.clear(); if (partitionStatsBuilder_ == null) { partitionStats_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { partitionStatsBuilder_.clear(); } rowsEstimate_ = 0L; storeSize_ = 0L; partitions_ = 0L; if (creationTimeBuilder_ == null) { creationTime_ = null; } else { creationTime_ = null; creationTimeBuilder_ = null; } if (modificationTimeBuilder_ == null) { modificationTime_ = null; } else { modificationTime_ = null; modificationTimeBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TableStats_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.TableStats getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.TableStats.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.TableStats build() { com.yandex.ydb.table.YdbTable.TableStats result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.TableStats buildPartial() { com.yandex.ydb.table.YdbTable.TableStats result = new com.yandex.ydb.table.YdbTable.TableStats(this); int from_bitField0_ = bitField0_; if (partitionStatsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { partitionStats_ = java.util.Collections.unmodifiableList(partitionStats_); bitField0_ = (bitField0_ & ~0x00000001); } result.partitionStats_ = partitionStats_; } else { result.partitionStats_ = partitionStatsBuilder_.build(); } result.rowsEstimate_ = rowsEstimate_; result.storeSize_ = storeSize_; result.partitions_ = partitions_; if (creationTimeBuilder_ == null) { result.creationTime_ = creationTime_; } else { result.creationTime_ = creationTimeBuilder_.build(); } if (modificationTimeBuilder_ == null) { result.modificationTime_ = modificationTime_; } else { result.modificationTime_ = modificationTimeBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.TableStats) { return mergeFrom((com.yandex.ydb.table.YdbTable.TableStats)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.TableStats other) { if (other == com.yandex.ydb.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.unknownFields); 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 { com.yandex.ydb.table.YdbTable.TableStats parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.TableStats) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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< com.yandex.ydb.table.YdbTable.PartitionStats, com.yandex.ydb.table.YdbTable.PartitionStats.Builder, com.yandex.ydb.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 com.yandex.ydb.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, com.yandex.ydb.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, com.yandex.ydb.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(com.yandex.ydb.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, com.yandex.ydb.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( com.yandex.ydb.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, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PartitionStats.Builder getPartitionStatsBuilder( int index) { return getPartitionStatsFieldBuilder().getBuilder(index); } /** *
       * Stats for each partition
       * 
* * repeated .Ydb.Table.PartitionStats partition_stats = 1; */ public com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PartitionStats.Builder addPartitionStatsBuilder() { return getPartitionStatsFieldBuilder().addBuilder( com.yandex.ydb.table.YdbTable.PartitionStats.getDefaultInstance()); } /** *
       * Stats for each partition
       * 
* * repeated .Ydb.Table.PartitionStats partition_stats = 1; */ public com.yandex.ydb.table.YdbTable.PartitionStats.Builder addPartitionStatsBuilder( int index) { return getPartitionStatsFieldBuilder().addBuilder( index, com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.PartitionStats, com.yandex.ydb.table.YdbTable.PartitionStats.Builder, com.yandex.ydb.table.YdbTable.PartitionStatsOrBuilder> getPartitionStatsFieldBuilder() { if (partitionStatsBuilder_ == null) { partitionStatsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.PartitionStats, com.yandex.ydb.table.YdbTable.PartitionStats.Builder, com.yandex.ydb.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; onChanged(); return this; } /** *
       * Approximate number of rows in table
       * 
* * uint64 rows_estimate = 2; * @return This builder for chaining. */ public Builder clearRowsEstimate() { 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; onChanged(); return this; } /** *
       * Approximate size of table (bytes)
       * 
* * uint64 store_size = 3; * @return This builder for chaining. */ public Builder clearStoreSize() { 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; onChanged(); return this; } /** *
       * Number of partitions in table
       * 
* * uint64 partitions = 4; * @return This builder for chaining. */ public Builder clearPartitions() { 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 creationTimeBuilder_ != null || creationTime_ != null; } /** *
       * 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; onChanged(); } else { creationTimeBuilder_.setMessage(value); } 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(); onChanged(); } else { creationTimeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Timestamp of table creation
       * 
* * .google.protobuf.Timestamp creation_time = 5; */ public Builder mergeCreationTime(com.google.protobuf.Timestamp value) { if (creationTimeBuilder_ == null) { if (creationTime_ != null) { creationTime_ = com.google.protobuf.Timestamp.newBuilder(creationTime_).mergeFrom(value).buildPartial(); } else { creationTime_ = value; } onChanged(); } else { creationTimeBuilder_.mergeFrom(value); } return this; } /** *
       * Timestamp of table creation
       * 
* * .google.protobuf.Timestamp creation_time = 5; */ public Builder clearCreationTime() { if (creationTimeBuilder_ == null) { creationTime_ = null; onChanged(); } else { creationTime_ = null; creationTimeBuilder_ = null; } return this; } /** *
       * Timestamp of table creation
       * 
* * .google.protobuf.Timestamp creation_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreationTimeBuilder() { 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 modificationTimeBuilder_ != null || modificationTime_ != null; } /** *
       * 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; onChanged(); } else { modificationTimeBuilder_.setMessage(value); } 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(); onChanged(); } else { modificationTimeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Timestamp of last modification
       * 
* * .google.protobuf.Timestamp modification_time = 6; */ public Builder mergeModificationTime(com.google.protobuf.Timestamp value) { if (modificationTimeBuilder_ == null) { if (modificationTime_ != null) { modificationTime_ = com.google.protobuf.Timestamp.newBuilder(modificationTime_).mergeFrom(value).buildPartial(); } else { modificationTime_ = value; } onChanged(); } else { modificationTimeBuilder_.mergeFrom(value); } return this; } /** *
       * Timestamp of last modification
       * 
* * .google.protobuf.Timestamp modification_time = 6; */ public Builder clearModificationTime() { if (modificationTimeBuilder_ == null) { modificationTime_ = null; onChanged(); } else { modificationTime_ = null; modificationTimeBuilder_ = null; } return this; } /** *
       * Timestamp of last modification
       * 
* * .google.protobuf.Timestamp modification_time = 6; */ public com.google.protobuf.Timestamp.Builder getModificationTimeBuilder() { 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 com.yandex.ydb.table.YdbTable.TableStats DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.TableStats(); } public static com.yandex.ydb.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 { return new TableStats(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.ExplicitPartitions getExplicitPartitions(); /** *
     * Explicitly specify key values which are used as borders for
     * created partitions.
     * 
* * .Ydb.Table.ExplicitPartitions explicit_partitions = 4; */ com.yandex.ydb.table.YdbTable.ExplicitPartitionsOrBuilder getExplicitPartitionsOrBuilder(); public com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PartitioningPolicy( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); presetName_ = s; break; } case 16: { int rawValue = input.readEnum(); autoPartitioning_ = rawValue; break; } case 24: { partitionsCase_ = 3; partitions_ = input.readUInt64(); break; } case 34: { com.yandex.ydb.table.YdbTable.ExplicitPartitions.Builder subBuilder = null; if (partitionsCase_ == 4) { subBuilder = ((com.yandex.ydb.table.YdbTable.ExplicitPartitions) partitions_).toBuilder(); } partitions_ = input.readMessage(com.yandex.ydb.table.YdbTable.ExplicitPartitions.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.yandex.ydb.table.YdbTable.ExplicitPartitions) partitions_); partitions_ = subBuilder.buildPartial(); } partitionsCase_ = 4; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_PartitioningPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_PartitioningPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.PartitioningPolicy.class, com.yandex.ydb.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 com.yandex.ydb.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; 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; 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_; /** * .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 com.yandex.ydb.table.YdbTable.PartitioningPolicy.AutoPartitioningPolicy getAutoPartitioning() { @SuppressWarnings("deprecation") com.yandex.ydb.table.YdbTable.PartitioningPolicy.AutoPartitioningPolicy result = com.yandex.ydb.table.YdbTable.PartitioningPolicy.AutoPartitioningPolicy.valueOf(autoPartitioning_); return result == null ? com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExplicitPartitions getExplicitPartitions() { if (partitionsCase_ == 4) { return (com.yandex.ydb.table.YdbTable.ExplicitPartitions) partitions_; } return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExplicitPartitionsOrBuilder getExplicitPartitionsOrBuilder() { if (partitionsCase_ == 4) { return (com.yandex.ydb.table.YdbTable.ExplicitPartitions) partitions_; } return com.yandex.ydb.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 (!getPresetNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, presetName_); } if (autoPartitioning_ != com.yandex.ydb.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, (com.yandex.ydb.table.YdbTable.ExplicitPartitions) partitions_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getPresetNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, presetName_); } if (autoPartitioning_ != com.yandex.ydb.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, (com.yandex.ydb.table.YdbTable.ExplicitPartitions) partitions_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.PartitioningPolicy)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.PartitioningPolicy other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.PartitioningPolicy parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PartitioningPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PartitioningPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.PartitioningPolicy parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.PartitioningPolicy parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PartitioningPolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PartitioningPolicy parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.PartitioningPolicyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_PartitioningPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_PartitioningPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.PartitioningPolicy.class, com.yandex.ydb.table.YdbTable.PartitioningPolicy.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.PartitioningPolicy.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); presetName_ = ""; autoPartitioning_ = 0; partitionsCase_ = 0; partitions_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_PartitioningPolicy_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.PartitioningPolicy getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.PartitioningPolicy.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.PartitioningPolicy build() { com.yandex.ydb.table.YdbTable.PartitioningPolicy result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.PartitioningPolicy buildPartial() { com.yandex.ydb.table.YdbTable.PartitioningPolicy result = new com.yandex.ydb.table.YdbTable.PartitioningPolicy(this); result.presetName_ = presetName_; result.autoPartitioning_ = autoPartitioning_; if (partitionsCase_ == 3) { result.partitions_ = partitions_; } if (partitionsCase_ == 4) { if (explicitPartitionsBuilder_ == null) { result.partitions_ = partitions_; } else { result.partitions_ = explicitPartitionsBuilder_.build(); } } result.partitionsCase_ = partitionsCase_; 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 com.yandex.ydb.table.YdbTable.PartitioningPolicy) { return mergeFrom((com.yandex.ydb.table.YdbTable.PartitioningPolicy)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.PartitioningPolicy other) { if (other == com.yandex.ydb.table.YdbTable.PartitioningPolicy.getDefaultInstance()) return this; if (!other.getPresetName().isEmpty()) { presetName_ = other.presetName_; 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.unknownFields); 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 { com.yandex.ydb.table.YdbTable.PartitioningPolicy parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.PartitioningPolicy) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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 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; onChanged(); return this; } /** * string preset_name = 1; * @return This builder for chaining. */ public Builder clearPresetName() { presetName_ = getDefaultInstance().getPresetName(); 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; 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; onChanged(); return this; } /** * .Ydb.Table.PartitioningPolicy.AutoPartitioningPolicy auto_partitioning = 2; * @return The autoPartitioning. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.PartitioningPolicy.AutoPartitioningPolicy getAutoPartitioning() { @SuppressWarnings("deprecation") com.yandex.ydb.table.YdbTable.PartitioningPolicy.AutoPartitioningPolicy result = com.yandex.ydb.table.YdbTable.PartitioningPolicy.AutoPartitioningPolicy.valueOf(autoPartitioning_); return result == null ? com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.PartitioningPolicy.AutoPartitioningPolicy value) { if (value == null) { throw new NullPointerException(); } autoPartitioning_ = value.getNumber(); onChanged(); return this; } /** * .Ydb.Table.PartitioningPolicy.AutoPartitioningPolicy auto_partitioning = 2; * @return This builder for chaining. */ public Builder clearAutoPartitioning() { 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< com.yandex.ydb.table.YdbTable.ExplicitPartitions, com.yandex.ydb.table.YdbTable.ExplicitPartitions.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExplicitPartitions getExplicitPartitions() { if (explicitPartitionsBuilder_ == null) { if (partitionsCase_ == 4) { return (com.yandex.ydb.table.YdbTable.ExplicitPartitions) partitions_; } return com.yandex.ydb.table.YdbTable.ExplicitPartitions.getDefaultInstance(); } else { if (partitionsCase_ == 4) { return explicitPartitionsBuilder_.getMessage(); } return com.yandex.ydb.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(com.yandex.ydb.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( com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.ExplicitPartitions value) { if (explicitPartitionsBuilder_ == null) { if (partitionsCase_ == 4 && partitions_ != com.yandex.ydb.table.YdbTable.ExplicitPartitions.getDefaultInstance()) { partitions_ = com.yandex.ydb.table.YdbTable.ExplicitPartitions.newBuilder((com.yandex.ydb.table.YdbTable.ExplicitPartitions) partitions_) .mergeFrom(value).buildPartial(); } else { partitions_ = value; } onChanged(); } else { if (partitionsCase_ == 4) { explicitPartitionsBuilder_.mergeFrom(value); } 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 com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExplicitPartitionsOrBuilder getExplicitPartitionsOrBuilder() { if ((partitionsCase_ == 4) && (explicitPartitionsBuilder_ != null)) { return explicitPartitionsBuilder_.getMessageOrBuilder(); } else { if (partitionsCase_ == 4) { return (com.yandex.ydb.table.YdbTable.ExplicitPartitions) partitions_; } return com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.ExplicitPartitions, com.yandex.ydb.table.YdbTable.ExplicitPartitions.Builder, com.yandex.ydb.table.YdbTable.ExplicitPartitionsOrBuilder> getExplicitPartitionsFieldBuilder() { if (explicitPartitionsBuilder_ == null) { if (!(partitionsCase_ == 4)) { partitions_ = com.yandex.ydb.table.YdbTable.ExplicitPartitions.getDefaultInstance(); } explicitPartitionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.ExplicitPartitions, com.yandex.ydb.table.YdbTable.ExplicitPartitions.Builder, com.yandex.ydb.table.YdbTable.ExplicitPartitionsOrBuilder>( (com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PartitioningPolicy DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.PartitioningPolicy(); } public static com.yandex.ydb.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 { return new PartitioningPolicy(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExecutionPolicy( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); presetName_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecutionPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecutionPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ExecutionPolicy.class, com.yandex.ydb.table.YdbTable.ExecutionPolicy.Builder.class); } public static final int PRESET_NAME_FIELD_NUMBER = 1; 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 (!getPresetNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, presetName_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getPresetNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, presetName_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.ExecutionPolicy)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.ExecutionPolicy other = (com.yandex.ydb.table.YdbTable.ExecutionPolicy) obj; if (!getPresetName() .equals(other.getPresetName())) return false; if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.ExecutionPolicy parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecutionPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecutionPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.ExecutionPolicy parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.ExecutionPolicy parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecutionPolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecutionPolicy parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.ExecutionPolicyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecutionPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecutionPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ExecutionPolicy.class, com.yandex.ydb.table.YdbTable.ExecutionPolicy.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.ExecutionPolicy.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); presetName_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecutionPolicy_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecutionPolicy getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.ExecutionPolicy.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecutionPolicy build() { com.yandex.ydb.table.YdbTable.ExecutionPolicy result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecutionPolicy buildPartial() { com.yandex.ydb.table.YdbTable.ExecutionPolicy result = new com.yandex.ydb.table.YdbTable.ExecutionPolicy(this); result.presetName_ = presetName_; 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 com.yandex.ydb.table.YdbTable.ExecutionPolicy) { return mergeFrom((com.yandex.ydb.table.YdbTable.ExecutionPolicy)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.ExecutionPolicy other) { if (other == com.yandex.ydb.table.YdbTable.ExecutionPolicy.getDefaultInstance()) return this; if (!other.getPresetName().isEmpty()) { presetName_ = other.presetName_; onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.ExecutionPolicy parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.ExecutionPolicy) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; onChanged(); return this; } /** * string preset_name = 1; * @return This builder for chaining. */ public Builder clearPresetName() { presetName_ = getDefaultInstance().getPresetName(); 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; 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 com.yandex.ydb.table.YdbTable.ExecutionPolicy DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.ExecutionPolicy(); } public static com.yandex.ydb.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 { return new ExecutionPolicy(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.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. */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ReplicationPolicy( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); presetName_ = s; break; } case 16: { replicasCount_ = input.readUInt32(); break; } case 24: { int rawValue = input.readEnum(); createPerAvailabilityZone_ = rawValue; break; } case 32: { int rawValue = input.readEnum(); allowPromotion_ = rawValue; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ReplicationPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ReplicationPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ReplicationPolicy.class, com.yandex.ydb.table.YdbTable.ReplicationPolicy.Builder.class); } public static final int PRESET_NAME_FIELD_NUMBER = 1; 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_; /** *
     * 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_; /** *
     * 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 com.yandex.ydb.common.CommonProtos.FeatureFlag.Status getCreatePerAvailabilityZone() { @SuppressWarnings("deprecation") com.yandex.ydb.common.CommonProtos.FeatureFlag.Status result = com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.valueOf(createPerAvailabilityZone_); return result == null ? com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } public static final int ALLOW_PROMOTION_FIELD_NUMBER = 4; private int allowPromotion_; /** *
     * 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 com.yandex.ydb.common.CommonProtos.FeatureFlag.Status getAllowPromotion() { @SuppressWarnings("deprecation") com.yandex.ydb.common.CommonProtos.FeatureFlag.Status result = com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.valueOf(allowPromotion_); return result == null ? com.yandex.ydb.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 (!getPresetNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, presetName_); } if (replicasCount_ != 0) { output.writeUInt32(2, replicasCount_); } if (createPerAvailabilityZone_ != com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(3, createPerAvailabilityZone_); } if (allowPromotion_ != com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(4, allowPromotion_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getPresetNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, presetName_); } if (replicasCount_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, replicasCount_); } if (createPerAvailabilityZone_ != com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, createPerAvailabilityZone_); } if (allowPromotion_ != com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, allowPromotion_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.ReplicationPolicy)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.ReplicationPolicy other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.ReplicationPolicy parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ReplicationPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ReplicationPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.ReplicationPolicy parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.ReplicationPolicy parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ReplicationPolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ReplicationPolicy parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.ReplicationPolicyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ReplicationPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ReplicationPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ReplicationPolicy.class, com.yandex.ydb.table.YdbTable.ReplicationPolicy.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.ReplicationPolicy.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); presetName_ = ""; replicasCount_ = 0; createPerAvailabilityZone_ = 0; allowPromotion_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ReplicationPolicy_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ReplicationPolicy getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.ReplicationPolicy.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.ReplicationPolicy build() { com.yandex.ydb.table.YdbTable.ReplicationPolicy result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ReplicationPolicy buildPartial() { com.yandex.ydb.table.YdbTable.ReplicationPolicy result = new com.yandex.ydb.table.YdbTable.ReplicationPolicy(this); result.presetName_ = presetName_; result.replicasCount_ = replicasCount_; result.createPerAvailabilityZone_ = createPerAvailabilityZone_; result.allowPromotion_ = allowPromotion_; 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 com.yandex.ydb.table.YdbTable.ReplicationPolicy) { return mergeFrom((com.yandex.ydb.table.YdbTable.ReplicationPolicy)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.ReplicationPolicy other) { if (other == com.yandex.ydb.table.YdbTable.ReplicationPolicy.getDefaultInstance()) return this; if (!other.getPresetName().isEmpty()) { presetName_ = other.presetName_; 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.unknownFields); 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 { com.yandex.ydb.table.YdbTable.ReplicationPolicy parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.ReplicationPolicy) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; onChanged(); return this; } /** * string preset_name = 1; * @return This builder for chaining. */ public Builder clearPresetName() { presetName_ = getDefaultInstance().getPresetName(); 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; 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; 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() { 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; 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 com.yandex.ydb.common.CommonProtos.FeatureFlag.Status getCreatePerAvailabilityZone() { @SuppressWarnings("deprecation") com.yandex.ydb.common.CommonProtos.FeatureFlag.Status result = com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.valueOf(createPerAvailabilityZone_); return result == null ? com.yandex.ydb.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(com.yandex.ydb.common.CommonProtos.FeatureFlag.Status value) { if (value == null) { throw new NullPointerException(); } 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() { 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; 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 com.yandex.ydb.common.CommonProtos.FeatureFlag.Status getAllowPromotion() { @SuppressWarnings("deprecation") com.yandex.ydb.common.CommonProtos.FeatureFlag.Status result = com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.valueOf(allowPromotion_); return result == null ? com.yandex.ydb.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(com.yandex.ydb.common.CommonProtos.FeatureFlag.Status value) { if (value == null) { throw new NullPointerException(); } 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() { 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 com.yandex.ydb.table.YdbTable.ReplicationPolicy DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.ReplicationPolicy(); } public static com.yandex.ydb.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 { return new ReplicationPolicy(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CachingPolicy( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); presetName_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CachingPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CachingPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CachingPolicy.class, com.yandex.ydb.table.YdbTable.CachingPolicy.Builder.class); } public static final int PRESET_NAME_FIELD_NUMBER = 1; 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 (!getPresetNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, presetName_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getPresetNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, presetName_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.CachingPolicy)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.CachingPolicy other = (com.yandex.ydb.table.YdbTable.CachingPolicy) obj; if (!getPresetName() .equals(other.getPresetName())) return false; if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.CachingPolicy parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CachingPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CachingPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.CachingPolicy parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.CachingPolicy parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CachingPolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CachingPolicy parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.CachingPolicyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CachingPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CachingPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CachingPolicy.class, com.yandex.ydb.table.YdbTable.CachingPolicy.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.CachingPolicy.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); presetName_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CachingPolicy_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CachingPolicy getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.CachingPolicy.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.CachingPolicy build() { com.yandex.ydb.table.YdbTable.CachingPolicy result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CachingPolicy buildPartial() { com.yandex.ydb.table.YdbTable.CachingPolicy result = new com.yandex.ydb.table.YdbTable.CachingPolicy(this); result.presetName_ = presetName_; 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 com.yandex.ydb.table.YdbTable.CachingPolicy) { return mergeFrom((com.yandex.ydb.table.YdbTable.CachingPolicy)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.CachingPolicy other) { if (other == com.yandex.ydb.table.YdbTable.CachingPolicy.getDefaultInstance()) return this; if (!other.getPresetName().isEmpty()) { presetName_ = other.presetName_; onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.CachingPolicy parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.CachingPolicy) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; onChanged(); return this; } /** * string preset_name = 1; * @return This builder for chaining. */ public Builder clearPresetName() { presetName_ = getDefaultInstance().getPresetName(); 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; 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 com.yandex.ydb.table.YdbTable.CachingPolicy DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.CachingPolicy(); } public static com.yandex.ydb.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 { return new CachingPolicy(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.StoragePolicy getStoragePolicy(); /** * .Ydb.Table.StoragePolicy storage_policy = 2; */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.CompactionPolicy getCompactionPolicy(); /** * .Ydb.Table.CompactionPolicy compaction_policy = 3; */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.PartitioningPolicy getPartitioningPolicy(); /** * .Ydb.Table.PartitioningPolicy partitioning_policy = 4; */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.ExecutionPolicy getExecutionPolicy(); /** * .Ydb.Table.ExecutionPolicy execution_policy = 5; */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.ReplicationPolicy getReplicationPolicy(); /** * .Ydb.Table.ReplicationPolicy replication_policy = 6; */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.CachingPolicy getCachingPolicy(); /** * .Ydb.Table.CachingPolicy caching_policy = 7; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TableProfile( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); presetName_ = s; break; } case 18: { com.yandex.ydb.table.YdbTable.StoragePolicy.Builder subBuilder = null; if (storagePolicy_ != null) { subBuilder = storagePolicy_.toBuilder(); } storagePolicy_ = input.readMessage(com.yandex.ydb.table.YdbTable.StoragePolicy.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(storagePolicy_); storagePolicy_ = subBuilder.buildPartial(); } break; } case 26: { com.yandex.ydb.table.YdbTable.CompactionPolicy.Builder subBuilder = null; if (compactionPolicy_ != null) { subBuilder = compactionPolicy_.toBuilder(); } compactionPolicy_ = input.readMessage(com.yandex.ydb.table.YdbTable.CompactionPolicy.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(compactionPolicy_); compactionPolicy_ = subBuilder.buildPartial(); } break; } case 34: { com.yandex.ydb.table.YdbTable.PartitioningPolicy.Builder subBuilder = null; if (partitioningPolicy_ != null) { subBuilder = partitioningPolicy_.toBuilder(); } partitioningPolicy_ = input.readMessage(com.yandex.ydb.table.YdbTable.PartitioningPolicy.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(partitioningPolicy_); partitioningPolicy_ = subBuilder.buildPartial(); } break; } case 42: { com.yandex.ydb.table.YdbTable.ExecutionPolicy.Builder subBuilder = null; if (executionPolicy_ != null) { subBuilder = executionPolicy_.toBuilder(); } executionPolicy_ = input.readMessage(com.yandex.ydb.table.YdbTable.ExecutionPolicy.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(executionPolicy_); executionPolicy_ = subBuilder.buildPartial(); } break; } case 50: { com.yandex.ydb.table.YdbTable.ReplicationPolicy.Builder subBuilder = null; if (replicationPolicy_ != null) { subBuilder = replicationPolicy_.toBuilder(); } replicationPolicy_ = input.readMessage(com.yandex.ydb.table.YdbTable.ReplicationPolicy.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(replicationPolicy_); replicationPolicy_ = subBuilder.buildPartial(); } break; } case 58: { com.yandex.ydb.table.YdbTable.CachingPolicy.Builder subBuilder = null; if (cachingPolicy_ != null) { subBuilder = cachingPolicy_.toBuilder(); } cachingPolicy_ = input.readMessage(com.yandex.ydb.table.YdbTable.CachingPolicy.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(cachingPolicy_); cachingPolicy_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TableProfile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TableProfile_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.TableProfile.class, com.yandex.ydb.table.YdbTable.TableProfile.Builder.class); } public static final int PRESET_NAME_FIELD_NUMBER = 1; 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 com.yandex.ydb.table.YdbTable.StoragePolicy storagePolicy_; /** * .Ydb.Table.StoragePolicy storage_policy = 2; * @return Whether the storagePolicy field is set. */ @java.lang.Override public boolean hasStoragePolicy() { return storagePolicy_ != null; } /** * .Ydb.Table.StoragePolicy storage_policy = 2; * @return The storagePolicy. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.StoragePolicy getStoragePolicy() { return storagePolicy_ == null ? com.yandex.ydb.table.YdbTable.StoragePolicy.getDefaultInstance() : storagePolicy_; } /** * .Ydb.Table.StoragePolicy storage_policy = 2; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.StoragePolicyOrBuilder getStoragePolicyOrBuilder() { return getStoragePolicy(); } public static final int COMPACTION_POLICY_FIELD_NUMBER = 3; private com.yandex.ydb.table.YdbTable.CompactionPolicy compactionPolicy_; /** * .Ydb.Table.CompactionPolicy compaction_policy = 3; * @return Whether the compactionPolicy field is set. */ @java.lang.Override public boolean hasCompactionPolicy() { return compactionPolicy_ != null; } /** * .Ydb.Table.CompactionPolicy compaction_policy = 3; * @return The compactionPolicy. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.CompactionPolicy getCompactionPolicy() { return compactionPolicy_ == null ? com.yandex.ydb.table.YdbTable.CompactionPolicy.getDefaultInstance() : compactionPolicy_; } /** * .Ydb.Table.CompactionPolicy compaction_policy = 3; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.CompactionPolicyOrBuilder getCompactionPolicyOrBuilder() { return getCompactionPolicy(); } public static final int PARTITIONING_POLICY_FIELD_NUMBER = 4; private com.yandex.ydb.table.YdbTable.PartitioningPolicy partitioningPolicy_; /** * .Ydb.Table.PartitioningPolicy partitioning_policy = 4; * @return Whether the partitioningPolicy field is set. */ @java.lang.Override public boolean hasPartitioningPolicy() { return partitioningPolicy_ != null; } /** * .Ydb.Table.PartitioningPolicy partitioning_policy = 4; * @return The partitioningPolicy. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.PartitioningPolicy getPartitioningPolicy() { return partitioningPolicy_ == null ? com.yandex.ydb.table.YdbTable.PartitioningPolicy.getDefaultInstance() : partitioningPolicy_; } /** * .Ydb.Table.PartitioningPolicy partitioning_policy = 4; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.PartitioningPolicyOrBuilder getPartitioningPolicyOrBuilder() { return getPartitioningPolicy(); } public static final int EXECUTION_POLICY_FIELD_NUMBER = 5; private com.yandex.ydb.table.YdbTable.ExecutionPolicy executionPolicy_; /** * .Ydb.Table.ExecutionPolicy execution_policy = 5; * @return Whether the executionPolicy field is set. */ @java.lang.Override public boolean hasExecutionPolicy() { return executionPolicy_ != null; } /** * .Ydb.Table.ExecutionPolicy execution_policy = 5; * @return The executionPolicy. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecutionPolicy getExecutionPolicy() { return executionPolicy_ == null ? com.yandex.ydb.table.YdbTable.ExecutionPolicy.getDefaultInstance() : executionPolicy_; } /** * .Ydb.Table.ExecutionPolicy execution_policy = 5; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecutionPolicyOrBuilder getExecutionPolicyOrBuilder() { return getExecutionPolicy(); } public static final int REPLICATION_POLICY_FIELD_NUMBER = 6; private com.yandex.ydb.table.YdbTable.ReplicationPolicy replicationPolicy_; /** * .Ydb.Table.ReplicationPolicy replication_policy = 6; * @return Whether the replicationPolicy field is set. */ @java.lang.Override public boolean hasReplicationPolicy() { return replicationPolicy_ != null; } /** * .Ydb.Table.ReplicationPolicy replication_policy = 6; * @return The replicationPolicy. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.ReplicationPolicy getReplicationPolicy() { return replicationPolicy_ == null ? com.yandex.ydb.table.YdbTable.ReplicationPolicy.getDefaultInstance() : replicationPolicy_; } /** * .Ydb.Table.ReplicationPolicy replication_policy = 6; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.ReplicationPolicyOrBuilder getReplicationPolicyOrBuilder() { return getReplicationPolicy(); } public static final int CACHING_POLICY_FIELD_NUMBER = 7; private com.yandex.ydb.table.YdbTable.CachingPolicy cachingPolicy_; /** * .Ydb.Table.CachingPolicy caching_policy = 7; * @return Whether the cachingPolicy field is set. */ @java.lang.Override public boolean hasCachingPolicy() { return cachingPolicy_ != null; } /** * .Ydb.Table.CachingPolicy caching_policy = 7; * @return The cachingPolicy. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.CachingPolicy getCachingPolicy() { return cachingPolicy_ == null ? com.yandex.ydb.table.YdbTable.CachingPolicy.getDefaultInstance() : cachingPolicy_; } /** * .Ydb.Table.CachingPolicy caching_policy = 7; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.CachingPolicyOrBuilder getCachingPolicyOrBuilder() { return getCachingPolicy(); } 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 (!getPresetNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, presetName_); } if (storagePolicy_ != null) { output.writeMessage(2, getStoragePolicy()); } if (compactionPolicy_ != null) { output.writeMessage(3, getCompactionPolicy()); } if (partitioningPolicy_ != null) { output.writeMessage(4, getPartitioningPolicy()); } if (executionPolicy_ != null) { output.writeMessage(5, getExecutionPolicy()); } if (replicationPolicy_ != null) { output.writeMessage(6, getReplicationPolicy()); } if (cachingPolicy_ != null) { output.writeMessage(7, getCachingPolicy()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getPresetNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, presetName_); } if (storagePolicy_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getStoragePolicy()); } if (compactionPolicy_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getCompactionPolicy()); } if (partitioningPolicy_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getPartitioningPolicy()); } if (executionPolicy_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getExecutionPolicy()); } if (replicationPolicy_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getReplicationPolicy()); } if (cachingPolicy_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getCachingPolicy()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.TableProfile)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.TableProfile other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.TableProfile parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TableProfile parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TableProfile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.TableProfile parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.TableProfile parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TableProfile parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TableProfile parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.TableProfileOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TableProfile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TableProfile_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.TableProfile.class, com.yandex.ydb.table.YdbTable.TableProfile.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); presetName_ = ""; if (storagePolicyBuilder_ == null) { storagePolicy_ = null; } else { storagePolicy_ = null; storagePolicyBuilder_ = null; } if (compactionPolicyBuilder_ == null) { compactionPolicy_ = null; } else { compactionPolicy_ = null; compactionPolicyBuilder_ = null; } if (partitioningPolicyBuilder_ == null) { partitioningPolicy_ = null; } else { partitioningPolicy_ = null; partitioningPolicyBuilder_ = null; } if (executionPolicyBuilder_ == null) { executionPolicy_ = null; } else { executionPolicy_ = null; executionPolicyBuilder_ = null; } if (replicationPolicyBuilder_ == null) { replicationPolicy_ = null; } else { replicationPolicy_ = null; replicationPolicyBuilder_ = null; } if (cachingPolicyBuilder_ == null) { cachingPolicy_ = null; } else { cachingPolicy_ = null; cachingPolicyBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TableProfile_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.TableProfile getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.TableProfile.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.TableProfile build() { com.yandex.ydb.table.YdbTable.TableProfile result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.TableProfile buildPartial() { com.yandex.ydb.table.YdbTable.TableProfile result = new com.yandex.ydb.table.YdbTable.TableProfile(this); result.presetName_ = presetName_; if (storagePolicyBuilder_ == null) { result.storagePolicy_ = storagePolicy_; } else { result.storagePolicy_ = storagePolicyBuilder_.build(); } if (compactionPolicyBuilder_ == null) { result.compactionPolicy_ = compactionPolicy_; } else { result.compactionPolicy_ = compactionPolicyBuilder_.build(); } if (partitioningPolicyBuilder_ == null) { result.partitioningPolicy_ = partitioningPolicy_; } else { result.partitioningPolicy_ = partitioningPolicyBuilder_.build(); } if (executionPolicyBuilder_ == null) { result.executionPolicy_ = executionPolicy_; } else { result.executionPolicy_ = executionPolicyBuilder_.build(); } if (replicationPolicyBuilder_ == null) { result.replicationPolicy_ = replicationPolicy_; } else { result.replicationPolicy_ = replicationPolicyBuilder_.build(); } if (cachingPolicyBuilder_ == null) { result.cachingPolicy_ = cachingPolicy_; } else { result.cachingPolicy_ = cachingPolicyBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.TableProfile) { return mergeFrom((com.yandex.ydb.table.YdbTable.TableProfile)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.TableProfile other) { if (other == com.yandex.ydb.table.YdbTable.TableProfile.getDefaultInstance()) return this; if (!other.getPresetName().isEmpty()) { presetName_ = other.presetName_; 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.unknownFields); 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 { com.yandex.ydb.table.YdbTable.TableProfile parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.TableProfile) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; onChanged(); return this; } /** * string preset_name = 1; * @return This builder for chaining. */ public Builder clearPresetName() { presetName_ = getDefaultInstance().getPresetName(); 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; onChanged(); return this; } private com.yandex.ydb.table.YdbTable.StoragePolicy storagePolicy_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StoragePolicy, com.yandex.ydb.table.YdbTable.StoragePolicy.Builder, com.yandex.ydb.table.YdbTable.StoragePolicyOrBuilder> storagePolicyBuilder_; /** * .Ydb.Table.StoragePolicy storage_policy = 2; * @return Whether the storagePolicy field is set. */ public boolean hasStoragePolicy() { return storagePolicyBuilder_ != null || storagePolicy_ != null; } /** * .Ydb.Table.StoragePolicy storage_policy = 2; * @return The storagePolicy. */ public com.yandex.ydb.table.YdbTable.StoragePolicy getStoragePolicy() { if (storagePolicyBuilder_ == null) { return storagePolicy_ == null ? com.yandex.ydb.table.YdbTable.StoragePolicy.getDefaultInstance() : storagePolicy_; } else { return storagePolicyBuilder_.getMessage(); } } /** * .Ydb.Table.StoragePolicy storage_policy = 2; */ public Builder setStoragePolicy(com.yandex.ydb.table.YdbTable.StoragePolicy value) { if (storagePolicyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } storagePolicy_ = value; onChanged(); } else { storagePolicyBuilder_.setMessage(value); } return this; } /** * .Ydb.Table.StoragePolicy storage_policy = 2; */ public Builder setStoragePolicy( com.yandex.ydb.table.YdbTable.StoragePolicy.Builder builderForValue) { if (storagePolicyBuilder_ == null) { storagePolicy_ = builderForValue.build(); onChanged(); } else { storagePolicyBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Table.StoragePolicy storage_policy = 2; */ public Builder mergeStoragePolicy(com.yandex.ydb.table.YdbTable.StoragePolicy value) { if (storagePolicyBuilder_ == null) { if (storagePolicy_ != null) { storagePolicy_ = com.yandex.ydb.table.YdbTable.StoragePolicy.newBuilder(storagePolicy_).mergeFrom(value).buildPartial(); } else { storagePolicy_ = value; } onChanged(); } else { storagePolicyBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Table.StoragePolicy storage_policy = 2; */ public Builder clearStoragePolicy() { if (storagePolicyBuilder_ == null) { storagePolicy_ = null; onChanged(); } else { storagePolicy_ = null; storagePolicyBuilder_ = null; } return this; } /** * .Ydb.Table.StoragePolicy storage_policy = 2; */ public com.yandex.ydb.table.YdbTable.StoragePolicy.Builder getStoragePolicyBuilder() { onChanged(); return getStoragePolicyFieldBuilder().getBuilder(); } /** * .Ydb.Table.StoragePolicy storage_policy = 2; */ public com.yandex.ydb.table.YdbTable.StoragePolicyOrBuilder getStoragePolicyOrBuilder() { if (storagePolicyBuilder_ != null) { return storagePolicyBuilder_.getMessageOrBuilder(); } else { return storagePolicy_ == null ? com.yandex.ydb.table.YdbTable.StoragePolicy.getDefaultInstance() : storagePolicy_; } } /** * .Ydb.Table.StoragePolicy storage_policy = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StoragePolicy, com.yandex.ydb.table.YdbTable.StoragePolicy.Builder, com.yandex.ydb.table.YdbTable.StoragePolicyOrBuilder> getStoragePolicyFieldBuilder() { if (storagePolicyBuilder_ == null) { storagePolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StoragePolicy, com.yandex.ydb.table.YdbTable.StoragePolicy.Builder, com.yandex.ydb.table.YdbTable.StoragePolicyOrBuilder>( getStoragePolicy(), getParentForChildren(), isClean()); storagePolicy_ = null; } return storagePolicyBuilder_; } private com.yandex.ydb.table.YdbTable.CompactionPolicy compactionPolicy_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.CompactionPolicy, com.yandex.ydb.table.YdbTable.CompactionPolicy.Builder, com.yandex.ydb.table.YdbTable.CompactionPolicyOrBuilder> compactionPolicyBuilder_; /** * .Ydb.Table.CompactionPolicy compaction_policy = 3; * @return Whether the compactionPolicy field is set. */ public boolean hasCompactionPolicy() { return compactionPolicyBuilder_ != null || compactionPolicy_ != null; } /** * .Ydb.Table.CompactionPolicy compaction_policy = 3; * @return The compactionPolicy. */ public com.yandex.ydb.table.YdbTable.CompactionPolicy getCompactionPolicy() { if (compactionPolicyBuilder_ == null) { return compactionPolicy_ == null ? com.yandex.ydb.table.YdbTable.CompactionPolicy.getDefaultInstance() : compactionPolicy_; } else { return compactionPolicyBuilder_.getMessage(); } } /** * .Ydb.Table.CompactionPolicy compaction_policy = 3; */ public Builder setCompactionPolicy(com.yandex.ydb.table.YdbTable.CompactionPolicy value) { if (compactionPolicyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } compactionPolicy_ = value; onChanged(); } else { compactionPolicyBuilder_.setMessage(value); } return this; } /** * .Ydb.Table.CompactionPolicy compaction_policy = 3; */ public Builder setCompactionPolicy( com.yandex.ydb.table.YdbTable.CompactionPolicy.Builder builderForValue) { if (compactionPolicyBuilder_ == null) { compactionPolicy_ = builderForValue.build(); onChanged(); } else { compactionPolicyBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Table.CompactionPolicy compaction_policy = 3; */ public Builder mergeCompactionPolicy(com.yandex.ydb.table.YdbTable.CompactionPolicy value) { if (compactionPolicyBuilder_ == null) { if (compactionPolicy_ != null) { compactionPolicy_ = com.yandex.ydb.table.YdbTable.CompactionPolicy.newBuilder(compactionPolicy_).mergeFrom(value).buildPartial(); } else { compactionPolicy_ = value; } onChanged(); } else { compactionPolicyBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Table.CompactionPolicy compaction_policy = 3; */ public Builder clearCompactionPolicy() { if (compactionPolicyBuilder_ == null) { compactionPolicy_ = null; onChanged(); } else { compactionPolicy_ = null; compactionPolicyBuilder_ = null; } return this; } /** * .Ydb.Table.CompactionPolicy compaction_policy = 3; */ public com.yandex.ydb.table.YdbTable.CompactionPolicy.Builder getCompactionPolicyBuilder() { onChanged(); return getCompactionPolicyFieldBuilder().getBuilder(); } /** * .Ydb.Table.CompactionPolicy compaction_policy = 3; */ public com.yandex.ydb.table.YdbTable.CompactionPolicyOrBuilder getCompactionPolicyOrBuilder() { if (compactionPolicyBuilder_ != null) { return compactionPolicyBuilder_.getMessageOrBuilder(); } else { return compactionPolicy_ == null ? com.yandex.ydb.table.YdbTable.CompactionPolicy.getDefaultInstance() : compactionPolicy_; } } /** * .Ydb.Table.CompactionPolicy compaction_policy = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.CompactionPolicy, com.yandex.ydb.table.YdbTable.CompactionPolicy.Builder, com.yandex.ydb.table.YdbTable.CompactionPolicyOrBuilder> getCompactionPolicyFieldBuilder() { if (compactionPolicyBuilder_ == null) { compactionPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.CompactionPolicy, com.yandex.ydb.table.YdbTable.CompactionPolicy.Builder, com.yandex.ydb.table.YdbTable.CompactionPolicyOrBuilder>( getCompactionPolicy(), getParentForChildren(), isClean()); compactionPolicy_ = null; } return compactionPolicyBuilder_; } private com.yandex.ydb.table.YdbTable.PartitioningPolicy partitioningPolicy_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.PartitioningPolicy, com.yandex.ydb.table.YdbTable.PartitioningPolicy.Builder, com.yandex.ydb.table.YdbTable.PartitioningPolicyOrBuilder> partitioningPolicyBuilder_; /** * .Ydb.Table.PartitioningPolicy partitioning_policy = 4; * @return Whether the partitioningPolicy field is set. */ public boolean hasPartitioningPolicy() { return partitioningPolicyBuilder_ != null || partitioningPolicy_ != null; } /** * .Ydb.Table.PartitioningPolicy partitioning_policy = 4; * @return The partitioningPolicy. */ public com.yandex.ydb.table.YdbTable.PartitioningPolicy getPartitioningPolicy() { if (partitioningPolicyBuilder_ == null) { return partitioningPolicy_ == null ? com.yandex.ydb.table.YdbTable.PartitioningPolicy.getDefaultInstance() : partitioningPolicy_; } else { return partitioningPolicyBuilder_.getMessage(); } } /** * .Ydb.Table.PartitioningPolicy partitioning_policy = 4; */ public Builder setPartitioningPolicy(com.yandex.ydb.table.YdbTable.PartitioningPolicy value) { if (partitioningPolicyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } partitioningPolicy_ = value; onChanged(); } else { partitioningPolicyBuilder_.setMessage(value); } return this; } /** * .Ydb.Table.PartitioningPolicy partitioning_policy = 4; */ public Builder setPartitioningPolicy( com.yandex.ydb.table.YdbTable.PartitioningPolicy.Builder builderForValue) { if (partitioningPolicyBuilder_ == null) { partitioningPolicy_ = builderForValue.build(); onChanged(); } else { partitioningPolicyBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Table.PartitioningPolicy partitioning_policy = 4; */ public Builder mergePartitioningPolicy(com.yandex.ydb.table.YdbTable.PartitioningPolicy value) { if (partitioningPolicyBuilder_ == null) { if (partitioningPolicy_ != null) { partitioningPolicy_ = com.yandex.ydb.table.YdbTable.PartitioningPolicy.newBuilder(partitioningPolicy_).mergeFrom(value).buildPartial(); } else { partitioningPolicy_ = value; } onChanged(); } else { partitioningPolicyBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Table.PartitioningPolicy partitioning_policy = 4; */ public Builder clearPartitioningPolicy() { if (partitioningPolicyBuilder_ == null) { partitioningPolicy_ = null; onChanged(); } else { partitioningPolicy_ = null; partitioningPolicyBuilder_ = null; } return this; } /** * .Ydb.Table.PartitioningPolicy partitioning_policy = 4; */ public com.yandex.ydb.table.YdbTable.PartitioningPolicy.Builder getPartitioningPolicyBuilder() { onChanged(); return getPartitioningPolicyFieldBuilder().getBuilder(); } /** * .Ydb.Table.PartitioningPolicy partitioning_policy = 4; */ public com.yandex.ydb.table.YdbTable.PartitioningPolicyOrBuilder getPartitioningPolicyOrBuilder() { if (partitioningPolicyBuilder_ != null) { return partitioningPolicyBuilder_.getMessageOrBuilder(); } else { return partitioningPolicy_ == null ? com.yandex.ydb.table.YdbTable.PartitioningPolicy.getDefaultInstance() : partitioningPolicy_; } } /** * .Ydb.Table.PartitioningPolicy partitioning_policy = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.PartitioningPolicy, com.yandex.ydb.table.YdbTable.PartitioningPolicy.Builder, com.yandex.ydb.table.YdbTable.PartitioningPolicyOrBuilder> getPartitioningPolicyFieldBuilder() { if (partitioningPolicyBuilder_ == null) { partitioningPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.PartitioningPolicy, com.yandex.ydb.table.YdbTable.PartitioningPolicy.Builder, com.yandex.ydb.table.YdbTable.PartitioningPolicyOrBuilder>( getPartitioningPolicy(), getParentForChildren(), isClean()); partitioningPolicy_ = null; } return partitioningPolicyBuilder_; } private com.yandex.ydb.table.YdbTable.ExecutionPolicy executionPolicy_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.ExecutionPolicy, com.yandex.ydb.table.YdbTable.ExecutionPolicy.Builder, com.yandex.ydb.table.YdbTable.ExecutionPolicyOrBuilder> executionPolicyBuilder_; /** * .Ydb.Table.ExecutionPolicy execution_policy = 5; * @return Whether the executionPolicy field is set. */ public boolean hasExecutionPolicy() { return executionPolicyBuilder_ != null || executionPolicy_ != null; } /** * .Ydb.Table.ExecutionPolicy execution_policy = 5; * @return The executionPolicy. */ public com.yandex.ydb.table.YdbTable.ExecutionPolicy getExecutionPolicy() { if (executionPolicyBuilder_ == null) { return executionPolicy_ == null ? com.yandex.ydb.table.YdbTable.ExecutionPolicy.getDefaultInstance() : executionPolicy_; } else { return executionPolicyBuilder_.getMessage(); } } /** * .Ydb.Table.ExecutionPolicy execution_policy = 5; */ public Builder setExecutionPolicy(com.yandex.ydb.table.YdbTable.ExecutionPolicy value) { if (executionPolicyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } executionPolicy_ = value; onChanged(); } else { executionPolicyBuilder_.setMessage(value); } return this; } /** * .Ydb.Table.ExecutionPolicy execution_policy = 5; */ public Builder setExecutionPolicy( com.yandex.ydb.table.YdbTable.ExecutionPolicy.Builder builderForValue) { if (executionPolicyBuilder_ == null) { executionPolicy_ = builderForValue.build(); onChanged(); } else { executionPolicyBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Table.ExecutionPolicy execution_policy = 5; */ public Builder mergeExecutionPolicy(com.yandex.ydb.table.YdbTable.ExecutionPolicy value) { if (executionPolicyBuilder_ == null) { if (executionPolicy_ != null) { executionPolicy_ = com.yandex.ydb.table.YdbTable.ExecutionPolicy.newBuilder(executionPolicy_).mergeFrom(value).buildPartial(); } else { executionPolicy_ = value; } onChanged(); } else { executionPolicyBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Table.ExecutionPolicy execution_policy = 5; */ public Builder clearExecutionPolicy() { if (executionPolicyBuilder_ == null) { executionPolicy_ = null; onChanged(); } else { executionPolicy_ = null; executionPolicyBuilder_ = null; } return this; } /** * .Ydb.Table.ExecutionPolicy execution_policy = 5; */ public com.yandex.ydb.table.YdbTable.ExecutionPolicy.Builder getExecutionPolicyBuilder() { onChanged(); return getExecutionPolicyFieldBuilder().getBuilder(); } /** * .Ydb.Table.ExecutionPolicy execution_policy = 5; */ public com.yandex.ydb.table.YdbTable.ExecutionPolicyOrBuilder getExecutionPolicyOrBuilder() { if (executionPolicyBuilder_ != null) { return executionPolicyBuilder_.getMessageOrBuilder(); } else { return executionPolicy_ == null ? com.yandex.ydb.table.YdbTable.ExecutionPolicy.getDefaultInstance() : executionPolicy_; } } /** * .Ydb.Table.ExecutionPolicy execution_policy = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.ExecutionPolicy, com.yandex.ydb.table.YdbTable.ExecutionPolicy.Builder, com.yandex.ydb.table.YdbTable.ExecutionPolicyOrBuilder> getExecutionPolicyFieldBuilder() { if (executionPolicyBuilder_ == null) { executionPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.ExecutionPolicy, com.yandex.ydb.table.YdbTable.ExecutionPolicy.Builder, com.yandex.ydb.table.YdbTable.ExecutionPolicyOrBuilder>( getExecutionPolicy(), getParentForChildren(), isClean()); executionPolicy_ = null; } return executionPolicyBuilder_; } private com.yandex.ydb.table.YdbTable.ReplicationPolicy replicationPolicy_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.ReplicationPolicy, com.yandex.ydb.table.YdbTable.ReplicationPolicy.Builder, com.yandex.ydb.table.YdbTable.ReplicationPolicyOrBuilder> replicationPolicyBuilder_; /** * .Ydb.Table.ReplicationPolicy replication_policy = 6; * @return Whether the replicationPolicy field is set. */ public boolean hasReplicationPolicy() { return replicationPolicyBuilder_ != null || replicationPolicy_ != null; } /** * .Ydb.Table.ReplicationPolicy replication_policy = 6; * @return The replicationPolicy. */ public com.yandex.ydb.table.YdbTable.ReplicationPolicy getReplicationPolicy() { if (replicationPolicyBuilder_ == null) { return replicationPolicy_ == null ? com.yandex.ydb.table.YdbTable.ReplicationPolicy.getDefaultInstance() : replicationPolicy_; } else { return replicationPolicyBuilder_.getMessage(); } } /** * .Ydb.Table.ReplicationPolicy replication_policy = 6; */ public Builder setReplicationPolicy(com.yandex.ydb.table.YdbTable.ReplicationPolicy value) { if (replicationPolicyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } replicationPolicy_ = value; onChanged(); } else { replicationPolicyBuilder_.setMessage(value); } return this; } /** * .Ydb.Table.ReplicationPolicy replication_policy = 6; */ public Builder setReplicationPolicy( com.yandex.ydb.table.YdbTable.ReplicationPolicy.Builder builderForValue) { if (replicationPolicyBuilder_ == null) { replicationPolicy_ = builderForValue.build(); onChanged(); } else { replicationPolicyBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Table.ReplicationPolicy replication_policy = 6; */ public Builder mergeReplicationPolicy(com.yandex.ydb.table.YdbTable.ReplicationPolicy value) { if (replicationPolicyBuilder_ == null) { if (replicationPolicy_ != null) { replicationPolicy_ = com.yandex.ydb.table.YdbTable.ReplicationPolicy.newBuilder(replicationPolicy_).mergeFrom(value).buildPartial(); } else { replicationPolicy_ = value; } onChanged(); } else { replicationPolicyBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Table.ReplicationPolicy replication_policy = 6; */ public Builder clearReplicationPolicy() { if (replicationPolicyBuilder_ == null) { replicationPolicy_ = null; onChanged(); } else { replicationPolicy_ = null; replicationPolicyBuilder_ = null; } return this; } /** * .Ydb.Table.ReplicationPolicy replication_policy = 6; */ public com.yandex.ydb.table.YdbTable.ReplicationPolicy.Builder getReplicationPolicyBuilder() { onChanged(); return getReplicationPolicyFieldBuilder().getBuilder(); } /** * .Ydb.Table.ReplicationPolicy replication_policy = 6; */ public com.yandex.ydb.table.YdbTable.ReplicationPolicyOrBuilder getReplicationPolicyOrBuilder() { if (replicationPolicyBuilder_ != null) { return replicationPolicyBuilder_.getMessageOrBuilder(); } else { return replicationPolicy_ == null ? com.yandex.ydb.table.YdbTable.ReplicationPolicy.getDefaultInstance() : replicationPolicy_; } } /** * .Ydb.Table.ReplicationPolicy replication_policy = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.ReplicationPolicy, com.yandex.ydb.table.YdbTable.ReplicationPolicy.Builder, com.yandex.ydb.table.YdbTable.ReplicationPolicyOrBuilder> getReplicationPolicyFieldBuilder() { if (replicationPolicyBuilder_ == null) { replicationPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.ReplicationPolicy, com.yandex.ydb.table.YdbTable.ReplicationPolicy.Builder, com.yandex.ydb.table.YdbTable.ReplicationPolicyOrBuilder>( getReplicationPolicy(), getParentForChildren(), isClean()); replicationPolicy_ = null; } return replicationPolicyBuilder_; } private com.yandex.ydb.table.YdbTable.CachingPolicy cachingPolicy_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.CachingPolicy, com.yandex.ydb.table.YdbTable.CachingPolicy.Builder, com.yandex.ydb.table.YdbTable.CachingPolicyOrBuilder> cachingPolicyBuilder_; /** * .Ydb.Table.CachingPolicy caching_policy = 7; * @return Whether the cachingPolicy field is set. */ public boolean hasCachingPolicy() { return cachingPolicyBuilder_ != null || cachingPolicy_ != null; } /** * .Ydb.Table.CachingPolicy caching_policy = 7; * @return The cachingPolicy. */ public com.yandex.ydb.table.YdbTable.CachingPolicy getCachingPolicy() { if (cachingPolicyBuilder_ == null) { return cachingPolicy_ == null ? com.yandex.ydb.table.YdbTable.CachingPolicy.getDefaultInstance() : cachingPolicy_; } else { return cachingPolicyBuilder_.getMessage(); } } /** * .Ydb.Table.CachingPolicy caching_policy = 7; */ public Builder setCachingPolicy(com.yandex.ydb.table.YdbTable.CachingPolicy value) { if (cachingPolicyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } cachingPolicy_ = value; onChanged(); } else { cachingPolicyBuilder_.setMessage(value); } return this; } /** * .Ydb.Table.CachingPolicy caching_policy = 7; */ public Builder setCachingPolicy( com.yandex.ydb.table.YdbTable.CachingPolicy.Builder builderForValue) { if (cachingPolicyBuilder_ == null) { cachingPolicy_ = builderForValue.build(); onChanged(); } else { cachingPolicyBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Table.CachingPolicy caching_policy = 7; */ public Builder mergeCachingPolicy(com.yandex.ydb.table.YdbTable.CachingPolicy value) { if (cachingPolicyBuilder_ == null) { if (cachingPolicy_ != null) { cachingPolicy_ = com.yandex.ydb.table.YdbTable.CachingPolicy.newBuilder(cachingPolicy_).mergeFrom(value).buildPartial(); } else { cachingPolicy_ = value; } onChanged(); } else { cachingPolicyBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Table.CachingPolicy caching_policy = 7; */ public Builder clearCachingPolicy() { if (cachingPolicyBuilder_ == null) { cachingPolicy_ = null; onChanged(); } else { cachingPolicy_ = null; cachingPolicyBuilder_ = null; } return this; } /** * .Ydb.Table.CachingPolicy caching_policy = 7; */ public com.yandex.ydb.table.YdbTable.CachingPolicy.Builder getCachingPolicyBuilder() { onChanged(); return getCachingPolicyFieldBuilder().getBuilder(); } /** * .Ydb.Table.CachingPolicy caching_policy = 7; */ public com.yandex.ydb.table.YdbTable.CachingPolicyOrBuilder getCachingPolicyOrBuilder() { if (cachingPolicyBuilder_ != null) { return cachingPolicyBuilder_.getMessageOrBuilder(); } else { return cachingPolicy_ == null ? com.yandex.ydb.table.YdbTable.CachingPolicy.getDefaultInstance() : cachingPolicy_; } } /** * .Ydb.Table.CachingPolicy caching_policy = 7; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.CachingPolicy, com.yandex.ydb.table.YdbTable.CachingPolicy.Builder, com.yandex.ydb.table.YdbTable.CachingPolicyOrBuilder> getCachingPolicyFieldBuilder() { if (cachingPolicyBuilder_ == null) { cachingPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.CachingPolicy, com.yandex.ydb.table.YdbTable.CachingPolicy.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TableProfile DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.TableProfile(); } public static com.yandex.ydb.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 { return new TableProfile(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.table.YdbTable.TableProfile 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. */ com.yandex.ydb.ValueProtos.Type getType(); /** *
     * Type of column
     * 
* * .Ydb.Type type = 2; */ com.yandex.ydb.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(); } /** * 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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ColumnMeta( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); name_ = s; break; } case 18: { com.yandex.ydb.ValueProtos.Type.Builder subBuilder = null; if (type_ != null) { subBuilder = type_.toBuilder(); } type_ = input.readMessage(com.yandex.ydb.ValueProtos.Type.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(type_); type_ = subBuilder.buildPartial(); } break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); family_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ColumnMeta_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ColumnMeta_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ColumnMeta.class, com.yandex.ydb.table.YdbTable.ColumnMeta.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; 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 com.yandex.ydb.ValueProtos.Type type_; /** *
     * Type of column
     * 
* * .Ydb.Type type = 2; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return type_ != null; } /** *
     * Type of column
     * 
* * .Ydb.Type type = 2; * @return The type. */ @java.lang.Override public com.yandex.ydb.ValueProtos.Type getType() { return type_ == null ? com.yandex.ydb.ValueProtos.Type.getDefaultInstance() : type_; } /** *
     * Type of column
     * 
* * .Ydb.Type type = 2; */ @java.lang.Override public com.yandex.ydb.ValueProtos.TypeOrBuilder getTypeOrBuilder() { return getType(); } public static final int FAMILY_FIELD_NUMBER = 3; 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; } } 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (type_ != null) { output.writeMessage(2, getType()); } if (!getFamilyBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, family_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (type_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getType()); } if (!getFamilyBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, family_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.ColumnMeta)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.ColumnMeta other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.ColumnMeta parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ColumnMeta parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ColumnMeta parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.ColumnMeta parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.ColumnMeta parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ColumnMeta parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ColumnMeta parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.ColumnMetaOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ColumnMeta_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ColumnMeta_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ColumnMeta.class, com.yandex.ydb.table.YdbTable.ColumnMeta.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; if (typeBuilder_ == null) { type_ = null; } else { type_ = null; typeBuilder_ = null; } family_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ColumnMeta_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ColumnMeta getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.ColumnMeta.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.ColumnMeta build() { com.yandex.ydb.table.YdbTable.ColumnMeta result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ColumnMeta buildPartial() { com.yandex.ydb.table.YdbTable.ColumnMeta result = new com.yandex.ydb.table.YdbTable.ColumnMeta(this); result.name_ = name_; if (typeBuilder_ == null) { result.type_ = type_; } else { result.type_ = typeBuilder_.build(); } result.family_ = family_; 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 com.yandex.ydb.table.YdbTable.ColumnMeta) { return mergeFrom((com.yandex.ydb.table.YdbTable.ColumnMeta)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.ColumnMeta other) { if (other == com.yandex.ydb.table.YdbTable.ColumnMeta.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (other.hasType()) { mergeType(other.getType()); } if (!other.getFamily().isEmpty()) { family_ = other.family_; onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.ColumnMeta parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.ColumnMeta) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; onChanged(); return this; } /** *
       * Name of column
       * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); 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; onChanged(); return this; } private com.yandex.ydb.ValueProtos.Type type_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.ValueProtos.Type, com.yandex.ydb.ValueProtos.Type.Builder, com.yandex.ydb.ValueProtos.TypeOrBuilder> typeBuilder_; /** *
       * Type of column
       * 
* * .Ydb.Type type = 2; * @return Whether the type field is set. */ public boolean hasType() { return typeBuilder_ != null || type_ != null; } /** *
       * Type of column
       * 
* * .Ydb.Type type = 2; * @return The type. */ public com.yandex.ydb.ValueProtos.Type getType() { if (typeBuilder_ == null) { return type_ == null ? com.yandex.ydb.ValueProtos.Type.getDefaultInstance() : type_; } else { return typeBuilder_.getMessage(); } } /** *
       * Type of column
       * 
* * .Ydb.Type type = 2; */ public Builder setType(com.yandex.ydb.ValueProtos.Type value) { if (typeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { typeBuilder_.setMessage(value); } return this; } /** *
       * Type of column
       * 
* * .Ydb.Type type = 2; */ public Builder setType( com.yandex.ydb.ValueProtos.Type.Builder builderForValue) { if (typeBuilder_ == null) { type_ = builderForValue.build(); onChanged(); } else { typeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Type of column
       * 
* * .Ydb.Type type = 2; */ public Builder mergeType(com.yandex.ydb.ValueProtos.Type value) { if (typeBuilder_ == null) { if (type_ != null) { type_ = com.yandex.ydb.ValueProtos.Type.newBuilder(type_).mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { typeBuilder_.mergeFrom(value); } return this; } /** *
       * Type of column
       * 
* * .Ydb.Type type = 2; */ public Builder clearType() { if (typeBuilder_ == null) { type_ = null; onChanged(); } else { type_ = null; typeBuilder_ = null; } return this; } /** *
       * Type of column
       * 
* * .Ydb.Type type = 2; */ public com.yandex.ydb.ValueProtos.Type.Builder getTypeBuilder() { onChanged(); return getTypeFieldBuilder().getBuilder(); } /** *
       * Type of column
       * 
* * .Ydb.Type type = 2; */ public com.yandex.ydb.ValueProtos.TypeOrBuilder getTypeOrBuilder() { if (typeBuilder_ != null) { return typeBuilder_.getMessageOrBuilder(); } else { return type_ == null ? com.yandex.ydb.ValueProtos.Type.getDefaultInstance() : type_; } } /** *
       * Type of column
       * 
* * .Ydb.Type type = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.ValueProtos.Type, com.yandex.ydb.ValueProtos.Type.Builder, com.yandex.ydb.ValueProtos.TypeOrBuilder> getTypeFieldBuilder() { if (typeBuilder_ == null) { typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.ValueProtos.Type, com.yandex.ydb.ValueProtos.Type.Builder, com.yandex.ydb.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; onChanged(); return this; } /** *
       * Column family name of the column
       * 
* * string family = 3; * @return This builder for chaining. */ public Builder clearFamily() { family_ = getDefaultInstance().getFamily(); 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; 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.ColumnMeta) } // @@protoc_insertion_point(class_scope:Ydb.Table.ColumnMeta) private static final com.yandex.ydb.table.YdbTable.ColumnMeta DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.ColumnMeta(); } public static com.yandex.ydb.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 { return new ColumnMeta(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DateTypeColumnModeSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); columnName_ = s; break; } case 16: { expireAfterSeconds_ = input.readUInt32(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DateTypeColumnModeSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DateTypeColumnModeSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings.class, com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings.Builder.class); } public static final int COLUMN_NAME_FIELD_NUMBER = 1; 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_; /** * 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 (!getColumnNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, columnName_); } if (expireAfterSeconds_ != 0) { output.writeUInt32(2, expireAfterSeconds_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getColumnNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, columnName_); } if (expireAfterSeconds_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, expireAfterSeconds_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings other = (com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings) obj; if (!getColumnName() .equals(other.getColumnName())) return false; if (getExpireAfterSeconds() != other.getExpireAfterSeconds()) return false; if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DateTypeColumnModeSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DateTypeColumnModeSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings.class, com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); columnName_ = ""; expireAfterSeconds_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DateTypeColumnModeSettings_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings build() { com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings buildPartial() { com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings result = new com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings(this); result.columnName_ = columnName_; result.expireAfterSeconds_ = expireAfterSeconds_; 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 com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings) { return mergeFrom((com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings other) { if (other == com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings.getDefaultInstance()) return this; if (!other.getColumnName().isEmpty()) { columnName_ = other.columnName_; onChanged(); } if (other.getExpireAfterSeconds() != 0) { setExpireAfterSeconds(other.getExpireAfterSeconds()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; 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(); 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; 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; onChanged(); return this; } /** * uint32 expire_after_seconds = 2; * @return This builder for chaining. */ public Builder clearExpireAfterSeconds() { 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 com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings(); } public static com.yandex.ydb.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 { return new DateTypeColumnModeSettings(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ValueSinceUnixEpochModeSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); columnName_ = s; break; } case 16: { int rawValue = input.readEnum(); columnUnit_ = rawValue; break; } case 24: { expireAfterSeconds_ = input.readUInt32(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ValueSinceUnixEpochModeSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ValueSinceUnixEpochModeSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings.class, com.yandex.ydb.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 com.yandex.ydb.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; 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_; /** *
     * 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 com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings.Unit getColumnUnit() { @SuppressWarnings("deprecation") com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings.Unit result = com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings.Unit.valueOf(columnUnit_); return result == null ? com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings.Unit.UNRECOGNIZED : result; } public static final int EXPIRE_AFTER_SECONDS_FIELD_NUMBER = 3; 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_; } 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 (!getColumnNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, columnName_); } if (columnUnit_ != com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings.Unit.UNIT_UNSPECIFIED.getNumber()) { output.writeEnum(2, columnUnit_); } if (expireAfterSeconds_ != 0) { output.writeUInt32(3, expireAfterSeconds_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getColumnNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, columnName_); } if (columnUnit_ != com.yandex.ydb.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 += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings other = (com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings) obj; if (!getColumnName() .equals(other.getColumnName())) return false; if (columnUnit_ != other.columnUnit_) return false; if (getExpireAfterSeconds() != other.getExpireAfterSeconds()) return false; if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ValueSinceUnixEpochModeSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ValueSinceUnixEpochModeSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings.class, com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); columnName_ = ""; columnUnit_ = 0; expireAfterSeconds_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ValueSinceUnixEpochModeSettings_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings build() { com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings buildPartial() { com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings result = new com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings(this); result.columnName_ = columnName_; result.columnUnit_ = columnUnit_; result.expireAfterSeconds_ = expireAfterSeconds_; 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 com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings) { return mergeFrom((com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings other) { if (other == com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings.getDefaultInstance()) return this; if (!other.getColumnName().isEmpty()) { columnName_ = other.columnName_; onChanged(); } if (other.columnUnit_ != 0) { setColumnUnitValue(other.getColumnUnitValue()); } if (other.getExpireAfterSeconds() != 0) { setExpireAfterSeconds(other.getExpireAfterSeconds()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; 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(); 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; 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; 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 com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings.Unit getColumnUnit() { @SuppressWarnings("deprecation") com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings.Unit result = com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings.Unit.valueOf(columnUnit_); return result == null ? com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings.Unit value) { if (value == null) { throw new NullPointerException(); } 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() { 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; 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() { 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 com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings(); } public static com.yandex.ydb.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 { return new ValueSinceUnixEpochModeSettings(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings getDateTypeColumn(); /** * .Ydb.Table.DateTypeColumnModeSettings date_type_column = 1; */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings getValueSinceUnixEpoch(); /** * .Ydb.Table.ValueSinceUnixEpochModeSettings value_since_unix_epoch = 2; */ com.yandex.ydb.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(); public com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TtlSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings.Builder subBuilder = null; if (modeCase_ == 1) { subBuilder = ((com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings) mode_).toBuilder(); } mode_ = input.readMessage(com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings) mode_); mode_ = subBuilder.buildPartial(); } modeCase_ = 1; break; } case 18: { com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings.Builder subBuilder = null; if (modeCase_ == 2) { subBuilder = ((com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings) mode_).toBuilder(); } mode_ = input.readMessage(com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings) mode_); mode_ = subBuilder.buildPartial(); } modeCase_ = 2; break; } case 24: { runIntervalSeconds_ = input.readUInt32(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TtlSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TtlSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.TtlSettings.class, com.yandex.ydb.table.YdbTable.TtlSettings.Builder.class); } private int modeCase_ = 0; 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 com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings getDateTypeColumn() { if (modeCase_ == 1) { return (com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings) mode_; } return com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings.getDefaultInstance(); } /** * .Ydb.Table.DateTypeColumnModeSettings date_type_column = 1; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettingsOrBuilder getDateTypeColumnOrBuilder() { if (modeCase_ == 1) { return (com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings) mode_; } return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings getValueSinceUnixEpoch() { if (modeCase_ == 2) { return (com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings) mode_; } return com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings.getDefaultInstance(); } /** * .Ydb.Table.ValueSinceUnixEpochModeSettings value_since_unix_epoch = 2; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettingsOrBuilder getValueSinceUnixEpochOrBuilder() { if (modeCase_ == 2) { return (com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings) mode_; } return com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings.getDefaultInstance(); } public static final int RUN_INTERVAL_SECONDS_FIELD_NUMBER = 3; 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_; } 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, (com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings) mode_); } if (modeCase_ == 2) { output.writeMessage(2, (com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings) mode_); } if (runIntervalSeconds_ != 0) { output.writeUInt32(3, runIntervalSeconds_); } unknownFields.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, (com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings) mode_); } if (modeCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings) mode_); } if (runIntervalSeconds_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, runIntervalSeconds_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.TtlSettings)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.TtlSettings other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.TtlSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TtlSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TtlSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.TtlSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.TtlSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TtlSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TtlSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.TtlSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TtlSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TtlSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.TtlSettings.class, com.yandex.ydb.table.YdbTable.TtlSettings.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.TtlSettings.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); runIntervalSeconds_ = 0; modeCase_ = 0; mode_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TtlSettings_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.TtlSettings getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.TtlSettings.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.TtlSettings build() { com.yandex.ydb.table.YdbTable.TtlSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.TtlSettings buildPartial() { com.yandex.ydb.table.YdbTable.TtlSettings result = new com.yandex.ydb.table.YdbTable.TtlSettings(this); if (modeCase_ == 1) { if (dateTypeColumnBuilder_ == null) { result.mode_ = mode_; } else { result.mode_ = dateTypeColumnBuilder_.build(); } } if (modeCase_ == 2) { if (valueSinceUnixEpochBuilder_ == null) { result.mode_ = mode_; } else { result.mode_ = valueSinceUnixEpochBuilder_.build(); } } result.runIntervalSeconds_ = runIntervalSeconds_; result.modeCase_ = modeCase_; 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 com.yandex.ydb.table.YdbTable.TtlSettings) { return mergeFrom((com.yandex.ydb.table.YdbTable.TtlSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.TtlSettings other) { if (other == com.yandex.ydb.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.unknownFields); 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 { com.yandex.ydb.table.YdbTable.TtlSettings parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.TtlSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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 com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings, com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings getDateTypeColumn() { if (dateTypeColumnBuilder_ == null) { if (modeCase_ == 1) { return (com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings) mode_; } return com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings.getDefaultInstance(); } else { if (modeCase_ == 1) { return dateTypeColumnBuilder_.getMessage(); } return com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings.getDefaultInstance(); } } /** * .Ydb.Table.DateTypeColumnModeSettings date_type_column = 1; */ public Builder setDateTypeColumn(com.yandex.ydb.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( com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings value) { if (dateTypeColumnBuilder_ == null) { if (modeCase_ == 1 && mode_ != com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings.getDefaultInstance()) { mode_ = com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings.newBuilder((com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings) mode_) .mergeFrom(value).buildPartial(); } else { mode_ = value; } onChanged(); } else { if (modeCase_ == 1) { dateTypeColumnBuilder_.mergeFrom(value); } 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 com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings.Builder getDateTypeColumnBuilder() { return getDateTypeColumnFieldBuilder().getBuilder(); } /** * .Ydb.Table.DateTypeColumnModeSettings date_type_column = 1; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettingsOrBuilder getDateTypeColumnOrBuilder() { if ((modeCase_ == 1) && (dateTypeColumnBuilder_ != null)) { return dateTypeColumnBuilder_.getMessageOrBuilder(); } else { if (modeCase_ == 1) { return (com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings) mode_; } return com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings.getDefaultInstance(); } } /** * .Ydb.Table.DateTypeColumnModeSettings date_type_column = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings, com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings.Builder, com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettingsOrBuilder> getDateTypeColumnFieldBuilder() { if (dateTypeColumnBuilder_ == null) { if (!(modeCase_ == 1)) { mode_ = com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings.getDefaultInstance(); } dateTypeColumnBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings, com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings.Builder, com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettingsOrBuilder>( (com.yandex.ydb.table.YdbTable.DateTypeColumnModeSettings) mode_, getParentForChildren(), isClean()); mode_ = null; } modeCase_ = 1; onChanged();; return dateTypeColumnBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings, com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings getValueSinceUnixEpoch() { if (valueSinceUnixEpochBuilder_ == null) { if (modeCase_ == 2) { return (com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings) mode_; } return com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings.getDefaultInstance(); } else { if (modeCase_ == 2) { return valueSinceUnixEpochBuilder_.getMessage(); } return com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings.getDefaultInstance(); } } /** * .Ydb.Table.ValueSinceUnixEpochModeSettings value_since_unix_epoch = 2; */ public Builder setValueSinceUnixEpoch(com.yandex.ydb.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( com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings value) { if (valueSinceUnixEpochBuilder_ == null) { if (modeCase_ == 2 && mode_ != com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings.getDefaultInstance()) { mode_ = com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings.newBuilder((com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings) mode_) .mergeFrom(value).buildPartial(); } else { mode_ = value; } onChanged(); } else { if (modeCase_ == 2) { valueSinceUnixEpochBuilder_.mergeFrom(value); } 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 com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings.Builder getValueSinceUnixEpochBuilder() { return getValueSinceUnixEpochFieldBuilder().getBuilder(); } /** * .Ydb.Table.ValueSinceUnixEpochModeSettings value_since_unix_epoch = 2; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettingsOrBuilder getValueSinceUnixEpochOrBuilder() { if ((modeCase_ == 2) && (valueSinceUnixEpochBuilder_ != null)) { return valueSinceUnixEpochBuilder_.getMessageOrBuilder(); } else { if (modeCase_ == 2) { return (com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings) mode_; } return com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings.getDefaultInstance(); } } /** * .Ydb.Table.ValueSinceUnixEpochModeSettings value_since_unix_epoch = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings, com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings.Builder, com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettingsOrBuilder> getValueSinceUnixEpochFieldBuilder() { if (valueSinceUnixEpochBuilder_ == null) { if (!(modeCase_ == 2)) { mode_ = com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings.getDefaultInstance(); } valueSinceUnixEpochBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings, com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettings.Builder, com.yandex.ydb.table.YdbTable.ValueSinceUnixEpochModeSettingsOrBuilder>( (com.yandex.ydb.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; 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() { 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 com.yandex.ydb.table.YdbTable.TtlSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.TtlSettings(); } public static com.yandex.ydb.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 { return new TtlSettings(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.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; */ com.yandex.ydb.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. */ com.yandex.ydb.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; */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.StoragePool getExternal(); /** *
     * This specifies external blobs storage pool
     * 
* * .Ydb.Table.StoragePool external = 4; */ com.yandex.ydb.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. */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StorageSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.table.YdbTable.StoragePool.Builder subBuilder = null; if (tabletCommitLog0_ != null) { subBuilder = tabletCommitLog0_.toBuilder(); } tabletCommitLog0_ = input.readMessage(com.yandex.ydb.table.YdbTable.StoragePool.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(tabletCommitLog0_); tabletCommitLog0_ = subBuilder.buildPartial(); } break; } case 18: { com.yandex.ydb.table.YdbTable.StoragePool.Builder subBuilder = null; if (tabletCommitLog1_ != null) { subBuilder = tabletCommitLog1_.toBuilder(); } tabletCommitLog1_ = input.readMessage(com.yandex.ydb.table.YdbTable.StoragePool.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(tabletCommitLog1_); tabletCommitLog1_ = subBuilder.buildPartial(); } break; } case 34: { com.yandex.ydb.table.YdbTable.StoragePool.Builder subBuilder = null; if (external_ != null) { subBuilder = external_.toBuilder(); } external_ = input.readMessage(com.yandex.ydb.table.YdbTable.StoragePool.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(external_); external_ = subBuilder.buildPartial(); } break; } case 40: { int rawValue = input.readEnum(); storeExternalBlobs_ = rawValue; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_StorageSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_StorageSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.StorageSettings.class, com.yandex.ydb.table.YdbTable.StorageSettings.Builder.class); } public static final int TABLET_COMMIT_LOG0_FIELD_NUMBER = 1; private com.yandex.ydb.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 tabletCommitLog0_ != null; } /** *
     * 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 com.yandex.ydb.table.YdbTable.StoragePool getTabletCommitLog0() { return tabletCommitLog0_ == null ? com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder getTabletCommitLog0OrBuilder() { return getTabletCommitLog0(); } public static final int TABLET_COMMIT_LOG1_FIELD_NUMBER = 2; private com.yandex.ydb.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 tabletCommitLog1_ != null; } /** *
     * 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 com.yandex.ydb.table.YdbTable.StoragePool getTabletCommitLog1() { return tabletCommitLog1_ == null ? com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder getTabletCommitLog1OrBuilder() { return getTabletCommitLog1(); } public static final int EXTERNAL_FIELD_NUMBER = 4; private com.yandex.ydb.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 external_ != null; } /** *
     * This specifies external blobs storage pool
     * 
* * .Ydb.Table.StoragePool external = 4; * @return The external. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.StoragePool getExternal() { return external_ == null ? com.yandex.ydb.table.YdbTable.StoragePool.getDefaultInstance() : external_; } /** *
     * This specifies external blobs storage pool
     * 
* * .Ydb.Table.StoragePool external = 4; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder getExternalOrBuilder() { return getExternal(); } public static final int STORE_EXTERNAL_BLOBS_FIELD_NUMBER = 5; private int 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 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 com.yandex.ydb.common.CommonProtos.FeatureFlag.Status getStoreExternalBlobs() { @SuppressWarnings("deprecation") com.yandex.ydb.common.CommonProtos.FeatureFlag.Status result = com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.valueOf(storeExternalBlobs_); return result == null ? com.yandex.ydb.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 (tabletCommitLog0_ != null) { output.writeMessage(1, getTabletCommitLog0()); } if (tabletCommitLog1_ != null) { output.writeMessage(2, getTabletCommitLog1()); } if (external_ != null) { output.writeMessage(4, getExternal()); } if (storeExternalBlobs_ != com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(5, storeExternalBlobs_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (tabletCommitLog0_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getTabletCommitLog0()); } if (tabletCommitLog1_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getTabletCommitLog1()); } if (external_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getExternal()); } if (storeExternalBlobs_ != com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, storeExternalBlobs_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.StorageSettings)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.StorageSettings other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.StorageSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.StorageSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.StorageSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.StorageSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.StorageSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.StorageSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.StorageSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.StorageSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_StorageSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_StorageSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.StorageSettings.class, com.yandex.ydb.table.YdbTable.StorageSettings.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); if (tabletCommitLog0Builder_ == null) { tabletCommitLog0_ = null; } else { tabletCommitLog0_ = null; tabletCommitLog0Builder_ = null; } if (tabletCommitLog1Builder_ == null) { tabletCommitLog1_ = null; } else { tabletCommitLog1_ = null; tabletCommitLog1Builder_ = null; } if (externalBuilder_ == null) { external_ = null; } else { external_ = null; externalBuilder_ = null; } storeExternalBlobs_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_StorageSettings_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.StorageSettings getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.StorageSettings.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.StorageSettings build() { com.yandex.ydb.table.YdbTable.StorageSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.StorageSettings buildPartial() { com.yandex.ydb.table.YdbTable.StorageSettings result = new com.yandex.ydb.table.YdbTable.StorageSettings(this); if (tabletCommitLog0Builder_ == null) { result.tabletCommitLog0_ = tabletCommitLog0_; } else { result.tabletCommitLog0_ = tabletCommitLog0Builder_.build(); } if (tabletCommitLog1Builder_ == null) { result.tabletCommitLog1_ = tabletCommitLog1_; } else { result.tabletCommitLog1_ = tabletCommitLog1Builder_.build(); } if (externalBuilder_ == null) { result.external_ = external_; } else { result.external_ = externalBuilder_.build(); } result.storeExternalBlobs_ = storeExternalBlobs_; 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 com.yandex.ydb.table.YdbTable.StorageSettings) { return mergeFrom((com.yandex.ydb.table.YdbTable.StorageSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.StorageSettings other) { if (other == com.yandex.ydb.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.unknownFields); 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 { com.yandex.ydb.table.YdbTable.StorageSettings parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.StorageSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.yandex.ydb.table.YdbTable.StoragePool tabletCommitLog0_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StoragePool, com.yandex.ydb.table.YdbTable.StoragePool.Builder, com.yandex.ydb.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 tabletCommitLog0Builder_ != null || tabletCommitLog0_ != null; } /** *
       * 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 com.yandex.ydb.table.YdbTable.StoragePool getTabletCommitLog0() { if (tabletCommitLog0Builder_ == null) { return tabletCommitLog0_ == null ? com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.StoragePool value) { if (tabletCommitLog0Builder_ == null) { if (value == null) { throw new NullPointerException(); } tabletCommitLog0_ = value; onChanged(); } else { tabletCommitLog0Builder_.setMessage(value); } 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( com.yandex.ydb.table.YdbTable.StoragePool.Builder builderForValue) { if (tabletCommitLog0Builder_ == null) { tabletCommitLog0_ = builderForValue.build(); onChanged(); } else { tabletCommitLog0Builder_.setMessage(builderForValue.build()); } 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(com.yandex.ydb.table.YdbTable.StoragePool value) { if (tabletCommitLog0Builder_ == null) { if (tabletCommitLog0_ != null) { tabletCommitLog0_ = com.yandex.ydb.table.YdbTable.StoragePool.newBuilder(tabletCommitLog0_).mergeFrom(value).buildPartial(); } else { tabletCommitLog0_ = value; } onChanged(); } else { tabletCommitLog0Builder_.mergeFrom(value); } 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() { if (tabletCommitLog0Builder_ == null) { tabletCommitLog0_ = null; onChanged(); } else { tabletCommitLog0_ = null; tabletCommitLog0Builder_ = null; } 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 com.yandex.ydb.table.YdbTable.StoragePool.Builder getTabletCommitLog0Builder() { 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 com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder getTabletCommitLog0OrBuilder() { if (tabletCommitLog0Builder_ != null) { return tabletCommitLog0Builder_.getMessageOrBuilder(); } else { return tabletCommitLog0_ == null ? com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.StoragePool, com.yandex.ydb.table.YdbTable.StoragePool.Builder, com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder> getTabletCommitLog0FieldBuilder() { if (tabletCommitLog0Builder_ == null) { tabletCommitLog0Builder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StoragePool, com.yandex.ydb.table.YdbTable.StoragePool.Builder, com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder>( getTabletCommitLog0(), getParentForChildren(), isClean()); tabletCommitLog0_ = null; } return tabletCommitLog0Builder_; } private com.yandex.ydb.table.YdbTable.StoragePool tabletCommitLog1_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StoragePool, com.yandex.ydb.table.YdbTable.StoragePool.Builder, com.yandex.ydb.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 tabletCommitLog1Builder_ != null || tabletCommitLog1_ != null; } /** *
       * 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 com.yandex.ydb.table.YdbTable.StoragePool getTabletCommitLog1() { if (tabletCommitLog1Builder_ == null) { return tabletCommitLog1_ == null ? com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.StoragePool value) { if (tabletCommitLog1Builder_ == null) { if (value == null) { throw new NullPointerException(); } tabletCommitLog1_ = value; onChanged(); } else { tabletCommitLog1Builder_.setMessage(value); } 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( com.yandex.ydb.table.YdbTable.StoragePool.Builder builderForValue) { if (tabletCommitLog1Builder_ == null) { tabletCommitLog1_ = builderForValue.build(); onChanged(); } else { tabletCommitLog1Builder_.setMessage(builderForValue.build()); } 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(com.yandex.ydb.table.YdbTable.StoragePool value) { if (tabletCommitLog1Builder_ == null) { if (tabletCommitLog1_ != null) { tabletCommitLog1_ = com.yandex.ydb.table.YdbTable.StoragePool.newBuilder(tabletCommitLog1_).mergeFrom(value).buildPartial(); } else { tabletCommitLog1_ = value; } onChanged(); } else { tabletCommitLog1Builder_.mergeFrom(value); } 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() { if (tabletCommitLog1Builder_ == null) { tabletCommitLog1_ = null; onChanged(); } else { tabletCommitLog1_ = null; tabletCommitLog1Builder_ = null; } 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 com.yandex.ydb.table.YdbTable.StoragePool.Builder getTabletCommitLog1Builder() { 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 com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder getTabletCommitLog1OrBuilder() { if (tabletCommitLog1Builder_ != null) { return tabletCommitLog1Builder_.getMessageOrBuilder(); } else { return tabletCommitLog1_ == null ? com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.StoragePool, com.yandex.ydb.table.YdbTable.StoragePool.Builder, com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder> getTabletCommitLog1FieldBuilder() { if (tabletCommitLog1Builder_ == null) { tabletCommitLog1Builder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StoragePool, com.yandex.ydb.table.YdbTable.StoragePool.Builder, com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder>( getTabletCommitLog1(), getParentForChildren(), isClean()); tabletCommitLog1_ = null; } return tabletCommitLog1Builder_; } private com.yandex.ydb.table.YdbTable.StoragePool external_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StoragePool, com.yandex.ydb.table.YdbTable.StoragePool.Builder, com.yandex.ydb.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 externalBuilder_ != null || external_ != null; } /** *
       * This specifies external blobs storage pool
       * 
* * .Ydb.Table.StoragePool external = 4; * @return The external. */ public com.yandex.ydb.table.YdbTable.StoragePool getExternal() { if (externalBuilder_ == null) { return external_ == null ? com.yandex.ydb.table.YdbTable.StoragePool.getDefaultInstance() : external_; } else { return externalBuilder_.getMessage(); } } /** *
       * This specifies external blobs storage pool
       * 
* * .Ydb.Table.StoragePool external = 4; */ public Builder setExternal(com.yandex.ydb.table.YdbTable.StoragePool value) { if (externalBuilder_ == null) { if (value == null) { throw new NullPointerException(); } external_ = value; onChanged(); } else { externalBuilder_.setMessage(value); } return this; } /** *
       * This specifies external blobs storage pool
       * 
* * .Ydb.Table.StoragePool external = 4; */ public Builder setExternal( com.yandex.ydb.table.YdbTable.StoragePool.Builder builderForValue) { if (externalBuilder_ == null) { external_ = builderForValue.build(); onChanged(); } else { externalBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * This specifies external blobs storage pool
       * 
* * .Ydb.Table.StoragePool external = 4; */ public Builder mergeExternal(com.yandex.ydb.table.YdbTable.StoragePool value) { if (externalBuilder_ == null) { if (external_ != null) { external_ = com.yandex.ydb.table.YdbTable.StoragePool.newBuilder(external_).mergeFrom(value).buildPartial(); } else { external_ = value; } onChanged(); } else { externalBuilder_.mergeFrom(value); } return this; } /** *
       * This specifies external blobs storage pool
       * 
* * .Ydb.Table.StoragePool external = 4; */ public Builder clearExternal() { if (externalBuilder_ == null) { external_ = null; onChanged(); } else { external_ = null; externalBuilder_ = null; } return this; } /** *
       * This specifies external blobs storage pool
       * 
* * .Ydb.Table.StoragePool external = 4; */ public com.yandex.ydb.table.YdbTable.StoragePool.Builder getExternalBuilder() { onChanged(); return getExternalFieldBuilder().getBuilder(); } /** *
       * This specifies external blobs storage pool
       * 
* * .Ydb.Table.StoragePool external = 4; */ public com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder getExternalOrBuilder() { if (externalBuilder_ != null) { return externalBuilder_.getMessageOrBuilder(); } else { return external_ == null ? com.yandex.ydb.table.YdbTable.StoragePool.getDefaultInstance() : external_; } } /** *
       * This specifies external blobs storage pool
       * 
* * .Ydb.Table.StoragePool external = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StoragePool, com.yandex.ydb.table.YdbTable.StoragePool.Builder, com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder> getExternalFieldBuilder() { if (externalBuilder_ == null) { externalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StoragePool, com.yandex.ydb.table.YdbTable.StoragePool.Builder, com.yandex.ydb.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; 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 com.yandex.ydb.common.CommonProtos.FeatureFlag.Status getStoreExternalBlobs() { @SuppressWarnings("deprecation") com.yandex.ydb.common.CommonProtos.FeatureFlag.Status result = com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.valueOf(storeExternalBlobs_); return result == null ? com.yandex.ydb.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(com.yandex.ydb.common.CommonProtos.FeatureFlag.Status value) { if (value == null) { throw new NullPointerException(); } 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() { 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 com.yandex.ydb.table.YdbTable.StorageSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.StorageSettings(); } public static com.yandex.ydb.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 { return new StorageSettings(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.StoragePool getData(); /** *
     * This specifies data storage settings for column family
     * 
* * .Ydb.Table.StoragePool data = 2; */ com.yandex.ydb.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. */ com.yandex.ydb.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. */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ColumnFamily( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); name_ = s; break; } case 18: { com.yandex.ydb.table.YdbTable.StoragePool.Builder subBuilder = null; if (data_ != null) { subBuilder = data_.toBuilder(); } data_ = input.readMessage(com.yandex.ydb.table.YdbTable.StoragePool.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(data_); data_ = subBuilder.buildPartial(); } break; } case 24: { int rawValue = input.readEnum(); compression_ = rawValue; break; } case 32: { int rawValue = input.readEnum(); keepInMemory_ = rawValue; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ColumnFamily_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ColumnFamily_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ColumnFamily.class, com.yandex.ydb.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 com.yandex.ydb.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) } public static final int NAME_FIELD_NUMBER = 1; 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 com.yandex.ydb.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 data_ != null; } /** *
     * This specifies data storage settings for column family
     * 
* * .Ydb.Table.StoragePool data = 2; * @return The data. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.StoragePool getData() { return data_ == null ? com.yandex.ydb.table.YdbTable.StoragePool.getDefaultInstance() : data_; } /** *
     * This specifies data storage settings for column family
     * 
* * .Ydb.Table.StoragePool data = 2; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder getDataOrBuilder() { return getData(); } public static final int COMPRESSION_FIELD_NUMBER = 3; private int compression_; /** *
     * 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 com.yandex.ydb.table.YdbTable.ColumnFamily.Compression getCompression() { @SuppressWarnings("deprecation") com.yandex.ydb.table.YdbTable.ColumnFamily.Compression result = com.yandex.ydb.table.YdbTable.ColumnFamily.Compression.valueOf(compression_); return result == null ? com.yandex.ydb.table.YdbTable.ColumnFamily.Compression.UNRECOGNIZED : result; } public static final int KEEP_IN_MEMORY_FIELD_NUMBER = 4; private int keepInMemory_; /** *
     * 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 com.yandex.ydb.common.CommonProtos.FeatureFlag.Status getKeepInMemory() { @SuppressWarnings("deprecation") com.yandex.ydb.common.CommonProtos.FeatureFlag.Status result = com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.valueOf(keepInMemory_); return result == null ? com.yandex.ydb.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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (data_ != null) { output.writeMessage(2, getData()); } if (compression_ != com.yandex.ydb.table.YdbTable.ColumnFamily.Compression.COMPRESSION_UNSPECIFIED.getNumber()) { output.writeEnum(3, compression_); } if (keepInMemory_ != com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(4, keepInMemory_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (data_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getData()); } if (compression_ != com.yandex.ydb.table.YdbTable.ColumnFamily.Compression.COMPRESSION_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, compression_); } if (keepInMemory_ != com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, keepInMemory_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.ColumnFamily)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.ColumnFamily other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.ColumnFamily parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ColumnFamily parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ColumnFamily parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.ColumnFamily parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.ColumnFamily parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ColumnFamily parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ColumnFamily parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.ColumnFamilyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ColumnFamily_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ColumnFamily_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ColumnFamily.class, com.yandex.ydb.table.YdbTable.ColumnFamily.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; if (dataBuilder_ == null) { data_ = null; } else { data_ = null; dataBuilder_ = null; } compression_ = 0; keepInMemory_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ColumnFamily_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ColumnFamily getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.ColumnFamily.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.ColumnFamily build() { com.yandex.ydb.table.YdbTable.ColumnFamily result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ColumnFamily buildPartial() { com.yandex.ydb.table.YdbTable.ColumnFamily result = new com.yandex.ydb.table.YdbTable.ColumnFamily(this); result.name_ = name_; if (dataBuilder_ == null) { result.data_ = data_; } else { result.data_ = dataBuilder_.build(); } result.compression_ = compression_; result.keepInMemory_ = keepInMemory_; 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 com.yandex.ydb.table.YdbTable.ColumnFamily) { return mergeFrom((com.yandex.ydb.table.YdbTable.ColumnFamily)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.ColumnFamily other) { if (other == com.yandex.ydb.table.YdbTable.ColumnFamily.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (other.hasData()) { mergeData(other.getData()); } if (other.compression_ != 0) { setCompressionValue(other.getCompressionValue()); } if (other.keepInMemory_ != 0) { setKeepInMemoryValue(other.getKeepInMemoryValue()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.ColumnFamily parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.ColumnFamily) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; 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(); 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; onChanged(); return this; } private com.yandex.ydb.table.YdbTable.StoragePool data_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StoragePool, com.yandex.ydb.table.YdbTable.StoragePool.Builder, com.yandex.ydb.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 dataBuilder_ != null || data_ != null; } /** *
       * This specifies data storage settings for column family
       * 
* * .Ydb.Table.StoragePool data = 2; * @return The data. */ public com.yandex.ydb.table.YdbTable.StoragePool getData() { if (dataBuilder_ == null) { return data_ == null ? com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.StoragePool value) { if (dataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { dataBuilder_.setMessage(value); } return this; } /** *
       * This specifies data storage settings for column family
       * 
* * .Ydb.Table.StoragePool data = 2; */ public Builder setData( com.yandex.ydb.table.YdbTable.StoragePool.Builder builderForValue) { if (dataBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { dataBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * This specifies data storage settings for column family
       * 
* * .Ydb.Table.StoragePool data = 2; */ public Builder mergeData(com.yandex.ydb.table.YdbTable.StoragePool value) { if (dataBuilder_ == null) { if (data_ != null) { data_ = com.yandex.ydb.table.YdbTable.StoragePool.newBuilder(data_).mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { dataBuilder_.mergeFrom(value); } return this; } /** *
       * This specifies data storage settings for column family
       * 
* * .Ydb.Table.StoragePool data = 2; */ public Builder clearData() { if (dataBuilder_ == null) { data_ = null; onChanged(); } else { data_ = null; dataBuilder_ = null; } return this; } /** *
       * This specifies data storage settings for column family
       * 
* * .Ydb.Table.StoragePool data = 2; */ public com.yandex.ydb.table.YdbTable.StoragePool.Builder getDataBuilder() { onChanged(); return getDataFieldBuilder().getBuilder(); } /** *
       * This specifies data storage settings for column family
       * 
* * .Ydb.Table.StoragePool data = 2; */ public com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder getDataOrBuilder() { if (dataBuilder_ != null) { return dataBuilder_.getMessageOrBuilder(); } else { return data_ == null ? com.yandex.ydb.table.YdbTable.StoragePool.getDefaultInstance() : data_; } } /** *
       * This specifies data storage settings for column family
       * 
* * .Ydb.Table.StoragePool data = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StoragePool, com.yandex.ydb.table.YdbTable.StoragePool.Builder, com.yandex.ydb.table.YdbTable.StoragePoolOrBuilder> getDataFieldBuilder() { if (dataBuilder_ == null) { dataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StoragePool, com.yandex.ydb.table.YdbTable.StoragePool.Builder, com.yandex.ydb.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; onChanged(); return this; } /** *
       * Optionally specify how data should be compressed
       * 
* * .Ydb.Table.ColumnFamily.Compression compression = 3; * @return The compression. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.ColumnFamily.Compression getCompression() { @SuppressWarnings("deprecation") com.yandex.ydb.table.YdbTable.ColumnFamily.Compression result = com.yandex.ydb.table.YdbTable.ColumnFamily.Compression.valueOf(compression_); return result == null ? com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.ColumnFamily.Compression value) { if (value == null) { throw new NullPointerException(); } 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() { 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; 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 com.yandex.ydb.common.CommonProtos.FeatureFlag.Status getKeepInMemory() { @SuppressWarnings("deprecation") com.yandex.ydb.common.CommonProtos.FeatureFlag.Status result = com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.valueOf(keepInMemory_); return result == null ? com.yandex.ydb.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(com.yandex.ydb.common.CommonProtos.FeatureFlag.Status value) { if (value == null) { throw new NullPointerException(); } 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() { 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 com.yandex.ydb.table.YdbTable.ColumnFamily DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.ColumnFamily(); } public static com.yandex.ydb.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 { return new ColumnFamily(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ColumnFamily getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PartitioningSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Table.PartitioningSettings) com.google.protobuf.MessageOrBuilder { /** *
     * 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. */ com.yandex.ydb.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. */ com.yandex.ydb.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() { partitioningBySize_ = 0; partitioningByLoad_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PartitioningSettings(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PartitioningSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 16: { int rawValue = input.readEnum(); partitioningBySize_ = rawValue; break; } case 24: { partitionSizeMb_ = input.readUInt64(); break; } case 32: { int rawValue = input.readEnum(); partitioningByLoad_ = rawValue; break; } case 48: { minPartitionsCount_ = input.readUInt64(); break; } case 56: { maxPartitionsCount_ = input.readUInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_PartitioningSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_PartitioningSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.PartitioningSettings.class, com.yandex.ydb.table.YdbTable.PartitioningSettings.Builder.class); } public static final int PARTITIONING_BY_SIZE_FIELD_NUMBER = 2; private int partitioningBySize_; /** *
     * 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 com.yandex.ydb.common.CommonProtos.FeatureFlag.Status getPartitioningBySize() { @SuppressWarnings("deprecation") com.yandex.ydb.common.CommonProtos.FeatureFlag.Status result = com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.valueOf(partitioningBySize_); return result == null ? com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } public static final int PARTITION_SIZE_MB_FIELD_NUMBER = 3; 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_; } public static final int PARTITIONING_BY_LOAD_FIELD_NUMBER = 4; private int partitioningByLoad_; /** *
     * 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 com.yandex.ydb.common.CommonProtos.FeatureFlag.Status getPartitioningByLoad() { @SuppressWarnings("deprecation") com.yandex.ydb.common.CommonProtos.FeatureFlag.Status result = com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.valueOf(partitioningByLoad_); return result == null ? com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } public static final int MIN_PARTITIONS_COUNT_FIELD_NUMBER = 6; 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_; } public static final int MAX_PARTITIONS_COUNT_FIELD_NUMBER = 7; 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_; } 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 (partitioningBySize_ != com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(2, partitioningBySize_); } if (partitionSizeMb_ != 0L) { output.writeUInt64(3, partitionSizeMb_); } if (partitioningByLoad_ != com.yandex.ydb.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_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (partitioningBySize_ != com.yandex.ydb.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_ != com.yandex.ydb.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 += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.PartitioningSettings)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.PartitioningSettings other = (com.yandex.ydb.table.YdbTable.PartitioningSettings) obj; 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 (!unknownFields.equals(other.unknownFields)) 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) + 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.PartitioningSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PartitioningSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PartitioningSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.PartitioningSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.PartitioningSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PartitioningSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PartitioningSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.PartitioningSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_PartitioningSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_PartitioningSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.PartitioningSettings.class, com.yandex.ydb.table.YdbTable.PartitioningSettings.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.PartitioningSettings.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); partitioningBySize_ = 0; partitionSizeMb_ = 0L; partitioningByLoad_ = 0; minPartitionsCount_ = 0L; maxPartitionsCount_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_PartitioningSettings_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.PartitioningSettings getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.PartitioningSettings.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.PartitioningSettings build() { com.yandex.ydb.table.YdbTable.PartitioningSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.PartitioningSettings buildPartial() { com.yandex.ydb.table.YdbTable.PartitioningSettings result = new com.yandex.ydb.table.YdbTable.PartitioningSettings(this); result.partitioningBySize_ = partitioningBySize_; result.partitionSizeMb_ = partitionSizeMb_; result.partitioningByLoad_ = partitioningByLoad_; result.minPartitionsCount_ = minPartitionsCount_; result.maxPartitionsCount_ = maxPartitionsCount_; 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 com.yandex.ydb.table.YdbTable.PartitioningSettings) { return mergeFrom((com.yandex.ydb.table.YdbTable.PartitioningSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.PartitioningSettings other) { if (other == com.yandex.ydb.table.YdbTable.PartitioningSettings.getDefaultInstance()) return this; 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.unknownFields); 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 { com.yandex.ydb.table.YdbTable.PartitioningSettings parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.PartitioningSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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; 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 com.yandex.ydb.common.CommonProtos.FeatureFlag.Status getPartitioningBySize() { @SuppressWarnings("deprecation") com.yandex.ydb.common.CommonProtos.FeatureFlag.Status result = com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.valueOf(partitioningBySize_); return result == null ? com.yandex.ydb.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(com.yandex.ydb.common.CommonProtos.FeatureFlag.Status value) { if (value == null) { throw new NullPointerException(); } 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() { 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; 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() { 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; 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 com.yandex.ydb.common.CommonProtos.FeatureFlag.Status getPartitioningByLoad() { @SuppressWarnings("deprecation") com.yandex.ydb.common.CommonProtos.FeatureFlag.Status result = com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.valueOf(partitioningByLoad_); return result == null ? com.yandex.ydb.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(com.yandex.ydb.common.CommonProtos.FeatureFlag.Status value) { if (value == null) { throw new NullPointerException(); } 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() { 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; 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() { 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; 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() { 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 com.yandex.ydb.table.YdbTable.PartitioningSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.PartitioningSettings(); } public static com.yandex.ydb.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 { return new PartitioningSettings(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AzReadReplicasSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); name_ = s; break; } case 16: { readReplicasCount_ = input.readUInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_AzReadReplicasSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_AzReadReplicasSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.AzReadReplicasSettings.class, com.yandex.ydb.table.YdbTable.AzReadReplicasSettings.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; 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_; /** *
     * 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (readReplicasCount_ != 0L) { output.writeUInt64(2, readReplicasCount_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (readReplicasCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, readReplicasCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.AzReadReplicasSettings)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.AzReadReplicasSettings other = (com.yandex.ydb.table.YdbTable.AzReadReplicasSettings) obj; if (!getName() .equals(other.getName())) return false; if (getReadReplicasCount() != other.getReadReplicasCount()) return false; if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.AzReadReplicasSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.AzReadReplicasSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.AzReadReplicasSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.AzReadReplicasSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.AzReadReplicasSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.AzReadReplicasSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.AzReadReplicasSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.AzReadReplicasSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_AzReadReplicasSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_AzReadReplicasSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.AzReadReplicasSettings.class, com.yandex.ydb.table.YdbTable.AzReadReplicasSettings.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.AzReadReplicasSettings.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; readReplicasCount_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_AzReadReplicasSettings_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.AzReadReplicasSettings getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.AzReadReplicasSettings.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.AzReadReplicasSettings build() { com.yandex.ydb.table.YdbTable.AzReadReplicasSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.AzReadReplicasSettings buildPartial() { com.yandex.ydb.table.YdbTable.AzReadReplicasSettings result = new com.yandex.ydb.table.YdbTable.AzReadReplicasSettings(this); result.name_ = name_; result.readReplicasCount_ = readReplicasCount_; 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 com.yandex.ydb.table.YdbTable.AzReadReplicasSettings) { return mergeFrom((com.yandex.ydb.table.YdbTable.AzReadReplicasSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.AzReadReplicasSettings other) { if (other == com.yandex.ydb.table.YdbTable.AzReadReplicasSettings.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (other.getReadReplicasCount() != 0L) { setReadReplicasCount(other.getReadReplicasCount()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.AzReadReplicasSettings parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.AzReadReplicasSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; onChanged(); return this; } /** *
       * AZ name
       * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); 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; 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; onChanged(); return this; } /** *
       * Read replicas count in this AZ
       * 
* * uint64 read_replicas_count = 2; * @return This builder for chaining. */ public Builder clearReadReplicasCount() { 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 com.yandex.ydb.table.YdbTable.AzReadReplicasSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.AzReadReplicasSettings(); } public static com.yandex.ydb.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 { return new AzReadReplicasSettings(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ClusterReplicasSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { azReadReplicasSettings_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } azReadReplicasSettings_.add( input.readMessage(com.yandex.ydb.table.YdbTable.AzReadReplicasSettings.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { azReadReplicasSettings_ = java.util.Collections.unmodifiableList(azReadReplicasSettings_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ClusterReplicasSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ClusterReplicasSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ClusterReplicasSettings.class, com.yandex.ydb.table.YdbTable.ClusterReplicasSettings.Builder.class); } public static final int AZ_READ_REPLICAS_SETTINGS_FIELD_NUMBER = 2; 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 com.yandex.ydb.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 com.yandex.ydb.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)); } unknownFields.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 += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.ClusterReplicasSettings)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.ClusterReplicasSettings other = (com.yandex.ydb.table.YdbTable.ClusterReplicasSettings) obj; if (!getAzReadReplicasSettingsList() .equals(other.getAzReadReplicasSettingsList())) return false; if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.ClusterReplicasSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ClusterReplicasSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ClusterReplicasSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.ClusterReplicasSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.ClusterReplicasSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ClusterReplicasSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ClusterReplicasSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.ClusterReplicasSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ClusterReplicasSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ClusterReplicasSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ClusterReplicasSettings.class, com.yandex.ydb.table.YdbTable.ClusterReplicasSettings.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.ClusterReplicasSettings.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getAzReadReplicasSettingsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (azReadReplicasSettingsBuilder_ == null) { azReadReplicasSettings_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { azReadReplicasSettingsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ClusterReplicasSettings_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ClusterReplicasSettings getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.ClusterReplicasSettings.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.ClusterReplicasSettings build() { com.yandex.ydb.table.YdbTable.ClusterReplicasSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ClusterReplicasSettings buildPartial() { com.yandex.ydb.table.YdbTable.ClusterReplicasSettings result = new com.yandex.ydb.table.YdbTable.ClusterReplicasSettings(this); int from_bitField0_ = bitField0_; if (azReadReplicasSettingsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { azReadReplicasSettings_ = java.util.Collections.unmodifiableList(azReadReplicasSettings_); bitField0_ = (bitField0_ & ~0x00000001); } result.azReadReplicasSettings_ = azReadReplicasSettings_; } else { result.azReadReplicasSettings_ = azReadReplicasSettingsBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.ClusterReplicasSettings) { return mergeFrom((com.yandex.ydb.table.YdbTable.ClusterReplicasSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.ClusterReplicasSettings other) { if (other == com.yandex.ydb.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.unknownFields); 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 { com.yandex.ydb.table.YdbTable.ClusterReplicasSettings parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.ClusterReplicasSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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< com.yandex.ydb.table.YdbTable.AzReadReplicasSettings, com.yandex.ydb.table.YdbTable.AzReadReplicasSettings.Builder, com.yandex.ydb.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 com.yandex.ydb.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, com.yandex.ydb.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, com.yandex.ydb.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(com.yandex.ydb.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, com.yandex.ydb.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( com.yandex.ydb.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, com.yandex.ydb.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 com.yandex.ydb.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 com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.AzReadReplicasSettings.Builder addAzReadReplicasSettingsBuilder() { return getAzReadReplicasSettingsFieldBuilder().addBuilder( com.yandex.ydb.table.YdbTable.AzReadReplicasSettings.getDefaultInstance()); } /** *
       * List of read replicas settings for each AZ
       * 
* * repeated .Ydb.Table.AzReadReplicasSettings az_read_replicas_settings = 2; */ public com.yandex.ydb.table.YdbTable.AzReadReplicasSettings.Builder addAzReadReplicasSettingsBuilder( int index) { return getAzReadReplicasSettingsFieldBuilder().addBuilder( index, com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.AzReadReplicasSettings, com.yandex.ydb.table.YdbTable.AzReadReplicasSettings.Builder, com.yandex.ydb.table.YdbTable.AzReadReplicasSettingsOrBuilder> getAzReadReplicasSettingsFieldBuilder() { if (azReadReplicasSettingsBuilder_ == null) { azReadReplicasSettingsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.AzReadReplicasSettings, com.yandex.ydb.table.YdbTable.AzReadReplicasSettings.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ClusterReplicasSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.ClusterReplicasSettings(); } public static com.yandex.ydb.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 { return new ClusterReplicasSettings(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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(); public com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ReadReplicasSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { settingsCase_ = 1; settings_ = input.readUInt64(); break; } case 16: { settingsCase_ = 2; settings_ = input.readUInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ReadReplicasSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ReadReplicasSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ReadReplicasSettings.class, com.yandex.ydb.table.YdbTable.ReadReplicasSettings.Builder.class); } private int settingsCase_ = 0; 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_)); } unknownFields.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 += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.ReadReplicasSettings)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.ReadReplicasSettings other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.ReadReplicasSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ReadReplicasSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ReadReplicasSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.ReadReplicasSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.ReadReplicasSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ReadReplicasSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ReadReplicasSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.ReadReplicasSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ReadReplicasSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ReadReplicasSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ReadReplicasSettings.class, com.yandex.ydb.table.YdbTable.ReadReplicasSettings.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.ReadReplicasSettings.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); settingsCase_ = 0; settings_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ReadReplicasSettings_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ReadReplicasSettings getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.ReadReplicasSettings.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.ReadReplicasSettings build() { com.yandex.ydb.table.YdbTable.ReadReplicasSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ReadReplicasSettings buildPartial() { com.yandex.ydb.table.YdbTable.ReadReplicasSettings result = new com.yandex.ydb.table.YdbTable.ReadReplicasSettings(this); if (settingsCase_ == 1) { result.settings_ = settings_; } if (settingsCase_ == 2) { result.settings_ = settings_; } result.settingsCase_ = settingsCase_; 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 com.yandex.ydb.table.YdbTable.ReadReplicasSettings) { return mergeFrom((com.yandex.ydb.table.YdbTable.ReadReplicasSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.ReadReplicasSettings other) { if (other == com.yandex.ydb.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.unknownFields); 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 { com.yandex.ydb.table.YdbTable.ReadReplicasSettings parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.ReadReplicasSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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; } /** *
       * 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 com.yandex.ydb.table.YdbTable.ReadReplicasSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.ReadReplicasSettings(); } public static com.yandex.ydb.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 { return new ReadReplicasSettings(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.TableProfile getProfile(); /** *
     * Table profile
     * 
* * .Ydb.Table.TableProfile profile = 5; */ com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 6; */ com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.TtlSettings getTtlSettings(); /** *
     * Table rows time to live settings
     * 
* * .Ydb.Table.TtlSettings ttl_settings = 8; */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.StorageSettings getStorageSettings(); /** *
     * Storage settings for table
     * 
* * .Ydb.Table.StorageSettings storage_settings = 9; */ com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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) = { ... } */ java.lang.String getAttributesOrDefault( java.lang.String key, 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. */ com.yandex.ydb.table.YdbTable.ExplicitPartitions getPartitionAtKeys(); /** *
     * Explicitly specify key values which are used as borders for created partitions.
     * 
* * .Ydb.Table.ExplicitPartitions partition_at_keys = 14; */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.PartitioningSettings getPartitioningSettings(); /** *
     * Partitioning settings for table
     * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 15; */ com.yandex.ydb.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. */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.ReadReplicasSettings getReadReplicasSettings(); /** *
     * Read replicas settings for table
     * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 17; */ com.yandex.ydb.table.YdbTable.ReadReplicasSettingsOrBuilder getReadReplicasSettingsOrBuilder(); public com.yandex.ydb.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.EMPTY; indexes_ = java.util.Collections.emptyList(); columnFamilies_ = java.util.Collections.emptyList(); compactionPolicy_ = ""; keyBloomFilter_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CreateTableRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CreateTableRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); sessionId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); path_ = s; break; } case 26: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { columns_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } columns_.add( input.readMessage(com.yandex.ydb.table.YdbTable.ColumnMeta.parser(), extensionRegistry)); break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { primaryKey_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; } primaryKey_.add(s); break; } case 42: { com.yandex.ydb.table.YdbTable.TableProfile.Builder subBuilder = null; if (profile_ != null) { subBuilder = profile_.toBuilder(); } profile_ = input.readMessage(com.yandex.ydb.table.YdbTable.TableProfile.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(profile_); profile_ = subBuilder.buildPartial(); } break; } case 50: { com.yandex.ydb.OperationProtos.OperationParams.Builder subBuilder = null; if (operationParams_ != null) { subBuilder = operationParams_.toBuilder(); } operationParams_ = input.readMessage(com.yandex.ydb.OperationProtos.OperationParams.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operationParams_); operationParams_ = subBuilder.buildPartial(); } break; } case 58: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { indexes_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } indexes_.add( input.readMessage(com.yandex.ydb.table.YdbTable.TableIndex.parser(), extensionRegistry)); break; } case 66: { com.yandex.ydb.table.YdbTable.TtlSettings.Builder subBuilder = null; if (ttlSettings_ != null) { subBuilder = ttlSettings_.toBuilder(); } ttlSettings_ = input.readMessage(com.yandex.ydb.table.YdbTable.TtlSettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(ttlSettings_); ttlSettings_ = subBuilder.buildPartial(); } break; } case 74: { com.yandex.ydb.table.YdbTable.StorageSettings.Builder subBuilder = null; if (storageSettings_ != null) { subBuilder = storageSettings_.toBuilder(); } storageSettings_ = input.readMessage(com.yandex.ydb.table.YdbTable.StorageSettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(storageSettings_); storageSettings_ = subBuilder.buildPartial(); } break; } case 82: { if (!((mutable_bitField0_ & 0x00000008) != 0)) { columnFamilies_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } columnFamilies_.add( input.readMessage(com.yandex.ydb.table.YdbTable.ColumnFamily.parser(), extensionRegistry)); break; } case 90: { if (!((mutable_bitField0_ & 0x00000010) != 0)) { attributes_ = com.google.protobuf.MapField.newMapField( AttributesDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000010; } com.google.protobuf.MapEntry attributes__ = input.readMessage( AttributesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); attributes_.getMutableMap().put( attributes__.getKey(), attributes__.getValue()); break; } case 98: { java.lang.String s = input.readStringRequireUtf8(); compactionPolicy_ = s; break; } case 104: { partitionsCase_ = 13; partitions_ = input.readUInt64(); break; } case 114: { com.yandex.ydb.table.YdbTable.ExplicitPartitions.Builder subBuilder = null; if (partitionsCase_ == 14) { subBuilder = ((com.yandex.ydb.table.YdbTable.ExplicitPartitions) partitions_).toBuilder(); } partitions_ = input.readMessage(com.yandex.ydb.table.YdbTable.ExplicitPartitions.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.yandex.ydb.table.YdbTable.ExplicitPartitions) partitions_); partitions_ = subBuilder.buildPartial(); } partitionsCase_ = 14; break; } case 122: { com.yandex.ydb.table.YdbTable.PartitioningSettings.Builder subBuilder = null; if (partitioningSettings_ != null) { subBuilder = partitioningSettings_.toBuilder(); } partitioningSettings_ = input.readMessage(com.yandex.ydb.table.YdbTable.PartitioningSettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(partitioningSettings_); partitioningSettings_ = subBuilder.buildPartial(); } break; } case 128: { int rawValue = input.readEnum(); keyBloomFilter_ = rawValue; break; } case 138: { com.yandex.ydb.table.YdbTable.ReadReplicasSettings.Builder subBuilder = null; if (readReplicasSettings_ != null) { subBuilder = readReplicasSettings_.toBuilder(); } readReplicasSettings_ = input.readMessage(com.yandex.ydb.table.YdbTable.ReadReplicasSettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(readReplicasSettings_); readReplicasSettings_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { columns_ = java.util.Collections.unmodifiableList(columns_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { primaryKey_ = primaryKey_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000004) != 0)) { indexes_ = java.util.Collections.unmodifiableList(indexes_); } if (((mutable_bitField0_ & 0x00000008) != 0)) { columnFamilies_ = java.util.Collections.unmodifiableList(columnFamilies_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CreateTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CreateTableRequest.class, com.yandex.ydb.table.YdbTable.CreateTableRequest.Builder.class); } private int partitionsCase_ = 0; 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; 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; 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; 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 com.yandex.ydb.table.YdbTable.ColumnMeta getColumns(int index) { return columns_.get(index); } /** *
     * Columns (name, type)
     * 
* * repeated .Ydb.Table.ColumnMeta columns = 3; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.ColumnMetaOrBuilder getColumnsOrBuilder( int index) { return columns_.get(index); } public static final int PRIMARY_KEY_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList primaryKey_; /** *
     * 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 com.yandex.ydb.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 profile_ != null; } /** *
     * Table profile
     * 
* * .Ydb.Table.TableProfile profile = 5; * @return The profile. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.TableProfile getProfile() { return profile_ == null ? com.yandex.ydb.table.YdbTable.TableProfile.getDefaultInstance() : profile_; } /** *
     * Table profile
     * 
* * .Ydb.Table.TableProfile profile = 5; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.TableProfileOrBuilder getProfileOrBuilder() { return getProfile(); } public static final int OPERATION_PARAMS_FIELD_NUMBER = 6; private com.yandex.ydb.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 6; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 6; * @return The operationParams. */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } /** * .Ydb.Operations.OperationParams operation_params = 6; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return getOperationParams(); } public static final int INDEXES_FIELD_NUMBER = 7; 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 com.yandex.ydb.table.YdbTable.TableIndex getIndexes(int index) { return indexes_.get(index); } /** *
     * List of secondary indexes
     * 
* * repeated .Ydb.Table.TableIndex indexes = 7; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.TableIndexOrBuilder getIndexesOrBuilder( int index) { return indexes_.get(index); } public static final int TTL_SETTINGS_FIELD_NUMBER = 8; private com.yandex.ydb.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 ttlSettings_ != null; } /** *
     * Table rows time to live settings
     * 
* * .Ydb.Table.TtlSettings ttl_settings = 8; * @return The ttlSettings. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.TtlSettings getTtlSettings() { return ttlSettings_ == null ? com.yandex.ydb.table.YdbTable.TtlSettings.getDefaultInstance() : ttlSettings_; } /** *
     * Table rows time to live settings
     * 
* * .Ydb.Table.TtlSettings ttl_settings = 8; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.TtlSettingsOrBuilder getTtlSettingsOrBuilder() { return getTtlSettings(); } public static final int STORAGE_SETTINGS_FIELD_NUMBER = 9; private com.yandex.ydb.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 storageSettings_ != null; } /** *
     * Storage settings for table
     * 
* * .Ydb.Table.StorageSettings storage_settings = 9; * @return The storageSettings. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.StorageSettings getStorageSettings() { return storageSettings_ == null ? com.yandex.ydb.table.YdbTable.StorageSettings.getDefaultInstance() : storageSettings_; } /** *
     * Storage settings for table
     * 
* * .Ydb.Table.StorageSettings storage_settings = 9; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.StorageSettingsOrBuilder getStorageSettingsOrBuilder() { return getStorageSettings(); } public static final int COLUMN_FAMILIES_FIELD_NUMBER = 10; 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 com.yandex.ydb.table.YdbTable.ColumnFamily getColumnFamilies(int index) { return columnFamilies_.get(index); } /** *
     * Column families
     * 
* * repeated .Ydb.Table.ColumnFamily column_families = 10; */ @java.lang.Override public com.yandex.ydb.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( com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CreateTableRequest_AttributesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } 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 java.lang.NullPointerException(); } 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 java.lang.String getAttributesOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } 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 java.lang.NullPointerException(); } 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; 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 com.yandex.ydb.table.YdbTable.ExplicitPartitions getPartitionAtKeys() { if (partitionsCase_ == 14) { return (com.yandex.ydb.table.YdbTable.ExplicitPartitions) partitions_; } return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExplicitPartitionsOrBuilder getPartitionAtKeysOrBuilder() { if (partitionsCase_ == 14) { return (com.yandex.ydb.table.YdbTable.ExplicitPartitions) partitions_; } return com.yandex.ydb.table.YdbTable.ExplicitPartitions.getDefaultInstance(); } public static final int PARTITIONING_SETTINGS_FIELD_NUMBER = 15; private com.yandex.ydb.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 partitioningSettings_ != null; } /** *
     * Partitioning settings for table
     * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 15; * @return The partitioningSettings. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.PartitioningSettings getPartitioningSettings() { return partitioningSettings_ == null ? com.yandex.ydb.table.YdbTable.PartitioningSettings.getDefaultInstance() : partitioningSettings_; } /** *
     * Partitioning settings for table
     * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 15; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.PartitioningSettingsOrBuilder getPartitioningSettingsOrBuilder() { return getPartitioningSettings(); } public static final int KEY_BLOOM_FILTER_FIELD_NUMBER = 16; private int keyBloomFilter_; /** *
     * 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 com.yandex.ydb.common.CommonProtos.FeatureFlag.Status getKeyBloomFilter() { @SuppressWarnings("deprecation") com.yandex.ydb.common.CommonProtos.FeatureFlag.Status result = com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.valueOf(keyBloomFilter_); return result == null ? com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } public static final int READ_REPLICAS_SETTINGS_FIELD_NUMBER = 17; private com.yandex.ydb.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 readReplicasSettings_ != null; } /** *
     * Read replicas settings for table
     * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 17; * @return The readReplicasSettings. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.ReadReplicasSettings getReadReplicasSettings() { return readReplicasSettings_ == null ? com.yandex.ydb.table.YdbTable.ReadReplicasSettings.getDefaultInstance() : readReplicasSettings_; } /** *
     * Read replicas settings for table
     * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 17; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.ReadReplicasSettingsOrBuilder getReadReplicasSettingsOrBuilder() { return getReadReplicasSettings(); } 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 (!getSessionIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_); } if (!getPathBytes().isEmpty()) { 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 (profile_ != null) { output.writeMessage(5, getProfile()); } if (operationParams_ != null) { output.writeMessage(6, getOperationParams()); } for (int i = 0; i < indexes_.size(); i++) { output.writeMessage(7, indexes_.get(i)); } if (ttlSettings_ != null) { output.writeMessage(8, getTtlSettings()); } if (storageSettings_ != null) { 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 (!getCompactionPolicyBytes().isEmpty()) { 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, (com.yandex.ydb.table.YdbTable.ExplicitPartitions) partitions_); } if (partitioningSettings_ != null) { output.writeMessage(15, getPartitioningSettings()); } if (keyBloomFilter_ != com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(16, keyBloomFilter_); } if (readReplicasSettings_ != null) { output.writeMessage(17, getReadReplicasSettings()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getSessionIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_); } if (!getPathBytes().isEmpty()) { 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 (profile_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getProfile()); } if (operationParams_ != null) { 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 (ttlSettings_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getTtlSettings()); } if (storageSettings_ != null) { 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 (!getCompactionPolicyBytes().isEmpty()) { 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, (com.yandex.ydb.table.YdbTable.ExplicitPartitions) partitions_); } if (partitioningSettings_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, getPartitioningSettings()); } if (keyBloomFilter_ != com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(16, keyBloomFilter_); } if (readReplicasSettings_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(17, getReadReplicasSettings()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.CreateTableRequest)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.CreateTableRequest other = (com.yandex.ydb.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 (!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 (!unknownFields.equals(other.unknownFields)) 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(); } 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.CreateTableRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CreateTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CreateTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.CreateTableRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.CreateTableRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CreateTableRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CreateTableRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.CreateTableRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CreateTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CreateTableRequest.class, com.yandex.ydb.table.YdbTable.CreateTableRequest.Builder.class); } // Construct using com.yandex.ydb.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(); getIndexesFieldBuilder(); getColumnFamiliesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); sessionId_ = ""; path_ = ""; if (columnsBuilder_ == null) { columns_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { columnsBuilder_.clear(); } primaryKey_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); if (profileBuilder_ == null) { profile_ = null; } else { profile_ = null; profileBuilder_ = null; } if (operationParamsBuilder_ == null) { operationParams_ = null; } else { operationParams_ = null; operationParamsBuilder_ = null; } if (indexesBuilder_ == null) { indexes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { indexesBuilder_.clear(); } if (ttlSettingsBuilder_ == null) { ttlSettings_ = null; } else { ttlSettings_ = null; ttlSettingsBuilder_ = null; } if (storageSettingsBuilder_ == null) { storageSettings_ = null; } else { storageSettings_ = null; storageSettingsBuilder_ = null; } if (columnFamiliesBuilder_ == null) { columnFamilies_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { columnFamiliesBuilder_.clear(); } internalGetMutableAttributes().clear(); compactionPolicy_ = ""; if (partitioningSettingsBuilder_ == null) { partitioningSettings_ = null; } else { partitioningSettings_ = null; partitioningSettingsBuilder_ = null; } keyBloomFilter_ = 0; if (readReplicasSettingsBuilder_ == null) { readReplicasSettings_ = null; } else { readReplicasSettings_ = null; readReplicasSettingsBuilder_ = null; } partitionsCase_ = 0; partitions_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CreateTableRequest_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CreateTableRequest getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.CreateTableRequest.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.CreateTableRequest build() { com.yandex.ydb.table.YdbTable.CreateTableRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CreateTableRequest buildPartial() { com.yandex.ydb.table.YdbTable.CreateTableRequest result = new com.yandex.ydb.table.YdbTable.CreateTableRequest(this); int from_bitField0_ = bitField0_; result.sessionId_ = sessionId_; result.path_ = path_; if (columnsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { columns_ = java.util.Collections.unmodifiableList(columns_); bitField0_ = (bitField0_ & ~0x00000001); } result.columns_ = columns_; } else { result.columns_ = columnsBuilder_.build(); } if (((bitField0_ & 0x00000002) != 0)) { primaryKey_ = primaryKey_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } result.primaryKey_ = primaryKey_; if (profileBuilder_ == null) { result.profile_ = profile_; } else { result.profile_ = profileBuilder_.build(); } if (operationParamsBuilder_ == null) { result.operationParams_ = operationParams_; } else { result.operationParams_ = operationParamsBuilder_.build(); } if (indexesBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { indexes_ = java.util.Collections.unmodifiableList(indexes_); bitField0_ = (bitField0_ & ~0x00000004); } result.indexes_ = indexes_; } else { result.indexes_ = indexesBuilder_.build(); } if (ttlSettingsBuilder_ == null) { result.ttlSettings_ = ttlSettings_; } else { result.ttlSettings_ = ttlSettingsBuilder_.build(); } if (storageSettingsBuilder_ == null) { result.storageSettings_ = storageSettings_; } else { result.storageSettings_ = storageSettingsBuilder_.build(); } if (columnFamiliesBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { columnFamilies_ = java.util.Collections.unmodifiableList(columnFamilies_); bitField0_ = (bitField0_ & ~0x00000008); } result.columnFamilies_ = columnFamilies_; } else { result.columnFamilies_ = columnFamiliesBuilder_.build(); } result.attributes_ = internalGetAttributes(); result.attributes_.makeImmutable(); result.compactionPolicy_ = compactionPolicy_; if (partitionsCase_ == 13) { result.partitions_ = partitions_; } if (partitionsCase_ == 14) { if (partitionAtKeysBuilder_ == null) { result.partitions_ = partitions_; } else { result.partitions_ = partitionAtKeysBuilder_.build(); } } if (partitioningSettingsBuilder_ == null) { result.partitioningSettings_ = partitioningSettings_; } else { result.partitioningSettings_ = partitioningSettingsBuilder_.build(); } result.keyBloomFilter_ = keyBloomFilter_; if (readReplicasSettingsBuilder_ == null) { result.readReplicasSettings_ = readReplicasSettings_; } else { result.readReplicasSettings_ = readReplicasSettingsBuilder_.build(); } result.partitionsCase_ = partitionsCase_; 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 com.yandex.ydb.table.YdbTable.CreateTableRequest) { return mergeFrom((com.yandex.ydb.table.YdbTable.CreateTableRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.CreateTableRequest other) { if (other == com.yandex.ydb.table.YdbTable.CreateTableRequest.getDefaultInstance()) return this; if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; onChanged(); } if (!other.getPath().isEmpty()) { path_ = other.path_; onChanged(); } if (columnsBuilder_ == null) { if (!other.columns_.isEmpty()) { if (columns_.isEmpty()) { columns_ = other.columns_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureColumnsIsMutable(); columns_.addAll(other.columns_); } onChanged(); } } else { if (!other.columns_.isEmpty()) { if (columnsBuilder_.isEmpty()) { columnsBuilder_.dispose(); columnsBuilder_ = null; columns_ = other.columns_; bitField0_ = (bitField0_ & ~0x00000001); columnsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getColumnsFieldBuilder() : null; } else { columnsBuilder_.addAllMessages(other.columns_); } } } if (!other.primaryKey_.isEmpty()) { if (primaryKey_.isEmpty()) { primaryKey_ = other.primaryKey_; bitField0_ = (bitField0_ & ~0x00000002); } 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_ & ~0x00000004); } else { ensureIndexesIsMutable(); indexes_.addAll(other.indexes_); } onChanged(); } } else { if (!other.indexes_.isEmpty()) { if (indexesBuilder_.isEmpty()) { indexesBuilder_.dispose(); indexesBuilder_ = null; indexes_ = other.indexes_; bitField0_ = (bitField0_ & ~0x00000004); 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_ & ~0x00000008); } else { ensureColumnFamiliesIsMutable(); columnFamilies_.addAll(other.columnFamilies_); } onChanged(); } } else { if (!other.columnFamilies_.isEmpty()) { if (columnFamiliesBuilder_.isEmpty()) { columnFamiliesBuilder_.dispose(); columnFamiliesBuilder_ = null; columnFamilies_ = other.columnFamilies_; bitField0_ = (bitField0_ & ~0x00000008); columnFamiliesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getColumnFamiliesFieldBuilder() : null; } else { columnFamiliesBuilder_.addAllMessages(other.columnFamilies_); } } } internalGetMutableAttributes().mergeFrom( other.internalGetAttributes()); if (!other.getCompactionPolicy().isEmpty()) { compactionPolicy_ = other.compactionPolicy_; onChanged(); } if (other.hasPartitioningSettings()) { mergePartitioningSettings(other.getPartitioningSettings()); } if (other.keyBloomFilter_ != 0) { setKeyBloomFilterValue(other.getKeyBloomFilterValue()); } if (other.hasReadReplicasSettings()) { mergeReadReplicasSettings(other.getReadReplicasSettings()); } 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.unknownFields); 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 { com.yandex.ydb.table.YdbTable.CreateTableRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.CreateTableRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); 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; 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; onChanged(); return this; } /** *
       * Full path
       * 
* * string path = 2; * @return This builder for chaining. */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); 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; onChanged(); return this; } private java.util.List columns_ = java.util.Collections.emptyList(); private void ensureColumnsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { columns_ = new java.util.ArrayList(columns_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.ColumnMeta, com.yandex.ydb.table.YdbTable.ColumnMeta.Builder, com.yandex.ydb.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 com.yandex.ydb.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, com.yandex.ydb.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, com.yandex.ydb.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(com.yandex.ydb.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, com.yandex.ydb.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( com.yandex.ydb.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, com.yandex.ydb.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_ & ~0x00000001); 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 com.yandex.ydb.table.YdbTable.ColumnMeta.Builder getColumnsBuilder( int index) { return getColumnsFieldBuilder().getBuilder(index); } /** *
       * Columns (name, type)
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 3; */ public com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ColumnMeta.Builder addColumnsBuilder() { return getColumnsFieldBuilder().addBuilder( com.yandex.ydb.table.YdbTable.ColumnMeta.getDefaultInstance()); } /** *
       * Columns (name, type)
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 3; */ public com.yandex.ydb.table.YdbTable.ColumnMeta.Builder addColumnsBuilder( int index) { return getColumnsFieldBuilder().addBuilder( index, com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.ColumnMeta, com.yandex.ydb.table.YdbTable.ColumnMeta.Builder, com.yandex.ydb.table.YdbTable.ColumnMetaOrBuilder> getColumnsFieldBuilder() { if (columnsBuilder_ == null) { columnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.ColumnMeta, com.yandex.ydb.table.YdbTable.ColumnMeta.Builder, com.yandex.ydb.table.YdbTable.ColumnMetaOrBuilder>( columns_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); columns_ = null; } return columnsBuilder_; } private com.google.protobuf.LazyStringList primaryKey_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePrimaryKeyIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { primaryKey_ = new com.google.protobuf.LazyStringArrayList(primaryKey_); bitField0_ |= 0x00000002; } } /** *
       * 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_.getUnmodifiableView(); } /** *
       * 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); 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); 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_); 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.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); 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); onChanged(); return this; } private com.yandex.ydb.table.YdbTable.TableProfile profile_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.TableProfile, com.yandex.ydb.table.YdbTable.TableProfile.Builder, com.yandex.ydb.table.YdbTable.TableProfileOrBuilder> profileBuilder_; /** *
       * Table profile
       * 
* * .Ydb.Table.TableProfile profile = 5; * @return Whether the profile field is set. */ public boolean hasProfile() { return profileBuilder_ != null || profile_ != null; } /** *
       * Table profile
       * 
* * .Ydb.Table.TableProfile profile = 5; * @return The profile. */ public com.yandex.ydb.table.YdbTable.TableProfile getProfile() { if (profileBuilder_ == null) { return profile_ == null ? com.yandex.ydb.table.YdbTable.TableProfile.getDefaultInstance() : profile_; } else { return profileBuilder_.getMessage(); } } /** *
       * Table profile
       * 
* * .Ydb.Table.TableProfile profile = 5; */ public Builder setProfile(com.yandex.ydb.table.YdbTable.TableProfile value) { if (profileBuilder_ == null) { if (value == null) { throw new NullPointerException(); } profile_ = value; onChanged(); } else { profileBuilder_.setMessage(value); } return this; } /** *
       * Table profile
       * 
* * .Ydb.Table.TableProfile profile = 5; */ public Builder setProfile( com.yandex.ydb.table.YdbTable.TableProfile.Builder builderForValue) { if (profileBuilder_ == null) { profile_ = builderForValue.build(); onChanged(); } else { profileBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Table profile
       * 
* * .Ydb.Table.TableProfile profile = 5; */ public Builder mergeProfile(com.yandex.ydb.table.YdbTable.TableProfile value) { if (profileBuilder_ == null) { if (profile_ != null) { profile_ = com.yandex.ydb.table.YdbTable.TableProfile.newBuilder(profile_).mergeFrom(value).buildPartial(); } else { profile_ = value; } onChanged(); } else { profileBuilder_.mergeFrom(value); } return this; } /** *
       * Table profile
       * 
* * .Ydb.Table.TableProfile profile = 5; */ public Builder clearProfile() { if (profileBuilder_ == null) { profile_ = null; onChanged(); } else { profile_ = null; profileBuilder_ = null; } return this; } /** *
       * Table profile
       * 
* * .Ydb.Table.TableProfile profile = 5; */ public com.yandex.ydb.table.YdbTable.TableProfile.Builder getProfileBuilder() { onChanged(); return getProfileFieldBuilder().getBuilder(); } /** *
       * Table profile
       * 
* * .Ydb.Table.TableProfile profile = 5; */ public com.yandex.ydb.table.YdbTable.TableProfileOrBuilder getProfileOrBuilder() { if (profileBuilder_ != null) { return profileBuilder_.getMessageOrBuilder(); } else { return profile_ == null ? com.yandex.ydb.table.YdbTable.TableProfile.getDefaultInstance() : profile_; } } /** *
       * Table profile
       * 
* * .Ydb.Table.TableProfile profile = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.TableProfile, com.yandex.ydb.table.YdbTable.TableProfile.Builder, com.yandex.ydb.table.YdbTable.TableProfileOrBuilder> getProfileFieldBuilder() { if (profileBuilder_ == null) { profileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.TableProfile, com.yandex.ydb.table.YdbTable.TableProfile.Builder, com.yandex.ydb.table.YdbTable.TableProfileOrBuilder>( getProfile(), getParentForChildren(), isClean()); profile_ = null; } return profileBuilder_; } private com.yandex.ydb.OperationProtos.OperationParams operationParams_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> operationParamsBuilder_; /** * .Ydb.Operations.OperationParams operation_params = 6; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return operationParamsBuilder_ != null || operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 6; * @return The operationParams. */ public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { if (operationParamsBuilder_ == null) { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } else { return operationParamsBuilder_.getMessage(); } } /** * .Ydb.Operations.OperationParams operation_params = 6; */ public Builder setOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operationParams_ = value; onChanged(); } else { operationParamsBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 6; */ public Builder setOperationParams( com.yandex.ydb.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); onChanged(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 6; */ public Builder mergeOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (operationParams_ != null) { operationParams_ = com.yandex.ydb.OperationProtos.OperationParams.newBuilder(operationParams_).mergeFrom(value).buildPartial(); } else { operationParams_ = value; } onChanged(); } else { operationParamsBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 6; */ public Builder clearOperationParams() { if (operationParamsBuilder_ == null) { operationParams_ = null; onChanged(); } else { operationParams_ = null; operationParamsBuilder_ = null; } return this; } /** * .Ydb.Operations.OperationParams operation_params = 6; */ public com.yandex.ydb.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 6; */ public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { if (operationParamsBuilder_ != null) { return operationParamsBuilder_.getMessageOrBuilder(); } else { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } } /** * .Ydb.Operations.OperationParams operation_params = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> getOperationParamsFieldBuilder() { if (operationParamsBuilder_ == null) { operationParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder>( getOperationParams(), getParentForChildren(), isClean()); operationParams_ = null; } return operationParamsBuilder_; } private java.util.List indexes_ = java.util.Collections.emptyList(); private void ensureIndexesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { indexes_ = new java.util.ArrayList(indexes_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.TableIndex, com.yandex.ydb.table.YdbTable.TableIndex.Builder, com.yandex.ydb.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 com.yandex.ydb.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, com.yandex.ydb.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, com.yandex.ydb.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(com.yandex.ydb.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, com.yandex.ydb.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( com.yandex.ydb.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, com.yandex.ydb.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_ & ~0x00000004); 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 com.yandex.ydb.table.YdbTable.TableIndex.Builder getIndexesBuilder( int index) { return getIndexesFieldBuilder().getBuilder(index); } /** *
       * List of secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex indexes = 7; */ public com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TableIndex.Builder addIndexesBuilder() { return getIndexesFieldBuilder().addBuilder( com.yandex.ydb.table.YdbTable.TableIndex.getDefaultInstance()); } /** *
       * List of secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex indexes = 7; */ public com.yandex.ydb.table.YdbTable.TableIndex.Builder addIndexesBuilder( int index) { return getIndexesFieldBuilder().addBuilder( index, com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.TableIndex, com.yandex.ydb.table.YdbTable.TableIndex.Builder, com.yandex.ydb.table.YdbTable.TableIndexOrBuilder> getIndexesFieldBuilder() { if (indexesBuilder_ == null) { indexesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.TableIndex, com.yandex.ydb.table.YdbTable.TableIndex.Builder, com.yandex.ydb.table.YdbTable.TableIndexOrBuilder>( indexes_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); indexes_ = null; } return indexesBuilder_; } private com.yandex.ydb.table.YdbTable.TtlSettings ttlSettings_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.TtlSettings, com.yandex.ydb.table.YdbTable.TtlSettings.Builder, com.yandex.ydb.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 ttlSettingsBuilder_ != null || ttlSettings_ != null; } /** *
       * Table rows time to live settings
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 8; * @return The ttlSettings. */ public com.yandex.ydb.table.YdbTable.TtlSettings getTtlSettings() { if (ttlSettingsBuilder_ == null) { return ttlSettings_ == null ? com.yandex.ydb.table.YdbTable.TtlSettings.getDefaultInstance() : ttlSettings_; } else { return ttlSettingsBuilder_.getMessage(); } } /** *
       * Table rows time to live settings
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 8; */ public Builder setTtlSettings(com.yandex.ydb.table.YdbTable.TtlSettings value) { if (ttlSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ttlSettings_ = value; onChanged(); } else { ttlSettingsBuilder_.setMessage(value); } return this; } /** *
       * Table rows time to live settings
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 8; */ public Builder setTtlSettings( com.yandex.ydb.table.YdbTable.TtlSettings.Builder builderForValue) { if (ttlSettingsBuilder_ == null) { ttlSettings_ = builderForValue.build(); onChanged(); } else { ttlSettingsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Table rows time to live settings
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 8; */ public Builder mergeTtlSettings(com.yandex.ydb.table.YdbTable.TtlSettings value) { if (ttlSettingsBuilder_ == null) { if (ttlSettings_ != null) { ttlSettings_ = com.yandex.ydb.table.YdbTable.TtlSettings.newBuilder(ttlSettings_).mergeFrom(value).buildPartial(); } else { ttlSettings_ = value; } onChanged(); } else { ttlSettingsBuilder_.mergeFrom(value); } return this; } /** *
       * Table rows time to live settings
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 8; */ public Builder clearTtlSettings() { if (ttlSettingsBuilder_ == null) { ttlSettings_ = null; onChanged(); } else { ttlSettings_ = null; ttlSettingsBuilder_ = null; } return this; } /** *
       * Table rows time to live settings
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 8; */ public com.yandex.ydb.table.YdbTable.TtlSettings.Builder getTtlSettingsBuilder() { onChanged(); return getTtlSettingsFieldBuilder().getBuilder(); } /** *
       * Table rows time to live settings
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 8; */ public com.yandex.ydb.table.YdbTable.TtlSettingsOrBuilder getTtlSettingsOrBuilder() { if (ttlSettingsBuilder_ != null) { return ttlSettingsBuilder_.getMessageOrBuilder(); } else { return ttlSettings_ == null ? com.yandex.ydb.table.YdbTable.TtlSettings.getDefaultInstance() : ttlSettings_; } } /** *
       * Table rows time to live settings
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 8; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.TtlSettings, com.yandex.ydb.table.YdbTable.TtlSettings.Builder, com.yandex.ydb.table.YdbTable.TtlSettingsOrBuilder> getTtlSettingsFieldBuilder() { if (ttlSettingsBuilder_ == null) { ttlSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.TtlSettings, com.yandex.ydb.table.YdbTable.TtlSettings.Builder, com.yandex.ydb.table.YdbTable.TtlSettingsOrBuilder>( getTtlSettings(), getParentForChildren(), isClean()); ttlSettings_ = null; } return ttlSettingsBuilder_; } private com.yandex.ydb.table.YdbTable.StorageSettings storageSettings_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StorageSettings, com.yandex.ydb.table.YdbTable.StorageSettings.Builder, com.yandex.ydb.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 storageSettingsBuilder_ != null || storageSettings_ != null; } /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 9; * @return The storageSettings. */ public com.yandex.ydb.table.YdbTable.StorageSettings getStorageSettings() { if (storageSettingsBuilder_ == null) { return storageSettings_ == null ? com.yandex.ydb.table.YdbTable.StorageSettings.getDefaultInstance() : storageSettings_; } else { return storageSettingsBuilder_.getMessage(); } } /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 9; */ public Builder setStorageSettings(com.yandex.ydb.table.YdbTable.StorageSettings value) { if (storageSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } storageSettings_ = value; onChanged(); } else { storageSettingsBuilder_.setMessage(value); } return this; } /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 9; */ public Builder setStorageSettings( com.yandex.ydb.table.YdbTable.StorageSettings.Builder builderForValue) { if (storageSettingsBuilder_ == null) { storageSettings_ = builderForValue.build(); onChanged(); } else { storageSettingsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 9; */ public Builder mergeStorageSettings(com.yandex.ydb.table.YdbTable.StorageSettings value) { if (storageSettingsBuilder_ == null) { if (storageSettings_ != null) { storageSettings_ = com.yandex.ydb.table.YdbTable.StorageSettings.newBuilder(storageSettings_).mergeFrom(value).buildPartial(); } else { storageSettings_ = value; } onChanged(); } else { storageSettingsBuilder_.mergeFrom(value); } return this; } /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 9; */ public Builder clearStorageSettings() { if (storageSettingsBuilder_ == null) { storageSettings_ = null; onChanged(); } else { storageSettings_ = null; storageSettingsBuilder_ = null; } return this; } /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 9; */ public com.yandex.ydb.table.YdbTable.StorageSettings.Builder getStorageSettingsBuilder() { onChanged(); return getStorageSettingsFieldBuilder().getBuilder(); } /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 9; */ public com.yandex.ydb.table.YdbTable.StorageSettingsOrBuilder getStorageSettingsOrBuilder() { if (storageSettingsBuilder_ != null) { return storageSettingsBuilder_.getMessageOrBuilder(); } else { return storageSettings_ == null ? com.yandex.ydb.table.YdbTable.StorageSettings.getDefaultInstance() : storageSettings_; } } /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 9; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StorageSettings, com.yandex.ydb.table.YdbTable.StorageSettings.Builder, com.yandex.ydb.table.YdbTable.StorageSettingsOrBuilder> getStorageSettingsFieldBuilder() { if (storageSettingsBuilder_ == null) { storageSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StorageSettings, com.yandex.ydb.table.YdbTable.StorageSettings.Builder, com.yandex.ydb.table.YdbTable.StorageSettingsOrBuilder>( getStorageSettings(), getParentForChildren(), isClean()); storageSettings_ = null; } return storageSettingsBuilder_; } private java.util.List columnFamilies_ = java.util.Collections.emptyList(); private void ensureColumnFamiliesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { columnFamilies_ = new java.util.ArrayList(columnFamilies_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.ColumnFamily, com.yandex.ydb.table.YdbTable.ColumnFamily.Builder, com.yandex.ydb.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 com.yandex.ydb.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, com.yandex.ydb.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, com.yandex.ydb.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(com.yandex.ydb.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, com.yandex.ydb.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( com.yandex.ydb.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, com.yandex.ydb.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_ & ~0x00000008); 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 com.yandex.ydb.table.YdbTable.ColumnFamily.Builder getColumnFamiliesBuilder( int index) { return getColumnFamiliesFieldBuilder().getBuilder(index); } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 10; */ public com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ColumnFamily.Builder addColumnFamiliesBuilder() { return getColumnFamiliesFieldBuilder().addBuilder( com.yandex.ydb.table.YdbTable.ColumnFamily.getDefaultInstance()); } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 10; */ public com.yandex.ydb.table.YdbTable.ColumnFamily.Builder addColumnFamiliesBuilder( int index) { return getColumnFamiliesFieldBuilder().addBuilder( index, com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.ColumnFamily, com.yandex.ydb.table.YdbTable.ColumnFamily.Builder, com.yandex.ydb.table.YdbTable.ColumnFamilyOrBuilder> getColumnFamiliesFieldBuilder() { if (columnFamiliesBuilder_ == null) { columnFamiliesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.ColumnFamily, com.yandex.ydb.table.YdbTable.ColumnFamily.Builder, com.yandex.ydb.table.YdbTable.ColumnFamilyOrBuilder>( columnFamilies_, ((bitField0_ & 0x00000008) != 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() { onChanged();; if (attributes_ == null) { attributes_ = com.google.protobuf.MapField.newMapField( AttributesDefaultEntryHolder.defaultEntry); } if (!attributes_.isMutable()) { attributes_ = attributes_.copy(); } 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 java.lang.NullPointerException(); } 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 java.lang.String getAttributesOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } 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 java.lang.NullPointerException(); } java.util.Map map = internalGetAttributes().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearAttributes() { 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 java.lang.NullPointerException(); } internalGetMutableAttributes().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableAttributes() { 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 java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableAttributes().getMutableMap() .put(key, value); 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); 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; 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(); 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; 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< com.yandex.ydb.table.YdbTable.ExplicitPartitions, com.yandex.ydb.table.YdbTable.ExplicitPartitions.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExplicitPartitions getPartitionAtKeys() { if (partitionAtKeysBuilder_ == null) { if (partitionsCase_ == 14) { return (com.yandex.ydb.table.YdbTable.ExplicitPartitions) partitions_; } return com.yandex.ydb.table.YdbTable.ExplicitPartitions.getDefaultInstance(); } else { if (partitionsCase_ == 14) { return partitionAtKeysBuilder_.getMessage(); } return com.yandex.ydb.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(com.yandex.ydb.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( com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.ExplicitPartitions value) { if (partitionAtKeysBuilder_ == null) { if (partitionsCase_ == 14 && partitions_ != com.yandex.ydb.table.YdbTable.ExplicitPartitions.getDefaultInstance()) { partitions_ = com.yandex.ydb.table.YdbTable.ExplicitPartitions.newBuilder((com.yandex.ydb.table.YdbTable.ExplicitPartitions) partitions_) .mergeFrom(value).buildPartial(); } else { partitions_ = value; } onChanged(); } else { if (partitionsCase_ == 14) { partitionAtKeysBuilder_.mergeFrom(value); } 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 com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExplicitPartitionsOrBuilder getPartitionAtKeysOrBuilder() { if ((partitionsCase_ == 14) && (partitionAtKeysBuilder_ != null)) { return partitionAtKeysBuilder_.getMessageOrBuilder(); } else { if (partitionsCase_ == 14) { return (com.yandex.ydb.table.YdbTable.ExplicitPartitions) partitions_; } return com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.ExplicitPartitions, com.yandex.ydb.table.YdbTable.ExplicitPartitions.Builder, com.yandex.ydb.table.YdbTable.ExplicitPartitionsOrBuilder> getPartitionAtKeysFieldBuilder() { if (partitionAtKeysBuilder_ == null) { if (!(partitionsCase_ == 14)) { partitions_ = com.yandex.ydb.table.YdbTable.ExplicitPartitions.getDefaultInstance(); } partitionAtKeysBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.ExplicitPartitions, com.yandex.ydb.table.YdbTable.ExplicitPartitions.Builder, com.yandex.ydb.table.YdbTable.ExplicitPartitionsOrBuilder>( (com.yandex.ydb.table.YdbTable.ExplicitPartitions) partitions_, getParentForChildren(), isClean()); partitions_ = null; } partitionsCase_ = 14; onChanged();; return partitionAtKeysBuilder_; } private com.yandex.ydb.table.YdbTable.PartitioningSettings partitioningSettings_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.PartitioningSettings, com.yandex.ydb.table.YdbTable.PartitioningSettings.Builder, com.yandex.ydb.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 partitioningSettingsBuilder_ != null || partitioningSettings_ != null; } /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 15; * @return The partitioningSettings. */ public com.yandex.ydb.table.YdbTable.PartitioningSettings getPartitioningSettings() { if (partitioningSettingsBuilder_ == null) { return partitioningSettings_ == null ? com.yandex.ydb.table.YdbTable.PartitioningSettings.getDefaultInstance() : partitioningSettings_; } else { return partitioningSettingsBuilder_.getMessage(); } } /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 15; */ public Builder setPartitioningSettings(com.yandex.ydb.table.YdbTable.PartitioningSettings value) { if (partitioningSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } partitioningSettings_ = value; onChanged(); } else { partitioningSettingsBuilder_.setMessage(value); } return this; } /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 15; */ public Builder setPartitioningSettings( com.yandex.ydb.table.YdbTable.PartitioningSettings.Builder builderForValue) { if (partitioningSettingsBuilder_ == null) { partitioningSettings_ = builderForValue.build(); onChanged(); } else { partitioningSettingsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 15; */ public Builder mergePartitioningSettings(com.yandex.ydb.table.YdbTable.PartitioningSettings value) { if (partitioningSettingsBuilder_ == null) { if (partitioningSettings_ != null) { partitioningSettings_ = com.yandex.ydb.table.YdbTable.PartitioningSettings.newBuilder(partitioningSettings_).mergeFrom(value).buildPartial(); } else { partitioningSettings_ = value; } onChanged(); } else { partitioningSettingsBuilder_.mergeFrom(value); } return this; } /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 15; */ public Builder clearPartitioningSettings() { if (partitioningSettingsBuilder_ == null) { partitioningSettings_ = null; onChanged(); } else { partitioningSettings_ = null; partitioningSettingsBuilder_ = null; } return this; } /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 15; */ public com.yandex.ydb.table.YdbTable.PartitioningSettings.Builder getPartitioningSettingsBuilder() { onChanged(); return getPartitioningSettingsFieldBuilder().getBuilder(); } /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 15; */ public com.yandex.ydb.table.YdbTable.PartitioningSettingsOrBuilder getPartitioningSettingsOrBuilder() { if (partitioningSettingsBuilder_ != null) { return partitioningSettingsBuilder_.getMessageOrBuilder(); } else { return partitioningSettings_ == null ? com.yandex.ydb.table.YdbTable.PartitioningSettings.getDefaultInstance() : partitioningSettings_; } } /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 15; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.PartitioningSettings, com.yandex.ydb.table.YdbTable.PartitioningSettings.Builder, com.yandex.ydb.table.YdbTable.PartitioningSettingsOrBuilder> getPartitioningSettingsFieldBuilder() { if (partitioningSettingsBuilder_ == null) { partitioningSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.PartitioningSettings, com.yandex.ydb.table.YdbTable.PartitioningSettings.Builder, com.yandex.ydb.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; onChanged(); return this; } /** *
       * Bloom filter by key
       * 
* * .Ydb.FeatureFlag.Status key_bloom_filter = 16; * @return The keyBloomFilter. */ @java.lang.Override public com.yandex.ydb.common.CommonProtos.FeatureFlag.Status getKeyBloomFilter() { @SuppressWarnings("deprecation") com.yandex.ydb.common.CommonProtos.FeatureFlag.Status result = com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.valueOf(keyBloomFilter_); return result == null ? com.yandex.ydb.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(com.yandex.ydb.common.CommonProtos.FeatureFlag.Status value) { if (value == null) { throw new NullPointerException(); } 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() { keyBloomFilter_ = 0; onChanged(); return this; } private com.yandex.ydb.table.YdbTable.ReadReplicasSettings readReplicasSettings_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.ReadReplicasSettings, com.yandex.ydb.table.YdbTable.ReadReplicasSettings.Builder, com.yandex.ydb.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 readReplicasSettingsBuilder_ != null || readReplicasSettings_ != null; } /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 17; * @return The readReplicasSettings. */ public com.yandex.ydb.table.YdbTable.ReadReplicasSettings getReadReplicasSettings() { if (readReplicasSettingsBuilder_ == null) { return readReplicasSettings_ == null ? com.yandex.ydb.table.YdbTable.ReadReplicasSettings.getDefaultInstance() : readReplicasSettings_; } else { return readReplicasSettingsBuilder_.getMessage(); } } /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 17; */ public Builder setReadReplicasSettings(com.yandex.ydb.table.YdbTable.ReadReplicasSettings value) { if (readReplicasSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } readReplicasSettings_ = value; onChanged(); } else { readReplicasSettingsBuilder_.setMessage(value); } return this; } /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 17; */ public Builder setReadReplicasSettings( com.yandex.ydb.table.YdbTable.ReadReplicasSettings.Builder builderForValue) { if (readReplicasSettingsBuilder_ == null) { readReplicasSettings_ = builderForValue.build(); onChanged(); } else { readReplicasSettingsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 17; */ public Builder mergeReadReplicasSettings(com.yandex.ydb.table.YdbTable.ReadReplicasSettings value) { if (readReplicasSettingsBuilder_ == null) { if (readReplicasSettings_ != null) { readReplicasSettings_ = com.yandex.ydb.table.YdbTable.ReadReplicasSettings.newBuilder(readReplicasSettings_).mergeFrom(value).buildPartial(); } else { readReplicasSettings_ = value; } onChanged(); } else { readReplicasSettingsBuilder_.mergeFrom(value); } return this; } /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 17; */ public Builder clearReadReplicasSettings() { if (readReplicasSettingsBuilder_ == null) { readReplicasSettings_ = null; onChanged(); } else { readReplicasSettings_ = null; readReplicasSettingsBuilder_ = null; } return this; } /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 17; */ public com.yandex.ydb.table.YdbTable.ReadReplicasSettings.Builder getReadReplicasSettingsBuilder() { onChanged(); return getReadReplicasSettingsFieldBuilder().getBuilder(); } /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 17; */ public com.yandex.ydb.table.YdbTable.ReadReplicasSettingsOrBuilder getReadReplicasSettingsOrBuilder() { if (readReplicasSettingsBuilder_ != null) { return readReplicasSettingsBuilder_.getMessageOrBuilder(); } else { return readReplicasSettings_ == null ? com.yandex.ydb.table.YdbTable.ReadReplicasSettings.getDefaultInstance() : readReplicasSettings_; } } /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 17; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.ReadReplicasSettings, com.yandex.ydb.table.YdbTable.ReadReplicasSettings.Builder, com.yandex.ydb.table.YdbTable.ReadReplicasSettingsOrBuilder> getReadReplicasSettingsFieldBuilder() { if (readReplicasSettingsBuilder_ == null) { readReplicasSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.ReadReplicasSettings, com.yandex.ydb.table.YdbTable.ReadReplicasSettings.Builder, com.yandex.ydb.table.YdbTable.ReadReplicasSettingsOrBuilder>( getReadReplicasSettings(), getParentForChildren(), isClean()); readReplicasSettings_ = null; } return readReplicasSettingsBuilder_; } @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 com.yandex.ydb.table.YdbTable.CreateTableRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.CreateTableRequest(); } public static com.yandex.ydb.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 { return new CreateTableRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.Operation getOperation(); /** * .Ydb.Operations.Operation operation = 1; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CreateTableResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.OperationProtos.Operation.Builder subBuilder = null; if (operation_ != null) { subBuilder = operation_.toBuilder(); } operation_ = input.readMessage(com.yandex.ydb.OperationProtos.Operation.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operation_); operation_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CreateTableResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CreateTableResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CreateTableResponse.class, com.yandex.ydb.table.YdbTable.CreateTableResponse.Builder.class); } public static final int OPERATION_FIELD_NUMBER = 1; private com.yandex.ydb.OperationProtos.Operation operation_; /** * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ @java.lang.Override public boolean hasOperation() { return operation_ != null; } /** * .Ydb.Operations.Operation operation = 1; * @return The operation. */ @java.lang.Override public com.yandex.ydb.OperationProtos.Operation getOperation() { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } /** * .Ydb.Operations.Operation operation = 1; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { return getOperation(); } 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 (operation_ != null) { output.writeMessage(1, getOperation()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (operation_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getOperation()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.CreateTableResponse)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.CreateTableResponse other = (com.yandex.ydb.table.YdbTable.CreateTableResponse) obj; if (hasOperation() != other.hasOperation()) return false; if (hasOperation()) { if (!getOperation() .equals(other.getOperation())) return false; } if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.CreateTableResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CreateTableResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CreateTableResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.CreateTableResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.CreateTableResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CreateTableResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CreateTableResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.CreateTableResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CreateTableResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CreateTableResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CreateTableResponse.class, com.yandex.ydb.table.YdbTable.CreateTableResponse.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); if (operationBuilder_ == null) { operation_ = null; } else { operation_ = null; operationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CreateTableResponse_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CreateTableResponse getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.CreateTableResponse.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.CreateTableResponse build() { com.yandex.ydb.table.YdbTable.CreateTableResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CreateTableResponse buildPartial() { com.yandex.ydb.table.YdbTable.CreateTableResponse result = new com.yandex.ydb.table.YdbTable.CreateTableResponse(this); if (operationBuilder_ == null) { result.operation_ = operation_; } else { result.operation_ = operationBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.CreateTableResponse) { return mergeFrom((com.yandex.ydb.table.YdbTable.CreateTableResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.CreateTableResponse other) { if (other == com.yandex.ydb.table.YdbTable.CreateTableResponse.getDefaultInstance()) return this; if (other.hasOperation()) { mergeOperation(other.getOperation()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.CreateTableResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.CreateTableResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.yandex.ydb.OperationProtos.Operation operation_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> operationBuilder_; /** * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ public boolean hasOperation() { return operationBuilder_ != null || operation_ != null; } /** * .Ydb.Operations.Operation operation = 1; * @return The operation. */ public com.yandex.ydb.OperationProtos.Operation getOperation() { if (operationBuilder_ == null) { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } else { return operationBuilder_.getMessage(); } } /** * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operation_ = value; onChanged(); } else { operationBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation( com.yandex.ydb.OperationProtos.Operation.Builder builderForValue) { if (operationBuilder_ == null) { operation_ = builderForValue.build(); onChanged(); } else { operationBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder mergeOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (operation_ != null) { operation_ = com.yandex.ydb.OperationProtos.Operation.newBuilder(operation_).mergeFrom(value).buildPartial(); } else { operation_ = value; } onChanged(); } else { operationBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder clearOperation() { if (operationBuilder_ == null) { operation_ = null; onChanged(); } else { operation_ = null; operationBuilder_ = null; } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.Operation.Builder getOperationBuilder() { onChanged(); return getOperationFieldBuilder().getBuilder(); } /** * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { if (operationBuilder_ != null) { return operationBuilder_.getMessageOrBuilder(); } else { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } } /** * .Ydb.Operations.Operation operation = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> getOperationFieldBuilder() { if (operationBuilder_ == null) { operationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CreateTableResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.CreateTableResponse(); } public static com.yandex.ydb.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 { return new CreateTableResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 4; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DropTableRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); sessionId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); path_ = s; break; } case 34: { com.yandex.ydb.OperationProtos.OperationParams.Builder subBuilder = null; if (operationParams_ != null) { subBuilder = operationParams_.toBuilder(); } operationParams_ = input.readMessage(com.yandex.ydb.OperationProtos.OperationParams.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operationParams_); operationParams_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DropTableRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DropTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.DropTableRequest.class, com.yandex.ydb.table.YdbTable.DropTableRequest.Builder.class); } public static final int SESSION_ID_FIELD_NUMBER = 1; 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; 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 com.yandex.ydb.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 4; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 4; * @return The operationParams. */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } /** * .Ydb.Operations.OperationParams operation_params = 4; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return getOperationParams(); } 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 (!getSessionIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_); } if (!getPathBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_); } if (operationParams_ != null) { output.writeMessage(4, getOperationParams()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getSessionIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_); } if (!getPathBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); } if (operationParams_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getOperationParams()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.DropTableRequest)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.DropTableRequest other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.DropTableRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DropTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DropTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.DropTableRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.DropTableRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DropTableRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DropTableRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.DropTableRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DropTableRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DropTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.DropTableRequest.class, com.yandex.ydb.table.YdbTable.DropTableRequest.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); sessionId_ = ""; path_ = ""; if (operationParamsBuilder_ == null) { operationParams_ = null; } else { operationParams_ = null; operationParamsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DropTableRequest_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.DropTableRequest getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.DropTableRequest.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.DropTableRequest build() { com.yandex.ydb.table.YdbTable.DropTableRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.DropTableRequest buildPartial() { com.yandex.ydb.table.YdbTable.DropTableRequest result = new com.yandex.ydb.table.YdbTable.DropTableRequest(this); result.sessionId_ = sessionId_; result.path_ = path_; if (operationParamsBuilder_ == null) { result.operationParams_ = operationParams_; } else { result.operationParams_ = operationParamsBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.DropTableRequest) { return mergeFrom((com.yandex.ydb.table.YdbTable.DropTableRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.DropTableRequest other) { if (other == com.yandex.ydb.table.YdbTable.DropTableRequest.getDefaultInstance()) return this; if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; onChanged(); } if (!other.getPath().isEmpty()) { path_ = other.path_; onChanged(); } if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.DropTableRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.DropTableRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); 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; 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; onChanged(); return this; } /** *
       * Full path
       * 
* * string path = 2; * @return This builder for chaining. */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); 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; onChanged(); return this; } private com.yandex.ydb.OperationProtos.OperationParams operationParams_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> operationParamsBuilder_; /** * .Ydb.Operations.OperationParams operation_params = 4; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return operationParamsBuilder_ != null || operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 4; * @return The operationParams. */ public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { if (operationParamsBuilder_ == null) { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } else { return operationParamsBuilder_.getMessage(); } } /** * .Ydb.Operations.OperationParams operation_params = 4; */ public Builder setOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operationParams_ = value; onChanged(); } else { operationParamsBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 4; */ public Builder setOperationParams( com.yandex.ydb.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); onChanged(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 4; */ public Builder mergeOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (operationParams_ != null) { operationParams_ = com.yandex.ydb.OperationProtos.OperationParams.newBuilder(operationParams_).mergeFrom(value).buildPartial(); } else { operationParams_ = value; } onChanged(); } else { operationParamsBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 4; */ public Builder clearOperationParams() { if (operationParamsBuilder_ == null) { operationParams_ = null; onChanged(); } else { operationParams_ = null; operationParamsBuilder_ = null; } return this; } /** * .Ydb.Operations.OperationParams operation_params = 4; */ public com.yandex.ydb.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 4; */ public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { if (operationParamsBuilder_ != null) { return operationParamsBuilder_.getMessageOrBuilder(); } else { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } } /** * .Ydb.Operations.OperationParams operation_params = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> getOperationParamsFieldBuilder() { if (operationParamsBuilder_ == null) { operationParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DropTableRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.DropTableRequest(); } public static com.yandex.ydb.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 { return new DropTableRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.Operation getOperation(); /** * .Ydb.Operations.Operation operation = 1; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DropTableResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.OperationProtos.Operation.Builder subBuilder = null; if (operation_ != null) { subBuilder = operation_.toBuilder(); } operation_ = input.readMessage(com.yandex.ydb.OperationProtos.Operation.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operation_); operation_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DropTableResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DropTableResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.DropTableResponse.class, com.yandex.ydb.table.YdbTable.DropTableResponse.Builder.class); } public static final int OPERATION_FIELD_NUMBER = 1; private com.yandex.ydb.OperationProtos.Operation operation_; /** * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ @java.lang.Override public boolean hasOperation() { return operation_ != null; } /** * .Ydb.Operations.Operation operation = 1; * @return The operation. */ @java.lang.Override public com.yandex.ydb.OperationProtos.Operation getOperation() { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } /** * .Ydb.Operations.Operation operation = 1; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { return getOperation(); } 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 (operation_ != null) { output.writeMessage(1, getOperation()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (operation_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getOperation()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.DropTableResponse)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.DropTableResponse other = (com.yandex.ydb.table.YdbTable.DropTableResponse) obj; if (hasOperation() != other.hasOperation()) return false; if (hasOperation()) { if (!getOperation() .equals(other.getOperation())) return false; } if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.DropTableResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DropTableResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DropTableResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.DropTableResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.DropTableResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DropTableResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DropTableResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.DropTableResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DropTableResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DropTableResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.DropTableResponse.class, com.yandex.ydb.table.YdbTable.DropTableResponse.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); if (operationBuilder_ == null) { operation_ = null; } else { operation_ = null; operationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DropTableResponse_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.DropTableResponse getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.DropTableResponse.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.DropTableResponse build() { com.yandex.ydb.table.YdbTable.DropTableResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.DropTableResponse buildPartial() { com.yandex.ydb.table.YdbTable.DropTableResponse result = new com.yandex.ydb.table.YdbTable.DropTableResponse(this); if (operationBuilder_ == null) { result.operation_ = operation_; } else { result.operation_ = operationBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.DropTableResponse) { return mergeFrom((com.yandex.ydb.table.YdbTable.DropTableResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.DropTableResponse other) { if (other == com.yandex.ydb.table.YdbTable.DropTableResponse.getDefaultInstance()) return this; if (other.hasOperation()) { mergeOperation(other.getOperation()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.DropTableResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.DropTableResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.yandex.ydb.OperationProtos.Operation operation_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> operationBuilder_; /** * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ public boolean hasOperation() { return operationBuilder_ != null || operation_ != null; } /** * .Ydb.Operations.Operation operation = 1; * @return The operation. */ public com.yandex.ydb.OperationProtos.Operation getOperation() { if (operationBuilder_ == null) { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } else { return operationBuilder_.getMessage(); } } /** * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operation_ = value; onChanged(); } else { operationBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation( com.yandex.ydb.OperationProtos.Operation.Builder builderForValue) { if (operationBuilder_ == null) { operation_ = builderForValue.build(); onChanged(); } else { operationBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder mergeOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (operation_ != null) { operation_ = com.yandex.ydb.OperationProtos.Operation.newBuilder(operation_).mergeFrom(value).buildPartial(); } else { operation_ = value; } onChanged(); } else { operationBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder clearOperation() { if (operationBuilder_ == null) { operation_ = null; onChanged(); } else { operation_ = null; operationBuilder_ = null; } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.Operation.Builder getOperationBuilder() { onChanged(); return getOperationFieldBuilder().getBuilder(); } /** * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { if (operationBuilder_ != null) { return operationBuilder_.getMessageOrBuilder(); } else { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } } /** * .Ydb.Operations.Operation operation = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> getOperationFieldBuilder() { if (operationBuilder_ == null) { operationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DropTableResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.DropTableResponse(); } public static com.yandex.ydb.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 { return new DropTableResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.table.YdbTable.DropTableResponse 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; */ com.yandex.ydb.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; */ com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 5; */ com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.TtlSettings getSetTtlSettings(); /** * .Ydb.Table.TtlSettings set_ttl_settings = 7; */ com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.StorageSettings getAlterStorageSettings(); /** *
     * Change table storage settings
     * 
* * .Ydb.Table.StorageSettings alter_storage_settings = 11; */ com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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) = { ... } */ java.lang.String getAlterAttributesOrDefault( java.lang.String key, 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. */ com.yandex.ydb.table.YdbTable.PartitioningSettings getAlterPartitioningSettings(); /** *
     * Change table partitioning settings
     * 
* * .Ydb.Table.PartitioningSettings alter_partitioning_settings = 16; */ com.yandex.ydb.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. */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.ReadReplicasSettings getSetReadReplicasSettings(); /** *
     * Set read replicas settings for table
     * 
* * .Ydb.Table.ReadReplicasSettings set_read_replicas_settings = 18; */ com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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); public com.yandex.ydb.table.YdbTable.AlterTableRequest.TtlActionCase getTtlActionCase(); } /** *
   * 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.EMPTY; alterColumns_ = java.util.Collections.emptyList(); addIndexes_ = java.util.Collections.emptyList(); dropIndexes_ = com.google.protobuf.LazyStringArrayList.EMPTY; addColumnFamilies_ = java.util.Collections.emptyList(); alterColumnFamilies_ = java.util.Collections.emptyList(); setCompactionPolicy_ = ""; setKeyBloomFilter_ = 0; addChangefeeds_ = java.util.Collections.emptyList(); dropChangefeeds_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AlterTableRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AlterTableRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); sessionId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); path_ = s; break; } case 26: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { addColumns_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } addColumns_.add( input.readMessage(com.yandex.ydb.table.YdbTable.ColumnMeta.parser(), extensionRegistry)); break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { dropColumns_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; } dropColumns_.add(s); break; } case 42: { com.yandex.ydb.OperationProtos.OperationParams.Builder subBuilder = null; if (operationParams_ != null) { subBuilder = operationParams_.toBuilder(); } operationParams_ = input.readMessage(com.yandex.ydb.OperationProtos.OperationParams.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operationParams_); operationParams_ = subBuilder.buildPartial(); } break; } case 50: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { alterColumns_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } alterColumns_.add( input.readMessage(com.yandex.ydb.table.YdbTable.ColumnMeta.parser(), extensionRegistry)); break; } case 58: { com.yandex.ydb.table.YdbTable.TtlSettings.Builder subBuilder = null; if (ttlActionCase_ == 7) { subBuilder = ((com.yandex.ydb.table.YdbTable.TtlSettings) ttlAction_).toBuilder(); } ttlAction_ = input.readMessage(com.yandex.ydb.table.YdbTable.TtlSettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.yandex.ydb.table.YdbTable.TtlSettings) ttlAction_); ttlAction_ = subBuilder.buildPartial(); } ttlActionCase_ = 7; break; } case 66: { com.google.protobuf.Empty.Builder subBuilder = null; if (ttlActionCase_ == 8) { subBuilder = ((com.google.protobuf.Empty) ttlAction_).toBuilder(); } ttlAction_ = input.readMessage(com.google.protobuf.Empty.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.google.protobuf.Empty) ttlAction_); ttlAction_ = subBuilder.buildPartial(); } ttlActionCase_ = 8; break; } case 74: { if (!((mutable_bitField0_ & 0x00000008) != 0)) { addIndexes_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } addIndexes_.add( input.readMessage(com.yandex.ydb.table.YdbTable.TableIndex.parser(), extensionRegistry)); break; } case 82: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000010) != 0)) { dropIndexes_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000010; } dropIndexes_.add(s); break; } case 90: { com.yandex.ydb.table.YdbTable.StorageSettings.Builder subBuilder = null; if (alterStorageSettings_ != null) { subBuilder = alterStorageSettings_.toBuilder(); } alterStorageSettings_ = input.readMessage(com.yandex.ydb.table.YdbTable.StorageSettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(alterStorageSettings_); alterStorageSettings_ = subBuilder.buildPartial(); } break; } case 98: { if (!((mutable_bitField0_ & 0x00000020) != 0)) { addColumnFamilies_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000020; } addColumnFamilies_.add( input.readMessage(com.yandex.ydb.table.YdbTable.ColumnFamily.parser(), extensionRegistry)); break; } case 106: { if (!((mutable_bitField0_ & 0x00000040) != 0)) { alterColumnFamilies_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000040; } alterColumnFamilies_.add( input.readMessage(com.yandex.ydb.table.YdbTable.ColumnFamily.parser(), extensionRegistry)); break; } case 114: { if (!((mutable_bitField0_ & 0x00000080) != 0)) { alterAttributes_ = com.google.protobuf.MapField.newMapField( AlterAttributesDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000080; } com.google.protobuf.MapEntry alterAttributes__ = input.readMessage( AlterAttributesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); alterAttributes_.getMutableMap().put( alterAttributes__.getKey(), alterAttributes__.getValue()); break; } case 122: { java.lang.String s = input.readStringRequireUtf8(); setCompactionPolicy_ = s; break; } case 130: { com.yandex.ydb.table.YdbTable.PartitioningSettings.Builder subBuilder = null; if (alterPartitioningSettings_ != null) { subBuilder = alterPartitioningSettings_.toBuilder(); } alterPartitioningSettings_ = input.readMessage(com.yandex.ydb.table.YdbTable.PartitioningSettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(alterPartitioningSettings_); alterPartitioningSettings_ = subBuilder.buildPartial(); } break; } case 136: { int rawValue = input.readEnum(); setKeyBloomFilter_ = rawValue; break; } case 146: { com.yandex.ydb.table.YdbTable.ReadReplicasSettings.Builder subBuilder = null; if (setReadReplicasSettings_ != null) { subBuilder = setReadReplicasSettings_.toBuilder(); } setReadReplicasSettings_ = input.readMessage(com.yandex.ydb.table.YdbTable.ReadReplicasSettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(setReadReplicasSettings_); setReadReplicasSettings_ = subBuilder.buildPartial(); } break; } case 154: { if (!((mutable_bitField0_ & 0x00000100) != 0)) { addChangefeeds_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000100; } addChangefeeds_.add( input.readMessage(com.yandex.ydb.table.YdbTable.Changefeed.parser(), extensionRegistry)); break; } case 162: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000200) != 0)) { dropChangefeeds_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000200; } dropChangefeeds_.add(s); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { addColumns_ = java.util.Collections.unmodifiableList(addColumns_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { dropColumns_ = dropColumns_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000004) != 0)) { alterColumns_ = java.util.Collections.unmodifiableList(alterColumns_); } if (((mutable_bitField0_ & 0x00000008) != 0)) { addIndexes_ = java.util.Collections.unmodifiableList(addIndexes_); } if (((mutable_bitField0_ & 0x00000010) != 0)) { dropIndexes_ = dropIndexes_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000020) != 0)) { addColumnFamilies_ = java.util.Collections.unmodifiableList(addColumnFamilies_); } if (((mutable_bitField0_ & 0x00000040) != 0)) { alterColumnFamilies_ = java.util.Collections.unmodifiableList(alterColumnFamilies_); } if (((mutable_bitField0_ & 0x00000100) != 0)) { addChangefeeds_ = java.util.Collections.unmodifiableList(addChangefeeds_); } if (((mutable_bitField0_ & 0x00000200) != 0)) { dropChangefeeds_ = dropChangefeeds_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_AlterTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.AlterTableRequest.class, com.yandex.ydb.table.YdbTable.AlterTableRequest.Builder.class); } private int ttlActionCase_ = 0; 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_); } public static final int SESSION_ID_FIELD_NUMBER = 1; 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; 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; 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 com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ColumnMetaOrBuilder getAddColumnsOrBuilder( int index) { return addColumns_.get(index); } public static final int DROP_COLUMNS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList dropColumns_; /** *
     * 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 com.yandex.ydb.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 5; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 5; * @return The operationParams. */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } /** * .Ydb.Operations.OperationParams operation_params = 5; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return getOperationParams(); } public static final int ALTER_COLUMNS_FIELD_NUMBER = 6; 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 com.yandex.ydb.table.YdbTable.ColumnMeta getAlterColumns(int index) { return alterColumns_.get(index); } /** *
     * Columns to alter
     * 
* * repeated .Ydb.Table.ColumnMeta alter_columns = 6; */ @java.lang.Override public com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TtlSettings getSetTtlSettings() { if (ttlActionCase_ == 7) { return (com.yandex.ydb.table.YdbTable.TtlSettings) ttlAction_; } return com.yandex.ydb.table.YdbTable.TtlSettings.getDefaultInstance(); } /** * .Ydb.Table.TtlSettings set_ttl_settings = 7; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.TtlSettingsOrBuilder getSetTtlSettingsOrBuilder() { if (ttlActionCase_ == 7) { return (com.yandex.ydb.table.YdbTable.TtlSettings) ttlAction_; } return com.yandex.ydb.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; 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 com.yandex.ydb.table.YdbTable.TableIndex getAddIndexes(int index) { return addIndexes_.get(index); } /** *
     * Add secondary indexes
     * 
* * repeated .Ydb.Table.TableIndex add_indexes = 9; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.TableIndexOrBuilder getAddIndexesOrBuilder( int index) { return addIndexes_.get(index); } public static final int DROP_INDEXES_FIELD_NUMBER = 10; private com.google.protobuf.LazyStringList dropIndexes_; /** *
     * 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 com.yandex.ydb.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 alterStorageSettings_ != null; } /** *
     * Change table storage settings
     * 
* * .Ydb.Table.StorageSettings alter_storage_settings = 11; * @return The alterStorageSettings. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.StorageSettings getAlterStorageSettings() { return alterStorageSettings_ == null ? com.yandex.ydb.table.YdbTable.StorageSettings.getDefaultInstance() : alterStorageSettings_; } /** *
     * Change table storage settings
     * 
* * .Ydb.Table.StorageSettings alter_storage_settings = 11; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.StorageSettingsOrBuilder getAlterStorageSettingsOrBuilder() { return getAlterStorageSettings(); } public static final int ADD_COLUMN_FAMILIES_FIELD_NUMBER = 12; 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 com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ColumnFamilyOrBuilder getAddColumnFamiliesOrBuilder( int index) { return addColumnFamilies_.get(index); } public static final int ALTER_COLUMN_FAMILIES_FIELD_NUMBER = 13; 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 com.yandex.ydb.table.YdbTable.ColumnFamily getAlterColumnFamilies(int index) { return alterColumnFamilies_.get(index); } /** * repeated .Ydb.Table.ColumnFamily alter_column_families = 13; */ @java.lang.Override public com.yandex.ydb.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( com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_AlterTableRequest_AlterAttributesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } 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 java.lang.NullPointerException(); } 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 java.lang.String getAlterAttributesOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } 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 java.lang.NullPointerException(); } 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; 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 com.yandex.ydb.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 alterPartitioningSettings_ != null; } /** *
     * Change table partitioning settings
     * 
* * .Ydb.Table.PartitioningSettings alter_partitioning_settings = 16; * @return The alterPartitioningSettings. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.PartitioningSettings getAlterPartitioningSettings() { return alterPartitioningSettings_ == null ? com.yandex.ydb.table.YdbTable.PartitioningSettings.getDefaultInstance() : alterPartitioningSettings_; } /** *
     * Change table partitioning settings
     * 
* * .Ydb.Table.PartitioningSettings alter_partitioning_settings = 16; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.PartitioningSettingsOrBuilder getAlterPartitioningSettingsOrBuilder() { return getAlterPartitioningSettings(); } public static final int SET_KEY_BLOOM_FILTER_FIELD_NUMBER = 17; private int setKeyBloomFilter_; /** *
     * 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 com.yandex.ydb.common.CommonProtos.FeatureFlag.Status getSetKeyBloomFilter() { @SuppressWarnings("deprecation") com.yandex.ydb.common.CommonProtos.FeatureFlag.Status result = com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.valueOf(setKeyBloomFilter_); return result == null ? com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } public static final int SET_READ_REPLICAS_SETTINGS_FIELD_NUMBER = 18; private com.yandex.ydb.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 setReadReplicasSettings_ != null; } /** *
     * Set read replicas settings for table
     * 
* * .Ydb.Table.ReadReplicasSettings set_read_replicas_settings = 18; * @return The setReadReplicasSettings. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.ReadReplicasSettings getSetReadReplicasSettings() { return setReadReplicasSettings_ == null ? com.yandex.ydb.table.YdbTable.ReadReplicasSettings.getDefaultInstance() : setReadReplicasSettings_; } /** *
     * Set read replicas settings for table
     * 
* * .Ydb.Table.ReadReplicasSettings set_read_replicas_settings = 18; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.ReadReplicasSettingsOrBuilder getSetReadReplicasSettingsOrBuilder() { return getSetReadReplicasSettings(); } public static final int ADD_CHANGEFEEDS_FIELD_NUMBER = 19; 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 com.yandex.ydb.table.YdbTable.Changefeed getAddChangefeeds(int index) { return addChangefeeds_.get(index); } /** *
     * Add change feeds
     * 
* * repeated .Ydb.Table.Changefeed add_changefeeds = 19; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.ChangefeedOrBuilder getAddChangefeedsOrBuilder( int index) { return addChangefeeds_.get(index); } public static final int DROP_CHANGEFEEDS_FIELD_NUMBER = 20; private com.google.protobuf.LazyStringList dropChangefeeds_; /** *
     * 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); } 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 (!getSessionIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_); } if (!getPathBytes().isEmpty()) { 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 (operationParams_ != null) { output.writeMessage(5, getOperationParams()); } for (int i = 0; i < alterColumns_.size(); i++) { output.writeMessage(6, alterColumns_.get(i)); } if (ttlActionCase_ == 7) { output.writeMessage(7, (com.yandex.ydb.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 (alterStorageSettings_ != null) { 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 (!getSetCompactionPolicyBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 15, setCompactionPolicy_); } if (alterPartitioningSettings_ != null) { output.writeMessage(16, getAlterPartitioningSettings()); } if (setKeyBloomFilter_ != com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(17, setKeyBloomFilter_); } if (setReadReplicasSettings_ != null) { 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)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getSessionIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_); } if (!getPathBytes().isEmpty()) { 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 (operationParams_ != null) { 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, (com.yandex.ydb.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 (alterStorageSettings_ != null) { 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 (!getSetCompactionPolicyBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, setCompactionPolicy_); } if (alterPartitioningSettings_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, getAlterPartitioningSettings()); } if (setKeyBloomFilter_ != com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(17, setKeyBloomFilter_); } if (setReadReplicasSettings_ != null) { 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(); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.AlterTableRequest)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.AlterTableRequest other = (com.yandex.ydb.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 (!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 (!unknownFields.equals(other.unknownFields)) 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(); } 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: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.AlterTableRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.AlterTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.AlterTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.AlterTableRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.AlterTableRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.AlterTableRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.AlterTableRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.AlterTableRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_AlterTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.AlterTableRequest.class, com.yandex.ydb.table.YdbTable.AlterTableRequest.Builder.class); } // Construct using com.yandex.ydb.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(); getAlterColumnsFieldBuilder(); getAddIndexesFieldBuilder(); getAddColumnFamiliesFieldBuilder(); getAlterColumnFamiliesFieldBuilder(); getAddChangefeedsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); sessionId_ = ""; path_ = ""; if (addColumnsBuilder_ == null) { addColumns_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { addColumnsBuilder_.clear(); } dropColumns_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); if (operationParamsBuilder_ == null) { operationParams_ = null; } else { operationParams_ = null; operationParamsBuilder_ = null; } if (alterColumnsBuilder_ == null) { alterColumns_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { alterColumnsBuilder_.clear(); } if (addIndexesBuilder_ == null) { addIndexes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { addIndexesBuilder_.clear(); } dropIndexes_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000010); if (alterStorageSettingsBuilder_ == null) { alterStorageSettings_ = null; } else { alterStorageSettings_ = null; alterStorageSettingsBuilder_ = null; } if (addColumnFamiliesBuilder_ == null) { addColumnFamilies_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); } else { addColumnFamiliesBuilder_.clear(); } if (alterColumnFamiliesBuilder_ == null) { alterColumnFamilies_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); } else { alterColumnFamiliesBuilder_.clear(); } internalGetMutableAlterAttributes().clear(); setCompactionPolicy_ = ""; if (alterPartitioningSettingsBuilder_ == null) { alterPartitioningSettings_ = null; } else { alterPartitioningSettings_ = null; alterPartitioningSettingsBuilder_ = null; } setKeyBloomFilter_ = 0; if (setReadReplicasSettingsBuilder_ == null) { setReadReplicasSettings_ = null; } else { setReadReplicasSettings_ = null; setReadReplicasSettingsBuilder_ = null; } if (addChangefeedsBuilder_ == null) { addChangefeeds_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); } else { addChangefeedsBuilder_.clear(); } dropChangefeeds_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000200); ttlActionCase_ = 0; ttlAction_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_AlterTableRequest_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.AlterTableRequest getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.AlterTableRequest.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.AlterTableRequest build() { com.yandex.ydb.table.YdbTable.AlterTableRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.AlterTableRequest buildPartial() { com.yandex.ydb.table.YdbTable.AlterTableRequest result = new com.yandex.ydb.table.YdbTable.AlterTableRequest(this); int from_bitField0_ = bitField0_; result.sessionId_ = sessionId_; result.path_ = path_; if (addColumnsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { addColumns_ = java.util.Collections.unmodifiableList(addColumns_); bitField0_ = (bitField0_ & ~0x00000001); } result.addColumns_ = addColumns_; } else { result.addColumns_ = addColumnsBuilder_.build(); } if (((bitField0_ & 0x00000002) != 0)) { dropColumns_ = dropColumns_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } result.dropColumns_ = dropColumns_; if (operationParamsBuilder_ == null) { result.operationParams_ = operationParams_; } else { result.operationParams_ = operationParamsBuilder_.build(); } if (alterColumnsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { alterColumns_ = java.util.Collections.unmodifiableList(alterColumns_); bitField0_ = (bitField0_ & ~0x00000004); } result.alterColumns_ = alterColumns_; } else { result.alterColumns_ = alterColumnsBuilder_.build(); } if (ttlActionCase_ == 7) { if (setTtlSettingsBuilder_ == null) { result.ttlAction_ = ttlAction_; } else { result.ttlAction_ = setTtlSettingsBuilder_.build(); } } if (ttlActionCase_ == 8) { if (dropTtlSettingsBuilder_ == null) { result.ttlAction_ = ttlAction_; } else { result.ttlAction_ = dropTtlSettingsBuilder_.build(); } } if (addIndexesBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { addIndexes_ = java.util.Collections.unmodifiableList(addIndexes_); bitField0_ = (bitField0_ & ~0x00000008); } result.addIndexes_ = addIndexes_; } else { result.addIndexes_ = addIndexesBuilder_.build(); } if (((bitField0_ & 0x00000010) != 0)) { dropIndexes_ = dropIndexes_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000010); } result.dropIndexes_ = dropIndexes_; if (alterStorageSettingsBuilder_ == null) { result.alterStorageSettings_ = alterStorageSettings_; } else { result.alterStorageSettings_ = alterStorageSettingsBuilder_.build(); } if (addColumnFamiliesBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0)) { addColumnFamilies_ = java.util.Collections.unmodifiableList(addColumnFamilies_); bitField0_ = (bitField0_ & ~0x00000020); } result.addColumnFamilies_ = addColumnFamilies_; } else { result.addColumnFamilies_ = addColumnFamiliesBuilder_.build(); } if (alterColumnFamiliesBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0)) { alterColumnFamilies_ = java.util.Collections.unmodifiableList(alterColumnFamilies_); bitField0_ = (bitField0_ & ~0x00000040); } result.alterColumnFamilies_ = alterColumnFamilies_; } else { result.alterColumnFamilies_ = alterColumnFamiliesBuilder_.build(); } result.alterAttributes_ = internalGetAlterAttributes(); result.alterAttributes_.makeImmutable(); result.setCompactionPolicy_ = setCompactionPolicy_; if (alterPartitioningSettingsBuilder_ == null) { result.alterPartitioningSettings_ = alterPartitioningSettings_; } else { result.alterPartitioningSettings_ = alterPartitioningSettingsBuilder_.build(); } result.setKeyBloomFilter_ = setKeyBloomFilter_; if (setReadReplicasSettingsBuilder_ == null) { result.setReadReplicasSettings_ = setReadReplicasSettings_; } else { result.setReadReplicasSettings_ = setReadReplicasSettingsBuilder_.build(); } if (addChangefeedsBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0)) { addChangefeeds_ = java.util.Collections.unmodifiableList(addChangefeeds_); bitField0_ = (bitField0_ & ~0x00000100); } result.addChangefeeds_ = addChangefeeds_; } else { result.addChangefeeds_ = addChangefeedsBuilder_.build(); } if (((bitField0_ & 0x00000200) != 0)) { dropChangefeeds_ = dropChangefeeds_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000200); } result.dropChangefeeds_ = dropChangefeeds_; result.ttlActionCase_ = ttlActionCase_; 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 com.yandex.ydb.table.YdbTable.AlterTableRequest) { return mergeFrom((com.yandex.ydb.table.YdbTable.AlterTableRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.AlterTableRequest other) { if (other == com.yandex.ydb.table.YdbTable.AlterTableRequest.getDefaultInstance()) return this; if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; onChanged(); } if (!other.getPath().isEmpty()) { path_ = other.path_; onChanged(); } if (addColumnsBuilder_ == null) { if (!other.addColumns_.isEmpty()) { if (addColumns_.isEmpty()) { addColumns_ = other.addColumns_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureAddColumnsIsMutable(); addColumns_.addAll(other.addColumns_); } onChanged(); } } else { if (!other.addColumns_.isEmpty()) { if (addColumnsBuilder_.isEmpty()) { addColumnsBuilder_.dispose(); addColumnsBuilder_ = null; addColumns_ = other.addColumns_; bitField0_ = (bitField0_ & ~0x00000001); addColumnsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAddColumnsFieldBuilder() : null; } else { addColumnsBuilder_.addAllMessages(other.addColumns_); } } } if (!other.dropColumns_.isEmpty()) { if (dropColumns_.isEmpty()) { dropColumns_ = other.dropColumns_; bitField0_ = (bitField0_ & ~0x00000002); } 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_ & ~0x00000004); } else { ensureAlterColumnsIsMutable(); alterColumns_.addAll(other.alterColumns_); } onChanged(); } } else { if (!other.alterColumns_.isEmpty()) { if (alterColumnsBuilder_.isEmpty()) { alterColumnsBuilder_.dispose(); alterColumnsBuilder_ = null; alterColumns_ = other.alterColumns_; bitField0_ = (bitField0_ & ~0x00000004); 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_ & ~0x00000008); } else { ensureAddIndexesIsMutable(); addIndexes_.addAll(other.addIndexes_); } onChanged(); } } else { if (!other.addIndexes_.isEmpty()) { if (addIndexesBuilder_.isEmpty()) { addIndexesBuilder_.dispose(); addIndexesBuilder_ = null; addIndexes_ = other.addIndexes_; bitField0_ = (bitField0_ & ~0x00000008); addIndexesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAddIndexesFieldBuilder() : null; } else { addIndexesBuilder_.addAllMessages(other.addIndexes_); } } } if (!other.dropIndexes_.isEmpty()) { if (dropIndexes_.isEmpty()) { dropIndexes_ = other.dropIndexes_; bitField0_ = (bitField0_ & ~0x00000010); } 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_ & ~0x00000020); } else { ensureAddColumnFamiliesIsMutable(); addColumnFamilies_.addAll(other.addColumnFamilies_); } onChanged(); } } else { if (!other.addColumnFamilies_.isEmpty()) { if (addColumnFamiliesBuilder_.isEmpty()) { addColumnFamiliesBuilder_.dispose(); addColumnFamiliesBuilder_ = null; addColumnFamilies_ = other.addColumnFamilies_; bitField0_ = (bitField0_ & ~0x00000020); 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_ & ~0x00000040); } else { ensureAlterColumnFamiliesIsMutable(); alterColumnFamilies_.addAll(other.alterColumnFamilies_); } onChanged(); } } else { if (!other.alterColumnFamilies_.isEmpty()) { if (alterColumnFamiliesBuilder_.isEmpty()) { alterColumnFamiliesBuilder_.dispose(); alterColumnFamiliesBuilder_ = null; alterColumnFamilies_ = other.alterColumnFamilies_; bitField0_ = (bitField0_ & ~0x00000040); alterColumnFamiliesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAlterColumnFamiliesFieldBuilder() : null; } else { alterColumnFamiliesBuilder_.addAllMessages(other.alterColumnFamilies_); } } } internalGetMutableAlterAttributes().mergeFrom( other.internalGetAlterAttributes()); if (!other.getSetCompactionPolicy().isEmpty()) { setCompactionPolicy_ = other.setCompactionPolicy_; 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_ & ~0x00000100); } else { ensureAddChangefeedsIsMutable(); addChangefeeds_.addAll(other.addChangefeeds_); } onChanged(); } } else { if (!other.addChangefeeds_.isEmpty()) { if (addChangefeedsBuilder_.isEmpty()) { addChangefeedsBuilder_.dispose(); addChangefeedsBuilder_ = null; addChangefeeds_ = other.addChangefeeds_; bitField0_ = (bitField0_ & ~0x00000100); addChangefeedsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAddChangefeedsFieldBuilder() : null; } else { addChangefeedsBuilder_.addAllMessages(other.addChangefeeds_); } } } if (!other.dropChangefeeds_.isEmpty()) { if (dropChangefeeds_.isEmpty()) { dropChangefeeds_ = other.dropChangefeeds_; bitField0_ = (bitField0_ & ~0x00000200); } else { ensureDropChangefeedsIsMutable(); dropChangefeeds_.addAll(other.dropChangefeeds_); } onChanged(); } switch (other.getTtlActionCase()) { case SET_TTL_SETTINGS: { mergeSetTtlSettings(other.getSetTtlSettings()); break; } case DROP_TTL_SETTINGS: { mergeDropTtlSettings(other.getDropTtlSettings()); break; } case TTLACTION_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.AlterTableRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.AlterTableRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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 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; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); 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; 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; onChanged(); return this; } /** *
       * Full path
       * 
* * string path = 2; * @return This builder for chaining. */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); 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; onChanged(); return this; } private java.util.List addColumns_ = java.util.Collections.emptyList(); private void ensureAddColumnsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { addColumns_ = new java.util.ArrayList(addColumns_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.ColumnMeta, com.yandex.ydb.table.YdbTable.ColumnMeta.Builder, com.yandex.ydb.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 com.yandex.ydb.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, com.yandex.ydb.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, com.yandex.ydb.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(com.yandex.ydb.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, com.yandex.ydb.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( com.yandex.ydb.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, com.yandex.ydb.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_ & ~0x00000001); 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 com.yandex.ydb.table.YdbTable.ColumnMeta.Builder getAddColumnsBuilder( int index) { return getAddColumnsFieldBuilder().getBuilder(index); } /** *
       * Columns (name, type) to add
       * 
* * repeated .Ydb.Table.ColumnMeta add_columns = 3; */ public com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ColumnMeta.Builder addAddColumnsBuilder() { return getAddColumnsFieldBuilder().addBuilder( com.yandex.ydb.table.YdbTable.ColumnMeta.getDefaultInstance()); } /** *
       * Columns (name, type) to add
       * 
* * repeated .Ydb.Table.ColumnMeta add_columns = 3; */ public com.yandex.ydb.table.YdbTable.ColumnMeta.Builder addAddColumnsBuilder( int index) { return getAddColumnsFieldBuilder().addBuilder( index, com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.ColumnMeta, com.yandex.ydb.table.YdbTable.ColumnMeta.Builder, com.yandex.ydb.table.YdbTable.ColumnMetaOrBuilder> getAddColumnsFieldBuilder() { if (addColumnsBuilder_ == null) { addColumnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.ColumnMeta, com.yandex.ydb.table.YdbTable.ColumnMeta.Builder, com.yandex.ydb.table.YdbTable.ColumnMetaOrBuilder>( addColumns_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); addColumns_ = null; } return addColumnsBuilder_; } private com.google.protobuf.LazyStringList dropColumns_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureDropColumnsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { dropColumns_ = new com.google.protobuf.LazyStringArrayList(dropColumns_); bitField0_ |= 0x00000002; } } /** *
       * Columns to remove
       * 
* * repeated string drop_columns = 4; * @return A list containing the dropColumns. */ public com.google.protobuf.ProtocolStringList getDropColumnsList() { return dropColumns_.getUnmodifiableView(); } /** *
       * 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); 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); 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_); onChanged(); return this; } /** *
       * Columns to remove
       * 
* * repeated string drop_columns = 4; * @return This builder for chaining. */ public Builder clearDropColumns() { dropColumns_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); 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); onChanged(); return this; } private com.yandex.ydb.OperationProtos.OperationParams operationParams_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> operationParamsBuilder_; /** * .Ydb.Operations.OperationParams operation_params = 5; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return operationParamsBuilder_ != null || operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 5; * @return The operationParams. */ public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { if (operationParamsBuilder_ == null) { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } else { return operationParamsBuilder_.getMessage(); } } /** * .Ydb.Operations.OperationParams operation_params = 5; */ public Builder setOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operationParams_ = value; onChanged(); } else { operationParamsBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 5; */ public Builder setOperationParams( com.yandex.ydb.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); onChanged(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 5; */ public Builder mergeOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (operationParams_ != null) { operationParams_ = com.yandex.ydb.OperationProtos.OperationParams.newBuilder(operationParams_).mergeFrom(value).buildPartial(); } else { operationParams_ = value; } onChanged(); } else { operationParamsBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 5; */ public Builder clearOperationParams() { if (operationParamsBuilder_ == null) { operationParams_ = null; onChanged(); } else { operationParams_ = null; operationParamsBuilder_ = null; } return this; } /** * .Ydb.Operations.OperationParams operation_params = 5; */ public com.yandex.ydb.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 5; */ public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { if (operationParamsBuilder_ != null) { return operationParamsBuilder_.getMessageOrBuilder(); } else { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } } /** * .Ydb.Operations.OperationParams operation_params = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> getOperationParamsFieldBuilder() { if (operationParamsBuilder_ == null) { operationParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder>( getOperationParams(), getParentForChildren(), isClean()); operationParams_ = null; } return operationParamsBuilder_; } private java.util.List alterColumns_ = java.util.Collections.emptyList(); private void ensureAlterColumnsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { alterColumns_ = new java.util.ArrayList(alterColumns_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.ColumnMeta, com.yandex.ydb.table.YdbTable.ColumnMeta.Builder, com.yandex.ydb.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 com.yandex.ydb.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, com.yandex.ydb.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, com.yandex.ydb.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(com.yandex.ydb.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, com.yandex.ydb.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( com.yandex.ydb.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, com.yandex.ydb.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_ & ~0x00000004); 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 com.yandex.ydb.table.YdbTable.ColumnMeta.Builder getAlterColumnsBuilder( int index) { return getAlterColumnsFieldBuilder().getBuilder(index); } /** *
       * Columns to alter
       * 
* * repeated .Ydb.Table.ColumnMeta alter_columns = 6; */ public com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ColumnMeta.Builder addAlterColumnsBuilder() { return getAlterColumnsFieldBuilder().addBuilder( com.yandex.ydb.table.YdbTable.ColumnMeta.getDefaultInstance()); } /** *
       * Columns to alter
       * 
* * repeated .Ydb.Table.ColumnMeta alter_columns = 6; */ public com.yandex.ydb.table.YdbTable.ColumnMeta.Builder addAlterColumnsBuilder( int index) { return getAlterColumnsFieldBuilder().addBuilder( index, com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.ColumnMeta, com.yandex.ydb.table.YdbTable.ColumnMeta.Builder, com.yandex.ydb.table.YdbTable.ColumnMetaOrBuilder> getAlterColumnsFieldBuilder() { if (alterColumnsBuilder_ == null) { alterColumnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.ColumnMeta, com.yandex.ydb.table.YdbTable.ColumnMeta.Builder, com.yandex.ydb.table.YdbTable.ColumnMetaOrBuilder>( alterColumns_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); alterColumns_ = null; } return alterColumnsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.TtlSettings, com.yandex.ydb.table.YdbTable.TtlSettings.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TtlSettings getSetTtlSettings() { if (setTtlSettingsBuilder_ == null) { if (ttlActionCase_ == 7) { return (com.yandex.ydb.table.YdbTable.TtlSettings) ttlAction_; } return com.yandex.ydb.table.YdbTable.TtlSettings.getDefaultInstance(); } else { if (ttlActionCase_ == 7) { return setTtlSettingsBuilder_.getMessage(); } return com.yandex.ydb.table.YdbTable.TtlSettings.getDefaultInstance(); } } /** * .Ydb.Table.TtlSettings set_ttl_settings = 7; */ public Builder setSetTtlSettings(com.yandex.ydb.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( com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.TtlSettings value) { if (setTtlSettingsBuilder_ == null) { if (ttlActionCase_ == 7 && ttlAction_ != com.yandex.ydb.table.YdbTable.TtlSettings.getDefaultInstance()) { ttlAction_ = com.yandex.ydb.table.YdbTable.TtlSettings.newBuilder((com.yandex.ydb.table.YdbTable.TtlSettings) ttlAction_) .mergeFrom(value).buildPartial(); } else { ttlAction_ = value; } onChanged(); } else { if (ttlActionCase_ == 7) { setTtlSettingsBuilder_.mergeFrom(value); } 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 com.yandex.ydb.table.YdbTable.TtlSettings.Builder getSetTtlSettingsBuilder() { return getSetTtlSettingsFieldBuilder().getBuilder(); } /** * .Ydb.Table.TtlSettings set_ttl_settings = 7; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.TtlSettingsOrBuilder getSetTtlSettingsOrBuilder() { if ((ttlActionCase_ == 7) && (setTtlSettingsBuilder_ != null)) { return setTtlSettingsBuilder_.getMessageOrBuilder(); } else { if (ttlActionCase_ == 7) { return (com.yandex.ydb.table.YdbTable.TtlSettings) ttlAction_; } return com.yandex.ydb.table.YdbTable.TtlSettings.getDefaultInstance(); } } /** * .Ydb.Table.TtlSettings set_ttl_settings = 7; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.TtlSettings, com.yandex.ydb.table.YdbTable.TtlSettings.Builder, com.yandex.ydb.table.YdbTable.TtlSettingsOrBuilder> getSetTtlSettingsFieldBuilder() { if (setTtlSettingsBuilder_ == null) { if (!(ttlActionCase_ == 7)) { ttlAction_ = com.yandex.ydb.table.YdbTable.TtlSettings.getDefaultInstance(); } setTtlSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.TtlSettings, com.yandex.ydb.table.YdbTable.TtlSettings.Builder, com.yandex.ydb.table.YdbTable.TtlSettingsOrBuilder>( (com.yandex.ydb.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); } 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_ & 0x00000008) != 0)) { addIndexes_ = new java.util.ArrayList(addIndexes_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.TableIndex, com.yandex.ydb.table.YdbTable.TableIndex.Builder, com.yandex.ydb.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 com.yandex.ydb.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, com.yandex.ydb.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, com.yandex.ydb.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(com.yandex.ydb.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, com.yandex.ydb.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( com.yandex.ydb.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, com.yandex.ydb.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_ & ~0x00000008); 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 com.yandex.ydb.table.YdbTable.TableIndex.Builder getAddIndexesBuilder( int index) { return getAddIndexesFieldBuilder().getBuilder(index); } /** *
       * Add secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex add_indexes = 9; */ public com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TableIndex.Builder addAddIndexesBuilder() { return getAddIndexesFieldBuilder().addBuilder( com.yandex.ydb.table.YdbTable.TableIndex.getDefaultInstance()); } /** *
       * Add secondary indexes
       * 
* * repeated .Ydb.Table.TableIndex add_indexes = 9; */ public com.yandex.ydb.table.YdbTable.TableIndex.Builder addAddIndexesBuilder( int index) { return getAddIndexesFieldBuilder().addBuilder( index, com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.TableIndex, com.yandex.ydb.table.YdbTable.TableIndex.Builder, com.yandex.ydb.table.YdbTable.TableIndexOrBuilder> getAddIndexesFieldBuilder() { if (addIndexesBuilder_ == null) { addIndexesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.TableIndex, com.yandex.ydb.table.YdbTable.TableIndex.Builder, com.yandex.ydb.table.YdbTable.TableIndexOrBuilder>( addIndexes_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); addIndexes_ = null; } return addIndexesBuilder_; } private com.google.protobuf.LazyStringList dropIndexes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureDropIndexesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { dropIndexes_ = new com.google.protobuf.LazyStringArrayList(dropIndexes_); bitField0_ |= 0x00000010; } } /** *
       * Remove secondary indexes
       * 
* * repeated string drop_indexes = 10; * @return A list containing the dropIndexes. */ public com.google.protobuf.ProtocolStringList getDropIndexesList() { return dropIndexes_.getUnmodifiableView(); } /** *
       * 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); 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); 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_); onChanged(); return this; } /** *
       * Remove secondary indexes
       * 
* * repeated string drop_indexes = 10; * @return This builder for chaining. */ public Builder clearDropIndexes() { dropIndexes_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000010); 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); onChanged(); return this; } private com.yandex.ydb.table.YdbTable.StorageSettings alterStorageSettings_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StorageSettings, com.yandex.ydb.table.YdbTable.StorageSettings.Builder, com.yandex.ydb.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 alterStorageSettingsBuilder_ != null || alterStorageSettings_ != null; } /** *
       * Change table storage settings
       * 
* * .Ydb.Table.StorageSettings alter_storage_settings = 11; * @return The alterStorageSettings. */ public com.yandex.ydb.table.YdbTable.StorageSettings getAlterStorageSettings() { if (alterStorageSettingsBuilder_ == null) { return alterStorageSettings_ == null ? com.yandex.ydb.table.YdbTable.StorageSettings.getDefaultInstance() : alterStorageSettings_; } else { return alterStorageSettingsBuilder_.getMessage(); } } /** *
       * Change table storage settings
       * 
* * .Ydb.Table.StorageSettings alter_storage_settings = 11; */ public Builder setAlterStorageSettings(com.yandex.ydb.table.YdbTable.StorageSettings value) { if (alterStorageSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } alterStorageSettings_ = value; onChanged(); } else { alterStorageSettingsBuilder_.setMessage(value); } return this; } /** *
       * Change table storage settings
       * 
* * .Ydb.Table.StorageSettings alter_storage_settings = 11; */ public Builder setAlterStorageSettings( com.yandex.ydb.table.YdbTable.StorageSettings.Builder builderForValue) { if (alterStorageSettingsBuilder_ == null) { alterStorageSettings_ = builderForValue.build(); onChanged(); } else { alterStorageSettingsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Change table storage settings
       * 
* * .Ydb.Table.StorageSettings alter_storage_settings = 11; */ public Builder mergeAlterStorageSettings(com.yandex.ydb.table.YdbTable.StorageSettings value) { if (alterStorageSettingsBuilder_ == null) { if (alterStorageSettings_ != null) { alterStorageSettings_ = com.yandex.ydb.table.YdbTable.StorageSettings.newBuilder(alterStorageSettings_).mergeFrom(value).buildPartial(); } else { alterStorageSettings_ = value; } onChanged(); } else { alterStorageSettingsBuilder_.mergeFrom(value); } return this; } /** *
       * Change table storage settings
       * 
* * .Ydb.Table.StorageSettings alter_storage_settings = 11; */ public Builder clearAlterStorageSettings() { if (alterStorageSettingsBuilder_ == null) { alterStorageSettings_ = null; onChanged(); } else { alterStorageSettings_ = null; alterStorageSettingsBuilder_ = null; } return this; } /** *
       * Change table storage settings
       * 
* * .Ydb.Table.StorageSettings alter_storage_settings = 11; */ public com.yandex.ydb.table.YdbTable.StorageSettings.Builder getAlterStorageSettingsBuilder() { onChanged(); return getAlterStorageSettingsFieldBuilder().getBuilder(); } /** *
       * Change table storage settings
       * 
* * .Ydb.Table.StorageSettings alter_storage_settings = 11; */ public com.yandex.ydb.table.YdbTable.StorageSettingsOrBuilder getAlterStorageSettingsOrBuilder() { if (alterStorageSettingsBuilder_ != null) { return alterStorageSettingsBuilder_.getMessageOrBuilder(); } else { return alterStorageSettings_ == null ? com.yandex.ydb.table.YdbTable.StorageSettings.getDefaultInstance() : alterStorageSettings_; } } /** *
       * Change table storage settings
       * 
* * .Ydb.Table.StorageSettings alter_storage_settings = 11; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StorageSettings, com.yandex.ydb.table.YdbTable.StorageSettings.Builder, com.yandex.ydb.table.YdbTable.StorageSettingsOrBuilder> getAlterStorageSettingsFieldBuilder() { if (alterStorageSettingsBuilder_ == null) { alterStorageSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StorageSettings, com.yandex.ydb.table.YdbTable.StorageSettings.Builder, com.yandex.ydb.table.YdbTable.StorageSettingsOrBuilder>( getAlterStorageSettings(), getParentForChildren(), isClean()); alterStorageSettings_ = null; } return alterStorageSettingsBuilder_; } private java.util.List addColumnFamilies_ = java.util.Collections.emptyList(); private void ensureAddColumnFamiliesIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { addColumnFamilies_ = new java.util.ArrayList(addColumnFamilies_); bitField0_ |= 0x00000020; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.ColumnFamily, com.yandex.ydb.table.YdbTable.ColumnFamily.Builder, com.yandex.ydb.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 com.yandex.ydb.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, com.yandex.ydb.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, com.yandex.ydb.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(com.yandex.ydb.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, com.yandex.ydb.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( com.yandex.ydb.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, com.yandex.ydb.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_ & ~0x00000020); 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 com.yandex.ydb.table.YdbTable.ColumnFamily.Builder getAddColumnFamiliesBuilder( int index) { return getAddColumnFamiliesFieldBuilder().getBuilder(index); } /** *
       * Add/alter column families
       * 
* * repeated .Ydb.Table.ColumnFamily add_column_families = 12; */ public com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ColumnFamily.Builder addAddColumnFamiliesBuilder() { return getAddColumnFamiliesFieldBuilder().addBuilder( com.yandex.ydb.table.YdbTable.ColumnFamily.getDefaultInstance()); } /** *
       * Add/alter column families
       * 
* * repeated .Ydb.Table.ColumnFamily add_column_families = 12; */ public com.yandex.ydb.table.YdbTable.ColumnFamily.Builder addAddColumnFamiliesBuilder( int index) { return getAddColumnFamiliesFieldBuilder().addBuilder( index, com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.ColumnFamily, com.yandex.ydb.table.YdbTable.ColumnFamily.Builder, com.yandex.ydb.table.YdbTable.ColumnFamilyOrBuilder> getAddColumnFamiliesFieldBuilder() { if (addColumnFamiliesBuilder_ == null) { addColumnFamiliesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.ColumnFamily, com.yandex.ydb.table.YdbTable.ColumnFamily.Builder, com.yandex.ydb.table.YdbTable.ColumnFamilyOrBuilder>( addColumnFamilies_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean()); addColumnFamilies_ = null; } return addColumnFamiliesBuilder_; } private java.util.List alterColumnFamilies_ = java.util.Collections.emptyList(); private void ensureAlterColumnFamiliesIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { alterColumnFamilies_ = new java.util.ArrayList(alterColumnFamilies_); bitField0_ |= 0x00000040; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.ColumnFamily, com.yandex.ydb.table.YdbTable.ColumnFamily.Builder, com.yandex.ydb.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 com.yandex.ydb.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, com.yandex.ydb.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, com.yandex.ydb.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(com.yandex.ydb.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, com.yandex.ydb.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( com.yandex.ydb.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, com.yandex.ydb.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_ & ~0x00000040); 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 com.yandex.ydb.table.YdbTable.ColumnFamily.Builder getAlterColumnFamiliesBuilder( int index) { return getAlterColumnFamiliesFieldBuilder().getBuilder(index); } /** * repeated .Ydb.Table.ColumnFamily alter_column_families = 13; */ public com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ColumnFamily.Builder addAlterColumnFamiliesBuilder() { return getAlterColumnFamiliesFieldBuilder().addBuilder( com.yandex.ydb.table.YdbTable.ColumnFamily.getDefaultInstance()); } /** * repeated .Ydb.Table.ColumnFamily alter_column_families = 13; */ public com.yandex.ydb.table.YdbTable.ColumnFamily.Builder addAlterColumnFamiliesBuilder( int index) { return getAlterColumnFamiliesFieldBuilder().addBuilder( index, com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.ColumnFamily, com.yandex.ydb.table.YdbTable.ColumnFamily.Builder, com.yandex.ydb.table.YdbTable.ColumnFamilyOrBuilder> getAlterColumnFamiliesFieldBuilder() { if (alterColumnFamiliesBuilder_ == null) { alterColumnFamiliesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.ColumnFamily, com.yandex.ydb.table.YdbTable.ColumnFamily.Builder, com.yandex.ydb.table.YdbTable.ColumnFamilyOrBuilder>( alterColumnFamilies_, ((bitField0_ & 0x00000040) != 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() { onChanged();; if (alterAttributes_ == null) { alterAttributes_ = com.google.protobuf.MapField.newMapField( AlterAttributesDefaultEntryHolder.defaultEntry); } if (!alterAttributes_.isMutable()) { alterAttributes_ = alterAttributes_.copy(); } 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 java.lang.NullPointerException(); } 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 java.lang.String getAlterAttributesOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } 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 java.lang.NullPointerException(); } java.util.Map map = internalGetAlterAttributes().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearAlterAttributes() { 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 java.lang.NullPointerException(); } internalGetMutableAlterAttributes().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableAlterAttributes() { 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 java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableAlterAttributes().getMutableMap() .put(key, value); 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); 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; 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(); 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; onChanged(); return this; } private com.yandex.ydb.table.YdbTable.PartitioningSettings alterPartitioningSettings_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.PartitioningSettings, com.yandex.ydb.table.YdbTable.PartitioningSettings.Builder, com.yandex.ydb.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 alterPartitioningSettingsBuilder_ != null || alterPartitioningSettings_ != null; } /** *
       * Change table partitioning settings
       * 
* * .Ydb.Table.PartitioningSettings alter_partitioning_settings = 16; * @return The alterPartitioningSettings. */ public com.yandex.ydb.table.YdbTable.PartitioningSettings getAlterPartitioningSettings() { if (alterPartitioningSettingsBuilder_ == null) { return alterPartitioningSettings_ == null ? com.yandex.ydb.table.YdbTable.PartitioningSettings.getDefaultInstance() : alterPartitioningSettings_; } else { return alterPartitioningSettingsBuilder_.getMessage(); } } /** *
       * Change table partitioning settings
       * 
* * .Ydb.Table.PartitioningSettings alter_partitioning_settings = 16; */ public Builder setAlterPartitioningSettings(com.yandex.ydb.table.YdbTable.PartitioningSettings value) { if (alterPartitioningSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } alterPartitioningSettings_ = value; onChanged(); } else { alterPartitioningSettingsBuilder_.setMessage(value); } return this; } /** *
       * Change table partitioning settings
       * 
* * .Ydb.Table.PartitioningSettings alter_partitioning_settings = 16; */ public Builder setAlterPartitioningSettings( com.yandex.ydb.table.YdbTable.PartitioningSettings.Builder builderForValue) { if (alterPartitioningSettingsBuilder_ == null) { alterPartitioningSettings_ = builderForValue.build(); onChanged(); } else { alterPartitioningSettingsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Change table partitioning settings
       * 
* * .Ydb.Table.PartitioningSettings alter_partitioning_settings = 16; */ public Builder mergeAlterPartitioningSettings(com.yandex.ydb.table.YdbTable.PartitioningSettings value) { if (alterPartitioningSettingsBuilder_ == null) { if (alterPartitioningSettings_ != null) { alterPartitioningSettings_ = com.yandex.ydb.table.YdbTable.PartitioningSettings.newBuilder(alterPartitioningSettings_).mergeFrom(value).buildPartial(); } else { alterPartitioningSettings_ = value; } onChanged(); } else { alterPartitioningSettingsBuilder_.mergeFrom(value); } return this; } /** *
       * Change table partitioning settings
       * 
* * .Ydb.Table.PartitioningSettings alter_partitioning_settings = 16; */ public Builder clearAlterPartitioningSettings() { if (alterPartitioningSettingsBuilder_ == null) { alterPartitioningSettings_ = null; onChanged(); } else { alterPartitioningSettings_ = null; alterPartitioningSettingsBuilder_ = null; } return this; } /** *
       * Change table partitioning settings
       * 
* * .Ydb.Table.PartitioningSettings alter_partitioning_settings = 16; */ public com.yandex.ydb.table.YdbTable.PartitioningSettings.Builder getAlterPartitioningSettingsBuilder() { onChanged(); return getAlterPartitioningSettingsFieldBuilder().getBuilder(); } /** *
       * Change table partitioning settings
       * 
* * .Ydb.Table.PartitioningSettings alter_partitioning_settings = 16; */ public com.yandex.ydb.table.YdbTable.PartitioningSettingsOrBuilder getAlterPartitioningSettingsOrBuilder() { if (alterPartitioningSettingsBuilder_ != null) { return alterPartitioningSettingsBuilder_.getMessageOrBuilder(); } else { return alterPartitioningSettings_ == null ? com.yandex.ydb.table.YdbTable.PartitioningSettings.getDefaultInstance() : alterPartitioningSettings_; } } /** *
       * Change table partitioning settings
       * 
* * .Ydb.Table.PartitioningSettings alter_partitioning_settings = 16; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.PartitioningSettings, com.yandex.ydb.table.YdbTable.PartitioningSettings.Builder, com.yandex.ydb.table.YdbTable.PartitioningSettingsOrBuilder> getAlterPartitioningSettingsFieldBuilder() { if (alterPartitioningSettingsBuilder_ == null) { alterPartitioningSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.PartitioningSettings, com.yandex.ydb.table.YdbTable.PartitioningSettings.Builder, com.yandex.ydb.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; onChanged(); return this; } /** *
       * Enable/disable bloom filter by key
       * 
* * .Ydb.FeatureFlag.Status set_key_bloom_filter = 17; * @return The setKeyBloomFilter. */ @java.lang.Override public com.yandex.ydb.common.CommonProtos.FeatureFlag.Status getSetKeyBloomFilter() { @SuppressWarnings("deprecation") com.yandex.ydb.common.CommonProtos.FeatureFlag.Status result = com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.valueOf(setKeyBloomFilter_); return result == null ? com.yandex.ydb.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(com.yandex.ydb.common.CommonProtos.FeatureFlag.Status value) { if (value == null) { throw new NullPointerException(); } 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() { setKeyBloomFilter_ = 0; onChanged(); return this; } private com.yandex.ydb.table.YdbTable.ReadReplicasSettings setReadReplicasSettings_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.ReadReplicasSettings, com.yandex.ydb.table.YdbTable.ReadReplicasSettings.Builder, com.yandex.ydb.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 setReadReplicasSettingsBuilder_ != null || setReadReplicasSettings_ != null; } /** *
       * Set read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings set_read_replicas_settings = 18; * @return The setReadReplicasSettings. */ public com.yandex.ydb.table.YdbTable.ReadReplicasSettings getSetReadReplicasSettings() { if (setReadReplicasSettingsBuilder_ == null) { return setReadReplicasSettings_ == null ? com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.ReadReplicasSettings value) { if (setReadReplicasSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } setReadReplicasSettings_ = value; onChanged(); } else { setReadReplicasSettingsBuilder_.setMessage(value); } return this; } /** *
       * Set read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings set_read_replicas_settings = 18; */ public Builder setSetReadReplicasSettings( com.yandex.ydb.table.YdbTable.ReadReplicasSettings.Builder builderForValue) { if (setReadReplicasSettingsBuilder_ == null) { setReadReplicasSettings_ = builderForValue.build(); onChanged(); } else { setReadReplicasSettingsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Set read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings set_read_replicas_settings = 18; */ public Builder mergeSetReadReplicasSettings(com.yandex.ydb.table.YdbTable.ReadReplicasSettings value) { if (setReadReplicasSettingsBuilder_ == null) { if (setReadReplicasSettings_ != null) { setReadReplicasSettings_ = com.yandex.ydb.table.YdbTable.ReadReplicasSettings.newBuilder(setReadReplicasSettings_).mergeFrom(value).buildPartial(); } else { setReadReplicasSettings_ = value; } onChanged(); } else { setReadReplicasSettingsBuilder_.mergeFrom(value); } return this; } /** *
       * Set read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings set_read_replicas_settings = 18; */ public Builder clearSetReadReplicasSettings() { if (setReadReplicasSettingsBuilder_ == null) { setReadReplicasSettings_ = null; onChanged(); } else { setReadReplicasSettings_ = null; setReadReplicasSettingsBuilder_ = null; } return this; } /** *
       * Set read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings set_read_replicas_settings = 18; */ public com.yandex.ydb.table.YdbTable.ReadReplicasSettings.Builder getSetReadReplicasSettingsBuilder() { onChanged(); return getSetReadReplicasSettingsFieldBuilder().getBuilder(); } /** *
       * Set read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings set_read_replicas_settings = 18; */ public com.yandex.ydb.table.YdbTable.ReadReplicasSettingsOrBuilder getSetReadReplicasSettingsOrBuilder() { if (setReadReplicasSettingsBuilder_ != null) { return setReadReplicasSettingsBuilder_.getMessageOrBuilder(); } else { return setReadReplicasSettings_ == null ? com.yandex.ydb.table.YdbTable.ReadReplicasSettings.getDefaultInstance() : setReadReplicasSettings_; } } /** *
       * Set read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings set_read_replicas_settings = 18; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.ReadReplicasSettings, com.yandex.ydb.table.YdbTable.ReadReplicasSettings.Builder, com.yandex.ydb.table.YdbTable.ReadReplicasSettingsOrBuilder> getSetReadReplicasSettingsFieldBuilder() { if (setReadReplicasSettingsBuilder_ == null) { setReadReplicasSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.ReadReplicasSettings, com.yandex.ydb.table.YdbTable.ReadReplicasSettings.Builder, com.yandex.ydb.table.YdbTable.ReadReplicasSettingsOrBuilder>( getSetReadReplicasSettings(), getParentForChildren(), isClean()); setReadReplicasSettings_ = null; } return setReadReplicasSettingsBuilder_; } private java.util.List addChangefeeds_ = java.util.Collections.emptyList(); private void ensureAddChangefeedsIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { addChangefeeds_ = new java.util.ArrayList(addChangefeeds_); bitField0_ |= 0x00000100; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.Changefeed, com.yandex.ydb.table.YdbTable.Changefeed.Builder, com.yandex.ydb.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 com.yandex.ydb.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, com.yandex.ydb.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, com.yandex.ydb.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(com.yandex.ydb.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, com.yandex.ydb.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( com.yandex.ydb.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, com.yandex.ydb.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_ & ~0x00000100); 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 com.yandex.ydb.table.YdbTable.Changefeed.Builder getAddChangefeedsBuilder( int index) { return getAddChangefeedsFieldBuilder().getBuilder(index); } /** *
       * Add change feeds
       * 
* * repeated .Ydb.Table.Changefeed add_changefeeds = 19; */ public com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.Changefeed.Builder addAddChangefeedsBuilder() { return getAddChangefeedsFieldBuilder().addBuilder( com.yandex.ydb.table.YdbTable.Changefeed.getDefaultInstance()); } /** *
       * Add change feeds
       * 
* * repeated .Ydb.Table.Changefeed add_changefeeds = 19; */ public com.yandex.ydb.table.YdbTable.Changefeed.Builder addAddChangefeedsBuilder( int index) { return getAddChangefeedsFieldBuilder().addBuilder( index, com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.Changefeed, com.yandex.ydb.table.YdbTable.Changefeed.Builder, com.yandex.ydb.table.YdbTable.ChangefeedOrBuilder> getAddChangefeedsFieldBuilder() { if (addChangefeedsBuilder_ == null) { addChangefeedsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.Changefeed, com.yandex.ydb.table.YdbTable.Changefeed.Builder, com.yandex.ydb.table.YdbTable.ChangefeedOrBuilder>( addChangefeeds_, ((bitField0_ & 0x00000100) != 0), getParentForChildren(), isClean()); addChangefeeds_ = null; } return addChangefeedsBuilder_; } private com.google.protobuf.LazyStringList dropChangefeeds_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureDropChangefeedsIsMutable() { if (!((bitField0_ & 0x00000200) != 0)) { dropChangefeeds_ = new com.google.protobuf.LazyStringArrayList(dropChangefeeds_); bitField0_ |= 0x00000200; } } /** *
       * 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_.getUnmodifiableView(); } /** *
       * 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); 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); 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_); 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.EMPTY; bitField0_ = (bitField0_ & ~0x00000200); 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); 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.AlterTableRequest) } // @@protoc_insertion_point(class_scope:Ydb.Table.AlterTableRequest) private static final com.yandex.ydb.table.YdbTable.AlterTableRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.AlterTableRequest(); } public static com.yandex.ydb.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 { return new AlterTableRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.Operation getOperation(); /** * .Ydb.Operations.Operation operation = 1; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AlterTableResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.OperationProtos.Operation.Builder subBuilder = null; if (operation_ != null) { subBuilder = operation_.toBuilder(); } operation_ = input.readMessage(com.yandex.ydb.OperationProtos.Operation.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operation_); operation_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_AlterTableResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_AlterTableResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.AlterTableResponse.class, com.yandex.ydb.table.YdbTable.AlterTableResponse.Builder.class); } public static final int OPERATION_FIELD_NUMBER = 1; private com.yandex.ydb.OperationProtos.Operation operation_; /** * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ @java.lang.Override public boolean hasOperation() { return operation_ != null; } /** * .Ydb.Operations.Operation operation = 1; * @return The operation. */ @java.lang.Override public com.yandex.ydb.OperationProtos.Operation getOperation() { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } /** * .Ydb.Operations.Operation operation = 1; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { return getOperation(); } 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 (operation_ != null) { output.writeMessage(1, getOperation()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (operation_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getOperation()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.AlterTableResponse)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.AlterTableResponse other = (com.yandex.ydb.table.YdbTable.AlterTableResponse) obj; if (hasOperation() != other.hasOperation()) return false; if (hasOperation()) { if (!getOperation() .equals(other.getOperation())) return false; } if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.AlterTableResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.AlterTableResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.AlterTableResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.AlterTableResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.AlterTableResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.AlterTableResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.AlterTableResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.AlterTableResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_AlterTableResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_AlterTableResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.AlterTableResponse.class, com.yandex.ydb.table.YdbTable.AlterTableResponse.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); if (operationBuilder_ == null) { operation_ = null; } else { operation_ = null; operationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_AlterTableResponse_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.AlterTableResponse getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.AlterTableResponse.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.AlterTableResponse build() { com.yandex.ydb.table.YdbTable.AlterTableResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.AlterTableResponse buildPartial() { com.yandex.ydb.table.YdbTable.AlterTableResponse result = new com.yandex.ydb.table.YdbTable.AlterTableResponse(this); if (operationBuilder_ == null) { result.operation_ = operation_; } else { result.operation_ = operationBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.AlterTableResponse) { return mergeFrom((com.yandex.ydb.table.YdbTable.AlterTableResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.AlterTableResponse other) { if (other == com.yandex.ydb.table.YdbTable.AlterTableResponse.getDefaultInstance()) return this; if (other.hasOperation()) { mergeOperation(other.getOperation()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.AlterTableResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.AlterTableResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.yandex.ydb.OperationProtos.Operation operation_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> operationBuilder_; /** * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ public boolean hasOperation() { return operationBuilder_ != null || operation_ != null; } /** * .Ydb.Operations.Operation operation = 1; * @return The operation. */ public com.yandex.ydb.OperationProtos.Operation getOperation() { if (operationBuilder_ == null) { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } else { return operationBuilder_.getMessage(); } } /** * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operation_ = value; onChanged(); } else { operationBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation( com.yandex.ydb.OperationProtos.Operation.Builder builderForValue) { if (operationBuilder_ == null) { operation_ = builderForValue.build(); onChanged(); } else { operationBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder mergeOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (operation_ != null) { operation_ = com.yandex.ydb.OperationProtos.Operation.newBuilder(operation_).mergeFrom(value).buildPartial(); } else { operation_ = value; } onChanged(); } else { operationBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder clearOperation() { if (operationBuilder_ == null) { operation_ = null; onChanged(); } else { operation_ = null; operationBuilder_ = null; } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.Operation.Builder getOperationBuilder() { onChanged(); return getOperationFieldBuilder().getBuilder(); } /** * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { if (operationBuilder_ != null) { return operationBuilder_.getMessageOrBuilder(); } else { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } } /** * .Ydb.Operations.Operation operation = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> getOperationFieldBuilder() { if (operationBuilder_ == null) { operationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.AlterTableResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.AlterTableResponse(); } public static com.yandex.ydb.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 { return new AlterTableResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 4; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CopyTableRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); sessionId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); sourcePath_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); destinationPath_ = s; break; } case 34: { com.yandex.ydb.OperationProtos.OperationParams.Builder subBuilder = null; if (operationParams_ != null) { subBuilder = operationParams_.toBuilder(); } operationParams_ = input.readMessage(com.yandex.ydb.OperationProtos.OperationParams.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operationParams_); operationParams_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CopyTableRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CopyTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CopyTableRequest.class, com.yandex.ydb.table.YdbTable.CopyTableRequest.Builder.class); } public static final int SESSION_ID_FIELD_NUMBER = 1; 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; 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; 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 com.yandex.ydb.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 4; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 4; * @return The operationParams. */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } /** * .Ydb.Operations.OperationParams operation_params = 4; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return getOperationParams(); } 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 (!getSessionIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_); } if (!getSourcePathBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, sourcePath_); } if (!getDestinationPathBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, destinationPath_); } if (operationParams_ != null) { output.writeMessage(4, getOperationParams()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getSessionIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_); } if (!getSourcePathBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourcePath_); } if (!getDestinationPathBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, destinationPath_); } if (operationParams_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getOperationParams()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.CopyTableRequest)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.CopyTableRequest other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.CopyTableRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CopyTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CopyTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.CopyTableRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.CopyTableRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CopyTableRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CopyTableRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.CopyTableRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CopyTableRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CopyTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CopyTableRequest.class, com.yandex.ydb.table.YdbTable.CopyTableRequest.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); sessionId_ = ""; sourcePath_ = ""; destinationPath_ = ""; if (operationParamsBuilder_ == null) { operationParams_ = null; } else { operationParams_ = null; operationParamsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CopyTableRequest_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CopyTableRequest getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.CopyTableRequest.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.CopyTableRequest build() { com.yandex.ydb.table.YdbTable.CopyTableRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CopyTableRequest buildPartial() { com.yandex.ydb.table.YdbTable.CopyTableRequest result = new com.yandex.ydb.table.YdbTable.CopyTableRequest(this); result.sessionId_ = sessionId_; result.sourcePath_ = sourcePath_; result.destinationPath_ = destinationPath_; if (operationParamsBuilder_ == null) { result.operationParams_ = operationParams_; } else { result.operationParams_ = operationParamsBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.CopyTableRequest) { return mergeFrom((com.yandex.ydb.table.YdbTable.CopyTableRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.CopyTableRequest other) { if (other == com.yandex.ydb.table.YdbTable.CopyTableRequest.getDefaultInstance()) return this; if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; onChanged(); } if (!other.getSourcePath().isEmpty()) { sourcePath_ = other.sourcePath_; onChanged(); } if (!other.getDestinationPath().isEmpty()) { destinationPath_ = other.destinationPath_; onChanged(); } if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.CopyTableRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.CopyTableRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); 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; 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; onChanged(); return this; } /** *
       * Copy from path
       * 
* * string source_path = 2; * @return This builder for chaining. */ public Builder clearSourcePath() { sourcePath_ = getDefaultInstance().getSourcePath(); 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; 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; onChanged(); return this; } /** *
       * Copy to path
       * 
* * string destination_path = 3; * @return This builder for chaining. */ public Builder clearDestinationPath() { destinationPath_ = getDefaultInstance().getDestinationPath(); 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; onChanged(); return this; } private com.yandex.ydb.OperationProtos.OperationParams operationParams_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> operationParamsBuilder_; /** * .Ydb.Operations.OperationParams operation_params = 4; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return operationParamsBuilder_ != null || operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 4; * @return The operationParams. */ public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { if (operationParamsBuilder_ == null) { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } else { return operationParamsBuilder_.getMessage(); } } /** * .Ydb.Operations.OperationParams operation_params = 4; */ public Builder setOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operationParams_ = value; onChanged(); } else { operationParamsBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 4; */ public Builder setOperationParams( com.yandex.ydb.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); onChanged(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 4; */ public Builder mergeOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (operationParams_ != null) { operationParams_ = com.yandex.ydb.OperationProtos.OperationParams.newBuilder(operationParams_).mergeFrom(value).buildPartial(); } else { operationParams_ = value; } onChanged(); } else { operationParamsBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 4; */ public Builder clearOperationParams() { if (operationParamsBuilder_ == null) { operationParams_ = null; onChanged(); } else { operationParams_ = null; operationParamsBuilder_ = null; } return this; } /** * .Ydb.Operations.OperationParams operation_params = 4; */ public com.yandex.ydb.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 4; */ public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { if (operationParamsBuilder_ != null) { return operationParamsBuilder_.getMessageOrBuilder(); } else { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } } /** * .Ydb.Operations.OperationParams operation_params = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> getOperationParamsFieldBuilder() { if (operationParamsBuilder_ == null) { operationParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CopyTableRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.CopyTableRequest(); } public static com.yandex.ydb.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 { return new CopyTableRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.Operation getOperation(); /** * .Ydb.Operations.Operation operation = 1; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CopyTableResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.OperationProtos.Operation.Builder subBuilder = null; if (operation_ != null) { subBuilder = operation_.toBuilder(); } operation_ = input.readMessage(com.yandex.ydb.OperationProtos.Operation.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operation_); operation_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CopyTableResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CopyTableResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CopyTableResponse.class, com.yandex.ydb.table.YdbTable.CopyTableResponse.Builder.class); } public static final int OPERATION_FIELD_NUMBER = 1; private com.yandex.ydb.OperationProtos.Operation operation_; /** * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ @java.lang.Override public boolean hasOperation() { return operation_ != null; } /** * .Ydb.Operations.Operation operation = 1; * @return The operation. */ @java.lang.Override public com.yandex.ydb.OperationProtos.Operation getOperation() { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } /** * .Ydb.Operations.Operation operation = 1; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { return getOperation(); } 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 (operation_ != null) { output.writeMessage(1, getOperation()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (operation_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getOperation()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.CopyTableResponse)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.CopyTableResponse other = (com.yandex.ydb.table.YdbTable.CopyTableResponse) obj; if (hasOperation() != other.hasOperation()) return false; if (hasOperation()) { if (!getOperation() .equals(other.getOperation())) return false; } if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.CopyTableResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CopyTableResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CopyTableResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.CopyTableResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.CopyTableResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CopyTableResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CopyTableResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.CopyTableResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CopyTableResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CopyTableResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CopyTableResponse.class, com.yandex.ydb.table.YdbTable.CopyTableResponse.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); if (operationBuilder_ == null) { operation_ = null; } else { operation_ = null; operationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CopyTableResponse_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CopyTableResponse getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.CopyTableResponse.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.CopyTableResponse build() { com.yandex.ydb.table.YdbTable.CopyTableResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CopyTableResponse buildPartial() { com.yandex.ydb.table.YdbTable.CopyTableResponse result = new com.yandex.ydb.table.YdbTable.CopyTableResponse(this); if (operationBuilder_ == null) { result.operation_ = operation_; } else { result.operation_ = operationBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.CopyTableResponse) { return mergeFrom((com.yandex.ydb.table.YdbTable.CopyTableResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.CopyTableResponse other) { if (other == com.yandex.ydb.table.YdbTable.CopyTableResponse.getDefaultInstance()) return this; if (other.hasOperation()) { mergeOperation(other.getOperation()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.CopyTableResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.CopyTableResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.yandex.ydb.OperationProtos.Operation operation_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> operationBuilder_; /** * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ public boolean hasOperation() { return operationBuilder_ != null || operation_ != null; } /** * .Ydb.Operations.Operation operation = 1; * @return The operation. */ public com.yandex.ydb.OperationProtos.Operation getOperation() { if (operationBuilder_ == null) { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } else { return operationBuilder_.getMessage(); } } /** * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operation_ = value; onChanged(); } else { operationBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation( com.yandex.ydb.OperationProtos.Operation.Builder builderForValue) { if (operationBuilder_ == null) { operation_ = builderForValue.build(); onChanged(); } else { operationBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder mergeOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (operation_ != null) { operation_ = com.yandex.ydb.OperationProtos.Operation.newBuilder(operation_).mergeFrom(value).buildPartial(); } else { operation_ = value; } onChanged(); } else { operationBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder clearOperation() { if (operationBuilder_ == null) { operation_ = null; onChanged(); } else { operation_ = null; operationBuilder_ = null; } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.Operation.Builder getOperationBuilder() { onChanged(); return getOperationFieldBuilder().getBuilder(); } /** * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { if (operationBuilder_ != null) { return operationBuilder_.getMessageOrBuilder(); } else { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } } /** * .Ydb.Operations.Operation operation = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> getOperationFieldBuilder() { if (operationBuilder_ == null) { operationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CopyTableResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.CopyTableResponse(); } public static com.yandex.ydb.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 { return new CopyTableResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CopyTableItem( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); sourcePath_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); destinationPath_ = s; break; } case 24: { omitIndexes_ = input.readBool(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CopyTableItem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CopyTableItem_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CopyTableItem.class, com.yandex.ydb.table.YdbTable.CopyTableItem.Builder.class); } public static final int SOURCE_PATH_FIELD_NUMBER = 1; 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; 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_; /** *
     * 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 (!getSourcePathBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sourcePath_); } if (!getDestinationPathBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, destinationPath_); } if (omitIndexes_ != false) { output.writeBool(3, omitIndexes_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getSourcePathBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sourcePath_); } if (!getDestinationPathBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, destinationPath_); } if (omitIndexes_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, omitIndexes_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.CopyTableItem)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.CopyTableItem other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.CopyTableItem parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CopyTableItem parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CopyTableItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.CopyTableItem parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.CopyTableItem parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CopyTableItem parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CopyTableItem parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.CopyTableItemOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CopyTableItem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CopyTableItem_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CopyTableItem.class, com.yandex.ydb.table.YdbTable.CopyTableItem.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.CopyTableItem.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); sourcePath_ = ""; destinationPath_ = ""; omitIndexes_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CopyTableItem_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CopyTableItem getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.CopyTableItem.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.CopyTableItem build() { com.yandex.ydb.table.YdbTable.CopyTableItem result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CopyTableItem buildPartial() { com.yandex.ydb.table.YdbTable.CopyTableItem result = new com.yandex.ydb.table.YdbTable.CopyTableItem(this); result.sourcePath_ = sourcePath_; result.destinationPath_ = destinationPath_; result.omitIndexes_ = omitIndexes_; 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 com.yandex.ydb.table.YdbTable.CopyTableItem) { return mergeFrom((com.yandex.ydb.table.YdbTable.CopyTableItem)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.CopyTableItem other) { if (other == com.yandex.ydb.table.YdbTable.CopyTableItem.getDefaultInstance()) return this; if (!other.getSourcePath().isEmpty()) { sourcePath_ = other.sourcePath_; onChanged(); } if (!other.getDestinationPath().isEmpty()) { destinationPath_ = other.destinationPath_; onChanged(); } if (other.getOmitIndexes() != false) { setOmitIndexes(other.getOmitIndexes()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.CopyTableItem parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.CopyTableItem) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; onChanged(); return this; } /** *
       * Copy from path
       * 
* * string source_path = 1; * @return This builder for chaining. */ public Builder clearSourcePath() { sourcePath_ = getDefaultInstance().getSourcePath(); 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; 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; onChanged(); return this; } /** *
       * Copy to path
       * 
* * string destination_path = 2; * @return This builder for chaining. */ public Builder clearDestinationPath() { destinationPath_ = getDefaultInstance().getDestinationPath(); 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; 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; onChanged(); return this; } /** *
       * Copy options
       * 
* * bool omit_indexes = 3; * @return This builder for chaining. */ public Builder clearOmitIndexes() { 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 com.yandex.ydb.table.YdbTable.CopyTableItem DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.CopyTableItem(); } public static com.yandex.ydb.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 { return new CopyTableItem(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 1; */ com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CopyTablesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.OperationProtos.OperationParams.Builder subBuilder = null; if (operationParams_ != null) { subBuilder = operationParams_.toBuilder(); } operationParams_ = input.readMessage(com.yandex.ydb.OperationProtos.OperationParams.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operationParams_); operationParams_ = subBuilder.buildPartial(); } break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); sessionId_ = s; break; } case 26: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { tables_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } tables_.add( input.readMessage(com.yandex.ydb.table.YdbTable.CopyTableItem.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tables_ = java.util.Collections.unmodifiableList(tables_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CopyTablesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CopyTablesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CopyTablesRequest.class, com.yandex.ydb.table.YdbTable.CopyTablesRequest.Builder.class); } public static final int OPERATION_PARAMS_FIELD_NUMBER = 1; private com.yandex.ydb.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 1; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 1; * @return The operationParams. */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return getOperationParams(); } public static final int SESSION_ID_FIELD_NUMBER = 2; 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; 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 com.yandex.ydb.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 com.yandex.ydb.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 (operationParams_ != null) { output.writeMessage(1, getOperationParams()); } if (!getSessionIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, sessionId_); } for (int i = 0; i < tables_.size(); i++) { output.writeMessage(3, tables_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (operationParams_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getOperationParams()); } if (!getSessionIdBytes().isEmpty()) { 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 += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.CopyTablesRequest)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.CopyTablesRequest other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.CopyTablesRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CopyTablesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CopyTablesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.CopyTablesRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.CopyTablesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CopyTablesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CopyTablesRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.CopyTablesRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CopyTablesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CopyTablesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CopyTablesRequest.class, com.yandex.ydb.table.YdbTable.CopyTablesRequest.Builder.class); } // Construct using com.yandex.ydb.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) { getTablesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (operationParamsBuilder_ == null) { operationParams_ = null; } else { operationParams_ = null; operationParamsBuilder_ = null; } sessionId_ = ""; if (tablesBuilder_ == null) { tables_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { tablesBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CopyTablesRequest_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CopyTablesRequest getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.CopyTablesRequest.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.CopyTablesRequest build() { com.yandex.ydb.table.YdbTable.CopyTablesRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CopyTablesRequest buildPartial() { com.yandex.ydb.table.YdbTable.CopyTablesRequest result = new com.yandex.ydb.table.YdbTable.CopyTablesRequest(this); int from_bitField0_ = bitField0_; if (operationParamsBuilder_ == null) { result.operationParams_ = operationParams_; } else { result.operationParams_ = operationParamsBuilder_.build(); } result.sessionId_ = sessionId_; if (tablesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { tables_ = java.util.Collections.unmodifiableList(tables_); bitField0_ = (bitField0_ & ~0x00000001); } result.tables_ = tables_; } else { result.tables_ = tablesBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.CopyTablesRequest) { return mergeFrom((com.yandex.ydb.table.YdbTable.CopyTablesRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.CopyTablesRequest other) { if (other == com.yandex.ydb.table.YdbTable.CopyTablesRequest.getDefaultInstance()) return this; if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; onChanged(); } if (tablesBuilder_ == null) { if (!other.tables_.isEmpty()) { if (tables_.isEmpty()) { tables_ = other.tables_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTablesIsMutable(); tables_.addAll(other.tables_); } onChanged(); } } else { if (!other.tables_.isEmpty()) { if (tablesBuilder_.isEmpty()) { tablesBuilder_.dispose(); tablesBuilder_ = null; tables_ = other.tables_; bitField0_ = (bitField0_ & ~0x00000001); tablesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTablesFieldBuilder() : null; } else { tablesBuilder_.addAllMessages(other.tables_); } } } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.CopyTablesRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.CopyTablesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.yandex.ydb.OperationProtos.OperationParams operationParams_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> operationParamsBuilder_; /** * .Ydb.Operations.OperationParams operation_params = 1; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return operationParamsBuilder_ != null || operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 1; * @return The operationParams. */ public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { if (operationParamsBuilder_ == null) { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } else { return operationParamsBuilder_.getMessage(); } } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public Builder setOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operationParams_ = value; onChanged(); } else { operationParamsBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public Builder setOperationParams( com.yandex.ydb.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); onChanged(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public Builder mergeOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (operationParams_ != null) { operationParams_ = com.yandex.ydb.OperationProtos.OperationParams.newBuilder(operationParams_).mergeFrom(value).buildPartial(); } else { operationParams_ = value; } onChanged(); } else { operationParamsBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public Builder clearOperationParams() { if (operationParamsBuilder_ == null) { operationParams_ = null; onChanged(); } else { operationParams_ = null; operationParamsBuilder_ = null; } return this; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public com.yandex.ydb.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { if (operationParamsBuilder_ != null) { return operationParamsBuilder_.getMessageOrBuilder(); } else { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } } /** * .Ydb.Operations.OperationParams operation_params = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> getOperationParamsFieldBuilder() { if (operationParamsBuilder_ == null) { operationParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.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; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 2; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); 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; onChanged(); return this; } private java.util.List tables_ = java.util.Collections.emptyList(); private void ensureTablesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tables_ = new java.util.ArrayList(tables_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.CopyTableItem, com.yandex.ydb.table.YdbTable.CopyTableItem.Builder, com.yandex.ydb.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 com.yandex.ydb.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, com.yandex.ydb.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, com.yandex.ydb.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(com.yandex.ydb.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, com.yandex.ydb.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( com.yandex.ydb.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, com.yandex.ydb.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_ & ~0x00000001); 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 com.yandex.ydb.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 com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CopyTableItem.Builder addTablesBuilder() { return getTablesFieldBuilder().addBuilder( com.yandex.ydb.table.YdbTable.CopyTableItem.getDefaultInstance()); } /** *
       * Source and destination paths which describe copies
       * 
* * repeated .Ydb.Table.CopyTableItem tables = 3; */ public com.yandex.ydb.table.YdbTable.CopyTableItem.Builder addTablesBuilder( int index) { return getTablesFieldBuilder().addBuilder( index, com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.CopyTableItem, com.yandex.ydb.table.YdbTable.CopyTableItem.Builder, com.yandex.ydb.table.YdbTable.CopyTableItemOrBuilder> getTablesFieldBuilder() { if (tablesBuilder_ == null) { tablesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.CopyTableItem, com.yandex.ydb.table.YdbTable.CopyTableItem.Builder, com.yandex.ydb.table.YdbTable.CopyTableItemOrBuilder>( tables_, ((bitField0_ & 0x00000001) != 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 com.yandex.ydb.table.YdbTable.CopyTablesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.CopyTablesRequest(); } public static com.yandex.ydb.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 { return new CopyTablesRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.Operation getOperation(); /** * .Ydb.Operations.Operation operation = 1; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CopyTablesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.OperationProtos.Operation.Builder subBuilder = null; if (operation_ != null) { subBuilder = operation_.toBuilder(); } operation_ = input.readMessage(com.yandex.ydb.OperationProtos.Operation.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operation_); operation_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CopyTablesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CopyTablesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CopyTablesResponse.class, com.yandex.ydb.table.YdbTable.CopyTablesResponse.Builder.class); } public static final int OPERATION_FIELD_NUMBER = 1; private com.yandex.ydb.OperationProtos.Operation operation_; /** * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ @java.lang.Override public boolean hasOperation() { return operation_ != null; } /** * .Ydb.Operations.Operation operation = 1; * @return The operation. */ @java.lang.Override public com.yandex.ydb.OperationProtos.Operation getOperation() { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } /** * .Ydb.Operations.Operation operation = 1; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { return getOperation(); } 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 (operation_ != null) { output.writeMessage(1, getOperation()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (operation_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getOperation()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.CopyTablesResponse)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.CopyTablesResponse other = (com.yandex.ydb.table.YdbTable.CopyTablesResponse) obj; if (hasOperation() != other.hasOperation()) return false; if (hasOperation()) { if (!getOperation() .equals(other.getOperation())) return false; } if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.CopyTablesResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CopyTablesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CopyTablesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.CopyTablesResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.CopyTablesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CopyTablesResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CopyTablesResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.CopyTablesResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CopyTablesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CopyTablesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CopyTablesResponse.class, com.yandex.ydb.table.YdbTable.CopyTablesResponse.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); if (operationBuilder_ == null) { operation_ = null; } else { operation_ = null; operationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CopyTablesResponse_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CopyTablesResponse getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.CopyTablesResponse.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.CopyTablesResponse build() { com.yandex.ydb.table.YdbTable.CopyTablesResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CopyTablesResponse buildPartial() { com.yandex.ydb.table.YdbTable.CopyTablesResponse result = new com.yandex.ydb.table.YdbTable.CopyTablesResponse(this); if (operationBuilder_ == null) { result.operation_ = operation_; } else { result.operation_ = operationBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.CopyTablesResponse) { return mergeFrom((com.yandex.ydb.table.YdbTable.CopyTablesResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.CopyTablesResponse other) { if (other == com.yandex.ydb.table.YdbTable.CopyTablesResponse.getDefaultInstance()) return this; if (other.hasOperation()) { mergeOperation(other.getOperation()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.CopyTablesResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.CopyTablesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.yandex.ydb.OperationProtos.Operation operation_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> operationBuilder_; /** * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ public boolean hasOperation() { return operationBuilder_ != null || operation_ != null; } /** * .Ydb.Operations.Operation operation = 1; * @return The operation. */ public com.yandex.ydb.OperationProtos.Operation getOperation() { if (operationBuilder_ == null) { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } else { return operationBuilder_.getMessage(); } } /** * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operation_ = value; onChanged(); } else { operationBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation( com.yandex.ydb.OperationProtos.Operation.Builder builderForValue) { if (operationBuilder_ == null) { operation_ = builderForValue.build(); onChanged(); } else { operationBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder mergeOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (operation_ != null) { operation_ = com.yandex.ydb.OperationProtos.Operation.newBuilder(operation_).mergeFrom(value).buildPartial(); } else { operation_ = value; } onChanged(); } else { operationBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder clearOperation() { if (operationBuilder_ == null) { operation_ = null; onChanged(); } else { operation_ = null; operationBuilder_ = null; } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.Operation.Builder getOperationBuilder() { onChanged(); return getOperationFieldBuilder().getBuilder(); } /** * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { if (operationBuilder_ != null) { return operationBuilder_.getMessageOrBuilder(); } else { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } } /** * .Ydb.Operations.Operation operation = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> getOperationFieldBuilder() { if (operationBuilder_ == null) { operationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CopyTablesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.CopyTablesResponse(); } public static com.yandex.ydb.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 { return new CopyTablesResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RenameTableItem( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); sourcePath_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); destinationPath_ = s; break; } case 24: { replaceDestination_ = input.readBool(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_RenameTableItem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_RenameTableItem_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.RenameTableItem.class, com.yandex.ydb.table.YdbTable.RenameTableItem.Builder.class); } public static final int SOURCE_PATH_FIELD_NUMBER = 1; 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; 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_; /** *
     * 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 (!getSourcePathBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sourcePath_); } if (!getDestinationPathBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, destinationPath_); } if (replaceDestination_ != false) { output.writeBool(3, replaceDestination_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getSourcePathBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sourcePath_); } if (!getDestinationPathBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, destinationPath_); } if (replaceDestination_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, replaceDestination_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.RenameTableItem)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.RenameTableItem other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.RenameTableItem parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.RenameTableItem parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.RenameTableItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.RenameTableItem parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.RenameTableItem parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.RenameTableItem parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.RenameTableItem parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.RenameTableItemOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_RenameTableItem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_RenameTableItem_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.RenameTableItem.class, com.yandex.ydb.table.YdbTable.RenameTableItem.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.RenameTableItem.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); sourcePath_ = ""; destinationPath_ = ""; replaceDestination_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_RenameTableItem_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.RenameTableItem getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.RenameTableItem.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.RenameTableItem build() { com.yandex.ydb.table.YdbTable.RenameTableItem result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.RenameTableItem buildPartial() { com.yandex.ydb.table.YdbTable.RenameTableItem result = new com.yandex.ydb.table.YdbTable.RenameTableItem(this); result.sourcePath_ = sourcePath_; result.destinationPath_ = destinationPath_; result.replaceDestination_ = replaceDestination_; 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 com.yandex.ydb.table.YdbTable.RenameTableItem) { return mergeFrom((com.yandex.ydb.table.YdbTable.RenameTableItem)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.RenameTableItem other) { if (other == com.yandex.ydb.table.YdbTable.RenameTableItem.getDefaultInstance()) return this; if (!other.getSourcePath().isEmpty()) { sourcePath_ = other.sourcePath_; onChanged(); } if (!other.getDestinationPath().isEmpty()) { destinationPath_ = other.destinationPath_; onChanged(); } if (other.getReplaceDestination() != false) { setReplaceDestination(other.getReplaceDestination()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.RenameTableItem parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.RenameTableItem) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; onChanged(); return this; } /** *
       * Full path
       * 
* * string source_path = 1; * @return This builder for chaining. */ public Builder clearSourcePath() { sourcePath_ = getDefaultInstance().getSourcePath(); 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; 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; onChanged(); return this; } /** *
       * Full path
       * 
* * string destination_path = 2; * @return This builder for chaining. */ public Builder clearDestinationPath() { destinationPath_ = getDefaultInstance().getDestinationPath(); 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; 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; onChanged(); return this; } /** *
       * Move options
       * 
* * bool replace_destination = 3; * @return This builder for chaining. */ public Builder clearReplaceDestination() { 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 com.yandex.ydb.table.YdbTable.RenameTableItem DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.RenameTableItem(); } public static com.yandex.ydb.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 { return new RenameTableItem(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 1; */ com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RenameTablesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.OperationProtos.OperationParams.Builder subBuilder = null; if (operationParams_ != null) { subBuilder = operationParams_.toBuilder(); } operationParams_ = input.readMessage(com.yandex.ydb.OperationProtos.OperationParams.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operationParams_); operationParams_ = subBuilder.buildPartial(); } break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); sessionId_ = s; break; } case 26: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { tables_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } tables_.add( input.readMessage(com.yandex.ydb.table.YdbTable.RenameTableItem.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tables_ = java.util.Collections.unmodifiableList(tables_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_RenameTablesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_RenameTablesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.RenameTablesRequest.class, com.yandex.ydb.table.YdbTable.RenameTablesRequest.Builder.class); } public static final int OPERATION_PARAMS_FIELD_NUMBER = 1; private com.yandex.ydb.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 1; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 1; * @return The operationParams. */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return getOperationParams(); } public static final int SESSION_ID_FIELD_NUMBER = 2; 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; 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 com.yandex.ydb.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 com.yandex.ydb.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 (operationParams_ != null) { output.writeMessage(1, getOperationParams()); } if (!getSessionIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, sessionId_); } for (int i = 0; i < tables_.size(); i++) { output.writeMessage(3, tables_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (operationParams_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getOperationParams()); } if (!getSessionIdBytes().isEmpty()) { 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 += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.RenameTablesRequest)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.RenameTablesRequest other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.RenameTablesRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.RenameTablesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.RenameTablesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.RenameTablesRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.RenameTablesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.RenameTablesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.RenameTablesRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.RenameTablesRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_RenameTablesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_RenameTablesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.RenameTablesRequest.class, com.yandex.ydb.table.YdbTable.RenameTablesRequest.Builder.class); } // Construct using com.yandex.ydb.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) { getTablesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (operationParamsBuilder_ == null) { operationParams_ = null; } else { operationParams_ = null; operationParamsBuilder_ = null; } sessionId_ = ""; if (tablesBuilder_ == null) { tables_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { tablesBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_RenameTablesRequest_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.RenameTablesRequest getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.RenameTablesRequest.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.RenameTablesRequest build() { com.yandex.ydb.table.YdbTable.RenameTablesRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.RenameTablesRequest buildPartial() { com.yandex.ydb.table.YdbTable.RenameTablesRequest result = new com.yandex.ydb.table.YdbTable.RenameTablesRequest(this); int from_bitField0_ = bitField0_; if (operationParamsBuilder_ == null) { result.operationParams_ = operationParams_; } else { result.operationParams_ = operationParamsBuilder_.build(); } result.sessionId_ = sessionId_; if (tablesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { tables_ = java.util.Collections.unmodifiableList(tables_); bitField0_ = (bitField0_ & ~0x00000001); } result.tables_ = tables_; } else { result.tables_ = tablesBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.RenameTablesRequest) { return mergeFrom((com.yandex.ydb.table.YdbTable.RenameTablesRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.RenameTablesRequest other) { if (other == com.yandex.ydb.table.YdbTable.RenameTablesRequest.getDefaultInstance()) return this; if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; onChanged(); } if (tablesBuilder_ == null) { if (!other.tables_.isEmpty()) { if (tables_.isEmpty()) { tables_ = other.tables_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTablesIsMutable(); tables_.addAll(other.tables_); } onChanged(); } } else { if (!other.tables_.isEmpty()) { if (tablesBuilder_.isEmpty()) { tablesBuilder_.dispose(); tablesBuilder_ = null; tables_ = other.tables_; bitField0_ = (bitField0_ & ~0x00000001); tablesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTablesFieldBuilder() : null; } else { tablesBuilder_.addAllMessages(other.tables_); } } } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.RenameTablesRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.RenameTablesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.yandex.ydb.OperationProtos.OperationParams operationParams_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> operationParamsBuilder_; /** * .Ydb.Operations.OperationParams operation_params = 1; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return operationParamsBuilder_ != null || operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 1; * @return The operationParams. */ public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { if (operationParamsBuilder_ == null) { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } else { return operationParamsBuilder_.getMessage(); } } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public Builder setOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operationParams_ = value; onChanged(); } else { operationParamsBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public Builder setOperationParams( com.yandex.ydb.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); onChanged(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public Builder mergeOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (operationParams_ != null) { operationParams_ = com.yandex.ydb.OperationProtos.OperationParams.newBuilder(operationParams_).mergeFrom(value).buildPartial(); } else { operationParams_ = value; } onChanged(); } else { operationParamsBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public Builder clearOperationParams() { if (operationParamsBuilder_ == null) { operationParams_ = null; onChanged(); } else { operationParams_ = null; operationParamsBuilder_ = null; } return this; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public com.yandex.ydb.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { if (operationParamsBuilder_ != null) { return operationParamsBuilder_.getMessageOrBuilder(); } else { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } } /** * .Ydb.Operations.OperationParams operation_params = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> getOperationParamsFieldBuilder() { if (operationParamsBuilder_ == null) { operationParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.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; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 2; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); 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; onChanged(); return this; } private java.util.List tables_ = java.util.Collections.emptyList(); private void ensureTablesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tables_ = new java.util.ArrayList(tables_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.RenameTableItem, com.yandex.ydb.table.YdbTable.RenameTableItem.Builder, com.yandex.ydb.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 com.yandex.ydb.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, com.yandex.ydb.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, com.yandex.ydb.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(com.yandex.ydb.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, com.yandex.ydb.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( com.yandex.ydb.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, com.yandex.ydb.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_ & ~0x00000001); 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 com.yandex.ydb.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 com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.RenameTableItem.Builder addTablesBuilder() { return getTablesFieldBuilder().addBuilder( com.yandex.ydb.table.YdbTable.RenameTableItem.getDefaultInstance()); } /** *
       * Source and destination paths inside RenameTableItem describe rename actions
       * 
* * repeated .Ydb.Table.RenameTableItem tables = 3; */ public com.yandex.ydb.table.YdbTable.RenameTableItem.Builder addTablesBuilder( int index) { return getTablesFieldBuilder().addBuilder( index, com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.RenameTableItem, com.yandex.ydb.table.YdbTable.RenameTableItem.Builder, com.yandex.ydb.table.YdbTable.RenameTableItemOrBuilder> getTablesFieldBuilder() { if (tablesBuilder_ == null) { tablesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.RenameTableItem, com.yandex.ydb.table.YdbTable.RenameTableItem.Builder, com.yandex.ydb.table.YdbTable.RenameTableItemOrBuilder>( tables_, ((bitField0_ & 0x00000001) != 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 com.yandex.ydb.table.YdbTable.RenameTablesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.RenameTablesRequest(); } public static com.yandex.ydb.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 { return new RenameTablesRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.Operation getOperation(); /** * .Ydb.Operations.Operation operation = 1; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RenameTablesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.OperationProtos.Operation.Builder subBuilder = null; if (operation_ != null) { subBuilder = operation_.toBuilder(); } operation_ = input.readMessage(com.yandex.ydb.OperationProtos.Operation.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operation_); operation_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_RenameTablesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_RenameTablesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.RenameTablesResponse.class, com.yandex.ydb.table.YdbTable.RenameTablesResponse.Builder.class); } public static final int OPERATION_FIELD_NUMBER = 1; private com.yandex.ydb.OperationProtos.Operation operation_; /** * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ @java.lang.Override public boolean hasOperation() { return operation_ != null; } /** * .Ydb.Operations.Operation operation = 1; * @return The operation. */ @java.lang.Override public com.yandex.ydb.OperationProtos.Operation getOperation() { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } /** * .Ydb.Operations.Operation operation = 1; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { return getOperation(); } 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 (operation_ != null) { output.writeMessage(1, getOperation()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (operation_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getOperation()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.RenameTablesResponse)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.RenameTablesResponse other = (com.yandex.ydb.table.YdbTable.RenameTablesResponse) obj; if (hasOperation() != other.hasOperation()) return false; if (hasOperation()) { if (!getOperation() .equals(other.getOperation())) return false; } if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.RenameTablesResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.RenameTablesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.RenameTablesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.RenameTablesResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.RenameTablesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.RenameTablesResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.RenameTablesResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.RenameTablesResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_RenameTablesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_RenameTablesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.RenameTablesResponse.class, com.yandex.ydb.table.YdbTable.RenameTablesResponse.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); if (operationBuilder_ == null) { operation_ = null; } else { operation_ = null; operationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_RenameTablesResponse_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.RenameTablesResponse getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.RenameTablesResponse.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.RenameTablesResponse build() { com.yandex.ydb.table.YdbTable.RenameTablesResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.RenameTablesResponse buildPartial() { com.yandex.ydb.table.YdbTable.RenameTablesResponse result = new com.yandex.ydb.table.YdbTable.RenameTablesResponse(this); if (operationBuilder_ == null) { result.operation_ = operation_; } else { result.operation_ = operationBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.RenameTablesResponse) { return mergeFrom((com.yandex.ydb.table.YdbTable.RenameTablesResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.RenameTablesResponse other) { if (other == com.yandex.ydb.table.YdbTable.RenameTablesResponse.getDefaultInstance()) return this; if (other.hasOperation()) { mergeOperation(other.getOperation()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.RenameTablesResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.RenameTablesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.yandex.ydb.OperationProtos.Operation operation_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> operationBuilder_; /** * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ public boolean hasOperation() { return operationBuilder_ != null || operation_ != null; } /** * .Ydb.Operations.Operation operation = 1; * @return The operation. */ public com.yandex.ydb.OperationProtos.Operation getOperation() { if (operationBuilder_ == null) { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } else { return operationBuilder_.getMessage(); } } /** * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operation_ = value; onChanged(); } else { operationBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation( com.yandex.ydb.OperationProtos.Operation.Builder builderForValue) { if (operationBuilder_ == null) { operation_ = builderForValue.build(); onChanged(); } else { operationBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder mergeOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (operation_ != null) { operation_ = com.yandex.ydb.OperationProtos.Operation.newBuilder(operation_).mergeFrom(value).buildPartial(); } else { operation_ = value; } onChanged(); } else { operationBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder clearOperation() { if (operationBuilder_ == null) { operation_ = null; onChanged(); } else { operation_ = null; operationBuilder_ = null; } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.Operation.Builder getOperationBuilder() { onChanged(); return getOperationFieldBuilder().getBuilder(); } /** * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { if (operationBuilder_ != null) { return operationBuilder_.getMessageOrBuilder(); } else { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } } /** * .Ydb.Operations.Operation operation = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> getOperationFieldBuilder() { if (operationBuilder_ == null) { operationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.RenameTablesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.RenameTablesResponse(); } public static com.yandex.ydb.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 { return new RenameTablesResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 4; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DescribeTableRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); sessionId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); path_ = s; break; } case 34: { com.yandex.ydb.OperationProtos.OperationParams.Builder subBuilder = null; if (operationParams_ != null) { subBuilder = operationParams_.toBuilder(); } operationParams_ = input.readMessage(com.yandex.ydb.OperationProtos.OperationParams.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operationParams_); operationParams_ = subBuilder.buildPartial(); } break; } case 40: { includeShardKeyBounds_ = input.readBool(); break; } case 48: { includeTableStats_ = input.readBool(); break; } case 56: { includePartitionStats_ = input.readBool(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DescribeTableRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DescribeTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.DescribeTableRequest.class, com.yandex.ydb.table.YdbTable.DescribeTableRequest.Builder.class); } public static final int SESSION_ID_FIELD_NUMBER = 1; 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; 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 com.yandex.ydb.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 4; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 4; * @return The operationParams. */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } /** * .Ydb.Operations.OperationParams operation_params = 4; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return getOperationParams(); } public static final int INCLUDE_SHARD_KEY_BOUNDS_FIELD_NUMBER = 5; 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_; } public static final int INCLUDE_TABLE_STATS_FIELD_NUMBER = 6; private boolean includeTableStats_; /** *
     * 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_; /** *
     * 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 (!getSessionIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_); } if (!getPathBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_); } if (operationParams_ != null) { 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_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getSessionIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_); } if (!getPathBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); } if (operationParams_ != null) { 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 += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.DescribeTableRequest)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.DescribeTableRequest other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.DescribeTableRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DescribeTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DescribeTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.DescribeTableRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.DescribeTableRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DescribeTableRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DescribeTableRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.DescribeTableRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DescribeTableRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DescribeTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.DescribeTableRequest.class, com.yandex.ydb.table.YdbTable.DescribeTableRequest.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); sessionId_ = ""; path_ = ""; if (operationParamsBuilder_ == null) { operationParams_ = null; } else { operationParams_ = null; operationParamsBuilder_ = null; } includeShardKeyBounds_ = false; includeTableStats_ = false; includePartitionStats_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DescribeTableRequest_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.DescribeTableRequest getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.DescribeTableRequest.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.DescribeTableRequest build() { com.yandex.ydb.table.YdbTable.DescribeTableRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.DescribeTableRequest buildPartial() { com.yandex.ydb.table.YdbTable.DescribeTableRequest result = new com.yandex.ydb.table.YdbTable.DescribeTableRequest(this); result.sessionId_ = sessionId_; result.path_ = path_; if (operationParamsBuilder_ == null) { result.operationParams_ = operationParams_; } else { result.operationParams_ = operationParamsBuilder_.build(); } result.includeShardKeyBounds_ = includeShardKeyBounds_; result.includeTableStats_ = includeTableStats_; result.includePartitionStats_ = includePartitionStats_; 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 com.yandex.ydb.table.YdbTable.DescribeTableRequest) { return mergeFrom((com.yandex.ydb.table.YdbTable.DescribeTableRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.DescribeTableRequest other) { if (other == com.yandex.ydb.table.YdbTable.DescribeTableRequest.getDefaultInstance()) return this; if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; onChanged(); } if (!other.getPath().isEmpty()) { path_ = other.path_; 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.unknownFields); 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 { com.yandex.ydb.table.YdbTable.DescribeTableRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.DescribeTableRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); 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; 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; onChanged(); return this; } /** *
       * Full path
       * 
* * string path = 2; * @return This builder for chaining. */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); 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; onChanged(); return this; } private com.yandex.ydb.OperationProtos.OperationParams operationParams_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> operationParamsBuilder_; /** * .Ydb.Operations.OperationParams operation_params = 4; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return operationParamsBuilder_ != null || operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 4; * @return The operationParams. */ public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { if (operationParamsBuilder_ == null) { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } else { return operationParamsBuilder_.getMessage(); } } /** * .Ydb.Operations.OperationParams operation_params = 4; */ public Builder setOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operationParams_ = value; onChanged(); } else { operationParamsBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 4; */ public Builder setOperationParams( com.yandex.ydb.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); onChanged(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 4; */ public Builder mergeOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (operationParams_ != null) { operationParams_ = com.yandex.ydb.OperationProtos.OperationParams.newBuilder(operationParams_).mergeFrom(value).buildPartial(); } else { operationParams_ = value; } onChanged(); } else { operationParamsBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 4; */ public Builder clearOperationParams() { if (operationParamsBuilder_ == null) { operationParams_ = null; onChanged(); } else { operationParams_ = null; operationParamsBuilder_ = null; } return this; } /** * .Ydb.Operations.OperationParams operation_params = 4; */ public com.yandex.ydb.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 4; */ public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { if (operationParamsBuilder_ != null) { return operationParamsBuilder_.getMessageOrBuilder(); } else { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } } /** * .Ydb.Operations.OperationParams operation_params = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> getOperationParamsFieldBuilder() { if (operationParamsBuilder_ == null) { operationParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.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; onChanged(); return this; } /** *
       * Includes shard key distribution info
       * 
* * bool include_shard_key_bounds = 5; * @return This builder for chaining. */ public Builder clearIncludeShardKeyBounds() { 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; onChanged(); return this; } /** *
       * Includes table statistics
       * 
* * bool include_table_stats = 6; * @return This builder for chaining. */ public Builder clearIncludeTableStats() { 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; onChanged(); return this; } /** *
       * Includes partition statistics (required include_table_statistics)
       * 
* * bool include_partition_stats = 7; * @return This builder for chaining. */ public Builder clearIncludePartitionStats() { 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 com.yandex.ydb.table.YdbTable.DescribeTableRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.DescribeTableRequest(); } public static com.yandex.ydb.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 { return new DescribeTableRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.Operation getOperation(); /** *
     * Holds DescribeTableResult in case of successful call
     * 
* * .Ydb.Operations.Operation operation = 1; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DescribeTableResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.OperationProtos.Operation.Builder subBuilder = null; if (operation_ != null) { subBuilder = operation_.toBuilder(); } operation_ = input.readMessage(com.yandex.ydb.OperationProtos.Operation.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operation_); operation_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DescribeTableResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DescribeTableResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.DescribeTableResponse.class, com.yandex.ydb.table.YdbTable.DescribeTableResponse.Builder.class); } public static final int OPERATION_FIELD_NUMBER = 1; private com.yandex.ydb.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 operation_ != null; } /** *
     * Holds DescribeTableResult in case of successful call
     * 
* * .Ydb.Operations.Operation operation = 1; * @return The operation. */ @java.lang.Override public com.yandex.ydb.OperationProtos.Operation getOperation() { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } /** *
     * Holds DescribeTableResult in case of successful call
     * 
* * .Ydb.Operations.Operation operation = 1; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { return getOperation(); } 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 (operation_ != null) { output.writeMessage(1, getOperation()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (operation_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getOperation()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.DescribeTableResponse)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.DescribeTableResponse other = (com.yandex.ydb.table.YdbTable.DescribeTableResponse) obj; if (hasOperation() != other.hasOperation()) return false; if (hasOperation()) { if (!getOperation() .equals(other.getOperation())) return false; } if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.DescribeTableResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DescribeTableResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DescribeTableResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.DescribeTableResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.DescribeTableResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DescribeTableResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DescribeTableResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.DescribeTableResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DescribeTableResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DescribeTableResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.DescribeTableResponse.class, com.yandex.ydb.table.YdbTable.DescribeTableResponse.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); if (operationBuilder_ == null) { operation_ = null; } else { operation_ = null; operationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DescribeTableResponse_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.DescribeTableResponse getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.DescribeTableResponse.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.DescribeTableResponse build() { com.yandex.ydb.table.YdbTable.DescribeTableResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.DescribeTableResponse buildPartial() { com.yandex.ydb.table.YdbTable.DescribeTableResponse result = new com.yandex.ydb.table.YdbTable.DescribeTableResponse(this); if (operationBuilder_ == null) { result.operation_ = operation_; } else { result.operation_ = operationBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.DescribeTableResponse) { return mergeFrom((com.yandex.ydb.table.YdbTable.DescribeTableResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.DescribeTableResponse other) { if (other == com.yandex.ydb.table.YdbTable.DescribeTableResponse.getDefaultInstance()) return this; if (other.hasOperation()) { mergeOperation(other.getOperation()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.DescribeTableResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.DescribeTableResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.yandex.ydb.OperationProtos.Operation operation_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.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 operationBuilder_ != null || operation_ != null; } /** *
       * Holds DescribeTableResult in case of successful call
       * 
* * .Ydb.Operations.Operation operation = 1; * @return The operation. */ public com.yandex.ydb.OperationProtos.Operation getOperation() { if (operationBuilder_ == null) { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } else { return operationBuilder_.getMessage(); } } /** *
       * Holds DescribeTableResult in case of successful call
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operation_ = value; onChanged(); } else { operationBuilder_.setMessage(value); } return this; } /** *
       * Holds DescribeTableResult in case of successful call
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation( com.yandex.ydb.OperationProtos.Operation.Builder builderForValue) { if (operationBuilder_ == null) { operation_ = builderForValue.build(); onChanged(); } else { operationBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Holds DescribeTableResult in case of successful call
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder mergeOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (operation_ != null) { operation_ = com.yandex.ydb.OperationProtos.Operation.newBuilder(operation_).mergeFrom(value).buildPartial(); } else { operation_ = value; } onChanged(); } else { operationBuilder_.mergeFrom(value); } return this; } /** *
       * Holds DescribeTableResult in case of successful call
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder clearOperation() { if (operationBuilder_ == null) { operation_ = null; onChanged(); } else { operation_ = null; operationBuilder_ = null; } return this; } /** *
       * Holds DescribeTableResult in case of successful call
       * 
* * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.Operation.Builder getOperationBuilder() { onChanged(); return getOperationFieldBuilder().getBuilder(); } /** *
       * Holds DescribeTableResult in case of successful call
       * 
* * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { if (operationBuilder_ != null) { return operationBuilder_.getMessageOrBuilder(); } else { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } } /** *
       * Holds DescribeTableResult in case of successful call
       * 
* * .Ydb.Operations.Operation operation = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> getOperationFieldBuilder() { if (operationBuilder_ == null) { operationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DescribeTableResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.DescribeTableResponse(); } public static com.yandex.ydb.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 { return new DescribeTableResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.scheme.SchemeOperationProtos.Entry getSelf(); /** *
     * Description of scheme object
     * 
* * .Ydb.Scheme.Entry self = 1; */ com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.TableStats getTableStats(); /** *
     * Statistics of table
     * 
* * .Ydb.Table.TableStats table_stats = 6; */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.TtlSettings getTtlSettings(); /** *
     * TTL params
     * 
* * .Ydb.Table.TtlSettings ttl_settings = 7; */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.StorageSettings getStorageSettings(); /** *
     * Storage settings for table
     * 
* * .Ydb.Table.StorageSettings storage_settings = 8; */ com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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; */ java.lang.String getAttributesOrDefault( java.lang.String key, 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. */ com.yandex.ydb.table.YdbTable.PartitioningSettings getPartitioningSettings(); /** *
     * Partitioning settings for table
     * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 12; */ com.yandex.ydb.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. */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.ReadReplicasSettings getReadReplicasSettings(); /** *
     * Read replicas settings for table
     * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 14; */ com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.table.YdbTable.ChangefeedDescriptionOrBuilder getChangefeedsOrBuilder( int index); } /** * 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.EMPTY; shardKeyBounds_ = java.util.Collections.emptyList(); indexes_ = java.util.Collections.emptyList(); columnFamilies_ = java.util.Collections.emptyList(); keyBloomFilter_ = 0; changefeeds_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DescribeTableResult(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DescribeTableResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.scheme.SchemeOperationProtos.Entry.Builder subBuilder = null; if (self_ != null) { subBuilder = self_.toBuilder(); } self_ = input.readMessage(com.yandex.ydb.scheme.SchemeOperationProtos.Entry.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(self_); self_ = subBuilder.buildPartial(); } break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { columns_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } columns_.add( input.readMessage(com.yandex.ydb.table.YdbTable.ColumnMeta.parser(), extensionRegistry)); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { primaryKey_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; } primaryKey_.add(s); break; } case 34: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { shardKeyBounds_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } shardKeyBounds_.add( input.readMessage(com.yandex.ydb.ValueProtos.TypedValue.parser(), extensionRegistry)); break; } case 42: { if (!((mutable_bitField0_ & 0x00000008) != 0)) { indexes_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } indexes_.add( input.readMessage(com.yandex.ydb.table.YdbTable.TableIndexDescription.parser(), extensionRegistry)); break; } case 50: { com.yandex.ydb.table.YdbTable.TableStats.Builder subBuilder = null; if (tableStats_ != null) { subBuilder = tableStats_.toBuilder(); } tableStats_ = input.readMessage(com.yandex.ydb.table.YdbTable.TableStats.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(tableStats_); tableStats_ = subBuilder.buildPartial(); } break; } case 58: { com.yandex.ydb.table.YdbTable.TtlSettings.Builder subBuilder = null; if (ttlSettings_ != null) { subBuilder = ttlSettings_.toBuilder(); } ttlSettings_ = input.readMessage(com.yandex.ydb.table.YdbTable.TtlSettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(ttlSettings_); ttlSettings_ = subBuilder.buildPartial(); } break; } case 66: { com.yandex.ydb.table.YdbTable.StorageSettings.Builder subBuilder = null; if (storageSettings_ != null) { subBuilder = storageSettings_.toBuilder(); } storageSettings_ = input.readMessage(com.yandex.ydb.table.YdbTable.StorageSettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(storageSettings_); storageSettings_ = subBuilder.buildPartial(); } break; } case 74: { if (!((mutable_bitField0_ & 0x00000010) != 0)) { columnFamilies_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } columnFamilies_.add( input.readMessage(com.yandex.ydb.table.YdbTable.ColumnFamily.parser(), extensionRegistry)); break; } case 82: { if (!((mutable_bitField0_ & 0x00000020) != 0)) { attributes_ = com.google.protobuf.MapField.newMapField( AttributesDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000020; } com.google.protobuf.MapEntry attributes__ = input.readMessage( AttributesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); attributes_.getMutableMap().put( attributes__.getKey(), attributes__.getValue()); break; } case 98: { com.yandex.ydb.table.YdbTable.PartitioningSettings.Builder subBuilder = null; if (partitioningSettings_ != null) { subBuilder = partitioningSettings_.toBuilder(); } partitioningSettings_ = input.readMessage(com.yandex.ydb.table.YdbTable.PartitioningSettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(partitioningSettings_); partitioningSettings_ = subBuilder.buildPartial(); } break; } case 104: { int rawValue = input.readEnum(); keyBloomFilter_ = rawValue; break; } case 114: { com.yandex.ydb.table.YdbTable.ReadReplicasSettings.Builder subBuilder = null; if (readReplicasSettings_ != null) { subBuilder = readReplicasSettings_.toBuilder(); } readReplicasSettings_ = input.readMessage(com.yandex.ydb.table.YdbTable.ReadReplicasSettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(readReplicasSettings_); readReplicasSettings_ = subBuilder.buildPartial(); } break; } case 122: { if (!((mutable_bitField0_ & 0x00000040) != 0)) { changefeeds_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000040; } changefeeds_.add( input.readMessage(com.yandex.ydb.table.YdbTable.ChangefeedDescription.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { columns_ = java.util.Collections.unmodifiableList(columns_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { primaryKey_ = primaryKey_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000004) != 0)) { shardKeyBounds_ = java.util.Collections.unmodifiableList(shardKeyBounds_); } if (((mutable_bitField0_ & 0x00000008) != 0)) { indexes_ = java.util.Collections.unmodifiableList(indexes_); } if (((mutable_bitField0_ & 0x00000010) != 0)) { columnFamilies_ = java.util.Collections.unmodifiableList(columnFamilies_); } if (((mutable_bitField0_ & 0x00000040) != 0)) { changefeeds_ = java.util.Collections.unmodifiableList(changefeeds_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DescribeTableResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.DescribeTableResult.class, com.yandex.ydb.table.YdbTable.DescribeTableResult.Builder.class); } public static final int SELF_FIELD_NUMBER = 1; private com.yandex.ydb.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 self_ != null; } /** *
     * Description of scheme object
     * 
* * .Ydb.Scheme.Entry self = 1; * @return The self. */ @java.lang.Override public com.yandex.ydb.scheme.SchemeOperationProtos.Entry getSelf() { return self_ == null ? com.yandex.ydb.scheme.SchemeOperationProtos.Entry.getDefaultInstance() : self_; } /** *
     * Description of scheme object
     * 
* * .Ydb.Scheme.Entry self = 1; */ @java.lang.Override public com.yandex.ydb.scheme.SchemeOperationProtos.EntryOrBuilder getSelfOrBuilder() { return getSelf(); } public static final int COLUMNS_FIELD_NUMBER = 2; 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 com.yandex.ydb.table.YdbTable.ColumnMeta getColumns(int index) { return columns_.get(index); } /** *
     * List of columns
     * 
* * repeated .Ydb.Table.ColumnMeta columns = 2; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.ColumnMetaOrBuilder getColumnsOrBuilder( int index) { return columns_.get(index); } public static final int PRIMARY_KEY_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList primaryKey_; /** *
     * 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; 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 com.yandex.ydb.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 com.yandex.ydb.ValueProtos.TypedValueOrBuilder getShardKeyBoundsOrBuilder( int index) { return shardKeyBounds_.get(index); } public static final int INDEXES_FIELD_NUMBER = 5; 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 com.yandex.ydb.table.YdbTable.TableIndexDescription getIndexes(int index) { return indexes_.get(index); } /** *
     * List of indexes
     * 
* * repeated .Ydb.Table.TableIndexDescription indexes = 5; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.TableIndexDescriptionOrBuilder getIndexesOrBuilder( int index) { return indexes_.get(index); } public static final int TABLE_STATS_FIELD_NUMBER = 6; private com.yandex.ydb.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 tableStats_ != null; } /** *
     * Statistics of table
     * 
* * .Ydb.Table.TableStats table_stats = 6; * @return The tableStats. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.TableStats getTableStats() { return tableStats_ == null ? com.yandex.ydb.table.YdbTable.TableStats.getDefaultInstance() : tableStats_; } /** *
     * Statistics of table
     * 
* * .Ydb.Table.TableStats table_stats = 6; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.TableStatsOrBuilder getTableStatsOrBuilder() { return getTableStats(); } public static final int TTL_SETTINGS_FIELD_NUMBER = 7; private com.yandex.ydb.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 ttlSettings_ != null; } /** *
     * TTL params
     * 
* * .Ydb.Table.TtlSettings ttl_settings = 7; * @return The ttlSettings. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.TtlSettings getTtlSettings() { return ttlSettings_ == null ? com.yandex.ydb.table.YdbTable.TtlSettings.getDefaultInstance() : ttlSettings_; } /** *
     * TTL params
     * 
* * .Ydb.Table.TtlSettings ttl_settings = 7; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.TtlSettingsOrBuilder getTtlSettingsOrBuilder() { return getTtlSettings(); } public static final int STORAGE_SETTINGS_FIELD_NUMBER = 8; private com.yandex.ydb.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 storageSettings_ != null; } /** *
     * Storage settings for table
     * 
* * .Ydb.Table.StorageSettings storage_settings = 8; * @return The storageSettings. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.StorageSettings getStorageSettings() { return storageSettings_ == null ? com.yandex.ydb.table.YdbTable.StorageSettings.getDefaultInstance() : storageSettings_; } /** *
     * Storage settings for table
     * 
* * .Ydb.Table.StorageSettings storage_settings = 8; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.StorageSettingsOrBuilder getStorageSettingsOrBuilder() { return getStorageSettings(); } public static final int COLUMN_FAMILIES_FIELD_NUMBER = 9; 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 com.yandex.ydb.table.YdbTable.ColumnFamily getColumnFamilies(int index) { return columnFamilies_.get(index); } /** *
     * Column families
     * 
* * repeated .Ydb.Table.ColumnFamily column_families = 9; */ @java.lang.Override public com.yandex.ydb.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( com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DescribeTableResult_AttributesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } 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 java.lang.NullPointerException(); } 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 java.lang.String getAttributesOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } 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 java.lang.NullPointerException(); } 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 com.yandex.ydb.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 partitioningSettings_ != null; } /** *
     * Partitioning settings for table
     * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 12; * @return The partitioningSettings. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.PartitioningSettings getPartitioningSettings() { return partitioningSettings_ == null ? com.yandex.ydb.table.YdbTable.PartitioningSettings.getDefaultInstance() : partitioningSettings_; } /** *
     * Partitioning settings for table
     * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 12; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.PartitioningSettingsOrBuilder getPartitioningSettingsOrBuilder() { return getPartitioningSettings(); } public static final int KEY_BLOOM_FILTER_FIELD_NUMBER = 13; private int keyBloomFilter_; /** *
     * 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 com.yandex.ydb.common.CommonProtos.FeatureFlag.Status getKeyBloomFilter() { @SuppressWarnings("deprecation") com.yandex.ydb.common.CommonProtos.FeatureFlag.Status result = com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.valueOf(keyBloomFilter_); return result == null ? com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.UNRECOGNIZED : result; } public static final int READ_REPLICAS_SETTINGS_FIELD_NUMBER = 14; private com.yandex.ydb.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 readReplicasSettings_ != null; } /** *
     * Read replicas settings for table
     * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 14; * @return The readReplicasSettings. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.ReadReplicasSettings getReadReplicasSettings() { return readReplicasSettings_ == null ? com.yandex.ydb.table.YdbTable.ReadReplicasSettings.getDefaultInstance() : readReplicasSettings_; } /** *
     * Read replicas settings for table
     * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 14; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.ReadReplicasSettingsOrBuilder getReadReplicasSettingsOrBuilder() { return getReadReplicasSettings(); } public static final int CHANGEFEEDS_FIELD_NUMBER = 15; 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 com.yandex.ydb.table.YdbTable.ChangefeedDescription getChangefeeds(int index) { return changefeeds_.get(index); } /** *
     * List of changefeeds
     * 
* * repeated .Ydb.Table.ChangefeedDescription changefeeds = 15; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.ChangefeedDescriptionOrBuilder getChangefeedsOrBuilder( int index) { return changefeeds_.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 (self_ != null) { 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 (tableStats_ != null) { output.writeMessage(6, getTableStats()); } if (ttlSettings_ != null) { output.writeMessage(7, getTtlSettings()); } if (storageSettings_ != null) { 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 (partitioningSettings_ != null) { output.writeMessage(12, getPartitioningSettings()); } if (keyBloomFilter_ != com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(13, keyBloomFilter_); } if (readReplicasSettings_ != null) { output.writeMessage(14, getReadReplicasSettings()); } for (int i = 0; i < changefeeds_.size(); i++) { output.writeMessage(15, changefeeds_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (self_ != null) { 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 (tableStats_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getTableStats()); } if (ttlSettings_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getTtlSettings()); } if (storageSettings_ != null) { 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 (partitioningSettings_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, getPartitioningSettings()); } if (keyBloomFilter_ != com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(13, keyBloomFilter_); } if (readReplicasSettings_ != null) { 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)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.DescribeTableResult)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.DescribeTableResult other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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 = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.DescribeTableResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DescribeTableResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DescribeTableResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.DescribeTableResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.DescribeTableResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DescribeTableResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DescribeTableResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.DescribeTableResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DescribeTableResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.DescribeTableResult.class, com.yandex.ydb.table.YdbTable.DescribeTableResult.Builder.class); } // Construct using com.yandex.ydb.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) { getColumnsFieldBuilder(); getShardKeyBoundsFieldBuilder(); getIndexesFieldBuilder(); getColumnFamiliesFieldBuilder(); getChangefeedsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (selfBuilder_ == null) { self_ = null; } else { self_ = null; selfBuilder_ = null; } if (columnsBuilder_ == null) { columns_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { columnsBuilder_.clear(); } primaryKey_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); if (shardKeyBoundsBuilder_ == null) { shardKeyBounds_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { shardKeyBoundsBuilder_.clear(); } if (indexesBuilder_ == null) { indexes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { indexesBuilder_.clear(); } if (tableStatsBuilder_ == null) { tableStats_ = null; } else { tableStats_ = null; tableStatsBuilder_ = null; } if (ttlSettingsBuilder_ == null) { ttlSettings_ = null; } else { ttlSettings_ = null; ttlSettingsBuilder_ = null; } if (storageSettingsBuilder_ == null) { storageSettings_ = null; } else { storageSettings_ = null; storageSettingsBuilder_ = null; } if (columnFamiliesBuilder_ == null) { columnFamilies_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); } else { columnFamiliesBuilder_.clear(); } internalGetMutableAttributes().clear(); if (partitioningSettingsBuilder_ == null) { partitioningSettings_ = null; } else { partitioningSettings_ = null; partitioningSettingsBuilder_ = null; } keyBloomFilter_ = 0; if (readReplicasSettingsBuilder_ == null) { readReplicasSettings_ = null; } else { readReplicasSettings_ = null; readReplicasSettingsBuilder_ = null; } if (changefeedsBuilder_ == null) { changefeeds_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); } else { changefeedsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DescribeTableResult_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.DescribeTableResult getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.DescribeTableResult.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.DescribeTableResult build() { com.yandex.ydb.table.YdbTable.DescribeTableResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.DescribeTableResult buildPartial() { com.yandex.ydb.table.YdbTable.DescribeTableResult result = new com.yandex.ydb.table.YdbTable.DescribeTableResult(this); int from_bitField0_ = bitField0_; if (selfBuilder_ == null) { result.self_ = self_; } else { result.self_ = selfBuilder_.build(); } if (columnsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { columns_ = java.util.Collections.unmodifiableList(columns_); bitField0_ = (bitField0_ & ~0x00000001); } result.columns_ = columns_; } else { result.columns_ = columnsBuilder_.build(); } if (((bitField0_ & 0x00000002) != 0)) { primaryKey_ = primaryKey_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } result.primaryKey_ = primaryKey_; if (shardKeyBoundsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { shardKeyBounds_ = java.util.Collections.unmodifiableList(shardKeyBounds_); bitField0_ = (bitField0_ & ~0x00000004); } result.shardKeyBounds_ = shardKeyBounds_; } else { result.shardKeyBounds_ = shardKeyBoundsBuilder_.build(); } if (indexesBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { indexes_ = java.util.Collections.unmodifiableList(indexes_); bitField0_ = (bitField0_ & ~0x00000008); } result.indexes_ = indexes_; } else { result.indexes_ = indexesBuilder_.build(); } if (tableStatsBuilder_ == null) { result.tableStats_ = tableStats_; } else { result.tableStats_ = tableStatsBuilder_.build(); } if (ttlSettingsBuilder_ == null) { result.ttlSettings_ = ttlSettings_; } else { result.ttlSettings_ = ttlSettingsBuilder_.build(); } if (storageSettingsBuilder_ == null) { result.storageSettings_ = storageSettings_; } else { result.storageSettings_ = storageSettingsBuilder_.build(); } if (columnFamiliesBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { columnFamilies_ = java.util.Collections.unmodifiableList(columnFamilies_); bitField0_ = (bitField0_ & ~0x00000010); } result.columnFamilies_ = columnFamilies_; } else { result.columnFamilies_ = columnFamiliesBuilder_.build(); } result.attributes_ = internalGetAttributes(); result.attributes_.makeImmutable(); if (partitioningSettingsBuilder_ == null) { result.partitioningSettings_ = partitioningSettings_; } else { result.partitioningSettings_ = partitioningSettingsBuilder_.build(); } result.keyBloomFilter_ = keyBloomFilter_; if (readReplicasSettingsBuilder_ == null) { result.readReplicasSettings_ = readReplicasSettings_; } else { result.readReplicasSettings_ = readReplicasSettingsBuilder_.build(); } if (changefeedsBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0)) { changefeeds_ = java.util.Collections.unmodifiableList(changefeeds_); bitField0_ = (bitField0_ & ~0x00000040); } result.changefeeds_ = changefeeds_; } else { result.changefeeds_ = changefeedsBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.DescribeTableResult) { return mergeFrom((com.yandex.ydb.table.YdbTable.DescribeTableResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.DescribeTableResult other) { if (other == com.yandex.ydb.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_ & ~0x00000001); } else { ensureColumnsIsMutable(); columns_.addAll(other.columns_); } onChanged(); } } else { if (!other.columns_.isEmpty()) { if (columnsBuilder_.isEmpty()) { columnsBuilder_.dispose(); columnsBuilder_ = null; columns_ = other.columns_; bitField0_ = (bitField0_ & ~0x00000001); columnsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getColumnsFieldBuilder() : null; } else { columnsBuilder_.addAllMessages(other.columns_); } } } if (!other.primaryKey_.isEmpty()) { if (primaryKey_.isEmpty()) { primaryKey_ = other.primaryKey_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensurePrimaryKeyIsMutable(); primaryKey_.addAll(other.primaryKey_); } onChanged(); } if (shardKeyBoundsBuilder_ == null) { if (!other.shardKeyBounds_.isEmpty()) { if (shardKeyBounds_.isEmpty()) { shardKeyBounds_ = other.shardKeyBounds_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureShardKeyBoundsIsMutable(); shardKeyBounds_.addAll(other.shardKeyBounds_); } onChanged(); } } else { if (!other.shardKeyBounds_.isEmpty()) { if (shardKeyBoundsBuilder_.isEmpty()) { shardKeyBoundsBuilder_.dispose(); shardKeyBoundsBuilder_ = null; shardKeyBounds_ = other.shardKeyBounds_; bitField0_ = (bitField0_ & ~0x00000004); 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_ & ~0x00000008); } else { ensureIndexesIsMutable(); indexes_.addAll(other.indexes_); } onChanged(); } } else { if (!other.indexes_.isEmpty()) { if (indexesBuilder_.isEmpty()) { indexesBuilder_.dispose(); indexesBuilder_ = null; indexes_ = other.indexes_; bitField0_ = (bitField0_ & ~0x00000008); 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_ & ~0x00000010); } else { ensureColumnFamiliesIsMutable(); columnFamilies_.addAll(other.columnFamilies_); } onChanged(); } } else { if (!other.columnFamilies_.isEmpty()) { if (columnFamiliesBuilder_.isEmpty()) { columnFamiliesBuilder_.dispose(); columnFamiliesBuilder_ = null; columnFamilies_ = other.columnFamilies_; bitField0_ = (bitField0_ & ~0x00000010); columnFamiliesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getColumnFamiliesFieldBuilder() : null; } else { columnFamiliesBuilder_.addAllMessages(other.columnFamilies_); } } } internalGetMutableAttributes().mergeFrom( other.internalGetAttributes()); 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_ & ~0x00000040); } else { ensureChangefeedsIsMutable(); changefeeds_.addAll(other.changefeeds_); } onChanged(); } } else { if (!other.changefeeds_.isEmpty()) { if (changefeedsBuilder_.isEmpty()) { changefeedsBuilder_.dispose(); changefeedsBuilder_ = null; changefeeds_ = other.changefeeds_; bitField0_ = (bitField0_ & ~0x00000040); changefeedsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getChangefeedsFieldBuilder() : null; } else { changefeedsBuilder_.addAllMessages(other.changefeeds_); } } } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.DescribeTableResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.DescribeTableResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.yandex.ydb.scheme.SchemeOperationProtos.Entry self_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.scheme.SchemeOperationProtos.Entry, com.yandex.ydb.scheme.SchemeOperationProtos.Entry.Builder, com.yandex.ydb.scheme.SchemeOperationProtos.EntryOrBuilder> selfBuilder_; /** *
       * Description of scheme object
       * 
* * .Ydb.Scheme.Entry self = 1; * @return Whether the self field is set. */ public boolean hasSelf() { return selfBuilder_ != null || self_ != null; } /** *
       * Description of scheme object
       * 
* * .Ydb.Scheme.Entry self = 1; * @return The self. */ public com.yandex.ydb.scheme.SchemeOperationProtos.Entry getSelf() { if (selfBuilder_ == null) { return self_ == null ? com.yandex.ydb.scheme.SchemeOperationProtos.Entry.getDefaultInstance() : self_; } else { return selfBuilder_.getMessage(); } } /** *
       * Description of scheme object
       * 
* * .Ydb.Scheme.Entry self = 1; */ public Builder setSelf(com.yandex.ydb.scheme.SchemeOperationProtos.Entry value) { if (selfBuilder_ == null) { if (value == null) { throw new NullPointerException(); } self_ = value; onChanged(); } else { selfBuilder_.setMessage(value); } return this; } /** *
       * Description of scheme object
       * 
* * .Ydb.Scheme.Entry self = 1; */ public Builder setSelf( com.yandex.ydb.scheme.SchemeOperationProtos.Entry.Builder builderForValue) { if (selfBuilder_ == null) { self_ = builderForValue.build(); onChanged(); } else { selfBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Description of scheme object
       * 
* * .Ydb.Scheme.Entry self = 1; */ public Builder mergeSelf(com.yandex.ydb.scheme.SchemeOperationProtos.Entry value) { if (selfBuilder_ == null) { if (self_ != null) { self_ = com.yandex.ydb.scheme.SchemeOperationProtos.Entry.newBuilder(self_).mergeFrom(value).buildPartial(); } else { self_ = value; } onChanged(); } else { selfBuilder_.mergeFrom(value); } return this; } /** *
       * Description of scheme object
       * 
* * .Ydb.Scheme.Entry self = 1; */ public Builder clearSelf() { if (selfBuilder_ == null) { self_ = null; onChanged(); } else { self_ = null; selfBuilder_ = null; } return this; } /** *
       * Description of scheme object
       * 
* * .Ydb.Scheme.Entry self = 1; */ public com.yandex.ydb.scheme.SchemeOperationProtos.Entry.Builder getSelfBuilder() { onChanged(); return getSelfFieldBuilder().getBuilder(); } /** *
       * Description of scheme object
       * 
* * .Ydb.Scheme.Entry self = 1; */ public com.yandex.ydb.scheme.SchemeOperationProtos.EntryOrBuilder getSelfOrBuilder() { if (selfBuilder_ != null) { return selfBuilder_.getMessageOrBuilder(); } else { return self_ == null ? com.yandex.ydb.scheme.SchemeOperationProtos.Entry.getDefaultInstance() : self_; } } /** *
       * Description of scheme object
       * 
* * .Ydb.Scheme.Entry self = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.scheme.SchemeOperationProtos.Entry, com.yandex.ydb.scheme.SchemeOperationProtos.Entry.Builder, com.yandex.ydb.scheme.SchemeOperationProtos.EntryOrBuilder> getSelfFieldBuilder() { if (selfBuilder_ == null) { selfBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.scheme.SchemeOperationProtos.Entry, com.yandex.ydb.scheme.SchemeOperationProtos.Entry.Builder, com.yandex.ydb.scheme.SchemeOperationProtos.EntryOrBuilder>( getSelf(), getParentForChildren(), isClean()); self_ = null; } return selfBuilder_; } private java.util.List columns_ = java.util.Collections.emptyList(); private void ensureColumnsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { columns_ = new java.util.ArrayList(columns_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.ColumnMeta, com.yandex.ydb.table.YdbTable.ColumnMeta.Builder, com.yandex.ydb.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 com.yandex.ydb.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, com.yandex.ydb.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, com.yandex.ydb.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(com.yandex.ydb.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, com.yandex.ydb.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( com.yandex.ydb.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, com.yandex.ydb.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_ & ~0x00000001); 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 com.yandex.ydb.table.YdbTable.ColumnMeta.Builder getColumnsBuilder( int index) { return getColumnsFieldBuilder().getBuilder(index); } /** *
       * List of columns
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 2; */ public com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ColumnMeta.Builder addColumnsBuilder() { return getColumnsFieldBuilder().addBuilder( com.yandex.ydb.table.YdbTable.ColumnMeta.getDefaultInstance()); } /** *
       * List of columns
       * 
* * repeated .Ydb.Table.ColumnMeta columns = 2; */ public com.yandex.ydb.table.YdbTable.ColumnMeta.Builder addColumnsBuilder( int index) { return getColumnsFieldBuilder().addBuilder( index, com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.ColumnMeta, com.yandex.ydb.table.YdbTable.ColumnMeta.Builder, com.yandex.ydb.table.YdbTable.ColumnMetaOrBuilder> getColumnsFieldBuilder() { if (columnsBuilder_ == null) { columnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.ColumnMeta, com.yandex.ydb.table.YdbTable.ColumnMeta.Builder, com.yandex.ydb.table.YdbTable.ColumnMetaOrBuilder>( columns_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); columns_ = null; } return columnsBuilder_; } private com.google.protobuf.LazyStringList primaryKey_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePrimaryKeyIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { primaryKey_ = new com.google.protobuf.LazyStringArrayList(primaryKey_); bitField0_ |= 0x00000002; } } /** *
       * List of primary key columns
       * 
* * repeated string primary_key = 3; * @return A list containing the primaryKey. */ public com.google.protobuf.ProtocolStringList getPrimaryKeyList() { return primaryKey_.getUnmodifiableView(); } /** *
       * 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); 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); 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_); 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.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); 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); onChanged(); return this; } private java.util.List shardKeyBounds_ = java.util.Collections.emptyList(); private void ensureShardKeyBoundsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { shardKeyBounds_ = new java.util.ArrayList(shardKeyBounds_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.ValueProtos.TypedValue, com.yandex.ydb.ValueProtos.TypedValue.Builder, com.yandex.ydb.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 com.yandex.ydb.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, com.yandex.ydb.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, com.yandex.ydb.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(com.yandex.ydb.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, com.yandex.ydb.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( com.yandex.ydb.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, com.yandex.ydb.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_ & ~0x00000004); 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 com.yandex.ydb.ValueProtos.TypedValue.Builder getShardKeyBoundsBuilder( int index) { return getShardKeyBoundsFieldBuilder().getBuilder(index); } /** *
       * List of key ranges for shard
       * 
* * repeated .Ydb.TypedValue shard_key_bounds = 4; */ public com.yandex.ydb.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 com.yandex.ydb.ValueProtos.TypedValue.Builder addShardKeyBoundsBuilder() { return getShardKeyBoundsFieldBuilder().addBuilder( com.yandex.ydb.ValueProtos.TypedValue.getDefaultInstance()); } /** *
       * List of key ranges for shard
       * 
* * repeated .Ydb.TypedValue shard_key_bounds = 4; */ public com.yandex.ydb.ValueProtos.TypedValue.Builder addShardKeyBoundsBuilder( int index) { return getShardKeyBoundsFieldBuilder().addBuilder( index, com.yandex.ydb.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< com.yandex.ydb.ValueProtos.TypedValue, com.yandex.ydb.ValueProtos.TypedValue.Builder, com.yandex.ydb.ValueProtos.TypedValueOrBuilder> getShardKeyBoundsFieldBuilder() { if (shardKeyBoundsBuilder_ == null) { shardKeyBoundsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.ValueProtos.TypedValue, com.yandex.ydb.ValueProtos.TypedValue.Builder, com.yandex.ydb.ValueProtos.TypedValueOrBuilder>( shardKeyBounds_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); shardKeyBounds_ = null; } return shardKeyBoundsBuilder_; } private java.util.List indexes_ = java.util.Collections.emptyList(); private void ensureIndexesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { indexes_ = new java.util.ArrayList(indexes_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.TableIndexDescription, com.yandex.ydb.table.YdbTable.TableIndexDescription.Builder, com.yandex.ydb.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 com.yandex.ydb.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, com.yandex.ydb.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, com.yandex.ydb.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(com.yandex.ydb.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, com.yandex.ydb.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( com.yandex.ydb.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, com.yandex.ydb.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_ & ~0x00000008); 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 com.yandex.ydb.table.YdbTable.TableIndexDescription.Builder getIndexesBuilder( int index) { return getIndexesFieldBuilder().getBuilder(index); } /** *
       * List of indexes
       * 
* * repeated .Ydb.Table.TableIndexDescription indexes = 5; */ public com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TableIndexDescription.Builder addIndexesBuilder() { return getIndexesFieldBuilder().addBuilder( com.yandex.ydb.table.YdbTable.TableIndexDescription.getDefaultInstance()); } /** *
       * List of indexes
       * 
* * repeated .Ydb.Table.TableIndexDescription indexes = 5; */ public com.yandex.ydb.table.YdbTable.TableIndexDescription.Builder addIndexesBuilder( int index) { return getIndexesFieldBuilder().addBuilder( index, com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.TableIndexDescription, com.yandex.ydb.table.YdbTable.TableIndexDescription.Builder, com.yandex.ydb.table.YdbTable.TableIndexDescriptionOrBuilder> getIndexesFieldBuilder() { if (indexesBuilder_ == null) { indexesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.TableIndexDescription, com.yandex.ydb.table.YdbTable.TableIndexDescription.Builder, com.yandex.ydb.table.YdbTable.TableIndexDescriptionOrBuilder>( indexes_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); indexes_ = null; } return indexesBuilder_; } private com.yandex.ydb.table.YdbTable.TableStats tableStats_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.TableStats, com.yandex.ydb.table.YdbTable.TableStats.Builder, com.yandex.ydb.table.YdbTable.TableStatsOrBuilder> tableStatsBuilder_; /** *
       * Statistics of table
       * 
* * .Ydb.Table.TableStats table_stats = 6; * @return Whether the tableStats field is set. */ public boolean hasTableStats() { return tableStatsBuilder_ != null || tableStats_ != null; } /** *
       * Statistics of table
       * 
* * .Ydb.Table.TableStats table_stats = 6; * @return The tableStats. */ public com.yandex.ydb.table.YdbTable.TableStats getTableStats() { if (tableStatsBuilder_ == null) { return tableStats_ == null ? com.yandex.ydb.table.YdbTable.TableStats.getDefaultInstance() : tableStats_; } else { return tableStatsBuilder_.getMessage(); } } /** *
       * Statistics of table
       * 
* * .Ydb.Table.TableStats table_stats = 6; */ public Builder setTableStats(com.yandex.ydb.table.YdbTable.TableStats value) { if (tableStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tableStats_ = value; onChanged(); } else { tableStatsBuilder_.setMessage(value); } return this; } /** *
       * Statistics of table
       * 
* * .Ydb.Table.TableStats table_stats = 6; */ public Builder setTableStats( com.yandex.ydb.table.YdbTable.TableStats.Builder builderForValue) { if (tableStatsBuilder_ == null) { tableStats_ = builderForValue.build(); onChanged(); } else { tableStatsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Statistics of table
       * 
* * .Ydb.Table.TableStats table_stats = 6; */ public Builder mergeTableStats(com.yandex.ydb.table.YdbTable.TableStats value) { if (tableStatsBuilder_ == null) { if (tableStats_ != null) { tableStats_ = com.yandex.ydb.table.YdbTable.TableStats.newBuilder(tableStats_).mergeFrom(value).buildPartial(); } else { tableStats_ = value; } onChanged(); } else { tableStatsBuilder_.mergeFrom(value); } return this; } /** *
       * Statistics of table
       * 
* * .Ydb.Table.TableStats table_stats = 6; */ public Builder clearTableStats() { if (tableStatsBuilder_ == null) { tableStats_ = null; onChanged(); } else { tableStats_ = null; tableStatsBuilder_ = null; } return this; } /** *
       * Statistics of table
       * 
* * .Ydb.Table.TableStats table_stats = 6; */ public com.yandex.ydb.table.YdbTable.TableStats.Builder getTableStatsBuilder() { onChanged(); return getTableStatsFieldBuilder().getBuilder(); } /** *
       * Statistics of table
       * 
* * .Ydb.Table.TableStats table_stats = 6; */ public com.yandex.ydb.table.YdbTable.TableStatsOrBuilder getTableStatsOrBuilder() { if (tableStatsBuilder_ != null) { return tableStatsBuilder_.getMessageOrBuilder(); } else { return tableStats_ == null ? com.yandex.ydb.table.YdbTable.TableStats.getDefaultInstance() : tableStats_; } } /** *
       * Statistics of table
       * 
* * .Ydb.Table.TableStats table_stats = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.TableStats, com.yandex.ydb.table.YdbTable.TableStats.Builder, com.yandex.ydb.table.YdbTable.TableStatsOrBuilder> getTableStatsFieldBuilder() { if (tableStatsBuilder_ == null) { tableStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.TableStats, com.yandex.ydb.table.YdbTable.TableStats.Builder, com.yandex.ydb.table.YdbTable.TableStatsOrBuilder>( getTableStats(), getParentForChildren(), isClean()); tableStats_ = null; } return tableStatsBuilder_; } private com.yandex.ydb.table.YdbTable.TtlSettings ttlSettings_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.TtlSettings, com.yandex.ydb.table.YdbTable.TtlSettings.Builder, com.yandex.ydb.table.YdbTable.TtlSettingsOrBuilder> ttlSettingsBuilder_; /** *
       * TTL params
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 7; * @return Whether the ttlSettings field is set. */ public boolean hasTtlSettings() { return ttlSettingsBuilder_ != null || ttlSettings_ != null; } /** *
       * TTL params
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 7; * @return The ttlSettings. */ public com.yandex.ydb.table.YdbTable.TtlSettings getTtlSettings() { if (ttlSettingsBuilder_ == null) { return ttlSettings_ == null ? com.yandex.ydb.table.YdbTable.TtlSettings.getDefaultInstance() : ttlSettings_; } else { return ttlSettingsBuilder_.getMessage(); } } /** *
       * TTL params
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 7; */ public Builder setTtlSettings(com.yandex.ydb.table.YdbTable.TtlSettings value) { if (ttlSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ttlSettings_ = value; onChanged(); } else { ttlSettingsBuilder_.setMessage(value); } return this; } /** *
       * TTL params
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 7; */ public Builder setTtlSettings( com.yandex.ydb.table.YdbTable.TtlSettings.Builder builderForValue) { if (ttlSettingsBuilder_ == null) { ttlSettings_ = builderForValue.build(); onChanged(); } else { ttlSettingsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * TTL params
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 7; */ public Builder mergeTtlSettings(com.yandex.ydb.table.YdbTable.TtlSettings value) { if (ttlSettingsBuilder_ == null) { if (ttlSettings_ != null) { ttlSettings_ = com.yandex.ydb.table.YdbTable.TtlSettings.newBuilder(ttlSettings_).mergeFrom(value).buildPartial(); } else { ttlSettings_ = value; } onChanged(); } else { ttlSettingsBuilder_.mergeFrom(value); } return this; } /** *
       * TTL params
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 7; */ public Builder clearTtlSettings() { if (ttlSettingsBuilder_ == null) { ttlSettings_ = null; onChanged(); } else { ttlSettings_ = null; ttlSettingsBuilder_ = null; } return this; } /** *
       * TTL params
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 7; */ public com.yandex.ydb.table.YdbTable.TtlSettings.Builder getTtlSettingsBuilder() { onChanged(); return getTtlSettingsFieldBuilder().getBuilder(); } /** *
       * TTL params
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 7; */ public com.yandex.ydb.table.YdbTable.TtlSettingsOrBuilder getTtlSettingsOrBuilder() { if (ttlSettingsBuilder_ != null) { return ttlSettingsBuilder_.getMessageOrBuilder(); } else { return ttlSettings_ == null ? com.yandex.ydb.table.YdbTable.TtlSettings.getDefaultInstance() : ttlSettings_; } } /** *
       * TTL params
       * 
* * .Ydb.Table.TtlSettings ttl_settings = 7; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.TtlSettings, com.yandex.ydb.table.YdbTable.TtlSettings.Builder, com.yandex.ydb.table.YdbTable.TtlSettingsOrBuilder> getTtlSettingsFieldBuilder() { if (ttlSettingsBuilder_ == null) { ttlSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.TtlSettings, com.yandex.ydb.table.YdbTable.TtlSettings.Builder, com.yandex.ydb.table.YdbTable.TtlSettingsOrBuilder>( getTtlSettings(), getParentForChildren(), isClean()); ttlSettings_ = null; } return ttlSettingsBuilder_; } private com.yandex.ydb.table.YdbTable.StorageSettings storageSettings_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StorageSettings, com.yandex.ydb.table.YdbTable.StorageSettings.Builder, com.yandex.ydb.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 storageSettingsBuilder_ != null || storageSettings_ != null; } /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 8; * @return The storageSettings. */ public com.yandex.ydb.table.YdbTable.StorageSettings getStorageSettings() { if (storageSettingsBuilder_ == null) { return storageSettings_ == null ? com.yandex.ydb.table.YdbTable.StorageSettings.getDefaultInstance() : storageSettings_; } else { return storageSettingsBuilder_.getMessage(); } } /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 8; */ public Builder setStorageSettings(com.yandex.ydb.table.YdbTable.StorageSettings value) { if (storageSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } storageSettings_ = value; onChanged(); } else { storageSettingsBuilder_.setMessage(value); } return this; } /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 8; */ public Builder setStorageSettings( com.yandex.ydb.table.YdbTable.StorageSettings.Builder builderForValue) { if (storageSettingsBuilder_ == null) { storageSettings_ = builderForValue.build(); onChanged(); } else { storageSettingsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 8; */ public Builder mergeStorageSettings(com.yandex.ydb.table.YdbTable.StorageSettings value) { if (storageSettingsBuilder_ == null) { if (storageSettings_ != null) { storageSettings_ = com.yandex.ydb.table.YdbTable.StorageSettings.newBuilder(storageSettings_).mergeFrom(value).buildPartial(); } else { storageSettings_ = value; } onChanged(); } else { storageSettingsBuilder_.mergeFrom(value); } return this; } /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 8; */ public Builder clearStorageSettings() { if (storageSettingsBuilder_ == null) { storageSettings_ = null; onChanged(); } else { storageSettings_ = null; storageSettingsBuilder_ = null; } return this; } /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 8; */ public com.yandex.ydb.table.YdbTable.StorageSettings.Builder getStorageSettingsBuilder() { onChanged(); return getStorageSettingsFieldBuilder().getBuilder(); } /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 8; */ public com.yandex.ydb.table.YdbTable.StorageSettingsOrBuilder getStorageSettingsOrBuilder() { if (storageSettingsBuilder_ != null) { return storageSettingsBuilder_.getMessageOrBuilder(); } else { return storageSettings_ == null ? com.yandex.ydb.table.YdbTable.StorageSettings.getDefaultInstance() : storageSettings_; } } /** *
       * Storage settings for table
       * 
* * .Ydb.Table.StorageSettings storage_settings = 8; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StorageSettings, com.yandex.ydb.table.YdbTable.StorageSettings.Builder, com.yandex.ydb.table.YdbTable.StorageSettingsOrBuilder> getStorageSettingsFieldBuilder() { if (storageSettingsBuilder_ == null) { storageSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StorageSettings, com.yandex.ydb.table.YdbTable.StorageSettings.Builder, com.yandex.ydb.table.YdbTable.StorageSettingsOrBuilder>( getStorageSettings(), getParentForChildren(), isClean()); storageSettings_ = null; } return storageSettingsBuilder_; } private java.util.List columnFamilies_ = java.util.Collections.emptyList(); private void ensureColumnFamiliesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { columnFamilies_ = new java.util.ArrayList(columnFamilies_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.ColumnFamily, com.yandex.ydb.table.YdbTable.ColumnFamily.Builder, com.yandex.ydb.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 com.yandex.ydb.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, com.yandex.ydb.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, com.yandex.ydb.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(com.yandex.ydb.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, com.yandex.ydb.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( com.yandex.ydb.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, com.yandex.ydb.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_ & ~0x00000010); 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 com.yandex.ydb.table.YdbTable.ColumnFamily.Builder getColumnFamiliesBuilder( int index) { return getColumnFamiliesFieldBuilder().getBuilder(index); } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 9; */ public com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ColumnFamily.Builder addColumnFamiliesBuilder() { return getColumnFamiliesFieldBuilder().addBuilder( com.yandex.ydb.table.YdbTable.ColumnFamily.getDefaultInstance()); } /** *
       * Column families
       * 
* * repeated .Ydb.Table.ColumnFamily column_families = 9; */ public com.yandex.ydb.table.YdbTable.ColumnFamily.Builder addColumnFamiliesBuilder( int index) { return getColumnFamiliesFieldBuilder().addBuilder( index, com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.ColumnFamily, com.yandex.ydb.table.YdbTable.ColumnFamily.Builder, com.yandex.ydb.table.YdbTable.ColumnFamilyOrBuilder> getColumnFamiliesFieldBuilder() { if (columnFamiliesBuilder_ == null) { columnFamiliesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.ColumnFamily, com.yandex.ydb.table.YdbTable.ColumnFamily.Builder, com.yandex.ydb.table.YdbTable.ColumnFamilyOrBuilder>( columnFamilies_, ((bitField0_ & 0x00000010) != 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() { onChanged();; if (attributes_ == null) { attributes_ = com.google.protobuf.MapField.newMapField( AttributesDefaultEntryHolder.defaultEntry); } if (!attributes_.isMutable()) { attributes_ = attributes_.copy(); } 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 java.lang.NullPointerException(); } 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 java.lang.String getAttributesOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } 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 java.lang.NullPointerException(); } java.util.Map map = internalGetAttributes().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearAttributes() { internalGetMutableAttributes().getMutableMap() .clear(); return this; } /** *
       * Attributes
       * 
* * map<string, string> attributes = 10; */ public Builder removeAttributes( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableAttributes().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableAttributes() { 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 java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableAttributes().getMutableMap() .put(key, value); return this; } /** *
       * Attributes
       * 
* * map<string, string> attributes = 10; */ public Builder putAllAttributes( java.util.Map values) { internalGetMutableAttributes().getMutableMap() .putAll(values); return this; } private com.yandex.ydb.table.YdbTable.PartitioningSettings partitioningSettings_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.PartitioningSettings, com.yandex.ydb.table.YdbTable.PartitioningSettings.Builder, com.yandex.ydb.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 partitioningSettingsBuilder_ != null || partitioningSettings_ != null; } /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 12; * @return The partitioningSettings. */ public com.yandex.ydb.table.YdbTable.PartitioningSettings getPartitioningSettings() { if (partitioningSettingsBuilder_ == null) { return partitioningSettings_ == null ? com.yandex.ydb.table.YdbTable.PartitioningSettings.getDefaultInstance() : partitioningSettings_; } else { return partitioningSettingsBuilder_.getMessage(); } } /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 12; */ public Builder setPartitioningSettings(com.yandex.ydb.table.YdbTable.PartitioningSettings value) { if (partitioningSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } partitioningSettings_ = value; onChanged(); } else { partitioningSettingsBuilder_.setMessage(value); } return this; } /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 12; */ public Builder setPartitioningSettings( com.yandex.ydb.table.YdbTable.PartitioningSettings.Builder builderForValue) { if (partitioningSettingsBuilder_ == null) { partitioningSettings_ = builderForValue.build(); onChanged(); } else { partitioningSettingsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 12; */ public Builder mergePartitioningSettings(com.yandex.ydb.table.YdbTable.PartitioningSettings value) { if (partitioningSettingsBuilder_ == null) { if (partitioningSettings_ != null) { partitioningSettings_ = com.yandex.ydb.table.YdbTable.PartitioningSettings.newBuilder(partitioningSettings_).mergeFrom(value).buildPartial(); } else { partitioningSettings_ = value; } onChanged(); } else { partitioningSettingsBuilder_.mergeFrom(value); } return this; } /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 12; */ public Builder clearPartitioningSettings() { if (partitioningSettingsBuilder_ == null) { partitioningSettings_ = null; onChanged(); } else { partitioningSettings_ = null; partitioningSettingsBuilder_ = null; } return this; } /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 12; */ public com.yandex.ydb.table.YdbTable.PartitioningSettings.Builder getPartitioningSettingsBuilder() { onChanged(); return getPartitioningSettingsFieldBuilder().getBuilder(); } /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 12; */ public com.yandex.ydb.table.YdbTable.PartitioningSettingsOrBuilder getPartitioningSettingsOrBuilder() { if (partitioningSettingsBuilder_ != null) { return partitioningSettingsBuilder_.getMessageOrBuilder(); } else { return partitioningSettings_ == null ? com.yandex.ydb.table.YdbTable.PartitioningSettings.getDefaultInstance() : partitioningSettings_; } } /** *
       * Partitioning settings for table
       * 
* * .Ydb.Table.PartitioningSettings partitioning_settings = 12; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.PartitioningSettings, com.yandex.ydb.table.YdbTable.PartitioningSettings.Builder, com.yandex.ydb.table.YdbTable.PartitioningSettingsOrBuilder> getPartitioningSettingsFieldBuilder() { if (partitioningSettingsBuilder_ == null) { partitioningSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.PartitioningSettings, com.yandex.ydb.table.YdbTable.PartitioningSettings.Builder, com.yandex.ydb.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; onChanged(); return this; } /** *
       * Bloom filter by key
       * 
* * .Ydb.FeatureFlag.Status key_bloom_filter = 13; * @return The keyBloomFilter. */ @java.lang.Override public com.yandex.ydb.common.CommonProtos.FeatureFlag.Status getKeyBloomFilter() { @SuppressWarnings("deprecation") com.yandex.ydb.common.CommonProtos.FeatureFlag.Status result = com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.valueOf(keyBloomFilter_); return result == null ? com.yandex.ydb.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(com.yandex.ydb.common.CommonProtos.FeatureFlag.Status value) { if (value == null) { throw new NullPointerException(); } 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() { keyBloomFilter_ = 0; onChanged(); return this; } private com.yandex.ydb.table.YdbTable.ReadReplicasSettings readReplicasSettings_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.ReadReplicasSettings, com.yandex.ydb.table.YdbTable.ReadReplicasSettings.Builder, com.yandex.ydb.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 readReplicasSettingsBuilder_ != null || readReplicasSettings_ != null; } /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 14; * @return The readReplicasSettings. */ public com.yandex.ydb.table.YdbTable.ReadReplicasSettings getReadReplicasSettings() { if (readReplicasSettingsBuilder_ == null) { return readReplicasSettings_ == null ? com.yandex.ydb.table.YdbTable.ReadReplicasSettings.getDefaultInstance() : readReplicasSettings_; } else { return readReplicasSettingsBuilder_.getMessage(); } } /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 14; */ public Builder setReadReplicasSettings(com.yandex.ydb.table.YdbTable.ReadReplicasSettings value) { if (readReplicasSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } readReplicasSettings_ = value; onChanged(); } else { readReplicasSettingsBuilder_.setMessage(value); } return this; } /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 14; */ public Builder setReadReplicasSettings( com.yandex.ydb.table.YdbTable.ReadReplicasSettings.Builder builderForValue) { if (readReplicasSettingsBuilder_ == null) { readReplicasSettings_ = builderForValue.build(); onChanged(); } else { readReplicasSettingsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 14; */ public Builder mergeReadReplicasSettings(com.yandex.ydb.table.YdbTable.ReadReplicasSettings value) { if (readReplicasSettingsBuilder_ == null) { if (readReplicasSettings_ != null) { readReplicasSettings_ = com.yandex.ydb.table.YdbTable.ReadReplicasSettings.newBuilder(readReplicasSettings_).mergeFrom(value).buildPartial(); } else { readReplicasSettings_ = value; } onChanged(); } else { readReplicasSettingsBuilder_.mergeFrom(value); } return this; } /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 14; */ public Builder clearReadReplicasSettings() { if (readReplicasSettingsBuilder_ == null) { readReplicasSettings_ = null; onChanged(); } else { readReplicasSettings_ = null; readReplicasSettingsBuilder_ = null; } return this; } /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 14; */ public com.yandex.ydb.table.YdbTable.ReadReplicasSettings.Builder getReadReplicasSettingsBuilder() { onChanged(); return getReadReplicasSettingsFieldBuilder().getBuilder(); } /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 14; */ public com.yandex.ydb.table.YdbTable.ReadReplicasSettingsOrBuilder getReadReplicasSettingsOrBuilder() { if (readReplicasSettingsBuilder_ != null) { return readReplicasSettingsBuilder_.getMessageOrBuilder(); } else { return readReplicasSettings_ == null ? com.yandex.ydb.table.YdbTable.ReadReplicasSettings.getDefaultInstance() : readReplicasSettings_; } } /** *
       * Read replicas settings for table
       * 
* * .Ydb.Table.ReadReplicasSettings read_replicas_settings = 14; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.ReadReplicasSettings, com.yandex.ydb.table.YdbTable.ReadReplicasSettings.Builder, com.yandex.ydb.table.YdbTable.ReadReplicasSettingsOrBuilder> getReadReplicasSettingsFieldBuilder() { if (readReplicasSettingsBuilder_ == null) { readReplicasSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.ReadReplicasSettings, com.yandex.ydb.table.YdbTable.ReadReplicasSettings.Builder, com.yandex.ydb.table.YdbTable.ReadReplicasSettingsOrBuilder>( getReadReplicasSettings(), getParentForChildren(), isClean()); readReplicasSettings_ = null; } return readReplicasSettingsBuilder_; } private java.util.List changefeeds_ = java.util.Collections.emptyList(); private void ensureChangefeedsIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { changefeeds_ = new java.util.ArrayList(changefeeds_); bitField0_ |= 0x00000040; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.ChangefeedDescription, com.yandex.ydb.table.YdbTable.ChangefeedDescription.Builder, com.yandex.ydb.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 com.yandex.ydb.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, com.yandex.ydb.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, com.yandex.ydb.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(com.yandex.ydb.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, com.yandex.ydb.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( com.yandex.ydb.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, com.yandex.ydb.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_ & ~0x00000040); 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 com.yandex.ydb.table.YdbTable.ChangefeedDescription.Builder getChangefeedsBuilder( int index) { return getChangefeedsFieldBuilder().getBuilder(index); } /** *
       * List of changefeeds
       * 
* * repeated .Ydb.Table.ChangefeedDescription changefeeds = 15; */ public com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ChangefeedDescription.Builder addChangefeedsBuilder() { return getChangefeedsFieldBuilder().addBuilder( com.yandex.ydb.table.YdbTable.ChangefeedDescription.getDefaultInstance()); } /** *
       * List of changefeeds
       * 
* * repeated .Ydb.Table.ChangefeedDescription changefeeds = 15; */ public com.yandex.ydb.table.YdbTable.ChangefeedDescription.Builder addChangefeedsBuilder( int index) { return getChangefeedsFieldBuilder().addBuilder( index, com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.ChangefeedDescription, com.yandex.ydb.table.YdbTable.ChangefeedDescription.Builder, com.yandex.ydb.table.YdbTable.ChangefeedDescriptionOrBuilder> getChangefeedsFieldBuilder() { if (changefeedsBuilder_ == null) { changefeedsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.ChangefeedDescription, com.yandex.ydb.table.YdbTable.ChangefeedDescription.Builder, com.yandex.ydb.table.YdbTable.ChangefeedDescriptionOrBuilder>( changefeeds_, ((bitField0_ & 0x00000040) != 0), getParentForChildren(), isClean()); changefeeds_ = null; } return changefeedsBuilder_; } @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 com.yandex.ydb.table.YdbTable.DescribeTableResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.DescribeTableResult(); } public static com.yandex.ydb.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 { return new DescribeTableResult(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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(); public com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Query( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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 18: { java.lang.String s = input.readStringRequireUtf8(); queryCase_ = 2; query_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_Query_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_Query_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.Query.class, com.yandex.ydb.table.YdbTable.Query.Builder.class); } private int queryCase_ = 0; 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_); } unknownFields.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 += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.Query)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.Query other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.Query parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.Query parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.Query parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.Query parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.Query parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.Query parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.Query parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.QueryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_Query_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_Query_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.Query.class, com.yandex.ydb.table.YdbTable.Query.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.Query.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); queryCase_ = 0; query_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_Query_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.Query getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.Query.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.Query build() { com.yandex.ydb.table.YdbTable.Query result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.Query buildPartial() { com.yandex.ydb.table.YdbTable.Query result = new com.yandex.ydb.table.YdbTable.Query(this); if (queryCase_ == 1) { result.query_ = query_; } if (queryCase_ == 2) { result.query_ = query_; } result.queryCase_ = queryCase_; 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 com.yandex.ydb.table.YdbTable.Query) { return mergeFrom((com.yandex.ydb.table.YdbTable.Query)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.Query other) { if (other == com.yandex.ydb.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.unknownFields); 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 { com.yandex.ydb.table.YdbTable.Query parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.Query) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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; } /** *
       * 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 com.yandex.ydb.table.YdbTable.Query DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.Query(); } public static com.yandex.ydb.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 { return new Query(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SerializableModeSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_SerializableModeSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_SerializableModeSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.SerializableModeSettings.class, com.yandex.ydb.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 { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.SerializableModeSettings)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.SerializableModeSettings other = (com.yandex.ydb.table.YdbTable.SerializableModeSettings) obj; if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.SerializableModeSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.SerializableModeSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.SerializableModeSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.SerializableModeSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.SerializableModeSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.SerializableModeSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.SerializableModeSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.SerializableModeSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_SerializableModeSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_SerializableModeSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.SerializableModeSettings.class, com.yandex.ydb.table.YdbTable.SerializableModeSettings.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.SerializableModeSettings.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_SerializableModeSettings_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.SerializableModeSettings getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.SerializableModeSettings.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.SerializableModeSettings build() { com.yandex.ydb.table.YdbTable.SerializableModeSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.SerializableModeSettings buildPartial() { com.yandex.ydb.table.YdbTable.SerializableModeSettings result = new com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.SerializableModeSettings) { return mergeFrom((com.yandex.ydb.table.YdbTable.SerializableModeSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.SerializableModeSettings other) { if (other == com.yandex.ydb.table.YdbTable.SerializableModeSettings.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.SerializableModeSettings parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.SerializableModeSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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 com.yandex.ydb.table.YdbTable.SerializableModeSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.SerializableModeSettings(); } public static com.yandex.ydb.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 { return new SerializableModeSettings(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private OnlineModeSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { allowInconsistentReads_ = input.readBool(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_OnlineModeSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_OnlineModeSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.OnlineModeSettings.class, com.yandex.ydb.table.YdbTable.OnlineModeSettings.Builder.class); } public static final int ALLOW_INCONSISTENT_READS_FIELD_NUMBER = 1; private boolean allowInconsistentReads_; /** * 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_); } unknownFields.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 += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.OnlineModeSettings)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.OnlineModeSettings other = (com.yandex.ydb.table.YdbTable.OnlineModeSettings) obj; if (getAllowInconsistentReads() != other.getAllowInconsistentReads()) return false; if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.OnlineModeSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.OnlineModeSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.OnlineModeSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.OnlineModeSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.OnlineModeSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.OnlineModeSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.OnlineModeSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.OnlineModeSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_OnlineModeSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_OnlineModeSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.OnlineModeSettings.class, com.yandex.ydb.table.YdbTable.OnlineModeSettings.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.OnlineModeSettings.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); allowInconsistentReads_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_OnlineModeSettings_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.OnlineModeSettings getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.OnlineModeSettings.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.OnlineModeSettings build() { com.yandex.ydb.table.YdbTable.OnlineModeSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.OnlineModeSettings buildPartial() { com.yandex.ydb.table.YdbTable.OnlineModeSettings result = new com.yandex.ydb.table.YdbTable.OnlineModeSettings(this); result.allowInconsistentReads_ = allowInconsistentReads_; 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 com.yandex.ydb.table.YdbTable.OnlineModeSettings) { return mergeFrom((com.yandex.ydb.table.YdbTable.OnlineModeSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.OnlineModeSettings other) { if (other == com.yandex.ydb.table.YdbTable.OnlineModeSettings.getDefaultInstance()) return this; if (other.getAllowInconsistentReads() != false) { setAllowInconsistentReads(other.getAllowInconsistentReads()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.OnlineModeSettings parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.OnlineModeSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; onChanged(); return this; } /** * bool allow_inconsistent_reads = 1; * @return This builder for chaining. */ public Builder clearAllowInconsistentReads() { 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 com.yandex.ydb.table.YdbTable.OnlineModeSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.OnlineModeSettings(); } public static com.yandex.ydb.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 { return new OnlineModeSettings(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StaleModeSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_StaleModeSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_StaleModeSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.StaleModeSettings.class, com.yandex.ydb.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 { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.StaleModeSettings)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.StaleModeSettings other = (com.yandex.ydb.table.YdbTable.StaleModeSettings) obj; if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.StaleModeSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.StaleModeSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.StaleModeSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.StaleModeSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.StaleModeSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.StaleModeSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.StaleModeSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.StaleModeSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_StaleModeSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_StaleModeSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.StaleModeSettings.class, com.yandex.ydb.table.YdbTable.StaleModeSettings.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.StaleModeSettings.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_StaleModeSettings_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.StaleModeSettings getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.StaleModeSettings.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.StaleModeSettings build() { com.yandex.ydb.table.YdbTable.StaleModeSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.StaleModeSettings buildPartial() { com.yandex.ydb.table.YdbTable.StaleModeSettings result = new com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.StaleModeSettings) { return mergeFrom((com.yandex.ydb.table.YdbTable.StaleModeSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.StaleModeSettings other) { if (other == com.yandex.ydb.table.YdbTable.StaleModeSettings.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.StaleModeSettings parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.StaleModeSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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 com.yandex.ydb.table.YdbTable.StaleModeSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.StaleModeSettings(); } public static com.yandex.ydb.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 { return new StaleModeSettings(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.table.YdbTable.StaleModeSettings 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. */ com.yandex.ydb.table.YdbTable.SerializableModeSettings getSerializableReadWrite(); /** * .Ydb.Table.SerializableModeSettings serializable_read_write = 1; */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.OnlineModeSettings getOnlineReadOnly(); /** * .Ydb.Table.OnlineModeSettings online_read_only = 2; */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.StaleModeSettings getStaleReadOnly(); /** * .Ydb.Table.StaleModeSettings stale_read_only = 3; */ com.yandex.ydb.table.YdbTable.StaleModeSettingsOrBuilder getStaleReadOnlyOrBuilder(); public com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TransactionSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.table.YdbTable.SerializableModeSettings.Builder subBuilder = null; if (txModeCase_ == 1) { subBuilder = ((com.yandex.ydb.table.YdbTable.SerializableModeSettings) txMode_).toBuilder(); } txMode_ = input.readMessage(com.yandex.ydb.table.YdbTable.SerializableModeSettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.yandex.ydb.table.YdbTable.SerializableModeSettings) txMode_); txMode_ = subBuilder.buildPartial(); } txModeCase_ = 1; break; } case 18: { com.yandex.ydb.table.YdbTable.OnlineModeSettings.Builder subBuilder = null; if (txModeCase_ == 2) { subBuilder = ((com.yandex.ydb.table.YdbTable.OnlineModeSettings) txMode_).toBuilder(); } txMode_ = input.readMessage(com.yandex.ydb.table.YdbTable.OnlineModeSettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.yandex.ydb.table.YdbTable.OnlineModeSettings) txMode_); txMode_ = subBuilder.buildPartial(); } txModeCase_ = 2; break; } case 26: { com.yandex.ydb.table.YdbTable.StaleModeSettings.Builder subBuilder = null; if (txModeCase_ == 3) { subBuilder = ((com.yandex.ydb.table.YdbTable.StaleModeSettings) txMode_).toBuilder(); } txMode_ = input.readMessage(com.yandex.ydb.table.YdbTable.StaleModeSettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.yandex.ydb.table.YdbTable.StaleModeSettings) txMode_); txMode_ = subBuilder.buildPartial(); } txModeCase_ = 3; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TransactionSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TransactionSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.TransactionSettings.class, com.yandex.ydb.table.YdbTable.TransactionSettings.Builder.class); } private int txModeCase_ = 0; 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), 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 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 com.yandex.ydb.table.YdbTable.SerializableModeSettings getSerializableReadWrite() { if (txModeCase_ == 1) { return (com.yandex.ydb.table.YdbTable.SerializableModeSettings) txMode_; } return com.yandex.ydb.table.YdbTable.SerializableModeSettings.getDefaultInstance(); } /** * .Ydb.Table.SerializableModeSettings serializable_read_write = 1; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.SerializableModeSettingsOrBuilder getSerializableReadWriteOrBuilder() { if (txModeCase_ == 1) { return (com.yandex.ydb.table.YdbTable.SerializableModeSettings) txMode_; } return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.OnlineModeSettings getOnlineReadOnly() { if (txModeCase_ == 2) { return (com.yandex.ydb.table.YdbTable.OnlineModeSettings) txMode_; } return com.yandex.ydb.table.YdbTable.OnlineModeSettings.getDefaultInstance(); } /** * .Ydb.Table.OnlineModeSettings online_read_only = 2; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.OnlineModeSettingsOrBuilder getOnlineReadOnlyOrBuilder() { if (txModeCase_ == 2) { return (com.yandex.ydb.table.YdbTable.OnlineModeSettings) txMode_; } return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.StaleModeSettings getStaleReadOnly() { if (txModeCase_ == 3) { return (com.yandex.ydb.table.YdbTable.StaleModeSettings) txMode_; } return com.yandex.ydb.table.YdbTable.StaleModeSettings.getDefaultInstance(); } /** * .Ydb.Table.StaleModeSettings stale_read_only = 3; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.StaleModeSettingsOrBuilder getStaleReadOnlyOrBuilder() { if (txModeCase_ == 3) { return (com.yandex.ydb.table.YdbTable.StaleModeSettings) txMode_; } return com.yandex.ydb.table.YdbTable.StaleModeSettings.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, (com.yandex.ydb.table.YdbTable.SerializableModeSettings) txMode_); } if (txModeCase_ == 2) { output.writeMessage(2, (com.yandex.ydb.table.YdbTable.OnlineModeSettings) txMode_); } if (txModeCase_ == 3) { output.writeMessage(3, (com.yandex.ydb.table.YdbTable.StaleModeSettings) txMode_); } unknownFields.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, (com.yandex.ydb.table.YdbTable.SerializableModeSettings) txMode_); } if (txModeCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (com.yandex.ydb.table.YdbTable.OnlineModeSettings) txMode_); } if (txModeCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (com.yandex.ydb.table.YdbTable.StaleModeSettings) txMode_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.TransactionSettings)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.TransactionSettings other = (com.yandex.ydb.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 0: default: } if (!unknownFields.equals(other.unknownFields)) 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 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.TransactionSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TransactionSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TransactionSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.TransactionSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.TransactionSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TransactionSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TransactionSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.TransactionSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TransactionSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TransactionSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.TransactionSettings.class, com.yandex.ydb.table.YdbTable.TransactionSettings.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.TransactionSettings.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); txModeCase_ = 0; txMode_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TransactionSettings_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.TransactionSettings getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.TransactionSettings.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.TransactionSettings build() { com.yandex.ydb.table.YdbTable.TransactionSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.TransactionSettings buildPartial() { com.yandex.ydb.table.YdbTable.TransactionSettings result = new com.yandex.ydb.table.YdbTable.TransactionSettings(this); if (txModeCase_ == 1) { if (serializableReadWriteBuilder_ == null) { result.txMode_ = txMode_; } else { result.txMode_ = serializableReadWriteBuilder_.build(); } } if (txModeCase_ == 2) { if (onlineReadOnlyBuilder_ == null) { result.txMode_ = txMode_; } else { result.txMode_ = onlineReadOnlyBuilder_.build(); } } if (txModeCase_ == 3) { if (staleReadOnlyBuilder_ == null) { result.txMode_ = txMode_; } else { result.txMode_ = staleReadOnlyBuilder_.build(); } } result.txModeCase_ = txModeCase_; 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 com.yandex.ydb.table.YdbTable.TransactionSettings) { return mergeFrom((com.yandex.ydb.table.YdbTable.TransactionSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.TransactionSettings other) { if (other == com.yandex.ydb.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 TXMODE_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.TransactionSettings parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.TransactionSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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 com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.SerializableModeSettings, com.yandex.ydb.table.YdbTable.SerializableModeSettings.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.SerializableModeSettings getSerializableReadWrite() { if (serializableReadWriteBuilder_ == null) { if (txModeCase_ == 1) { return (com.yandex.ydb.table.YdbTable.SerializableModeSettings) txMode_; } return com.yandex.ydb.table.YdbTable.SerializableModeSettings.getDefaultInstance(); } else { if (txModeCase_ == 1) { return serializableReadWriteBuilder_.getMessage(); } return com.yandex.ydb.table.YdbTable.SerializableModeSettings.getDefaultInstance(); } } /** * .Ydb.Table.SerializableModeSettings serializable_read_write = 1; */ public Builder setSerializableReadWrite(com.yandex.ydb.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( com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.SerializableModeSettings value) { if (serializableReadWriteBuilder_ == null) { if (txModeCase_ == 1 && txMode_ != com.yandex.ydb.table.YdbTable.SerializableModeSettings.getDefaultInstance()) { txMode_ = com.yandex.ydb.table.YdbTable.SerializableModeSettings.newBuilder((com.yandex.ydb.table.YdbTable.SerializableModeSettings) txMode_) .mergeFrom(value).buildPartial(); } else { txMode_ = value; } onChanged(); } else { if (txModeCase_ == 1) { serializableReadWriteBuilder_.mergeFrom(value); } 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 com.yandex.ydb.table.YdbTable.SerializableModeSettings.Builder getSerializableReadWriteBuilder() { return getSerializableReadWriteFieldBuilder().getBuilder(); } /** * .Ydb.Table.SerializableModeSettings serializable_read_write = 1; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.SerializableModeSettingsOrBuilder getSerializableReadWriteOrBuilder() { if ((txModeCase_ == 1) && (serializableReadWriteBuilder_ != null)) { return serializableReadWriteBuilder_.getMessageOrBuilder(); } else { if (txModeCase_ == 1) { return (com.yandex.ydb.table.YdbTable.SerializableModeSettings) txMode_; } return com.yandex.ydb.table.YdbTable.SerializableModeSettings.getDefaultInstance(); } } /** * .Ydb.Table.SerializableModeSettings serializable_read_write = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.SerializableModeSettings, com.yandex.ydb.table.YdbTable.SerializableModeSettings.Builder, com.yandex.ydb.table.YdbTable.SerializableModeSettingsOrBuilder> getSerializableReadWriteFieldBuilder() { if (serializableReadWriteBuilder_ == null) { if (!(txModeCase_ == 1)) { txMode_ = com.yandex.ydb.table.YdbTable.SerializableModeSettings.getDefaultInstance(); } serializableReadWriteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.SerializableModeSettings, com.yandex.ydb.table.YdbTable.SerializableModeSettings.Builder, com.yandex.ydb.table.YdbTable.SerializableModeSettingsOrBuilder>( (com.yandex.ydb.table.YdbTable.SerializableModeSettings) txMode_, getParentForChildren(), isClean()); txMode_ = null; } txModeCase_ = 1; onChanged();; return serializableReadWriteBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.OnlineModeSettings, com.yandex.ydb.table.YdbTable.OnlineModeSettings.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.OnlineModeSettings getOnlineReadOnly() { if (onlineReadOnlyBuilder_ == null) { if (txModeCase_ == 2) { return (com.yandex.ydb.table.YdbTable.OnlineModeSettings) txMode_; } return com.yandex.ydb.table.YdbTable.OnlineModeSettings.getDefaultInstance(); } else { if (txModeCase_ == 2) { return onlineReadOnlyBuilder_.getMessage(); } return com.yandex.ydb.table.YdbTable.OnlineModeSettings.getDefaultInstance(); } } /** * .Ydb.Table.OnlineModeSettings online_read_only = 2; */ public Builder setOnlineReadOnly(com.yandex.ydb.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( com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.OnlineModeSettings value) { if (onlineReadOnlyBuilder_ == null) { if (txModeCase_ == 2 && txMode_ != com.yandex.ydb.table.YdbTable.OnlineModeSettings.getDefaultInstance()) { txMode_ = com.yandex.ydb.table.YdbTable.OnlineModeSettings.newBuilder((com.yandex.ydb.table.YdbTable.OnlineModeSettings) txMode_) .mergeFrom(value).buildPartial(); } else { txMode_ = value; } onChanged(); } else { if (txModeCase_ == 2) { onlineReadOnlyBuilder_.mergeFrom(value); } 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 com.yandex.ydb.table.YdbTable.OnlineModeSettings.Builder getOnlineReadOnlyBuilder() { return getOnlineReadOnlyFieldBuilder().getBuilder(); } /** * .Ydb.Table.OnlineModeSettings online_read_only = 2; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.OnlineModeSettingsOrBuilder getOnlineReadOnlyOrBuilder() { if ((txModeCase_ == 2) && (onlineReadOnlyBuilder_ != null)) { return onlineReadOnlyBuilder_.getMessageOrBuilder(); } else { if (txModeCase_ == 2) { return (com.yandex.ydb.table.YdbTable.OnlineModeSettings) txMode_; } return com.yandex.ydb.table.YdbTable.OnlineModeSettings.getDefaultInstance(); } } /** * .Ydb.Table.OnlineModeSettings online_read_only = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.OnlineModeSettings, com.yandex.ydb.table.YdbTable.OnlineModeSettings.Builder, com.yandex.ydb.table.YdbTable.OnlineModeSettingsOrBuilder> getOnlineReadOnlyFieldBuilder() { if (onlineReadOnlyBuilder_ == null) { if (!(txModeCase_ == 2)) { txMode_ = com.yandex.ydb.table.YdbTable.OnlineModeSettings.getDefaultInstance(); } onlineReadOnlyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.OnlineModeSettings, com.yandex.ydb.table.YdbTable.OnlineModeSettings.Builder, com.yandex.ydb.table.YdbTable.OnlineModeSettingsOrBuilder>( (com.yandex.ydb.table.YdbTable.OnlineModeSettings) txMode_, getParentForChildren(), isClean()); txMode_ = null; } txModeCase_ = 2; onChanged();; return onlineReadOnlyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StaleModeSettings, com.yandex.ydb.table.YdbTable.StaleModeSettings.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.StaleModeSettings getStaleReadOnly() { if (staleReadOnlyBuilder_ == null) { if (txModeCase_ == 3) { return (com.yandex.ydb.table.YdbTable.StaleModeSettings) txMode_; } return com.yandex.ydb.table.YdbTable.StaleModeSettings.getDefaultInstance(); } else { if (txModeCase_ == 3) { return staleReadOnlyBuilder_.getMessage(); } return com.yandex.ydb.table.YdbTable.StaleModeSettings.getDefaultInstance(); } } /** * .Ydb.Table.StaleModeSettings stale_read_only = 3; */ public Builder setStaleReadOnly(com.yandex.ydb.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( com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.StaleModeSettings value) { if (staleReadOnlyBuilder_ == null) { if (txModeCase_ == 3 && txMode_ != com.yandex.ydb.table.YdbTable.StaleModeSettings.getDefaultInstance()) { txMode_ = com.yandex.ydb.table.YdbTable.StaleModeSettings.newBuilder((com.yandex.ydb.table.YdbTable.StaleModeSettings) txMode_) .mergeFrom(value).buildPartial(); } else { txMode_ = value; } onChanged(); } else { if (txModeCase_ == 3) { staleReadOnlyBuilder_.mergeFrom(value); } 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 com.yandex.ydb.table.YdbTable.StaleModeSettings.Builder getStaleReadOnlyBuilder() { return getStaleReadOnlyFieldBuilder().getBuilder(); } /** * .Ydb.Table.StaleModeSettings stale_read_only = 3; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.StaleModeSettingsOrBuilder getStaleReadOnlyOrBuilder() { if ((txModeCase_ == 3) && (staleReadOnlyBuilder_ != null)) { return staleReadOnlyBuilder_.getMessageOrBuilder(); } else { if (txModeCase_ == 3) { return (com.yandex.ydb.table.YdbTable.StaleModeSettings) txMode_; } return com.yandex.ydb.table.YdbTable.StaleModeSettings.getDefaultInstance(); } } /** * .Ydb.Table.StaleModeSettings stale_read_only = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StaleModeSettings, com.yandex.ydb.table.YdbTable.StaleModeSettings.Builder, com.yandex.ydb.table.YdbTable.StaleModeSettingsOrBuilder> getStaleReadOnlyFieldBuilder() { if (staleReadOnlyBuilder_ == null) { if (!(txModeCase_ == 3)) { txMode_ = com.yandex.ydb.table.YdbTable.StaleModeSettings.getDefaultInstance(); } staleReadOnlyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.StaleModeSettings, com.yandex.ydb.table.YdbTable.StaleModeSettings.Builder, com.yandex.ydb.table.YdbTable.StaleModeSettingsOrBuilder>( (com.yandex.ydb.table.YdbTable.StaleModeSettings) txMode_, getParentForChildren(), isClean()); txMode_ = null; } txModeCase_ = 3; onChanged();; return staleReadOnlyBuilder_; } @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 com.yandex.ydb.table.YdbTable.TransactionSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.TransactionSettings(); } public static com.yandex.ydb.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 { return new TransactionSettings(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.TransactionSettings getBeginTx(); /** * .Ydb.Table.TransactionSettings begin_tx = 2; */ com.yandex.ydb.table.YdbTable.TransactionSettingsOrBuilder getBeginTxOrBuilder(); /** * bool commit_tx = 10; * @return The commitTx. */ boolean getCommitTx(); public com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TransactionControl( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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 18: { com.yandex.ydb.table.YdbTable.TransactionSettings.Builder subBuilder = null; if (txSelectorCase_ == 2) { subBuilder = ((com.yandex.ydb.table.YdbTable.TransactionSettings) txSelector_).toBuilder(); } txSelector_ = input.readMessage(com.yandex.ydb.table.YdbTable.TransactionSettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.yandex.ydb.table.YdbTable.TransactionSettings) txSelector_); txSelector_ = subBuilder.buildPartial(); } txSelectorCase_ = 2; break; } case 80: { commitTx_ = input.readBool(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TransactionControl_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TransactionControl_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.TransactionControl.class, com.yandex.ydb.table.YdbTable.TransactionControl.Builder.class); } private int txSelectorCase_ = 0; 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 com.yandex.ydb.table.YdbTable.TransactionSettings getBeginTx() { if (txSelectorCase_ == 2) { return (com.yandex.ydb.table.YdbTable.TransactionSettings) txSelector_; } return com.yandex.ydb.table.YdbTable.TransactionSettings.getDefaultInstance(); } /** * .Ydb.Table.TransactionSettings begin_tx = 2; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.TransactionSettingsOrBuilder getBeginTxOrBuilder() { if (txSelectorCase_ == 2) { return (com.yandex.ydb.table.YdbTable.TransactionSettings) txSelector_; } return com.yandex.ydb.table.YdbTable.TransactionSettings.getDefaultInstance(); } public static final int COMMIT_TX_FIELD_NUMBER = 10; private boolean commitTx_; /** * 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, (com.yandex.ydb.table.YdbTable.TransactionSettings) txSelector_); } if (commitTx_ != false) { output.writeBool(10, commitTx_); } unknownFields.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, (com.yandex.ydb.table.YdbTable.TransactionSettings) txSelector_); } if (commitTx_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(10, commitTx_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.TransactionControl)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.TransactionControl other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.TransactionControl parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TransactionControl parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TransactionControl parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.TransactionControl parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.TransactionControl parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TransactionControl parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TransactionControl parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.TransactionControlOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TransactionControl_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TransactionControl_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.TransactionControl.class, com.yandex.ydb.table.YdbTable.TransactionControl.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.TransactionControl.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); commitTx_ = false; txSelectorCase_ = 0; txSelector_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TransactionControl_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.TransactionControl getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.TransactionControl.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.TransactionControl build() { com.yandex.ydb.table.YdbTable.TransactionControl result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.TransactionControl buildPartial() { com.yandex.ydb.table.YdbTable.TransactionControl result = new com.yandex.ydb.table.YdbTable.TransactionControl(this); if (txSelectorCase_ == 1) { result.txSelector_ = txSelector_; } if (txSelectorCase_ == 2) { if (beginTxBuilder_ == null) { result.txSelector_ = txSelector_; } else { result.txSelector_ = beginTxBuilder_.build(); } } result.commitTx_ = commitTx_; result.txSelectorCase_ = txSelectorCase_; 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 com.yandex.ydb.table.YdbTable.TransactionControl) { return mergeFrom((com.yandex.ydb.table.YdbTable.TransactionControl)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.TransactionControl other) { if (other == com.yandex.ydb.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.unknownFields); 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 { com.yandex.ydb.table.YdbTable.TransactionControl parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.TransactionControl) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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; } /** * 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< com.yandex.ydb.table.YdbTable.TransactionSettings, com.yandex.ydb.table.YdbTable.TransactionSettings.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TransactionSettings getBeginTx() { if (beginTxBuilder_ == null) { if (txSelectorCase_ == 2) { return (com.yandex.ydb.table.YdbTable.TransactionSettings) txSelector_; } return com.yandex.ydb.table.YdbTable.TransactionSettings.getDefaultInstance(); } else { if (txSelectorCase_ == 2) { return beginTxBuilder_.getMessage(); } return com.yandex.ydb.table.YdbTable.TransactionSettings.getDefaultInstance(); } } /** * .Ydb.Table.TransactionSettings begin_tx = 2; */ public Builder setBeginTx(com.yandex.ydb.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( com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.TransactionSettings value) { if (beginTxBuilder_ == null) { if (txSelectorCase_ == 2 && txSelector_ != com.yandex.ydb.table.YdbTable.TransactionSettings.getDefaultInstance()) { txSelector_ = com.yandex.ydb.table.YdbTable.TransactionSettings.newBuilder((com.yandex.ydb.table.YdbTable.TransactionSettings) txSelector_) .mergeFrom(value).buildPartial(); } else { txSelector_ = value; } onChanged(); } else { if (txSelectorCase_ == 2) { beginTxBuilder_.mergeFrom(value); } 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 com.yandex.ydb.table.YdbTable.TransactionSettings.Builder getBeginTxBuilder() { return getBeginTxFieldBuilder().getBuilder(); } /** * .Ydb.Table.TransactionSettings begin_tx = 2; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.TransactionSettingsOrBuilder getBeginTxOrBuilder() { if ((txSelectorCase_ == 2) && (beginTxBuilder_ != null)) { return beginTxBuilder_.getMessageOrBuilder(); } else { if (txSelectorCase_ == 2) { return (com.yandex.ydb.table.YdbTable.TransactionSettings) txSelector_; } return com.yandex.ydb.table.YdbTable.TransactionSettings.getDefaultInstance(); } } /** * .Ydb.Table.TransactionSettings begin_tx = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.TransactionSettings, com.yandex.ydb.table.YdbTable.TransactionSettings.Builder, com.yandex.ydb.table.YdbTable.TransactionSettingsOrBuilder> getBeginTxFieldBuilder() { if (beginTxBuilder_ == null) { if (!(txSelectorCase_ == 2)) { txSelector_ = com.yandex.ydb.table.YdbTable.TransactionSettings.getDefaultInstance(); } beginTxBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.TransactionSettings, com.yandex.ydb.table.YdbTable.TransactionSettings.Builder, com.yandex.ydb.table.YdbTable.TransactionSettingsOrBuilder>( (com.yandex.ydb.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; onChanged(); return this; } /** * bool commit_tx = 10; * @return This builder for chaining. */ public Builder clearCommitTx() { 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 com.yandex.ydb.table.YdbTable.TransactionControl DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.TransactionControl(); } public static com.yandex.ydb.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 { return new TransactionControl(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryCachePolicy( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { keepInCache_ = input.readBool(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_QueryCachePolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_QueryCachePolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.QueryCachePolicy.class, com.yandex.ydb.table.YdbTable.QueryCachePolicy.Builder.class); } public static final int KEEP_IN_CACHE_FIELD_NUMBER = 1; private boolean keepInCache_; /** * 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_); } unknownFields.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 += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.QueryCachePolicy)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.QueryCachePolicy other = (com.yandex.ydb.table.YdbTable.QueryCachePolicy) obj; if (getKeepInCache() != other.getKeepInCache()) return false; if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.QueryCachePolicy parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.QueryCachePolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.QueryCachePolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.QueryCachePolicy parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.QueryCachePolicy parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.QueryCachePolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.QueryCachePolicy parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.QueryCachePolicyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_QueryCachePolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_QueryCachePolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.QueryCachePolicy.class, com.yandex.ydb.table.YdbTable.QueryCachePolicy.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.QueryCachePolicy.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); keepInCache_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_QueryCachePolicy_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.QueryCachePolicy getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.QueryCachePolicy.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.QueryCachePolicy build() { com.yandex.ydb.table.YdbTable.QueryCachePolicy result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.QueryCachePolicy buildPartial() { com.yandex.ydb.table.YdbTable.QueryCachePolicy result = new com.yandex.ydb.table.YdbTable.QueryCachePolicy(this); result.keepInCache_ = keepInCache_; 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 com.yandex.ydb.table.YdbTable.QueryCachePolicy) { return mergeFrom((com.yandex.ydb.table.YdbTable.QueryCachePolicy)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.QueryCachePolicy other) { if (other == com.yandex.ydb.table.YdbTable.QueryCachePolicy.getDefaultInstance()) return this; if (other.getKeepInCache() != false) { setKeepInCache(other.getKeepInCache()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.QueryCachePolicy parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.QueryCachePolicy) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; onChanged(); return this; } /** * bool keep_in_cache = 1; * @return This builder for chaining. */ public Builder clearKeepInCache() { 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 com.yandex.ydb.table.YdbTable.QueryCachePolicy DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.QueryCachePolicy(); } public static com.yandex.ydb.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 { return new QueryCachePolicy(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryStatsCollection( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_QueryStatsCollection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_QueryStatsCollection_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.QueryStatsCollection.class, com.yandex.ydb.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), 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; 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; 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 com.yandex.ydb.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 { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.QueryStatsCollection)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.QueryStatsCollection other = (com.yandex.ydb.table.YdbTable.QueryStatsCollection) obj; if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.QueryStatsCollection parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.QueryStatsCollection parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.QueryStatsCollection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.QueryStatsCollection parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.QueryStatsCollection parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.QueryStatsCollection parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.QueryStatsCollection parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.QueryStatsCollectionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_QueryStatsCollection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_QueryStatsCollection_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.QueryStatsCollection.class, com.yandex.ydb.table.YdbTable.QueryStatsCollection.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.QueryStatsCollection.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_QueryStatsCollection_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.QueryStatsCollection getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.QueryStatsCollection.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.QueryStatsCollection build() { com.yandex.ydb.table.YdbTable.QueryStatsCollection result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.QueryStatsCollection buildPartial() { com.yandex.ydb.table.YdbTable.QueryStatsCollection result = new com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.QueryStatsCollection) { return mergeFrom((com.yandex.ydb.table.YdbTable.QueryStatsCollection)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.QueryStatsCollection other) { if (other == com.yandex.ydb.table.YdbTable.QueryStatsCollection.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.QueryStatsCollection parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.QueryStatsCollection) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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 com.yandex.ydb.table.YdbTable.QueryStatsCollection DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.QueryStatsCollection(); } public static com.yandex.ydb.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 { return new QueryStatsCollection(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.TransactionControl getTxControl(); /** * .Ydb.Table.TransactionControl tx_control = 2; */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.Query getQuery(); /** * .Ydb.Table.Query query = 3; */ com.yandex.ydb.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; */ com.yandex.ydb.ValueProtos.TypedValue getParametersOrDefault( java.lang.String key, com.yandex.ydb.ValueProtos.TypedValue defaultValue); /** *
     * Map of query parameters (optional)
     * 
* * map<string, .Ydb.TypedValue> parameters = 4; */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.QueryCachePolicy getQueryCachePolicy(); /** * .Ydb.Table.QueryCachePolicy query_cache_policy = 5; */ com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 6; */ com.yandex.ydb.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. */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExecuteDataQueryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); sessionId_ = s; break; } case 18: { com.yandex.ydb.table.YdbTable.TransactionControl.Builder subBuilder = null; if (txControl_ != null) { subBuilder = txControl_.toBuilder(); } txControl_ = input.readMessage(com.yandex.ydb.table.YdbTable.TransactionControl.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(txControl_); txControl_ = subBuilder.buildPartial(); } break; } case 26: { com.yandex.ydb.table.YdbTable.Query.Builder subBuilder = null; if (query_ != null) { subBuilder = query_.toBuilder(); } query_ = input.readMessage(com.yandex.ydb.table.YdbTable.Query.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(query_); query_ = subBuilder.buildPartial(); } break; } case 34: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { parameters_ = com.google.protobuf.MapField.newMapField( ParametersDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry parameters__ = input.readMessage( ParametersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); parameters_.getMutableMap().put( parameters__.getKey(), parameters__.getValue()); break; } case 42: { com.yandex.ydb.table.YdbTable.QueryCachePolicy.Builder subBuilder = null; if (queryCachePolicy_ != null) { subBuilder = queryCachePolicy_.toBuilder(); } queryCachePolicy_ = input.readMessage(com.yandex.ydb.table.YdbTable.QueryCachePolicy.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(queryCachePolicy_); queryCachePolicy_ = subBuilder.buildPartial(); } break; } case 50: { com.yandex.ydb.OperationProtos.OperationParams.Builder subBuilder = null; if (operationParams_ != null) { subBuilder = operationParams_.toBuilder(); } operationParams_ = input.readMessage(com.yandex.ydb.OperationProtos.OperationParams.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operationParams_); operationParams_ = subBuilder.buildPartial(); } break; } case 56: { int rawValue = input.readEnum(); collectStats_ = rawValue; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteDataQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ExecuteDataQueryRequest.class, com.yandex.ydb.table.YdbTable.ExecuteDataQueryRequest.Builder.class); } public static final int SESSION_ID_FIELD_NUMBER = 1; 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 com.yandex.ydb.table.YdbTable.TransactionControl txControl_; /** * .Ydb.Table.TransactionControl tx_control = 2; * @return Whether the txControl field is set. */ @java.lang.Override public boolean hasTxControl() { return txControl_ != null; } /** * .Ydb.Table.TransactionControl tx_control = 2; * @return The txControl. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.TransactionControl getTxControl() { return txControl_ == null ? com.yandex.ydb.table.YdbTable.TransactionControl.getDefaultInstance() : txControl_; } /** * .Ydb.Table.TransactionControl tx_control = 2; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.TransactionControlOrBuilder getTxControlOrBuilder() { return getTxControl(); } public static final int QUERY_FIELD_NUMBER = 3; private com.yandex.ydb.table.YdbTable.Query query_; /** * .Ydb.Table.Query query = 3; * @return Whether the query field is set. */ @java.lang.Override public boolean hasQuery() { return query_ != null; } /** * .Ydb.Table.Query query = 3; * @return The query. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.Query getQuery() { return query_ == null ? com.yandex.ydb.table.YdbTable.Query.getDefaultInstance() : query_; } /** * .Ydb.Table.Query query = 3; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.QueryOrBuilder getQueryOrBuilder() { return getQuery(); } public static final int PARAMETERS_FIELD_NUMBER = 4; private static final class ParametersDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, com.yandex.ydb.ValueProtos.TypedValue> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteDataQueryRequest_ParametersEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, com.yandex.ydb.ValueProtos.TypedValue.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, com.yandex.ydb.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 java.lang.NullPointerException(); } 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 com.yandex.ydb.ValueProtos.TypedValue getParametersOrDefault( java.lang.String key, com.yandex.ydb.ValueProtos.TypedValue defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } 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 com.yandex.ydb.ValueProtos.TypedValue getParametersOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } 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 com.yandex.ydb.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 queryCachePolicy_ != null; } /** * .Ydb.Table.QueryCachePolicy query_cache_policy = 5; * @return The queryCachePolicy. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.QueryCachePolicy getQueryCachePolicy() { return queryCachePolicy_ == null ? com.yandex.ydb.table.YdbTable.QueryCachePolicy.getDefaultInstance() : queryCachePolicy_; } /** * .Ydb.Table.QueryCachePolicy query_cache_policy = 5; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.QueryCachePolicyOrBuilder getQueryCachePolicyOrBuilder() { return getQueryCachePolicy(); } public static final int OPERATION_PARAMS_FIELD_NUMBER = 6; private com.yandex.ydb.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 6; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 6; * @return The operationParams. */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } /** * .Ydb.Operations.OperationParams operation_params = 6; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return getOperationParams(); } public static final int COLLECT_STATS_FIELD_NUMBER = 7; private int collectStats_; /** * .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 com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode getCollectStats() { @SuppressWarnings("deprecation") com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode result = com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode.valueOf(collectStats_); return result == null ? com.yandex.ydb.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 (!getSessionIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_); } if (txControl_ != null) { output.writeMessage(2, getTxControl()); } if (query_ != null) { output.writeMessage(3, getQuery()); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetParameters(), ParametersDefaultEntryHolder.defaultEntry, 4); if (queryCachePolicy_ != null) { output.writeMessage(5, getQueryCachePolicy()); } if (operationParams_ != null) { output.writeMessage(6, getOperationParams()); } if (collectStats_ != com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode.STATS_COLLECTION_UNSPECIFIED.getNumber()) { output.writeEnum(7, collectStats_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getSessionIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_); } if (txControl_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getTxControl()); } if (query_ != null) { 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 (queryCachePolicy_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getQueryCachePolicy()); } if (operationParams_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getOperationParams()); } if (collectStats_ != com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode.STATS_COLLECTION_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(7, collectStats_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.ExecuteDataQueryRequest)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.ExecuteDataQueryRequest other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.ExecuteDataQueryRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteDataQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteDataQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.ExecuteDataQueryRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.ExecuteDataQueryRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteDataQueryRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteDataQueryRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.ExecuteDataQueryRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteDataQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ExecuteDataQueryRequest.class, com.yandex.ydb.table.YdbTable.ExecuteDataQueryRequest.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); sessionId_ = ""; if (txControlBuilder_ == null) { txControl_ = null; } else { txControl_ = null; txControlBuilder_ = null; } if (queryBuilder_ == null) { query_ = null; } else { query_ = null; queryBuilder_ = null; } internalGetMutableParameters().clear(); if (queryCachePolicyBuilder_ == null) { queryCachePolicy_ = null; } else { queryCachePolicy_ = null; queryCachePolicyBuilder_ = null; } if (operationParamsBuilder_ == null) { operationParams_ = null; } else { operationParams_ = null; operationParamsBuilder_ = null; } collectStats_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteDataQueryRequest_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecuteDataQueryRequest getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.ExecuteDataQueryRequest.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecuteDataQueryRequest build() { com.yandex.ydb.table.YdbTable.ExecuteDataQueryRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecuteDataQueryRequest buildPartial() { com.yandex.ydb.table.YdbTable.ExecuteDataQueryRequest result = new com.yandex.ydb.table.YdbTable.ExecuteDataQueryRequest(this); int from_bitField0_ = bitField0_; result.sessionId_ = sessionId_; if (txControlBuilder_ == null) { result.txControl_ = txControl_; } else { result.txControl_ = txControlBuilder_.build(); } if (queryBuilder_ == null) { result.query_ = query_; } else { result.query_ = queryBuilder_.build(); } result.parameters_ = internalGetParameters(); result.parameters_.makeImmutable(); if (queryCachePolicyBuilder_ == null) { result.queryCachePolicy_ = queryCachePolicy_; } else { result.queryCachePolicy_ = queryCachePolicyBuilder_.build(); } if (operationParamsBuilder_ == null) { result.operationParams_ = operationParams_; } else { result.operationParams_ = operationParamsBuilder_.build(); } result.collectStats_ = collectStats_; 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 com.yandex.ydb.table.YdbTable.ExecuteDataQueryRequest) { return mergeFrom((com.yandex.ydb.table.YdbTable.ExecuteDataQueryRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.ExecuteDataQueryRequest other) { if (other == com.yandex.ydb.table.YdbTable.ExecuteDataQueryRequest.getDefaultInstance()) return this; if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; onChanged(); } if (other.hasTxControl()) { mergeTxControl(other.getTxControl()); } if (other.hasQuery()) { mergeQuery(other.getQuery()); } internalGetMutableParameters().mergeFrom( other.internalGetParameters()); if (other.hasQueryCachePolicy()) { mergeQueryCachePolicy(other.getQueryCachePolicy()); } if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } if (other.collectStats_ != 0) { setCollectStatsValue(other.getCollectStatsValue()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.ExecuteDataQueryRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.ExecuteDataQueryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); 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; onChanged(); return this; } private com.yandex.ydb.table.YdbTable.TransactionControl txControl_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.TransactionControl, com.yandex.ydb.table.YdbTable.TransactionControl.Builder, com.yandex.ydb.table.YdbTable.TransactionControlOrBuilder> txControlBuilder_; /** * .Ydb.Table.TransactionControl tx_control = 2; * @return Whether the txControl field is set. */ public boolean hasTxControl() { return txControlBuilder_ != null || txControl_ != null; } /** * .Ydb.Table.TransactionControl tx_control = 2; * @return The txControl. */ public com.yandex.ydb.table.YdbTable.TransactionControl getTxControl() { if (txControlBuilder_ == null) { return txControl_ == null ? com.yandex.ydb.table.YdbTable.TransactionControl.getDefaultInstance() : txControl_; } else { return txControlBuilder_.getMessage(); } } /** * .Ydb.Table.TransactionControl tx_control = 2; */ public Builder setTxControl(com.yandex.ydb.table.YdbTable.TransactionControl value) { if (txControlBuilder_ == null) { if (value == null) { throw new NullPointerException(); } txControl_ = value; onChanged(); } else { txControlBuilder_.setMessage(value); } return this; } /** * .Ydb.Table.TransactionControl tx_control = 2; */ public Builder setTxControl( com.yandex.ydb.table.YdbTable.TransactionControl.Builder builderForValue) { if (txControlBuilder_ == null) { txControl_ = builderForValue.build(); onChanged(); } else { txControlBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Table.TransactionControl tx_control = 2; */ public Builder mergeTxControl(com.yandex.ydb.table.YdbTable.TransactionControl value) { if (txControlBuilder_ == null) { if (txControl_ != null) { txControl_ = com.yandex.ydb.table.YdbTable.TransactionControl.newBuilder(txControl_).mergeFrom(value).buildPartial(); } else { txControl_ = value; } onChanged(); } else { txControlBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Table.TransactionControl tx_control = 2; */ public Builder clearTxControl() { if (txControlBuilder_ == null) { txControl_ = null; onChanged(); } else { txControl_ = null; txControlBuilder_ = null; } return this; } /** * .Ydb.Table.TransactionControl tx_control = 2; */ public com.yandex.ydb.table.YdbTable.TransactionControl.Builder getTxControlBuilder() { onChanged(); return getTxControlFieldBuilder().getBuilder(); } /** * .Ydb.Table.TransactionControl tx_control = 2; */ public com.yandex.ydb.table.YdbTable.TransactionControlOrBuilder getTxControlOrBuilder() { if (txControlBuilder_ != null) { return txControlBuilder_.getMessageOrBuilder(); } else { return txControl_ == null ? com.yandex.ydb.table.YdbTable.TransactionControl.getDefaultInstance() : txControl_; } } /** * .Ydb.Table.TransactionControl tx_control = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.TransactionControl, com.yandex.ydb.table.YdbTable.TransactionControl.Builder, com.yandex.ydb.table.YdbTable.TransactionControlOrBuilder> getTxControlFieldBuilder() { if (txControlBuilder_ == null) { txControlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.TransactionControl, com.yandex.ydb.table.YdbTable.TransactionControl.Builder, com.yandex.ydb.table.YdbTable.TransactionControlOrBuilder>( getTxControl(), getParentForChildren(), isClean()); txControl_ = null; } return txControlBuilder_; } private com.yandex.ydb.table.YdbTable.Query query_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.Query, com.yandex.ydb.table.YdbTable.Query.Builder, com.yandex.ydb.table.YdbTable.QueryOrBuilder> queryBuilder_; /** * .Ydb.Table.Query query = 3; * @return Whether the query field is set. */ public boolean hasQuery() { return queryBuilder_ != null || query_ != null; } /** * .Ydb.Table.Query query = 3; * @return The query. */ public com.yandex.ydb.table.YdbTable.Query getQuery() { if (queryBuilder_ == null) { return query_ == null ? com.yandex.ydb.table.YdbTable.Query.getDefaultInstance() : query_; } else { return queryBuilder_.getMessage(); } } /** * .Ydb.Table.Query query = 3; */ public Builder setQuery(com.yandex.ydb.table.YdbTable.Query value) { if (queryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } query_ = value; onChanged(); } else { queryBuilder_.setMessage(value); } return this; } /** * .Ydb.Table.Query query = 3; */ public Builder setQuery( com.yandex.ydb.table.YdbTable.Query.Builder builderForValue) { if (queryBuilder_ == null) { query_ = builderForValue.build(); onChanged(); } else { queryBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Table.Query query = 3; */ public Builder mergeQuery(com.yandex.ydb.table.YdbTable.Query value) { if (queryBuilder_ == null) { if (query_ != null) { query_ = com.yandex.ydb.table.YdbTable.Query.newBuilder(query_).mergeFrom(value).buildPartial(); } else { query_ = value; } onChanged(); } else { queryBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Table.Query query = 3; */ public Builder clearQuery() { if (queryBuilder_ == null) { query_ = null; onChanged(); } else { query_ = null; queryBuilder_ = null; } return this; } /** * .Ydb.Table.Query query = 3; */ public com.yandex.ydb.table.YdbTable.Query.Builder getQueryBuilder() { onChanged(); return getQueryFieldBuilder().getBuilder(); } /** * .Ydb.Table.Query query = 3; */ public com.yandex.ydb.table.YdbTable.QueryOrBuilder getQueryOrBuilder() { if (queryBuilder_ != null) { return queryBuilder_.getMessageOrBuilder(); } else { return query_ == null ? com.yandex.ydb.table.YdbTable.Query.getDefaultInstance() : query_; } } /** * .Ydb.Table.Query query = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.Query, com.yandex.ydb.table.YdbTable.Query.Builder, com.yandex.ydb.table.YdbTable.QueryOrBuilder> getQueryFieldBuilder() { if (queryBuilder_ == null) { queryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.Query, com.yandex.ydb.table.YdbTable.Query.Builder, com.yandex.ydb.table.YdbTable.QueryOrBuilder>( getQuery(), getParentForChildren(), isClean()); query_ = null; } return queryBuilder_; } private com.google.protobuf.MapField< java.lang.String, com.yandex.ydb.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() { onChanged();; if (parameters_ == null) { parameters_ = com.google.protobuf.MapField.newMapField( ParametersDefaultEntryHolder.defaultEntry); } if (!parameters_.isMutable()) { parameters_ = parameters_.copy(); } 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 java.lang.NullPointerException(); } 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 com.yandex.ydb.ValueProtos.TypedValue getParametersOrDefault( java.lang.String key, com.yandex.ydb.ValueProtos.TypedValue defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } 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 com.yandex.ydb.ValueProtos.TypedValue getParametersOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetParameters().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearParameters() { 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 java.lang.NullPointerException(); } internalGetMutableParameters().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableParameters() { return internalGetMutableParameters().getMutableMap(); } /** *
       * Map of query parameters (optional)
       * 
* * map<string, .Ydb.TypedValue> parameters = 4; */ public Builder putParameters( java.lang.String key, com.yandex.ydb.ValueProtos.TypedValue value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableParameters().getMutableMap() .put(key, value); return this; } /** *
       * Map of query parameters (optional)
       * 
* * map<string, .Ydb.TypedValue> parameters = 4; */ public Builder putAllParameters( java.util.Map values) { internalGetMutableParameters().getMutableMap() .putAll(values); return this; } private com.yandex.ydb.table.YdbTable.QueryCachePolicy queryCachePolicy_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.QueryCachePolicy, com.yandex.ydb.table.YdbTable.QueryCachePolicy.Builder, com.yandex.ydb.table.YdbTable.QueryCachePolicyOrBuilder> queryCachePolicyBuilder_; /** * .Ydb.Table.QueryCachePolicy query_cache_policy = 5; * @return Whether the queryCachePolicy field is set. */ public boolean hasQueryCachePolicy() { return queryCachePolicyBuilder_ != null || queryCachePolicy_ != null; } /** * .Ydb.Table.QueryCachePolicy query_cache_policy = 5; * @return The queryCachePolicy. */ public com.yandex.ydb.table.YdbTable.QueryCachePolicy getQueryCachePolicy() { if (queryCachePolicyBuilder_ == null) { return queryCachePolicy_ == null ? com.yandex.ydb.table.YdbTable.QueryCachePolicy.getDefaultInstance() : queryCachePolicy_; } else { return queryCachePolicyBuilder_.getMessage(); } } /** * .Ydb.Table.QueryCachePolicy query_cache_policy = 5; */ public Builder setQueryCachePolicy(com.yandex.ydb.table.YdbTable.QueryCachePolicy value) { if (queryCachePolicyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } queryCachePolicy_ = value; onChanged(); } else { queryCachePolicyBuilder_.setMessage(value); } return this; } /** * .Ydb.Table.QueryCachePolicy query_cache_policy = 5; */ public Builder setQueryCachePolicy( com.yandex.ydb.table.YdbTable.QueryCachePolicy.Builder builderForValue) { if (queryCachePolicyBuilder_ == null) { queryCachePolicy_ = builderForValue.build(); onChanged(); } else { queryCachePolicyBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Table.QueryCachePolicy query_cache_policy = 5; */ public Builder mergeQueryCachePolicy(com.yandex.ydb.table.YdbTable.QueryCachePolicy value) { if (queryCachePolicyBuilder_ == null) { if (queryCachePolicy_ != null) { queryCachePolicy_ = com.yandex.ydb.table.YdbTable.QueryCachePolicy.newBuilder(queryCachePolicy_).mergeFrom(value).buildPartial(); } else { queryCachePolicy_ = value; } onChanged(); } else { queryCachePolicyBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Table.QueryCachePolicy query_cache_policy = 5; */ public Builder clearQueryCachePolicy() { if (queryCachePolicyBuilder_ == null) { queryCachePolicy_ = null; onChanged(); } else { queryCachePolicy_ = null; queryCachePolicyBuilder_ = null; } return this; } /** * .Ydb.Table.QueryCachePolicy query_cache_policy = 5; */ public com.yandex.ydb.table.YdbTable.QueryCachePolicy.Builder getQueryCachePolicyBuilder() { onChanged(); return getQueryCachePolicyFieldBuilder().getBuilder(); } /** * .Ydb.Table.QueryCachePolicy query_cache_policy = 5; */ public com.yandex.ydb.table.YdbTable.QueryCachePolicyOrBuilder getQueryCachePolicyOrBuilder() { if (queryCachePolicyBuilder_ != null) { return queryCachePolicyBuilder_.getMessageOrBuilder(); } else { return queryCachePolicy_ == null ? com.yandex.ydb.table.YdbTable.QueryCachePolicy.getDefaultInstance() : queryCachePolicy_; } } /** * .Ydb.Table.QueryCachePolicy query_cache_policy = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.QueryCachePolicy, com.yandex.ydb.table.YdbTable.QueryCachePolicy.Builder, com.yandex.ydb.table.YdbTable.QueryCachePolicyOrBuilder> getQueryCachePolicyFieldBuilder() { if (queryCachePolicyBuilder_ == null) { queryCachePolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.QueryCachePolicy, com.yandex.ydb.table.YdbTable.QueryCachePolicy.Builder, com.yandex.ydb.table.YdbTable.QueryCachePolicyOrBuilder>( getQueryCachePolicy(), getParentForChildren(), isClean()); queryCachePolicy_ = null; } return queryCachePolicyBuilder_; } private com.yandex.ydb.OperationProtos.OperationParams operationParams_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> operationParamsBuilder_; /** * .Ydb.Operations.OperationParams operation_params = 6; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return operationParamsBuilder_ != null || operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 6; * @return The operationParams. */ public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { if (operationParamsBuilder_ == null) { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } else { return operationParamsBuilder_.getMessage(); } } /** * .Ydb.Operations.OperationParams operation_params = 6; */ public Builder setOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operationParams_ = value; onChanged(); } else { operationParamsBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 6; */ public Builder setOperationParams( com.yandex.ydb.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); onChanged(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 6; */ public Builder mergeOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (operationParams_ != null) { operationParams_ = com.yandex.ydb.OperationProtos.OperationParams.newBuilder(operationParams_).mergeFrom(value).buildPartial(); } else { operationParams_ = value; } onChanged(); } else { operationParamsBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 6; */ public Builder clearOperationParams() { if (operationParamsBuilder_ == null) { operationParams_ = null; onChanged(); } else { operationParams_ = null; operationParamsBuilder_ = null; } return this; } /** * .Ydb.Operations.OperationParams operation_params = 6; */ public com.yandex.ydb.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 6; */ public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { if (operationParamsBuilder_ != null) { return operationParamsBuilder_.getMessageOrBuilder(); } else { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } } /** * .Ydb.Operations.OperationParams operation_params = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> getOperationParamsFieldBuilder() { if (operationParamsBuilder_ == null) { operationParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.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; onChanged(); return this; } /** * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 7; * @return The collectStats. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode getCollectStats() { @SuppressWarnings("deprecation") com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode result = com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode.valueOf(collectStats_); return result == null ? com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode value) { if (value == null) { throw new NullPointerException(); } collectStats_ = value.getNumber(); onChanged(); return this; } /** * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 7; * @return This builder for chaining. */ public Builder clearCollectStats() { 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 com.yandex.ydb.table.YdbTable.ExecuteDataQueryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.ExecuteDataQueryRequest(); } public static com.yandex.ydb.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 { return new ExecuteDataQueryRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.Operation getOperation(); /** * .Ydb.Operations.Operation operation = 1; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExecuteDataQueryResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.OperationProtos.Operation.Builder subBuilder = null; if (operation_ != null) { subBuilder = operation_.toBuilder(); } operation_ = input.readMessage(com.yandex.ydb.OperationProtos.Operation.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operation_); operation_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteDataQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteDataQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ExecuteDataQueryResponse.class, com.yandex.ydb.table.YdbTable.ExecuteDataQueryResponse.Builder.class); } public static final int OPERATION_FIELD_NUMBER = 1; private com.yandex.ydb.OperationProtos.Operation operation_; /** * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ @java.lang.Override public boolean hasOperation() { return operation_ != null; } /** * .Ydb.Operations.Operation operation = 1; * @return The operation. */ @java.lang.Override public com.yandex.ydb.OperationProtos.Operation getOperation() { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } /** * .Ydb.Operations.Operation operation = 1; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { return getOperation(); } 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 (operation_ != null) { output.writeMessage(1, getOperation()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (operation_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getOperation()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.ExecuteDataQueryResponse)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.ExecuteDataQueryResponse other = (com.yandex.ydb.table.YdbTable.ExecuteDataQueryResponse) obj; if (hasOperation() != other.hasOperation()) return false; if (hasOperation()) { if (!getOperation() .equals(other.getOperation())) return false; } if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.ExecuteDataQueryResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteDataQueryResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteDataQueryResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.ExecuteDataQueryResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.ExecuteDataQueryResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteDataQueryResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteDataQueryResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.ExecuteDataQueryResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteDataQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteDataQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ExecuteDataQueryResponse.class, com.yandex.ydb.table.YdbTable.ExecuteDataQueryResponse.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); if (operationBuilder_ == null) { operation_ = null; } else { operation_ = null; operationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteDataQueryResponse_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecuteDataQueryResponse getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.ExecuteDataQueryResponse.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecuteDataQueryResponse build() { com.yandex.ydb.table.YdbTable.ExecuteDataQueryResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecuteDataQueryResponse buildPartial() { com.yandex.ydb.table.YdbTable.ExecuteDataQueryResponse result = new com.yandex.ydb.table.YdbTable.ExecuteDataQueryResponse(this); if (operationBuilder_ == null) { result.operation_ = operation_; } else { result.operation_ = operationBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.ExecuteDataQueryResponse) { return mergeFrom((com.yandex.ydb.table.YdbTable.ExecuteDataQueryResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.ExecuteDataQueryResponse other) { if (other == com.yandex.ydb.table.YdbTable.ExecuteDataQueryResponse.getDefaultInstance()) return this; if (other.hasOperation()) { mergeOperation(other.getOperation()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.ExecuteDataQueryResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.ExecuteDataQueryResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.yandex.ydb.OperationProtos.Operation operation_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> operationBuilder_; /** * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ public boolean hasOperation() { return operationBuilder_ != null || operation_ != null; } /** * .Ydb.Operations.Operation operation = 1; * @return The operation. */ public com.yandex.ydb.OperationProtos.Operation getOperation() { if (operationBuilder_ == null) { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } else { return operationBuilder_.getMessage(); } } /** * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operation_ = value; onChanged(); } else { operationBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation( com.yandex.ydb.OperationProtos.Operation.Builder builderForValue) { if (operationBuilder_ == null) { operation_ = builderForValue.build(); onChanged(); } else { operationBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder mergeOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (operation_ != null) { operation_ = com.yandex.ydb.OperationProtos.Operation.newBuilder(operation_).mergeFrom(value).buildPartial(); } else { operation_ = value; } onChanged(); } else { operationBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder clearOperation() { if (operationBuilder_ == null) { operation_ = null; onChanged(); } else { operation_ = null; operationBuilder_ = null; } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.Operation.Builder getOperationBuilder() { onChanged(); return getOperationFieldBuilder().getBuilder(); } /** * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { if (operationBuilder_ != null) { return operationBuilder_.getMessageOrBuilder(); } else { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } } /** * .Ydb.Operations.Operation operation = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> getOperationFieldBuilder() { if (operationBuilder_ == null) { operationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteDataQueryResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.ExecuteDataQueryResponse(); } public static com.yandex.ydb.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 { return new ExecuteDataQueryResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 3; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExecuteSchemeQueryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); sessionId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); yqlText_ = s; break; } case 26: { com.yandex.ydb.OperationProtos.OperationParams.Builder subBuilder = null; if (operationParams_ != null) { subBuilder = operationParams_.toBuilder(); } operationParams_ = input.readMessage(com.yandex.ydb.OperationProtos.OperationParams.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operationParams_); operationParams_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteSchemeQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteSchemeQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryRequest.class, com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryRequest.Builder.class); } public static final int SESSION_ID_FIELD_NUMBER = 1; 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; 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 com.yandex.ydb.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 3; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 3; * @return The operationParams. */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return getOperationParams(); } 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 (!getSessionIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_); } if (!getYqlTextBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, yqlText_); } if (operationParams_ != null) { output.writeMessage(3, getOperationParams()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getSessionIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_); } if (!getYqlTextBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, yqlText_); } if (operationParams_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getOperationParams()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryRequest)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryRequest other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteSchemeQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteSchemeQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryRequest.class, com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryRequest.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); sessionId_ = ""; yqlText_ = ""; if (operationParamsBuilder_ == null) { operationParams_ = null; } else { operationParams_ = null; operationParamsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteSchemeQueryRequest_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryRequest getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryRequest.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryRequest build() { com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryRequest buildPartial() { com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryRequest result = new com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryRequest(this); result.sessionId_ = sessionId_; result.yqlText_ = yqlText_; if (operationParamsBuilder_ == null) { result.operationParams_ = operationParams_; } else { result.operationParams_ = operationParamsBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryRequest) { return mergeFrom((com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryRequest other) { if (other == com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryRequest.getDefaultInstance()) return this; if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; onChanged(); } if (!other.getYqlText().isEmpty()) { yqlText_ = other.yqlText_; onChanged(); } if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); 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; 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; onChanged(); return this; } /** *
       * SQL text
       * 
* * string yql_text = 2; * @return This builder for chaining. */ public Builder clearYqlText() { yqlText_ = getDefaultInstance().getYqlText(); 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; onChanged(); return this; } private com.yandex.ydb.OperationProtos.OperationParams operationParams_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> operationParamsBuilder_; /** * .Ydb.Operations.OperationParams operation_params = 3; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return operationParamsBuilder_ != null || operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 3; * @return The operationParams. */ public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { if (operationParamsBuilder_ == null) { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } else { return operationParamsBuilder_.getMessage(); } } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder setOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operationParams_ = value; onChanged(); } else { operationParamsBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder setOperationParams( com.yandex.ydb.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); onChanged(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder mergeOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (operationParams_ != null) { operationParams_ = com.yandex.ydb.OperationProtos.OperationParams.newBuilder(operationParams_).mergeFrom(value).buildPartial(); } else { operationParams_ = value; } onChanged(); } else { operationParamsBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder clearOperationParams() { if (operationParamsBuilder_ == null) { operationParams_ = null; onChanged(); } else { operationParams_ = null; operationParamsBuilder_ = null; } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public com.yandex.ydb.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { if (operationParamsBuilder_ != null) { return operationParamsBuilder_.getMessageOrBuilder(); } else { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } } /** * .Ydb.Operations.OperationParams operation_params = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> getOperationParamsFieldBuilder() { if (operationParamsBuilder_ == null) { operationParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryRequest(); } public static com.yandex.ydb.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 { return new ExecuteSchemeQueryRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.Operation getOperation(); /** * .Ydb.Operations.Operation operation = 1; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExecuteSchemeQueryResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.OperationProtos.Operation.Builder subBuilder = null; if (operation_ != null) { subBuilder = operation_.toBuilder(); } operation_ = input.readMessage(com.yandex.ydb.OperationProtos.Operation.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operation_); operation_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteSchemeQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteSchemeQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryResponse.class, com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryResponse.Builder.class); } public static final int OPERATION_FIELD_NUMBER = 1; private com.yandex.ydb.OperationProtos.Operation operation_; /** * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ @java.lang.Override public boolean hasOperation() { return operation_ != null; } /** * .Ydb.Operations.Operation operation = 1; * @return The operation. */ @java.lang.Override public com.yandex.ydb.OperationProtos.Operation getOperation() { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } /** * .Ydb.Operations.Operation operation = 1; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { return getOperation(); } 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 (operation_ != null) { output.writeMessage(1, getOperation()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (operation_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getOperation()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryResponse)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryResponse other = (com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryResponse) obj; if (hasOperation() != other.hasOperation()) return false; if (hasOperation()) { if (!getOperation() .equals(other.getOperation())) return false; } if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteSchemeQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteSchemeQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryResponse.class, com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryResponse.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); if (operationBuilder_ == null) { operation_ = null; } else { operation_ = null; operationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteSchemeQueryResponse_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryResponse getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryResponse.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryResponse build() { com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryResponse buildPartial() { com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryResponse result = new com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryResponse(this); if (operationBuilder_ == null) { result.operation_ = operation_; } else { result.operation_ = operationBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryResponse) { return mergeFrom((com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryResponse other) { if (other == com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryResponse.getDefaultInstance()) return this; if (other.hasOperation()) { mergeOperation(other.getOperation()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.yandex.ydb.OperationProtos.Operation operation_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> operationBuilder_; /** * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ public boolean hasOperation() { return operationBuilder_ != null || operation_ != null; } /** * .Ydb.Operations.Operation operation = 1; * @return The operation. */ public com.yandex.ydb.OperationProtos.Operation getOperation() { if (operationBuilder_ == null) { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } else { return operationBuilder_.getMessage(); } } /** * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operation_ = value; onChanged(); } else { operationBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation( com.yandex.ydb.OperationProtos.Operation.Builder builderForValue) { if (operationBuilder_ == null) { operation_ = builderForValue.build(); onChanged(); } else { operationBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder mergeOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (operation_ != null) { operation_ = com.yandex.ydb.OperationProtos.Operation.newBuilder(operation_).mergeFrom(value).buildPartial(); } else { operation_ = value; } onChanged(); } else { operationBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder clearOperation() { if (operationBuilder_ == null) { operation_ = null; onChanged(); } else { operation_ = null; operationBuilder_ = null; } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.Operation.Builder getOperationBuilder() { onChanged(); return getOperationFieldBuilder().getBuilder(); } /** * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { if (operationBuilder_ != null) { return operationBuilder_.getMessageOrBuilder(); } else { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } } /** * .Ydb.Operations.Operation operation = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> getOperationFieldBuilder() { if (operationBuilder_ == null) { operationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.ExecuteSchemeQueryResponse(); } public static com.yandex.ydb.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 { return new ExecuteSchemeQueryResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TransactionMeta( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); id_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TransactionMeta_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TransactionMeta_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.TransactionMeta.class, com.yandex.ydb.table.YdbTable.TransactionMeta.Builder.class); } public static final int ID_FIELD_NUMBER = 1; 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 (!getIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.TransactionMeta)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.TransactionMeta other = (com.yandex.ydb.table.YdbTable.TransactionMeta) obj; if (!getId() .equals(other.getId())) return false; if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.TransactionMeta parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TransactionMeta parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TransactionMeta parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.TransactionMeta parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.TransactionMeta parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TransactionMeta parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TransactionMeta parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.TransactionMetaOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TransactionMeta_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TransactionMeta_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.TransactionMeta.class, com.yandex.ydb.table.YdbTable.TransactionMeta.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.TransactionMeta.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); id_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TransactionMeta_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.TransactionMeta getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.TransactionMeta.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.TransactionMeta build() { com.yandex.ydb.table.YdbTable.TransactionMeta result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.TransactionMeta buildPartial() { com.yandex.ydb.table.YdbTable.TransactionMeta result = new com.yandex.ydb.table.YdbTable.TransactionMeta(this); result.id_ = id_; 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 com.yandex.ydb.table.YdbTable.TransactionMeta) { return mergeFrom((com.yandex.ydb.table.YdbTable.TransactionMeta)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.TransactionMeta other) { if (other == com.yandex.ydb.table.YdbTable.TransactionMeta.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.TransactionMeta parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.TransactionMeta) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; onChanged(); return this; } /** *
       * Transaction identifier
       * 
* * string id = 1; * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); 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; 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 com.yandex.ydb.table.YdbTable.TransactionMeta DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.TransactionMeta(); } public static com.yandex.ydb.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 { return new TransactionMeta(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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; */ com.yandex.ydb.ValueProtos.Type getParametersTypesOrDefault( java.lang.String key, com.yandex.ydb.ValueProtos.Type defaultValue); /** *
     * Type of parameters
     * 
* * map<string, .Ydb.Type> parameters_types = 2; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryMeta( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); id_ = s; break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { parametersTypes_ = com.google.protobuf.MapField.newMapField( ParametersTypesDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry parametersTypes__ = input.readMessage( ParametersTypesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); parametersTypes_.getMutableMap().put( parametersTypes__.getKey(), parametersTypes__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_QueryMeta_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.QueryMeta.class, com.yandex.ydb.table.YdbTable.QueryMeta.Builder.class); } public static final int ID_FIELD_NUMBER = 1; 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, com.yandex.ydb.ValueProtos.Type> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_QueryMeta_ParametersTypesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, com.yandex.ydb.ValueProtos.Type.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, com.yandex.ydb.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 java.lang.NullPointerException(); } 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 com.yandex.ydb.ValueProtos.Type getParametersTypesOrDefault( java.lang.String key, com.yandex.ydb.ValueProtos.Type defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } 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 com.yandex.ydb.ValueProtos.Type getParametersTypesOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } 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 (!getIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetParametersTypes(), ParametersTypesDefaultEntryHolder.defaultEntry, 2); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getIdBytes().isEmpty()) { 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 += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.QueryMeta)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.QueryMeta other = (com.yandex.ydb.table.YdbTable.QueryMeta) obj; if (!getId() .equals(other.getId())) return false; if (!internalGetParametersTypes().equals( other.internalGetParametersTypes())) return false; if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.QueryMeta parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.QueryMeta parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.QueryMeta parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.QueryMeta parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.QueryMeta parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.QueryMeta parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.QueryMeta parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.QueryMetaOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_QueryMeta_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.QueryMeta.class, com.yandex.ydb.table.YdbTable.QueryMeta.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.QueryMeta.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); id_ = ""; internalGetMutableParametersTypes().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_QueryMeta_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.QueryMeta getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.QueryMeta.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.QueryMeta build() { com.yandex.ydb.table.YdbTable.QueryMeta result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.QueryMeta buildPartial() { com.yandex.ydb.table.YdbTable.QueryMeta result = new com.yandex.ydb.table.YdbTable.QueryMeta(this); int from_bitField0_ = bitField0_; result.id_ = id_; result.parametersTypes_ = internalGetParametersTypes(); result.parametersTypes_.makeImmutable(); 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 com.yandex.ydb.table.YdbTable.QueryMeta) { return mergeFrom((com.yandex.ydb.table.YdbTable.QueryMeta)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.QueryMeta other) { if (other == com.yandex.ydb.table.YdbTable.QueryMeta.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } internalGetMutableParametersTypes().mergeFrom( other.internalGetParametersTypes()); this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.QueryMeta parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.QueryMeta) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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; onChanged(); return this; } /** *
       * Query identifier
       * 
* * string id = 1; * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); 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; onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, com.yandex.ydb.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() { onChanged();; if (parametersTypes_ == null) { parametersTypes_ = com.google.protobuf.MapField.newMapField( ParametersTypesDefaultEntryHolder.defaultEntry); } if (!parametersTypes_.isMutable()) { parametersTypes_ = parametersTypes_.copy(); } 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 java.lang.NullPointerException(); } 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 com.yandex.ydb.ValueProtos.Type getParametersTypesOrDefault( java.lang.String key, com.yandex.ydb.ValueProtos.Type defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } 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 com.yandex.ydb.ValueProtos.Type getParametersTypesOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetParametersTypes().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearParametersTypes() { 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 java.lang.NullPointerException(); } internalGetMutableParametersTypes().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableParametersTypes() { return internalGetMutableParametersTypes().getMutableMap(); } /** *
       * Type of parameters
       * 
* * map<string, .Ydb.Type> parameters_types = 2; */ public Builder putParametersTypes( java.lang.String key, com.yandex.ydb.ValueProtos.Type value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableParametersTypes().getMutableMap() .put(key, value); return this; } /** *
       * Type of parameters
       * 
* * map<string, .Ydb.Type> parameters_types = 2; */ public Builder putAllParametersTypes( java.util.Map values) { internalGetMutableParametersTypes().getMutableMap() .putAll(values); 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 com.yandex.ydb.table.YdbTable.QueryMeta DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.QueryMeta(); } public static com.yandex.ydb.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 { return new QueryMeta(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.TransactionMeta getTxMeta(); /** *
     * Transaction metadata
     * 
* * .Ydb.Table.TransactionMeta tx_meta = 2; */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.QueryMeta getQueryMeta(); /** *
     * Query metadata
     * 
* * .Ydb.Table.QueryMeta query_meta = 3; */ com.yandex.ydb.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. */ com.yandex.ydb.YdbQueryStats.QueryStats getQueryStats(); /** *
     * Query execution statistics
     * 
* * .Ydb.TableStats.QueryStats query_stats = 4; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExecuteQueryResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { resultSets_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } resultSets_.add( input.readMessage(com.yandex.ydb.ValueProtos.ResultSet.parser(), extensionRegistry)); break; } case 18: { com.yandex.ydb.table.YdbTable.TransactionMeta.Builder subBuilder = null; if (txMeta_ != null) { subBuilder = txMeta_.toBuilder(); } txMeta_ = input.readMessage(com.yandex.ydb.table.YdbTable.TransactionMeta.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(txMeta_); txMeta_ = subBuilder.buildPartial(); } break; } case 26: { com.yandex.ydb.table.YdbTable.QueryMeta.Builder subBuilder = null; if (queryMeta_ != null) { subBuilder = queryMeta_.toBuilder(); } queryMeta_ = input.readMessage(com.yandex.ydb.table.YdbTable.QueryMeta.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(queryMeta_); queryMeta_ = subBuilder.buildPartial(); } break; } case 34: { com.yandex.ydb.YdbQueryStats.QueryStats.Builder subBuilder = null; if (queryStats_ != null) { subBuilder = queryStats_.toBuilder(); } queryStats_ = input.readMessage(com.yandex.ydb.YdbQueryStats.QueryStats.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(queryStats_); queryStats_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { resultSets_ = java.util.Collections.unmodifiableList(resultSets_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteQueryResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteQueryResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ExecuteQueryResult.class, com.yandex.ydb.table.YdbTable.ExecuteQueryResult.Builder.class); } public static final int RESULT_SETS_FIELD_NUMBER = 1; 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 com.yandex.ydb.ValueProtos.ResultSet getResultSets(int index) { return resultSets_.get(index); } /** *
     * Result rets (for each table)
     * 
* * repeated .Ydb.ResultSet result_sets = 1; */ @java.lang.Override public com.yandex.ydb.ValueProtos.ResultSetOrBuilder getResultSetsOrBuilder( int index) { return resultSets_.get(index); } public static final int TX_META_FIELD_NUMBER = 2; private com.yandex.ydb.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 txMeta_ != null; } /** *
     * Transaction metadata
     * 
* * .Ydb.Table.TransactionMeta tx_meta = 2; * @return The txMeta. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.TransactionMeta getTxMeta() { return txMeta_ == null ? com.yandex.ydb.table.YdbTable.TransactionMeta.getDefaultInstance() : txMeta_; } /** *
     * Transaction metadata
     * 
* * .Ydb.Table.TransactionMeta tx_meta = 2; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.TransactionMetaOrBuilder getTxMetaOrBuilder() { return getTxMeta(); } public static final int QUERY_META_FIELD_NUMBER = 3; private com.yandex.ydb.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 queryMeta_ != null; } /** *
     * Query metadata
     * 
* * .Ydb.Table.QueryMeta query_meta = 3; * @return The queryMeta. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.QueryMeta getQueryMeta() { return queryMeta_ == null ? com.yandex.ydb.table.YdbTable.QueryMeta.getDefaultInstance() : queryMeta_; } /** *
     * Query metadata
     * 
* * .Ydb.Table.QueryMeta query_meta = 3; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.QueryMetaOrBuilder getQueryMetaOrBuilder() { return getQueryMeta(); } public static final int QUERY_STATS_FIELD_NUMBER = 4; private com.yandex.ydb.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 queryStats_ != null; } /** *
     * Query execution statistics
     * 
* * .Ydb.TableStats.QueryStats query_stats = 4; * @return The queryStats. */ @java.lang.Override public com.yandex.ydb.YdbQueryStats.QueryStats getQueryStats() { return queryStats_ == null ? com.yandex.ydb.YdbQueryStats.QueryStats.getDefaultInstance() : queryStats_; } /** *
     * Query execution statistics
     * 
* * .Ydb.TableStats.QueryStats query_stats = 4; */ @java.lang.Override public com.yandex.ydb.YdbQueryStats.QueryStatsOrBuilder getQueryStatsOrBuilder() { return getQueryStats(); } 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 (txMeta_ != null) { output.writeMessage(2, getTxMeta()); } if (queryMeta_ != null) { output.writeMessage(3, getQueryMeta()); } if (queryStats_ != null) { output.writeMessage(4, getQueryStats()); } unknownFields.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 (txMeta_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getTxMeta()); } if (queryMeta_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getQueryMeta()); } if (queryStats_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getQueryStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.ExecuteQueryResult)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.ExecuteQueryResult other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.ExecuteQueryResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteQueryResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteQueryResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.ExecuteQueryResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.ExecuteQueryResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteQueryResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteQueryResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.ExecuteQueryResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteQueryResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteQueryResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ExecuteQueryResult.class, com.yandex.ydb.table.YdbTable.ExecuteQueryResult.Builder.class); } // Construct using com.yandex.ydb.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(); } } @java.lang.Override public Builder clear() { super.clear(); if (resultSetsBuilder_ == null) { resultSets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { resultSetsBuilder_.clear(); } if (txMetaBuilder_ == null) { txMeta_ = null; } else { txMeta_ = null; txMetaBuilder_ = null; } if (queryMetaBuilder_ == null) { queryMeta_ = null; } else { queryMeta_ = null; queryMetaBuilder_ = null; } if (queryStatsBuilder_ == null) { queryStats_ = null; } else { queryStats_ = null; queryStatsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteQueryResult_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecuteQueryResult getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.ExecuteQueryResult.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecuteQueryResult build() { com.yandex.ydb.table.YdbTable.ExecuteQueryResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecuteQueryResult buildPartial() { com.yandex.ydb.table.YdbTable.ExecuteQueryResult result = new com.yandex.ydb.table.YdbTable.ExecuteQueryResult(this); int from_bitField0_ = bitField0_; if (resultSetsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { resultSets_ = java.util.Collections.unmodifiableList(resultSets_); bitField0_ = (bitField0_ & ~0x00000001); } result.resultSets_ = resultSets_; } else { result.resultSets_ = resultSetsBuilder_.build(); } if (txMetaBuilder_ == null) { result.txMeta_ = txMeta_; } else { result.txMeta_ = txMetaBuilder_.build(); } if (queryMetaBuilder_ == null) { result.queryMeta_ = queryMeta_; } else { result.queryMeta_ = queryMetaBuilder_.build(); } if (queryStatsBuilder_ == null) { result.queryStats_ = queryStats_; } else { result.queryStats_ = queryStatsBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.ExecuteQueryResult) { return mergeFrom((com.yandex.ydb.table.YdbTable.ExecuteQueryResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.ExecuteQueryResult other) { if (other == com.yandex.ydb.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.unknownFields); 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 { com.yandex.ydb.table.YdbTable.ExecuteQueryResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.ExecuteQueryResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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< com.yandex.ydb.ValueProtos.ResultSet, com.yandex.ydb.ValueProtos.ResultSet.Builder, com.yandex.ydb.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 com.yandex.ydb.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, com.yandex.ydb.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, com.yandex.ydb.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(com.yandex.ydb.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, com.yandex.ydb.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( com.yandex.ydb.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, com.yandex.ydb.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 com.yandex.ydb.ValueProtos.ResultSet.Builder getResultSetsBuilder( int index) { return getResultSetsFieldBuilder().getBuilder(index); } /** *
       * Result rets (for each table)
       * 
* * repeated .Ydb.ResultSet result_sets = 1; */ public com.yandex.ydb.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 com.yandex.ydb.ValueProtos.ResultSet.Builder addResultSetsBuilder() { return getResultSetsFieldBuilder().addBuilder( com.yandex.ydb.ValueProtos.ResultSet.getDefaultInstance()); } /** *
       * Result rets (for each table)
       * 
* * repeated .Ydb.ResultSet result_sets = 1; */ public com.yandex.ydb.ValueProtos.ResultSet.Builder addResultSetsBuilder( int index) { return getResultSetsFieldBuilder().addBuilder( index, com.yandex.ydb.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< com.yandex.ydb.ValueProtos.ResultSet, com.yandex.ydb.ValueProtos.ResultSet.Builder, com.yandex.ydb.ValueProtos.ResultSetOrBuilder> getResultSetsFieldBuilder() { if (resultSetsBuilder_ == null) { resultSetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.ValueProtos.ResultSet, com.yandex.ydb.ValueProtos.ResultSet.Builder, com.yandex.ydb.ValueProtos.ResultSetOrBuilder>( resultSets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); resultSets_ = null; } return resultSetsBuilder_; } private com.yandex.ydb.table.YdbTable.TransactionMeta txMeta_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.TransactionMeta, com.yandex.ydb.table.YdbTable.TransactionMeta.Builder, com.yandex.ydb.table.YdbTable.TransactionMetaOrBuilder> txMetaBuilder_; /** *
       * Transaction metadata
       * 
* * .Ydb.Table.TransactionMeta tx_meta = 2; * @return Whether the txMeta field is set. */ public boolean hasTxMeta() { return txMetaBuilder_ != null || txMeta_ != null; } /** *
       * Transaction metadata
       * 
* * .Ydb.Table.TransactionMeta tx_meta = 2; * @return The txMeta. */ public com.yandex.ydb.table.YdbTable.TransactionMeta getTxMeta() { if (txMetaBuilder_ == null) { return txMeta_ == null ? com.yandex.ydb.table.YdbTable.TransactionMeta.getDefaultInstance() : txMeta_; } else { return txMetaBuilder_.getMessage(); } } /** *
       * Transaction metadata
       * 
* * .Ydb.Table.TransactionMeta tx_meta = 2; */ public Builder setTxMeta(com.yandex.ydb.table.YdbTable.TransactionMeta value) { if (txMetaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } txMeta_ = value; onChanged(); } else { txMetaBuilder_.setMessage(value); } return this; } /** *
       * Transaction metadata
       * 
* * .Ydb.Table.TransactionMeta tx_meta = 2; */ public Builder setTxMeta( com.yandex.ydb.table.YdbTable.TransactionMeta.Builder builderForValue) { if (txMetaBuilder_ == null) { txMeta_ = builderForValue.build(); onChanged(); } else { txMetaBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Transaction metadata
       * 
* * .Ydb.Table.TransactionMeta tx_meta = 2; */ public Builder mergeTxMeta(com.yandex.ydb.table.YdbTable.TransactionMeta value) { if (txMetaBuilder_ == null) { if (txMeta_ != null) { txMeta_ = com.yandex.ydb.table.YdbTable.TransactionMeta.newBuilder(txMeta_).mergeFrom(value).buildPartial(); } else { txMeta_ = value; } onChanged(); } else { txMetaBuilder_.mergeFrom(value); } return this; } /** *
       * Transaction metadata
       * 
* * .Ydb.Table.TransactionMeta tx_meta = 2; */ public Builder clearTxMeta() { if (txMetaBuilder_ == null) { txMeta_ = null; onChanged(); } else { txMeta_ = null; txMetaBuilder_ = null; } return this; } /** *
       * Transaction metadata
       * 
* * .Ydb.Table.TransactionMeta tx_meta = 2; */ public com.yandex.ydb.table.YdbTable.TransactionMeta.Builder getTxMetaBuilder() { onChanged(); return getTxMetaFieldBuilder().getBuilder(); } /** *
       * Transaction metadata
       * 
* * .Ydb.Table.TransactionMeta tx_meta = 2; */ public com.yandex.ydb.table.YdbTable.TransactionMetaOrBuilder getTxMetaOrBuilder() { if (txMetaBuilder_ != null) { return txMetaBuilder_.getMessageOrBuilder(); } else { return txMeta_ == null ? com.yandex.ydb.table.YdbTable.TransactionMeta.getDefaultInstance() : txMeta_; } } /** *
       * Transaction metadata
       * 
* * .Ydb.Table.TransactionMeta tx_meta = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.TransactionMeta, com.yandex.ydb.table.YdbTable.TransactionMeta.Builder, com.yandex.ydb.table.YdbTable.TransactionMetaOrBuilder> getTxMetaFieldBuilder() { if (txMetaBuilder_ == null) { txMetaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.TransactionMeta, com.yandex.ydb.table.YdbTable.TransactionMeta.Builder, com.yandex.ydb.table.YdbTable.TransactionMetaOrBuilder>( getTxMeta(), getParentForChildren(), isClean()); txMeta_ = null; } return txMetaBuilder_; } private com.yandex.ydb.table.YdbTable.QueryMeta queryMeta_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.QueryMeta, com.yandex.ydb.table.YdbTable.QueryMeta.Builder, com.yandex.ydb.table.YdbTable.QueryMetaOrBuilder> queryMetaBuilder_; /** *
       * Query metadata
       * 
* * .Ydb.Table.QueryMeta query_meta = 3; * @return Whether the queryMeta field is set. */ public boolean hasQueryMeta() { return queryMetaBuilder_ != null || queryMeta_ != null; } /** *
       * Query metadata
       * 
* * .Ydb.Table.QueryMeta query_meta = 3; * @return The queryMeta. */ public com.yandex.ydb.table.YdbTable.QueryMeta getQueryMeta() { if (queryMetaBuilder_ == null) { return queryMeta_ == null ? com.yandex.ydb.table.YdbTable.QueryMeta.getDefaultInstance() : queryMeta_; } else { return queryMetaBuilder_.getMessage(); } } /** *
       * Query metadata
       * 
* * .Ydb.Table.QueryMeta query_meta = 3; */ public Builder setQueryMeta(com.yandex.ydb.table.YdbTable.QueryMeta value) { if (queryMetaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } queryMeta_ = value; onChanged(); } else { queryMetaBuilder_.setMessage(value); } return this; } /** *
       * Query metadata
       * 
* * .Ydb.Table.QueryMeta query_meta = 3; */ public Builder setQueryMeta( com.yandex.ydb.table.YdbTable.QueryMeta.Builder builderForValue) { if (queryMetaBuilder_ == null) { queryMeta_ = builderForValue.build(); onChanged(); } else { queryMetaBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Query metadata
       * 
* * .Ydb.Table.QueryMeta query_meta = 3; */ public Builder mergeQueryMeta(com.yandex.ydb.table.YdbTable.QueryMeta value) { if (queryMetaBuilder_ == null) { if (queryMeta_ != null) { queryMeta_ = com.yandex.ydb.table.YdbTable.QueryMeta.newBuilder(queryMeta_).mergeFrom(value).buildPartial(); } else { queryMeta_ = value; } onChanged(); } else { queryMetaBuilder_.mergeFrom(value); } return this; } /** *
       * Query metadata
       * 
* * .Ydb.Table.QueryMeta query_meta = 3; */ public Builder clearQueryMeta() { if (queryMetaBuilder_ == null) { queryMeta_ = null; onChanged(); } else { queryMeta_ = null; queryMetaBuilder_ = null; } return this; } /** *
       * Query metadata
       * 
* * .Ydb.Table.QueryMeta query_meta = 3; */ public com.yandex.ydb.table.YdbTable.QueryMeta.Builder getQueryMetaBuilder() { onChanged(); return getQueryMetaFieldBuilder().getBuilder(); } /** *
       * Query metadata
       * 
* * .Ydb.Table.QueryMeta query_meta = 3; */ public com.yandex.ydb.table.YdbTable.QueryMetaOrBuilder getQueryMetaOrBuilder() { if (queryMetaBuilder_ != null) { return queryMetaBuilder_.getMessageOrBuilder(); } else { return queryMeta_ == null ? com.yandex.ydb.table.YdbTable.QueryMeta.getDefaultInstance() : queryMeta_; } } /** *
       * Query metadata
       * 
* * .Ydb.Table.QueryMeta query_meta = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.QueryMeta, com.yandex.ydb.table.YdbTable.QueryMeta.Builder, com.yandex.ydb.table.YdbTable.QueryMetaOrBuilder> getQueryMetaFieldBuilder() { if (queryMetaBuilder_ == null) { queryMetaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.QueryMeta, com.yandex.ydb.table.YdbTable.QueryMeta.Builder, com.yandex.ydb.table.YdbTable.QueryMetaOrBuilder>( getQueryMeta(), getParentForChildren(), isClean()); queryMeta_ = null; } return queryMetaBuilder_; } private com.yandex.ydb.YdbQueryStats.QueryStats queryStats_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.YdbQueryStats.QueryStats, com.yandex.ydb.YdbQueryStats.QueryStats.Builder, com.yandex.ydb.YdbQueryStats.QueryStatsOrBuilder> queryStatsBuilder_; /** *
       * Query execution statistics
       * 
* * .Ydb.TableStats.QueryStats query_stats = 4; * @return Whether the queryStats field is set. */ public boolean hasQueryStats() { return queryStatsBuilder_ != null || queryStats_ != null; } /** *
       * Query execution statistics
       * 
* * .Ydb.TableStats.QueryStats query_stats = 4; * @return The queryStats. */ public com.yandex.ydb.YdbQueryStats.QueryStats getQueryStats() { if (queryStatsBuilder_ == null) { return queryStats_ == null ? com.yandex.ydb.YdbQueryStats.QueryStats.getDefaultInstance() : queryStats_; } else { return queryStatsBuilder_.getMessage(); } } /** *
       * Query execution statistics
       * 
* * .Ydb.TableStats.QueryStats query_stats = 4; */ public Builder setQueryStats(com.yandex.ydb.YdbQueryStats.QueryStats value) { if (queryStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } queryStats_ = value; onChanged(); } else { queryStatsBuilder_.setMessage(value); } return this; } /** *
       * Query execution statistics
       * 
* * .Ydb.TableStats.QueryStats query_stats = 4; */ public Builder setQueryStats( com.yandex.ydb.YdbQueryStats.QueryStats.Builder builderForValue) { if (queryStatsBuilder_ == null) { queryStats_ = builderForValue.build(); onChanged(); } else { queryStatsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Query execution statistics
       * 
* * .Ydb.TableStats.QueryStats query_stats = 4; */ public Builder mergeQueryStats(com.yandex.ydb.YdbQueryStats.QueryStats value) { if (queryStatsBuilder_ == null) { if (queryStats_ != null) { queryStats_ = com.yandex.ydb.YdbQueryStats.QueryStats.newBuilder(queryStats_).mergeFrom(value).buildPartial(); } else { queryStats_ = value; } onChanged(); } else { queryStatsBuilder_.mergeFrom(value); } return this; } /** *
       * Query execution statistics
       * 
* * .Ydb.TableStats.QueryStats query_stats = 4; */ public Builder clearQueryStats() { if (queryStatsBuilder_ == null) { queryStats_ = null; onChanged(); } else { queryStats_ = null; queryStatsBuilder_ = null; } return this; } /** *
       * Query execution statistics
       * 
* * .Ydb.TableStats.QueryStats query_stats = 4; */ public com.yandex.ydb.YdbQueryStats.QueryStats.Builder getQueryStatsBuilder() { onChanged(); return getQueryStatsFieldBuilder().getBuilder(); } /** *
       * Query execution statistics
       * 
* * .Ydb.TableStats.QueryStats query_stats = 4; */ public com.yandex.ydb.YdbQueryStats.QueryStatsOrBuilder getQueryStatsOrBuilder() { if (queryStatsBuilder_ != null) { return queryStatsBuilder_.getMessageOrBuilder(); } else { return queryStats_ == null ? com.yandex.ydb.YdbQueryStats.QueryStats.getDefaultInstance() : queryStats_; } } /** *
       * Query execution statistics
       * 
* * .Ydb.TableStats.QueryStats query_stats = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.YdbQueryStats.QueryStats, com.yandex.ydb.YdbQueryStats.QueryStats.Builder, com.yandex.ydb.YdbQueryStats.QueryStatsOrBuilder> getQueryStatsFieldBuilder() { if (queryStatsBuilder_ == null) { queryStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.YdbQueryStats.QueryStats, com.yandex.ydb.YdbQueryStats.QueryStats.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteQueryResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.ExecuteQueryResult(); } public static com.yandex.ydb.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 { return new ExecuteQueryResult(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 3; */ com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder(); } /** *
   * 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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExplainDataQueryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); sessionId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); yqlText_ = s; break; } case 26: { com.yandex.ydb.OperationProtos.OperationParams.Builder subBuilder = null; if (operationParams_ != null) { subBuilder = operationParams_.toBuilder(); } operationParams_ = input.readMessage(com.yandex.ydb.OperationProtos.OperationParams.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operationParams_); operationParams_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExplainDataQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExplainDataQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ExplainDataQueryRequest.class, com.yandex.ydb.table.YdbTable.ExplainDataQueryRequest.Builder.class); } public static final int SESSION_ID_FIELD_NUMBER = 1; 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; 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 com.yandex.ydb.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 3; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 3; * @return The operationParams. */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return getOperationParams(); } 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 (!getSessionIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_); } if (!getYqlTextBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, yqlText_); } if (operationParams_ != null) { output.writeMessage(3, getOperationParams()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getSessionIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_); } if (!getYqlTextBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, yqlText_); } if (operationParams_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getOperationParams()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.ExplainDataQueryRequest)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.ExplainDataQueryRequest other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.ExplainDataQueryRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExplainDataQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExplainDataQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.ExplainDataQueryRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.ExplainDataQueryRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExplainDataQueryRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExplainDataQueryRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.ExplainDataQueryRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExplainDataQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExplainDataQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ExplainDataQueryRequest.class, com.yandex.ydb.table.YdbTable.ExplainDataQueryRequest.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); sessionId_ = ""; yqlText_ = ""; if (operationParamsBuilder_ == null) { operationParams_ = null; } else { operationParams_ = null; operationParamsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExplainDataQueryRequest_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExplainDataQueryRequest getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.ExplainDataQueryRequest.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExplainDataQueryRequest build() { com.yandex.ydb.table.YdbTable.ExplainDataQueryRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExplainDataQueryRequest buildPartial() { com.yandex.ydb.table.YdbTable.ExplainDataQueryRequest result = new com.yandex.ydb.table.YdbTable.ExplainDataQueryRequest(this); result.sessionId_ = sessionId_; result.yqlText_ = yqlText_; if (operationParamsBuilder_ == null) { result.operationParams_ = operationParams_; } else { result.operationParams_ = operationParamsBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.ExplainDataQueryRequest) { return mergeFrom((com.yandex.ydb.table.YdbTable.ExplainDataQueryRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.ExplainDataQueryRequest other) { if (other == com.yandex.ydb.table.YdbTable.ExplainDataQueryRequest.getDefaultInstance()) return this; if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; onChanged(); } if (!other.getYqlText().isEmpty()) { yqlText_ = other.yqlText_; onChanged(); } if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.ExplainDataQueryRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.ExplainDataQueryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); 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; 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; onChanged(); return this; } /** *
       * SQL text to explain
       * 
* * string yql_text = 2; * @return This builder for chaining. */ public Builder clearYqlText() { yqlText_ = getDefaultInstance().getYqlText(); 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; onChanged(); return this; } private com.yandex.ydb.OperationProtos.OperationParams operationParams_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> operationParamsBuilder_; /** * .Ydb.Operations.OperationParams operation_params = 3; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return operationParamsBuilder_ != null || operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 3; * @return The operationParams. */ public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { if (operationParamsBuilder_ == null) { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } else { return operationParamsBuilder_.getMessage(); } } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder setOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operationParams_ = value; onChanged(); } else { operationParamsBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder setOperationParams( com.yandex.ydb.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); onChanged(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder mergeOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (operationParams_ != null) { operationParams_ = com.yandex.ydb.OperationProtos.OperationParams.newBuilder(operationParams_).mergeFrom(value).buildPartial(); } else { operationParams_ = value; } onChanged(); } else { operationParamsBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder clearOperationParams() { if (operationParamsBuilder_ == null) { operationParams_ = null; onChanged(); } else { operationParams_ = null; operationParamsBuilder_ = null; } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public com.yandex.ydb.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { if (operationParamsBuilder_ != null) { return operationParamsBuilder_.getMessageOrBuilder(); } else { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } } /** * .Ydb.Operations.OperationParams operation_params = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> getOperationParamsFieldBuilder() { if (operationParamsBuilder_ == null) { operationParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.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.ExplainDataQueryRequest) } // @@protoc_insertion_point(class_scope:Ydb.Table.ExplainDataQueryRequest) private static final com.yandex.ydb.table.YdbTable.ExplainDataQueryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.ExplainDataQueryRequest(); } public static com.yandex.ydb.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 { return new ExplainDataQueryRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.Operation getOperation(); /** *
     * Holds ExplainQueryResult in case of successful call
     * 
* * .Ydb.Operations.Operation operation = 1; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExplainDataQueryResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.OperationProtos.Operation.Builder subBuilder = null; if (operation_ != null) { subBuilder = operation_.toBuilder(); } operation_ = input.readMessage(com.yandex.ydb.OperationProtos.Operation.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operation_); operation_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExplainDataQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExplainDataQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ExplainDataQueryResponse.class, com.yandex.ydb.table.YdbTable.ExplainDataQueryResponse.Builder.class); } public static final int OPERATION_FIELD_NUMBER = 1; private com.yandex.ydb.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 operation_ != null; } /** *
     * Holds ExplainQueryResult in case of successful call
     * 
* * .Ydb.Operations.Operation operation = 1; * @return The operation. */ @java.lang.Override public com.yandex.ydb.OperationProtos.Operation getOperation() { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } /** *
     * Holds ExplainQueryResult in case of successful call
     * 
* * .Ydb.Operations.Operation operation = 1; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { return getOperation(); } 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 (operation_ != null) { output.writeMessage(1, getOperation()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (operation_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getOperation()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.ExplainDataQueryResponse)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.ExplainDataQueryResponse other = (com.yandex.ydb.table.YdbTable.ExplainDataQueryResponse) obj; if (hasOperation() != other.hasOperation()) return false; if (hasOperation()) { if (!getOperation() .equals(other.getOperation())) return false; } if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.ExplainDataQueryResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExplainDataQueryResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExplainDataQueryResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.ExplainDataQueryResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.ExplainDataQueryResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExplainDataQueryResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExplainDataQueryResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.ExplainDataQueryResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExplainDataQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExplainDataQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ExplainDataQueryResponse.class, com.yandex.ydb.table.YdbTable.ExplainDataQueryResponse.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); if (operationBuilder_ == null) { operation_ = null; } else { operation_ = null; operationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExplainDataQueryResponse_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExplainDataQueryResponse getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.ExplainDataQueryResponse.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExplainDataQueryResponse build() { com.yandex.ydb.table.YdbTable.ExplainDataQueryResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExplainDataQueryResponse buildPartial() { com.yandex.ydb.table.YdbTable.ExplainDataQueryResponse result = new com.yandex.ydb.table.YdbTable.ExplainDataQueryResponse(this); if (operationBuilder_ == null) { result.operation_ = operation_; } else { result.operation_ = operationBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.ExplainDataQueryResponse) { return mergeFrom((com.yandex.ydb.table.YdbTable.ExplainDataQueryResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.ExplainDataQueryResponse other) { if (other == com.yandex.ydb.table.YdbTable.ExplainDataQueryResponse.getDefaultInstance()) return this; if (other.hasOperation()) { mergeOperation(other.getOperation()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.ExplainDataQueryResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.ExplainDataQueryResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.yandex.ydb.OperationProtos.Operation operation_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.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 operationBuilder_ != null || operation_ != null; } /** *
       * Holds ExplainQueryResult in case of successful call
       * 
* * .Ydb.Operations.Operation operation = 1; * @return The operation. */ public com.yandex.ydb.OperationProtos.Operation getOperation() { if (operationBuilder_ == null) { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } else { return operationBuilder_.getMessage(); } } /** *
       * Holds ExplainQueryResult in case of successful call
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operation_ = value; onChanged(); } else { operationBuilder_.setMessage(value); } return this; } /** *
       * Holds ExplainQueryResult in case of successful call
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation( com.yandex.ydb.OperationProtos.Operation.Builder builderForValue) { if (operationBuilder_ == null) { operation_ = builderForValue.build(); onChanged(); } else { operationBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Holds ExplainQueryResult in case of successful call
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder mergeOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (operation_ != null) { operation_ = com.yandex.ydb.OperationProtos.Operation.newBuilder(operation_).mergeFrom(value).buildPartial(); } else { operation_ = value; } onChanged(); } else { operationBuilder_.mergeFrom(value); } return this; } /** *
       * Holds ExplainQueryResult in case of successful call
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder clearOperation() { if (operationBuilder_ == null) { operation_ = null; onChanged(); } else { operation_ = null; operationBuilder_ = null; } return this; } /** *
       * Holds ExplainQueryResult in case of successful call
       * 
* * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.Operation.Builder getOperationBuilder() { onChanged(); return getOperationFieldBuilder().getBuilder(); } /** *
       * Holds ExplainQueryResult in case of successful call
       * 
* * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { if (operationBuilder_ != null) { return operationBuilder_.getMessageOrBuilder(); } else { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } } /** *
       * Holds ExplainQueryResult in case of successful call
       * 
* * .Ydb.Operations.Operation operation = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> getOperationFieldBuilder() { if (operationBuilder_ == null) { operationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExplainDataQueryResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.ExplainDataQueryResponse(); } public static com.yandex.ydb.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 { return new ExplainDataQueryResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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(); } /** * 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_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExplainQueryResult(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExplainQueryResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); queryAst_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); queryPlan_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExplainQueryResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExplainQueryResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ExplainQueryResult.class, com.yandex.ydb.table.YdbTable.ExplainQueryResult.Builder.class); } public static final int QUERY_AST_FIELD_NUMBER = 1; 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; 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; } } 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 (!getQueryAstBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, queryAst_); } if (!getQueryPlanBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, queryPlan_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getQueryAstBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, queryAst_); } if (!getQueryPlanBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, queryPlan_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.ExplainQueryResult)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.ExplainQueryResult other = (com.yandex.ydb.table.YdbTable.ExplainQueryResult) obj; if (!getQueryAst() .equals(other.getQueryAst())) return false; if (!getQueryPlan() .equals(other.getQueryPlan())) return false; if (!unknownFields.equals(other.unknownFields)) 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 = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.ExplainQueryResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExplainQueryResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExplainQueryResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.ExplainQueryResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.ExplainQueryResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExplainQueryResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExplainQueryResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.ExplainQueryResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExplainQueryResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExplainQueryResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ExplainQueryResult.class, com.yandex.ydb.table.YdbTable.ExplainQueryResult.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.ExplainQueryResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); queryAst_ = ""; queryPlan_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExplainQueryResult_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExplainQueryResult getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.ExplainQueryResult.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExplainQueryResult build() { com.yandex.ydb.table.YdbTable.ExplainQueryResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExplainQueryResult buildPartial() { com.yandex.ydb.table.YdbTable.ExplainQueryResult result = new com.yandex.ydb.table.YdbTable.ExplainQueryResult(this); result.queryAst_ = queryAst_; result.queryPlan_ = queryPlan_; 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 com.yandex.ydb.table.YdbTable.ExplainQueryResult) { return mergeFrom((com.yandex.ydb.table.YdbTable.ExplainQueryResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.ExplainQueryResult other) { if (other == com.yandex.ydb.table.YdbTable.ExplainQueryResult.getDefaultInstance()) return this; if (!other.getQueryAst().isEmpty()) { queryAst_ = other.queryAst_; onChanged(); } if (!other.getQueryPlan().isEmpty()) { queryPlan_ = other.queryPlan_; onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.ExplainQueryResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.ExplainQueryResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; onChanged(); return this; } /** * string query_ast = 1; * @return This builder for chaining. */ public Builder clearQueryAst() { queryAst_ = getDefaultInstance().getQueryAst(); 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; 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; onChanged(); return this; } /** * string query_plan = 2; * @return This builder for chaining. */ public Builder clearQueryPlan() { queryPlan_ = getDefaultInstance().getQueryPlan(); 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; 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 com.yandex.ydb.table.YdbTable.ExplainQueryResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.ExplainQueryResult(); } public static com.yandex.ydb.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 { return new ExplainQueryResult(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 3; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PrepareDataQueryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); sessionId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); yqlText_ = s; break; } case 26: { com.yandex.ydb.OperationProtos.OperationParams.Builder subBuilder = null; if (operationParams_ != null) { subBuilder = operationParams_.toBuilder(); } operationParams_ = input.readMessage(com.yandex.ydb.OperationProtos.OperationParams.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operationParams_); operationParams_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_PrepareDataQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_PrepareDataQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.PrepareDataQueryRequest.class, com.yandex.ydb.table.YdbTable.PrepareDataQueryRequest.Builder.class); } public static final int SESSION_ID_FIELD_NUMBER = 1; 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; 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 com.yandex.ydb.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 3; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 3; * @return The operationParams. */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return getOperationParams(); } 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 (!getSessionIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_); } if (!getYqlTextBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, yqlText_); } if (operationParams_ != null) { output.writeMessage(3, getOperationParams()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getSessionIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_); } if (!getYqlTextBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, yqlText_); } if (operationParams_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getOperationParams()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.PrepareDataQueryRequest)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.PrepareDataQueryRequest other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.PrepareDataQueryRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PrepareDataQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PrepareDataQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.PrepareDataQueryRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.PrepareDataQueryRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PrepareDataQueryRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PrepareDataQueryRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.PrepareDataQueryRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_PrepareDataQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_PrepareDataQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.PrepareDataQueryRequest.class, com.yandex.ydb.table.YdbTable.PrepareDataQueryRequest.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); sessionId_ = ""; yqlText_ = ""; if (operationParamsBuilder_ == null) { operationParams_ = null; } else { operationParams_ = null; operationParamsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_PrepareDataQueryRequest_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.PrepareDataQueryRequest getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.PrepareDataQueryRequest.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.PrepareDataQueryRequest build() { com.yandex.ydb.table.YdbTable.PrepareDataQueryRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.PrepareDataQueryRequest buildPartial() { com.yandex.ydb.table.YdbTable.PrepareDataQueryRequest result = new com.yandex.ydb.table.YdbTable.PrepareDataQueryRequest(this); result.sessionId_ = sessionId_; result.yqlText_ = yqlText_; if (operationParamsBuilder_ == null) { result.operationParams_ = operationParams_; } else { result.operationParams_ = operationParamsBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.PrepareDataQueryRequest) { return mergeFrom((com.yandex.ydb.table.YdbTable.PrepareDataQueryRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.PrepareDataQueryRequest other) { if (other == com.yandex.ydb.table.YdbTable.PrepareDataQueryRequest.getDefaultInstance()) return this; if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; onChanged(); } if (!other.getYqlText().isEmpty()) { yqlText_ = other.yqlText_; onChanged(); } if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.PrepareDataQueryRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.PrepareDataQueryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); 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; 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; onChanged(); return this; } /** *
       * SQL text
       * 
* * string yql_text = 2; * @return This builder for chaining. */ public Builder clearYqlText() { yqlText_ = getDefaultInstance().getYqlText(); 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; onChanged(); return this; } private com.yandex.ydb.OperationProtos.OperationParams operationParams_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> operationParamsBuilder_; /** * .Ydb.Operations.OperationParams operation_params = 3; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return operationParamsBuilder_ != null || operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 3; * @return The operationParams. */ public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { if (operationParamsBuilder_ == null) { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } else { return operationParamsBuilder_.getMessage(); } } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder setOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operationParams_ = value; onChanged(); } else { operationParamsBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder setOperationParams( com.yandex.ydb.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); onChanged(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder mergeOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (operationParams_ != null) { operationParams_ = com.yandex.ydb.OperationProtos.OperationParams.newBuilder(operationParams_).mergeFrom(value).buildPartial(); } else { operationParams_ = value; } onChanged(); } else { operationParamsBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder clearOperationParams() { if (operationParamsBuilder_ == null) { operationParams_ = null; onChanged(); } else { operationParams_ = null; operationParamsBuilder_ = null; } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public com.yandex.ydb.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { if (operationParamsBuilder_ != null) { return operationParamsBuilder_.getMessageOrBuilder(); } else { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } } /** * .Ydb.Operations.OperationParams operation_params = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> getOperationParamsFieldBuilder() { if (operationParamsBuilder_ == null) { operationParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PrepareDataQueryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.PrepareDataQueryRequest(); } public static com.yandex.ydb.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 { return new PrepareDataQueryRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.Operation getOperation(); /** *
     * Holds PrepareQueryResult in case of successful call
     * 
* * .Ydb.Operations.Operation operation = 1; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PrepareDataQueryResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.OperationProtos.Operation.Builder subBuilder = null; if (operation_ != null) { subBuilder = operation_.toBuilder(); } operation_ = input.readMessage(com.yandex.ydb.OperationProtos.Operation.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operation_); operation_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_PrepareDataQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_PrepareDataQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.PrepareDataQueryResponse.class, com.yandex.ydb.table.YdbTable.PrepareDataQueryResponse.Builder.class); } public static final int OPERATION_FIELD_NUMBER = 1; private com.yandex.ydb.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 operation_ != null; } /** *
     * Holds PrepareQueryResult in case of successful call
     * 
* * .Ydb.Operations.Operation operation = 1; * @return The operation. */ @java.lang.Override public com.yandex.ydb.OperationProtos.Operation getOperation() { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } /** *
     * Holds PrepareQueryResult in case of successful call
     * 
* * .Ydb.Operations.Operation operation = 1; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { return getOperation(); } 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 (operation_ != null) { output.writeMessage(1, getOperation()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (operation_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getOperation()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.PrepareDataQueryResponse)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.PrepareDataQueryResponse other = (com.yandex.ydb.table.YdbTable.PrepareDataQueryResponse) obj; if (hasOperation() != other.hasOperation()) return false; if (hasOperation()) { if (!getOperation() .equals(other.getOperation())) return false; } if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.PrepareDataQueryResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PrepareDataQueryResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PrepareDataQueryResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.PrepareDataQueryResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.PrepareDataQueryResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PrepareDataQueryResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PrepareDataQueryResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.PrepareDataQueryResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_PrepareDataQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_PrepareDataQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.PrepareDataQueryResponse.class, com.yandex.ydb.table.YdbTable.PrepareDataQueryResponse.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); if (operationBuilder_ == null) { operation_ = null; } else { operation_ = null; operationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_PrepareDataQueryResponse_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.PrepareDataQueryResponse getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.PrepareDataQueryResponse.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.PrepareDataQueryResponse build() { com.yandex.ydb.table.YdbTable.PrepareDataQueryResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.PrepareDataQueryResponse buildPartial() { com.yandex.ydb.table.YdbTable.PrepareDataQueryResponse result = new com.yandex.ydb.table.YdbTable.PrepareDataQueryResponse(this); if (operationBuilder_ == null) { result.operation_ = operation_; } else { result.operation_ = operationBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.PrepareDataQueryResponse) { return mergeFrom((com.yandex.ydb.table.YdbTable.PrepareDataQueryResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.PrepareDataQueryResponse other) { if (other == com.yandex.ydb.table.YdbTable.PrepareDataQueryResponse.getDefaultInstance()) return this; if (other.hasOperation()) { mergeOperation(other.getOperation()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.PrepareDataQueryResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.PrepareDataQueryResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.yandex.ydb.OperationProtos.Operation operation_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.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 operationBuilder_ != null || operation_ != null; } /** *
       * Holds PrepareQueryResult in case of successful call
       * 
* * .Ydb.Operations.Operation operation = 1; * @return The operation. */ public com.yandex.ydb.OperationProtos.Operation getOperation() { if (operationBuilder_ == null) { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } else { return operationBuilder_.getMessage(); } } /** *
       * Holds PrepareQueryResult in case of successful call
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operation_ = value; onChanged(); } else { operationBuilder_.setMessage(value); } return this; } /** *
       * Holds PrepareQueryResult in case of successful call
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation( com.yandex.ydb.OperationProtos.Operation.Builder builderForValue) { if (operationBuilder_ == null) { operation_ = builderForValue.build(); onChanged(); } else { operationBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Holds PrepareQueryResult in case of successful call
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder mergeOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (operation_ != null) { operation_ = com.yandex.ydb.OperationProtos.Operation.newBuilder(operation_).mergeFrom(value).buildPartial(); } else { operation_ = value; } onChanged(); } else { operationBuilder_.mergeFrom(value); } return this; } /** *
       * Holds PrepareQueryResult in case of successful call
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder clearOperation() { if (operationBuilder_ == null) { operation_ = null; onChanged(); } else { operation_ = null; operationBuilder_ = null; } return this; } /** *
       * Holds PrepareQueryResult in case of successful call
       * 
* * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.Operation.Builder getOperationBuilder() { onChanged(); return getOperationFieldBuilder().getBuilder(); } /** *
       * Holds PrepareQueryResult in case of successful call
       * 
* * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { if (operationBuilder_ != null) { return operationBuilder_.getMessageOrBuilder(); } else { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } } /** *
       * Holds PrepareQueryResult in case of successful call
       * 
* * .Ydb.Operations.Operation operation = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> getOperationFieldBuilder() { if (operationBuilder_ == null) { operationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PrepareDataQueryResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.PrepareDataQueryResponse(); } public static com.yandex.ydb.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 { return new PrepareDataQueryResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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; */ com.yandex.ydb.ValueProtos.Type getParametersTypesOrDefault( java.lang.String key, com.yandex.ydb.ValueProtos.Type defaultValue); /** *
     * Parameters type, used to fill in parameter values
     * 
* * map<string, .Ydb.Type> parameters_types = 2; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PrepareQueryResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); queryId_ = s; break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { parametersTypes_ = com.google.protobuf.MapField.newMapField( ParametersTypesDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry parametersTypes__ = input.readMessage( ParametersTypesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); parametersTypes_.getMutableMap().put( parametersTypes__.getKey(), parametersTypes__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_PrepareQueryResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.PrepareQueryResult.class, com.yandex.ydb.table.YdbTable.PrepareQueryResult.Builder.class); } public static final int QUERY_ID_FIELD_NUMBER = 1; 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, com.yandex.ydb.ValueProtos.Type> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_PrepareQueryResult_ParametersTypesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, com.yandex.ydb.ValueProtos.Type.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, com.yandex.ydb.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 java.lang.NullPointerException(); } 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 com.yandex.ydb.ValueProtos.Type getParametersTypesOrDefault( java.lang.String key, com.yandex.ydb.ValueProtos.Type defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } 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 com.yandex.ydb.ValueProtos.Type getParametersTypesOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } 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 (!getQueryIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, queryId_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetParametersTypes(), ParametersTypesDefaultEntryHolder.defaultEntry, 2); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getQueryIdBytes().isEmpty()) { 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 += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.PrepareQueryResult)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.PrepareQueryResult other = (com.yandex.ydb.table.YdbTable.PrepareQueryResult) obj; if (!getQueryId() .equals(other.getQueryId())) return false; if (!internalGetParametersTypes().equals( other.internalGetParametersTypes())) return false; if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.PrepareQueryResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PrepareQueryResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PrepareQueryResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.PrepareQueryResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.PrepareQueryResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PrepareQueryResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PrepareQueryResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.PrepareQueryResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_PrepareQueryResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.PrepareQueryResult.class, com.yandex.ydb.table.YdbTable.PrepareQueryResult.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.PrepareQueryResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); queryId_ = ""; internalGetMutableParametersTypes().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_PrepareQueryResult_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.PrepareQueryResult getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.PrepareQueryResult.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.PrepareQueryResult build() { com.yandex.ydb.table.YdbTable.PrepareQueryResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.PrepareQueryResult buildPartial() { com.yandex.ydb.table.YdbTable.PrepareQueryResult result = new com.yandex.ydb.table.YdbTable.PrepareQueryResult(this); int from_bitField0_ = bitField0_; result.queryId_ = queryId_; result.parametersTypes_ = internalGetParametersTypes(); result.parametersTypes_.makeImmutable(); 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 com.yandex.ydb.table.YdbTable.PrepareQueryResult) { return mergeFrom((com.yandex.ydb.table.YdbTable.PrepareQueryResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.PrepareQueryResult other) { if (other == com.yandex.ydb.table.YdbTable.PrepareQueryResult.getDefaultInstance()) return this; if (!other.getQueryId().isEmpty()) { queryId_ = other.queryId_; onChanged(); } internalGetMutableParametersTypes().mergeFrom( other.internalGetParametersTypes()); this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.PrepareQueryResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.PrepareQueryResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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; onChanged(); return this; } /** *
       * Query id, used to perform ExecuteDataQuery
       * 
* * string query_id = 1; * @return This builder for chaining. */ public Builder clearQueryId() { queryId_ = getDefaultInstance().getQueryId(); 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; onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, com.yandex.ydb.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() { onChanged();; if (parametersTypes_ == null) { parametersTypes_ = com.google.protobuf.MapField.newMapField( ParametersTypesDefaultEntryHolder.defaultEntry); } if (!parametersTypes_.isMutable()) { parametersTypes_ = parametersTypes_.copy(); } 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 java.lang.NullPointerException(); } 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 com.yandex.ydb.ValueProtos.Type getParametersTypesOrDefault( java.lang.String key, com.yandex.ydb.ValueProtos.Type defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } 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 com.yandex.ydb.ValueProtos.Type getParametersTypesOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetParametersTypes().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearParametersTypes() { 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 java.lang.NullPointerException(); } internalGetMutableParametersTypes().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableParametersTypes() { 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, com.yandex.ydb.ValueProtos.Type value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableParametersTypes().getMutableMap() .put(key, value); 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); 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 com.yandex.ydb.table.YdbTable.PrepareQueryResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.PrepareQueryResult(); } public static com.yandex.ydb.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 { return new PrepareQueryResult(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 2; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private KeepAliveRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); sessionId_ = s; break; } case 18: { com.yandex.ydb.OperationProtos.OperationParams.Builder subBuilder = null; if (operationParams_ != null) { subBuilder = operationParams_.toBuilder(); } operationParams_ = input.readMessage(com.yandex.ydb.OperationProtos.OperationParams.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operationParams_); operationParams_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_KeepAliveRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_KeepAliveRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.KeepAliveRequest.class, com.yandex.ydb.table.YdbTable.KeepAliveRequest.Builder.class); } public static final int SESSION_ID_FIELD_NUMBER = 1; 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 com.yandex.ydb.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 2; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 2; * @return The operationParams. */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } /** * .Ydb.Operations.OperationParams operation_params = 2; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return getOperationParams(); } 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 (!getSessionIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_); } if (operationParams_ != null) { output.writeMessage(2, getOperationParams()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getSessionIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_); } if (operationParams_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getOperationParams()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.KeepAliveRequest)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.KeepAliveRequest other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.KeepAliveRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.KeepAliveRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.KeepAliveRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.KeepAliveRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.KeepAliveRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.KeepAliveRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.KeepAliveRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.KeepAliveRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_KeepAliveRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_KeepAliveRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.KeepAliveRequest.class, com.yandex.ydb.table.YdbTable.KeepAliveRequest.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); sessionId_ = ""; if (operationParamsBuilder_ == null) { operationParams_ = null; } else { operationParams_ = null; operationParamsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_KeepAliveRequest_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.KeepAliveRequest getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.KeepAliveRequest.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.KeepAliveRequest build() { com.yandex.ydb.table.YdbTable.KeepAliveRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.KeepAliveRequest buildPartial() { com.yandex.ydb.table.YdbTable.KeepAliveRequest result = new com.yandex.ydb.table.YdbTable.KeepAliveRequest(this); result.sessionId_ = sessionId_; if (operationParamsBuilder_ == null) { result.operationParams_ = operationParams_; } else { result.operationParams_ = operationParamsBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.KeepAliveRequest) { return mergeFrom((com.yandex.ydb.table.YdbTable.KeepAliveRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.KeepAliveRequest other) { if (other == com.yandex.ydb.table.YdbTable.KeepAliveRequest.getDefaultInstance()) return this; if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; onChanged(); } if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.KeepAliveRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.KeepAliveRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); 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; onChanged(); return this; } private com.yandex.ydb.OperationProtos.OperationParams operationParams_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> operationParamsBuilder_; /** * .Ydb.Operations.OperationParams operation_params = 2; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return operationParamsBuilder_ != null || operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 2; * @return The operationParams. */ public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { if (operationParamsBuilder_ == null) { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } else { return operationParamsBuilder_.getMessage(); } } /** * .Ydb.Operations.OperationParams operation_params = 2; */ public Builder setOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operationParams_ = value; onChanged(); } else { operationParamsBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 2; */ public Builder setOperationParams( com.yandex.ydb.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); onChanged(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 2; */ public Builder mergeOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (operationParams_ != null) { operationParams_ = com.yandex.ydb.OperationProtos.OperationParams.newBuilder(operationParams_).mergeFrom(value).buildPartial(); } else { operationParams_ = value; } onChanged(); } else { operationParamsBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 2; */ public Builder clearOperationParams() { if (operationParamsBuilder_ == null) { operationParams_ = null; onChanged(); } else { operationParams_ = null; operationParamsBuilder_ = null; } return this; } /** * .Ydb.Operations.OperationParams operation_params = 2; */ public com.yandex.ydb.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 2; */ public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { if (operationParamsBuilder_ != null) { return operationParamsBuilder_.getMessageOrBuilder(); } else { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } } /** * .Ydb.Operations.OperationParams operation_params = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> getOperationParamsFieldBuilder() { if (operationParamsBuilder_ == null) { operationParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.KeepAliveRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.KeepAliveRequest(); } public static com.yandex.ydb.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 { return new KeepAliveRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.Operation getOperation(); /** * .Ydb.Operations.Operation operation = 1; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private KeepAliveResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.OperationProtos.Operation.Builder subBuilder = null; if (operation_ != null) { subBuilder = operation_.toBuilder(); } operation_ = input.readMessage(com.yandex.ydb.OperationProtos.Operation.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operation_); operation_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_KeepAliveResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_KeepAliveResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.KeepAliveResponse.class, com.yandex.ydb.table.YdbTable.KeepAliveResponse.Builder.class); } public static final int OPERATION_FIELD_NUMBER = 1; private com.yandex.ydb.OperationProtos.Operation operation_; /** * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ @java.lang.Override public boolean hasOperation() { return operation_ != null; } /** * .Ydb.Operations.Operation operation = 1; * @return The operation. */ @java.lang.Override public com.yandex.ydb.OperationProtos.Operation getOperation() { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } /** * .Ydb.Operations.Operation operation = 1; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { return getOperation(); } 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 (operation_ != null) { output.writeMessage(1, getOperation()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (operation_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getOperation()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.KeepAliveResponse)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.KeepAliveResponse other = (com.yandex.ydb.table.YdbTable.KeepAliveResponse) obj; if (hasOperation() != other.hasOperation()) return false; if (hasOperation()) { if (!getOperation() .equals(other.getOperation())) return false; } if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.KeepAliveResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.KeepAliveResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.KeepAliveResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.KeepAliveResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.KeepAliveResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.KeepAliveResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.KeepAliveResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.KeepAliveResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_KeepAliveResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_KeepAliveResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.KeepAliveResponse.class, com.yandex.ydb.table.YdbTable.KeepAliveResponse.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); if (operationBuilder_ == null) { operation_ = null; } else { operation_ = null; operationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_KeepAliveResponse_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.KeepAliveResponse getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.KeepAliveResponse.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.KeepAliveResponse build() { com.yandex.ydb.table.YdbTable.KeepAliveResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.KeepAliveResponse buildPartial() { com.yandex.ydb.table.YdbTable.KeepAliveResponse result = new com.yandex.ydb.table.YdbTable.KeepAliveResponse(this); if (operationBuilder_ == null) { result.operation_ = operation_; } else { result.operation_ = operationBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.KeepAliveResponse) { return mergeFrom((com.yandex.ydb.table.YdbTable.KeepAliveResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.KeepAliveResponse other) { if (other == com.yandex.ydb.table.YdbTable.KeepAliveResponse.getDefaultInstance()) return this; if (other.hasOperation()) { mergeOperation(other.getOperation()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.KeepAliveResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.KeepAliveResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.yandex.ydb.OperationProtos.Operation operation_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> operationBuilder_; /** * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ public boolean hasOperation() { return operationBuilder_ != null || operation_ != null; } /** * .Ydb.Operations.Operation operation = 1; * @return The operation. */ public com.yandex.ydb.OperationProtos.Operation getOperation() { if (operationBuilder_ == null) { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } else { return operationBuilder_.getMessage(); } } /** * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operation_ = value; onChanged(); } else { operationBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation( com.yandex.ydb.OperationProtos.Operation.Builder builderForValue) { if (operationBuilder_ == null) { operation_ = builderForValue.build(); onChanged(); } else { operationBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder mergeOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (operation_ != null) { operation_ = com.yandex.ydb.OperationProtos.Operation.newBuilder(operation_).mergeFrom(value).buildPartial(); } else { operation_ = value; } onChanged(); } else { operationBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder clearOperation() { if (operationBuilder_ == null) { operation_ = null; onChanged(); } else { operation_ = null; operationBuilder_ = null; } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.Operation.Builder getOperationBuilder() { onChanged(); return getOperationFieldBuilder().getBuilder(); } /** * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { if (operationBuilder_ != null) { return operationBuilder_.getMessageOrBuilder(); } else { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } } /** * .Ydb.Operations.Operation operation = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> getOperationFieldBuilder() { if (operationBuilder_ == null) { operationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.KeepAliveResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.KeepAliveResponse(); } public static com.yandex.ydb.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 { return new KeepAliveResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private KeepAliveResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { int rawValue = input.readEnum(); sessionStatus_ = rawValue; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_KeepAliveResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_KeepAliveResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.KeepAliveResult.class, com.yandex.ydb.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 com.yandex.ydb.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_; /** * .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 com.yandex.ydb.table.YdbTable.KeepAliveResult.SessionStatus getSessionStatus() { @SuppressWarnings("deprecation") com.yandex.ydb.table.YdbTable.KeepAliveResult.SessionStatus result = com.yandex.ydb.table.YdbTable.KeepAliveResult.SessionStatus.valueOf(sessionStatus_); return result == null ? com.yandex.ydb.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_ != com.yandex.ydb.table.YdbTable.KeepAliveResult.SessionStatus.SESSION_STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(1, sessionStatus_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (sessionStatus_ != com.yandex.ydb.table.YdbTable.KeepAliveResult.SessionStatus.SESSION_STATUS_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, sessionStatus_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.KeepAliveResult)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.KeepAliveResult other = (com.yandex.ydb.table.YdbTable.KeepAliveResult) obj; if (sessionStatus_ != other.sessionStatus_) return false; if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.KeepAliveResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.KeepAliveResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.KeepAliveResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.KeepAliveResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.KeepAliveResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.KeepAliveResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.KeepAliveResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.KeepAliveResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_KeepAliveResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_KeepAliveResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.KeepAliveResult.class, com.yandex.ydb.table.YdbTable.KeepAliveResult.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.KeepAliveResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); sessionStatus_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_KeepAliveResult_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.KeepAliveResult getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.KeepAliveResult.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.KeepAliveResult build() { com.yandex.ydb.table.YdbTable.KeepAliveResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.KeepAliveResult buildPartial() { com.yandex.ydb.table.YdbTable.KeepAliveResult result = new com.yandex.ydb.table.YdbTable.KeepAliveResult(this); result.sessionStatus_ = sessionStatus_; 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 com.yandex.ydb.table.YdbTable.KeepAliveResult) { return mergeFrom((com.yandex.ydb.table.YdbTable.KeepAliveResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.KeepAliveResult other) { if (other == com.yandex.ydb.table.YdbTable.KeepAliveResult.getDefaultInstance()) return this; if (other.sessionStatus_ != 0) { setSessionStatusValue(other.getSessionStatusValue()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.KeepAliveResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.KeepAliveResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; onChanged(); return this; } /** * .Ydb.Table.KeepAliveResult.SessionStatus session_status = 1; * @return The sessionStatus. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.KeepAliveResult.SessionStatus getSessionStatus() { @SuppressWarnings("deprecation") com.yandex.ydb.table.YdbTable.KeepAliveResult.SessionStatus result = com.yandex.ydb.table.YdbTable.KeepAliveResult.SessionStatus.valueOf(sessionStatus_); return result == null ? com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.KeepAliveResult.SessionStatus value) { if (value == null) { throw new NullPointerException(); } sessionStatus_ = value.getNumber(); onChanged(); return this; } /** * .Ydb.Table.KeepAliveResult.SessionStatus session_status = 1; * @return This builder for chaining. */ public Builder clearSessionStatus() { 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 com.yandex.ydb.table.YdbTable.KeepAliveResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.KeepAliveResult(); } public static com.yandex.ydb.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 { return new KeepAliveResult(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.TransactionSettings getTxSettings(); /** * .Ydb.Table.TransactionSettings tx_settings = 2; */ com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 3; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BeginTransactionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); sessionId_ = s; break; } case 18: { com.yandex.ydb.table.YdbTable.TransactionSettings.Builder subBuilder = null; if (txSettings_ != null) { subBuilder = txSettings_.toBuilder(); } txSettings_ = input.readMessage(com.yandex.ydb.table.YdbTable.TransactionSettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(txSettings_); txSettings_ = subBuilder.buildPartial(); } break; } case 26: { com.yandex.ydb.OperationProtos.OperationParams.Builder subBuilder = null; if (operationParams_ != null) { subBuilder = operationParams_.toBuilder(); } operationParams_ = input.readMessage(com.yandex.ydb.OperationProtos.OperationParams.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operationParams_); operationParams_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_BeginTransactionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_BeginTransactionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.BeginTransactionRequest.class, com.yandex.ydb.table.YdbTable.BeginTransactionRequest.Builder.class); } public static final int SESSION_ID_FIELD_NUMBER = 1; 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 com.yandex.ydb.table.YdbTable.TransactionSettings txSettings_; /** * .Ydb.Table.TransactionSettings tx_settings = 2; * @return Whether the txSettings field is set. */ @java.lang.Override public boolean hasTxSettings() { return txSettings_ != null; } /** * .Ydb.Table.TransactionSettings tx_settings = 2; * @return The txSettings. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.TransactionSettings getTxSettings() { return txSettings_ == null ? com.yandex.ydb.table.YdbTable.TransactionSettings.getDefaultInstance() : txSettings_; } /** * .Ydb.Table.TransactionSettings tx_settings = 2; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.TransactionSettingsOrBuilder getTxSettingsOrBuilder() { return getTxSettings(); } public static final int OPERATION_PARAMS_FIELD_NUMBER = 3; private com.yandex.ydb.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 3; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 3; * @return The operationParams. */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return getOperationParams(); } 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 (!getSessionIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_); } if (txSettings_ != null) { output.writeMessage(2, getTxSettings()); } if (operationParams_ != null) { output.writeMessage(3, getOperationParams()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getSessionIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_); } if (txSettings_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getTxSettings()); } if (operationParams_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getOperationParams()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.BeginTransactionRequest)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.BeginTransactionRequest other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.BeginTransactionRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.BeginTransactionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.BeginTransactionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.BeginTransactionRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.BeginTransactionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.BeginTransactionRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.BeginTransactionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.BeginTransactionRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_BeginTransactionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_BeginTransactionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.BeginTransactionRequest.class, com.yandex.ydb.table.YdbTable.BeginTransactionRequest.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); sessionId_ = ""; if (txSettingsBuilder_ == null) { txSettings_ = null; } else { txSettings_ = null; txSettingsBuilder_ = null; } if (operationParamsBuilder_ == null) { operationParams_ = null; } else { operationParams_ = null; operationParamsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_BeginTransactionRequest_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.BeginTransactionRequest getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.BeginTransactionRequest.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.BeginTransactionRequest build() { com.yandex.ydb.table.YdbTable.BeginTransactionRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.BeginTransactionRequest buildPartial() { com.yandex.ydb.table.YdbTable.BeginTransactionRequest result = new com.yandex.ydb.table.YdbTable.BeginTransactionRequest(this); result.sessionId_ = sessionId_; if (txSettingsBuilder_ == null) { result.txSettings_ = txSettings_; } else { result.txSettings_ = txSettingsBuilder_.build(); } if (operationParamsBuilder_ == null) { result.operationParams_ = operationParams_; } else { result.operationParams_ = operationParamsBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.BeginTransactionRequest) { return mergeFrom((com.yandex.ydb.table.YdbTable.BeginTransactionRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.BeginTransactionRequest other) { if (other == com.yandex.ydb.table.YdbTable.BeginTransactionRequest.getDefaultInstance()) return this; if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; onChanged(); } if (other.hasTxSettings()) { mergeTxSettings(other.getTxSettings()); } if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.BeginTransactionRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.BeginTransactionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); 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; onChanged(); return this; } private com.yandex.ydb.table.YdbTable.TransactionSettings txSettings_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.TransactionSettings, com.yandex.ydb.table.YdbTable.TransactionSettings.Builder, com.yandex.ydb.table.YdbTable.TransactionSettingsOrBuilder> txSettingsBuilder_; /** * .Ydb.Table.TransactionSettings tx_settings = 2; * @return Whether the txSettings field is set. */ public boolean hasTxSettings() { return txSettingsBuilder_ != null || txSettings_ != null; } /** * .Ydb.Table.TransactionSettings tx_settings = 2; * @return The txSettings. */ public com.yandex.ydb.table.YdbTable.TransactionSettings getTxSettings() { if (txSettingsBuilder_ == null) { return txSettings_ == null ? com.yandex.ydb.table.YdbTable.TransactionSettings.getDefaultInstance() : txSettings_; } else { return txSettingsBuilder_.getMessage(); } } /** * .Ydb.Table.TransactionSettings tx_settings = 2; */ public Builder setTxSettings(com.yandex.ydb.table.YdbTable.TransactionSettings value) { if (txSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } txSettings_ = value; onChanged(); } else { txSettingsBuilder_.setMessage(value); } return this; } /** * .Ydb.Table.TransactionSettings tx_settings = 2; */ public Builder setTxSettings( com.yandex.ydb.table.YdbTable.TransactionSettings.Builder builderForValue) { if (txSettingsBuilder_ == null) { txSettings_ = builderForValue.build(); onChanged(); } else { txSettingsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Table.TransactionSettings tx_settings = 2; */ public Builder mergeTxSettings(com.yandex.ydb.table.YdbTable.TransactionSettings value) { if (txSettingsBuilder_ == null) { if (txSettings_ != null) { txSettings_ = com.yandex.ydb.table.YdbTable.TransactionSettings.newBuilder(txSettings_).mergeFrom(value).buildPartial(); } else { txSettings_ = value; } onChanged(); } else { txSettingsBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Table.TransactionSettings tx_settings = 2; */ public Builder clearTxSettings() { if (txSettingsBuilder_ == null) { txSettings_ = null; onChanged(); } else { txSettings_ = null; txSettingsBuilder_ = null; } return this; } /** * .Ydb.Table.TransactionSettings tx_settings = 2; */ public com.yandex.ydb.table.YdbTable.TransactionSettings.Builder getTxSettingsBuilder() { onChanged(); return getTxSettingsFieldBuilder().getBuilder(); } /** * .Ydb.Table.TransactionSettings tx_settings = 2; */ public com.yandex.ydb.table.YdbTable.TransactionSettingsOrBuilder getTxSettingsOrBuilder() { if (txSettingsBuilder_ != null) { return txSettingsBuilder_.getMessageOrBuilder(); } else { return txSettings_ == null ? com.yandex.ydb.table.YdbTable.TransactionSettings.getDefaultInstance() : txSettings_; } } /** * .Ydb.Table.TransactionSettings tx_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.TransactionSettings, com.yandex.ydb.table.YdbTable.TransactionSettings.Builder, com.yandex.ydb.table.YdbTable.TransactionSettingsOrBuilder> getTxSettingsFieldBuilder() { if (txSettingsBuilder_ == null) { txSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.TransactionSettings, com.yandex.ydb.table.YdbTable.TransactionSettings.Builder, com.yandex.ydb.table.YdbTable.TransactionSettingsOrBuilder>( getTxSettings(), getParentForChildren(), isClean()); txSettings_ = null; } return txSettingsBuilder_; } private com.yandex.ydb.OperationProtos.OperationParams operationParams_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> operationParamsBuilder_; /** * .Ydb.Operations.OperationParams operation_params = 3; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return operationParamsBuilder_ != null || operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 3; * @return The operationParams. */ public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { if (operationParamsBuilder_ == null) { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } else { return operationParamsBuilder_.getMessage(); } } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder setOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operationParams_ = value; onChanged(); } else { operationParamsBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder setOperationParams( com.yandex.ydb.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); onChanged(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder mergeOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (operationParams_ != null) { operationParams_ = com.yandex.ydb.OperationProtos.OperationParams.newBuilder(operationParams_).mergeFrom(value).buildPartial(); } else { operationParams_ = value; } onChanged(); } else { operationParamsBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder clearOperationParams() { if (operationParamsBuilder_ == null) { operationParams_ = null; onChanged(); } else { operationParams_ = null; operationParamsBuilder_ = null; } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public com.yandex.ydb.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { if (operationParamsBuilder_ != null) { return operationParamsBuilder_.getMessageOrBuilder(); } else { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } } /** * .Ydb.Operations.OperationParams operation_params = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> getOperationParamsFieldBuilder() { if (operationParamsBuilder_ == null) { operationParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.BeginTransactionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.BeginTransactionRequest(); } public static com.yandex.ydb.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 { return new BeginTransactionRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.Operation getOperation(); /** *
     * Holds BeginTransactionResult in case of successful call
     * 
* * .Ydb.Operations.Operation operation = 1; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BeginTransactionResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.OperationProtos.Operation.Builder subBuilder = null; if (operation_ != null) { subBuilder = operation_.toBuilder(); } operation_ = input.readMessage(com.yandex.ydb.OperationProtos.Operation.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operation_); operation_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_BeginTransactionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_BeginTransactionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.BeginTransactionResponse.class, com.yandex.ydb.table.YdbTable.BeginTransactionResponse.Builder.class); } public static final int OPERATION_FIELD_NUMBER = 1; private com.yandex.ydb.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 operation_ != null; } /** *
     * Holds BeginTransactionResult in case of successful call
     * 
* * .Ydb.Operations.Operation operation = 1; * @return The operation. */ @java.lang.Override public com.yandex.ydb.OperationProtos.Operation getOperation() { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } /** *
     * Holds BeginTransactionResult in case of successful call
     * 
* * .Ydb.Operations.Operation operation = 1; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { return getOperation(); } 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 (operation_ != null) { output.writeMessage(1, getOperation()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (operation_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getOperation()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.BeginTransactionResponse)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.BeginTransactionResponse other = (com.yandex.ydb.table.YdbTable.BeginTransactionResponse) obj; if (hasOperation() != other.hasOperation()) return false; if (hasOperation()) { if (!getOperation() .equals(other.getOperation())) return false; } if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.BeginTransactionResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.BeginTransactionResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.BeginTransactionResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.BeginTransactionResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.BeginTransactionResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.BeginTransactionResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.BeginTransactionResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.BeginTransactionResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_BeginTransactionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_BeginTransactionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.BeginTransactionResponse.class, com.yandex.ydb.table.YdbTable.BeginTransactionResponse.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); if (operationBuilder_ == null) { operation_ = null; } else { operation_ = null; operationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_BeginTransactionResponse_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.BeginTransactionResponse getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.BeginTransactionResponse.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.BeginTransactionResponse build() { com.yandex.ydb.table.YdbTable.BeginTransactionResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.BeginTransactionResponse buildPartial() { com.yandex.ydb.table.YdbTable.BeginTransactionResponse result = new com.yandex.ydb.table.YdbTable.BeginTransactionResponse(this); if (operationBuilder_ == null) { result.operation_ = operation_; } else { result.operation_ = operationBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.BeginTransactionResponse) { return mergeFrom((com.yandex.ydb.table.YdbTable.BeginTransactionResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.BeginTransactionResponse other) { if (other == com.yandex.ydb.table.YdbTable.BeginTransactionResponse.getDefaultInstance()) return this; if (other.hasOperation()) { mergeOperation(other.getOperation()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.BeginTransactionResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.BeginTransactionResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.yandex.ydb.OperationProtos.Operation operation_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.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 operationBuilder_ != null || operation_ != null; } /** *
       * Holds BeginTransactionResult in case of successful call
       * 
* * .Ydb.Operations.Operation operation = 1; * @return The operation. */ public com.yandex.ydb.OperationProtos.Operation getOperation() { if (operationBuilder_ == null) { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } else { return operationBuilder_.getMessage(); } } /** *
       * Holds BeginTransactionResult in case of successful call
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operation_ = value; onChanged(); } else { operationBuilder_.setMessage(value); } return this; } /** *
       * Holds BeginTransactionResult in case of successful call
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation( com.yandex.ydb.OperationProtos.Operation.Builder builderForValue) { if (operationBuilder_ == null) { operation_ = builderForValue.build(); onChanged(); } else { operationBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Holds BeginTransactionResult in case of successful call
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder mergeOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (operation_ != null) { operation_ = com.yandex.ydb.OperationProtos.Operation.newBuilder(operation_).mergeFrom(value).buildPartial(); } else { operation_ = value; } onChanged(); } else { operationBuilder_.mergeFrom(value); } return this; } /** *
       * Holds BeginTransactionResult in case of successful call
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder clearOperation() { if (operationBuilder_ == null) { operation_ = null; onChanged(); } else { operation_ = null; operationBuilder_ = null; } return this; } /** *
       * Holds BeginTransactionResult in case of successful call
       * 
* * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.Operation.Builder getOperationBuilder() { onChanged(); return getOperationFieldBuilder().getBuilder(); } /** *
       * Holds BeginTransactionResult in case of successful call
       * 
* * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { if (operationBuilder_ != null) { return operationBuilder_.getMessageOrBuilder(); } else { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } } /** *
       * Holds BeginTransactionResult in case of successful call
       * 
* * .Ydb.Operations.Operation operation = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> getOperationFieldBuilder() { if (operationBuilder_ == null) { operationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.BeginTransactionResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.BeginTransactionResponse(); } public static com.yandex.ydb.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 { return new BeginTransactionResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.TransactionMeta getTxMeta(); /** * .Ydb.Table.TransactionMeta tx_meta = 1; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BeginTransactionResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.table.YdbTable.TransactionMeta.Builder subBuilder = null; if (txMeta_ != null) { subBuilder = txMeta_.toBuilder(); } txMeta_ = input.readMessage(com.yandex.ydb.table.YdbTable.TransactionMeta.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(txMeta_); txMeta_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_BeginTransactionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_BeginTransactionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.BeginTransactionResult.class, com.yandex.ydb.table.YdbTable.BeginTransactionResult.Builder.class); } public static final int TX_META_FIELD_NUMBER = 1; private com.yandex.ydb.table.YdbTable.TransactionMeta txMeta_; /** * .Ydb.Table.TransactionMeta tx_meta = 1; * @return Whether the txMeta field is set. */ @java.lang.Override public boolean hasTxMeta() { return txMeta_ != null; } /** * .Ydb.Table.TransactionMeta tx_meta = 1; * @return The txMeta. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.TransactionMeta getTxMeta() { return txMeta_ == null ? com.yandex.ydb.table.YdbTable.TransactionMeta.getDefaultInstance() : txMeta_; } /** * .Ydb.Table.TransactionMeta tx_meta = 1; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.TransactionMetaOrBuilder getTxMetaOrBuilder() { return getTxMeta(); } 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 (txMeta_ != null) { output.writeMessage(1, getTxMeta()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (txMeta_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getTxMeta()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.BeginTransactionResult)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.BeginTransactionResult other = (com.yandex.ydb.table.YdbTable.BeginTransactionResult) obj; if (hasTxMeta() != other.hasTxMeta()) return false; if (hasTxMeta()) { if (!getTxMeta() .equals(other.getTxMeta())) return false; } if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.BeginTransactionResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.BeginTransactionResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.BeginTransactionResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.BeginTransactionResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.BeginTransactionResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.BeginTransactionResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.BeginTransactionResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.BeginTransactionResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_BeginTransactionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_BeginTransactionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.BeginTransactionResult.class, com.yandex.ydb.table.YdbTable.BeginTransactionResult.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); if (txMetaBuilder_ == null) { txMeta_ = null; } else { txMeta_ = null; txMetaBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_BeginTransactionResult_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.BeginTransactionResult getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.BeginTransactionResult.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.BeginTransactionResult build() { com.yandex.ydb.table.YdbTable.BeginTransactionResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.BeginTransactionResult buildPartial() { com.yandex.ydb.table.YdbTable.BeginTransactionResult result = new com.yandex.ydb.table.YdbTable.BeginTransactionResult(this); if (txMetaBuilder_ == null) { result.txMeta_ = txMeta_; } else { result.txMeta_ = txMetaBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.BeginTransactionResult) { return mergeFrom((com.yandex.ydb.table.YdbTable.BeginTransactionResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.BeginTransactionResult other) { if (other == com.yandex.ydb.table.YdbTable.BeginTransactionResult.getDefaultInstance()) return this; if (other.hasTxMeta()) { mergeTxMeta(other.getTxMeta()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.BeginTransactionResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.BeginTransactionResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.yandex.ydb.table.YdbTable.TransactionMeta txMeta_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.TransactionMeta, com.yandex.ydb.table.YdbTable.TransactionMeta.Builder, com.yandex.ydb.table.YdbTable.TransactionMetaOrBuilder> txMetaBuilder_; /** * .Ydb.Table.TransactionMeta tx_meta = 1; * @return Whether the txMeta field is set. */ public boolean hasTxMeta() { return txMetaBuilder_ != null || txMeta_ != null; } /** * .Ydb.Table.TransactionMeta tx_meta = 1; * @return The txMeta. */ public com.yandex.ydb.table.YdbTable.TransactionMeta getTxMeta() { if (txMetaBuilder_ == null) { return txMeta_ == null ? com.yandex.ydb.table.YdbTable.TransactionMeta.getDefaultInstance() : txMeta_; } else { return txMetaBuilder_.getMessage(); } } /** * .Ydb.Table.TransactionMeta tx_meta = 1; */ public Builder setTxMeta(com.yandex.ydb.table.YdbTable.TransactionMeta value) { if (txMetaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } txMeta_ = value; onChanged(); } else { txMetaBuilder_.setMessage(value); } return this; } /** * .Ydb.Table.TransactionMeta tx_meta = 1; */ public Builder setTxMeta( com.yandex.ydb.table.YdbTable.TransactionMeta.Builder builderForValue) { if (txMetaBuilder_ == null) { txMeta_ = builderForValue.build(); onChanged(); } else { txMetaBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Table.TransactionMeta tx_meta = 1; */ public Builder mergeTxMeta(com.yandex.ydb.table.YdbTable.TransactionMeta value) { if (txMetaBuilder_ == null) { if (txMeta_ != null) { txMeta_ = com.yandex.ydb.table.YdbTable.TransactionMeta.newBuilder(txMeta_).mergeFrom(value).buildPartial(); } else { txMeta_ = value; } onChanged(); } else { txMetaBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Table.TransactionMeta tx_meta = 1; */ public Builder clearTxMeta() { if (txMetaBuilder_ == null) { txMeta_ = null; onChanged(); } else { txMeta_ = null; txMetaBuilder_ = null; } return this; } /** * .Ydb.Table.TransactionMeta tx_meta = 1; */ public com.yandex.ydb.table.YdbTable.TransactionMeta.Builder getTxMetaBuilder() { onChanged(); return getTxMetaFieldBuilder().getBuilder(); } /** * .Ydb.Table.TransactionMeta tx_meta = 1; */ public com.yandex.ydb.table.YdbTable.TransactionMetaOrBuilder getTxMetaOrBuilder() { if (txMetaBuilder_ != null) { return txMetaBuilder_.getMessageOrBuilder(); } else { return txMeta_ == null ? com.yandex.ydb.table.YdbTable.TransactionMeta.getDefaultInstance() : txMeta_; } } /** * .Ydb.Table.TransactionMeta tx_meta = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.TransactionMeta, com.yandex.ydb.table.YdbTable.TransactionMeta.Builder, com.yandex.ydb.table.YdbTable.TransactionMetaOrBuilder> getTxMetaFieldBuilder() { if (txMetaBuilder_ == null) { txMetaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.TransactionMeta, com.yandex.ydb.table.YdbTable.TransactionMeta.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.BeginTransactionResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.BeginTransactionResult(); } public static com.yandex.ydb.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 { return new BeginTransactionResult(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 3; */ com.yandex.ydb.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. */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CommitTransactionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); sessionId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); txId_ = s; break; } case 26: { com.yandex.ydb.OperationProtos.OperationParams.Builder subBuilder = null; if (operationParams_ != null) { subBuilder = operationParams_.toBuilder(); } operationParams_ = input.readMessage(com.yandex.ydb.OperationProtos.OperationParams.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operationParams_); operationParams_ = subBuilder.buildPartial(); } break; } case 32: { int rawValue = input.readEnum(); collectStats_ = rawValue; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CommitTransactionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CommitTransactionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CommitTransactionRequest.class, com.yandex.ydb.table.YdbTable.CommitTransactionRequest.Builder.class); } public static final int SESSION_ID_FIELD_NUMBER = 1; 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; 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 com.yandex.ydb.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 3; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 3; * @return The operationParams. */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return getOperationParams(); } public static final int COLLECT_STATS_FIELD_NUMBER = 4; private int collectStats_; /** * .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 com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode getCollectStats() { @SuppressWarnings("deprecation") com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode result = com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode.valueOf(collectStats_); return result == null ? com.yandex.ydb.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 (!getSessionIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_); } if (!getTxIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, txId_); } if (operationParams_ != null) { output.writeMessage(3, getOperationParams()); } if (collectStats_ != com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode.STATS_COLLECTION_UNSPECIFIED.getNumber()) { output.writeEnum(4, collectStats_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getSessionIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_); } if (!getTxIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, txId_); } if (operationParams_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getOperationParams()); } if (collectStats_ != com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode.STATS_COLLECTION_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, collectStats_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.CommitTransactionRequest)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.CommitTransactionRequest other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.CommitTransactionRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CommitTransactionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CommitTransactionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.CommitTransactionRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.CommitTransactionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CommitTransactionRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CommitTransactionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.CommitTransactionRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CommitTransactionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CommitTransactionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CommitTransactionRequest.class, com.yandex.ydb.table.YdbTable.CommitTransactionRequest.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); sessionId_ = ""; txId_ = ""; if (operationParamsBuilder_ == null) { operationParams_ = null; } else { operationParams_ = null; operationParamsBuilder_ = null; } collectStats_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CommitTransactionRequest_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CommitTransactionRequest getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.CommitTransactionRequest.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.CommitTransactionRequest build() { com.yandex.ydb.table.YdbTable.CommitTransactionRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CommitTransactionRequest buildPartial() { com.yandex.ydb.table.YdbTable.CommitTransactionRequest result = new com.yandex.ydb.table.YdbTable.CommitTransactionRequest(this); result.sessionId_ = sessionId_; result.txId_ = txId_; if (operationParamsBuilder_ == null) { result.operationParams_ = operationParams_; } else { result.operationParams_ = operationParamsBuilder_.build(); } result.collectStats_ = collectStats_; 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 com.yandex.ydb.table.YdbTable.CommitTransactionRequest) { return mergeFrom((com.yandex.ydb.table.YdbTable.CommitTransactionRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.CommitTransactionRequest other) { if (other == com.yandex.ydb.table.YdbTable.CommitTransactionRequest.getDefaultInstance()) return this; if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; onChanged(); } if (!other.getTxId().isEmpty()) { txId_ = other.txId_; onChanged(); } if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } if (other.collectStats_ != 0) { setCollectStatsValue(other.getCollectStatsValue()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.CommitTransactionRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.CommitTransactionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); 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; 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; onChanged(); return this; } /** *
       * Transaction identifier
       * 
* * string tx_id = 2; * @return This builder for chaining. */ public Builder clearTxId() { txId_ = getDefaultInstance().getTxId(); 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; onChanged(); return this; } private com.yandex.ydb.OperationProtos.OperationParams operationParams_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> operationParamsBuilder_; /** * .Ydb.Operations.OperationParams operation_params = 3; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return operationParamsBuilder_ != null || operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 3; * @return The operationParams. */ public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { if (operationParamsBuilder_ == null) { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } else { return operationParamsBuilder_.getMessage(); } } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder setOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operationParams_ = value; onChanged(); } else { operationParamsBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder setOperationParams( com.yandex.ydb.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); onChanged(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder mergeOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (operationParams_ != null) { operationParams_ = com.yandex.ydb.OperationProtos.OperationParams.newBuilder(operationParams_).mergeFrom(value).buildPartial(); } else { operationParams_ = value; } onChanged(); } else { operationParamsBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder clearOperationParams() { if (operationParamsBuilder_ == null) { operationParams_ = null; onChanged(); } else { operationParams_ = null; operationParamsBuilder_ = null; } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public com.yandex.ydb.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { if (operationParamsBuilder_ != null) { return operationParamsBuilder_.getMessageOrBuilder(); } else { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } } /** * .Ydb.Operations.OperationParams operation_params = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> getOperationParamsFieldBuilder() { if (operationParamsBuilder_ == null) { operationParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.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; onChanged(); return this; } /** * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 4; * @return The collectStats. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode getCollectStats() { @SuppressWarnings("deprecation") com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode result = com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode.valueOf(collectStats_); return result == null ? com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode value) { if (value == null) { throw new NullPointerException(); } collectStats_ = value.getNumber(); onChanged(); return this; } /** * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 4; * @return This builder for chaining. */ public Builder clearCollectStats() { 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 com.yandex.ydb.table.YdbTable.CommitTransactionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.CommitTransactionRequest(); } public static com.yandex.ydb.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 { return new CommitTransactionRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.Operation getOperation(); /** * .Ydb.Operations.Operation operation = 1; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CommitTransactionResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.OperationProtos.Operation.Builder subBuilder = null; if (operation_ != null) { subBuilder = operation_.toBuilder(); } operation_ = input.readMessage(com.yandex.ydb.OperationProtos.Operation.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operation_); operation_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CommitTransactionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CommitTransactionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CommitTransactionResponse.class, com.yandex.ydb.table.YdbTable.CommitTransactionResponse.Builder.class); } public static final int OPERATION_FIELD_NUMBER = 1; private com.yandex.ydb.OperationProtos.Operation operation_; /** * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ @java.lang.Override public boolean hasOperation() { return operation_ != null; } /** * .Ydb.Operations.Operation operation = 1; * @return The operation. */ @java.lang.Override public com.yandex.ydb.OperationProtos.Operation getOperation() { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } /** * .Ydb.Operations.Operation operation = 1; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { return getOperation(); } 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 (operation_ != null) { output.writeMessage(1, getOperation()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (operation_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getOperation()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.CommitTransactionResponse)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.CommitTransactionResponse other = (com.yandex.ydb.table.YdbTable.CommitTransactionResponse) obj; if (hasOperation() != other.hasOperation()) return false; if (hasOperation()) { if (!getOperation() .equals(other.getOperation())) return false; } if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.CommitTransactionResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CommitTransactionResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CommitTransactionResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.CommitTransactionResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.CommitTransactionResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CommitTransactionResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CommitTransactionResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.CommitTransactionResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CommitTransactionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CommitTransactionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CommitTransactionResponse.class, com.yandex.ydb.table.YdbTable.CommitTransactionResponse.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); if (operationBuilder_ == null) { operation_ = null; } else { operation_ = null; operationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CommitTransactionResponse_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CommitTransactionResponse getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.CommitTransactionResponse.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.CommitTransactionResponse build() { com.yandex.ydb.table.YdbTable.CommitTransactionResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CommitTransactionResponse buildPartial() { com.yandex.ydb.table.YdbTable.CommitTransactionResponse result = new com.yandex.ydb.table.YdbTable.CommitTransactionResponse(this); if (operationBuilder_ == null) { result.operation_ = operation_; } else { result.operation_ = operationBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.CommitTransactionResponse) { return mergeFrom((com.yandex.ydb.table.YdbTable.CommitTransactionResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.CommitTransactionResponse other) { if (other == com.yandex.ydb.table.YdbTable.CommitTransactionResponse.getDefaultInstance()) return this; if (other.hasOperation()) { mergeOperation(other.getOperation()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.CommitTransactionResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.CommitTransactionResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.yandex.ydb.OperationProtos.Operation operation_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> operationBuilder_; /** * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ public boolean hasOperation() { return operationBuilder_ != null || operation_ != null; } /** * .Ydb.Operations.Operation operation = 1; * @return The operation. */ public com.yandex.ydb.OperationProtos.Operation getOperation() { if (operationBuilder_ == null) { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } else { return operationBuilder_.getMessage(); } } /** * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operation_ = value; onChanged(); } else { operationBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation( com.yandex.ydb.OperationProtos.Operation.Builder builderForValue) { if (operationBuilder_ == null) { operation_ = builderForValue.build(); onChanged(); } else { operationBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder mergeOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (operation_ != null) { operation_ = com.yandex.ydb.OperationProtos.Operation.newBuilder(operation_).mergeFrom(value).buildPartial(); } else { operation_ = value; } onChanged(); } else { operationBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder clearOperation() { if (operationBuilder_ == null) { operation_ = null; onChanged(); } else { operation_ = null; operationBuilder_ = null; } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.Operation.Builder getOperationBuilder() { onChanged(); return getOperationFieldBuilder().getBuilder(); } /** * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { if (operationBuilder_ != null) { return operationBuilder_.getMessageOrBuilder(); } else { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } } /** * .Ydb.Operations.Operation operation = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> getOperationFieldBuilder() { if (operationBuilder_ == null) { operationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CommitTransactionResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.CommitTransactionResponse(); } public static com.yandex.ydb.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 { return new CommitTransactionResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.YdbQueryStats.QueryStats getQueryStats(); /** * .Ydb.TableStats.QueryStats query_stats = 1; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CommitTransactionResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.YdbQueryStats.QueryStats.Builder subBuilder = null; if (queryStats_ != null) { subBuilder = queryStats_.toBuilder(); } queryStats_ = input.readMessage(com.yandex.ydb.YdbQueryStats.QueryStats.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(queryStats_); queryStats_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CommitTransactionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CommitTransactionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CommitTransactionResult.class, com.yandex.ydb.table.YdbTable.CommitTransactionResult.Builder.class); } public static final int QUERY_STATS_FIELD_NUMBER = 1; private com.yandex.ydb.YdbQueryStats.QueryStats queryStats_; /** * .Ydb.TableStats.QueryStats query_stats = 1; * @return Whether the queryStats field is set. */ @java.lang.Override public boolean hasQueryStats() { return queryStats_ != null; } /** * .Ydb.TableStats.QueryStats query_stats = 1; * @return The queryStats. */ @java.lang.Override public com.yandex.ydb.YdbQueryStats.QueryStats getQueryStats() { return queryStats_ == null ? com.yandex.ydb.YdbQueryStats.QueryStats.getDefaultInstance() : queryStats_; } /** * .Ydb.TableStats.QueryStats query_stats = 1; */ @java.lang.Override public com.yandex.ydb.YdbQueryStats.QueryStatsOrBuilder getQueryStatsOrBuilder() { return getQueryStats(); } 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 (queryStats_ != null) { output.writeMessage(1, getQueryStats()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (queryStats_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getQueryStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.CommitTransactionResult)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.CommitTransactionResult other = (com.yandex.ydb.table.YdbTable.CommitTransactionResult) obj; if (hasQueryStats() != other.hasQueryStats()) return false; if (hasQueryStats()) { if (!getQueryStats() .equals(other.getQueryStats())) return false; } if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.CommitTransactionResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CommitTransactionResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CommitTransactionResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.CommitTransactionResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.CommitTransactionResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CommitTransactionResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CommitTransactionResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.CommitTransactionResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CommitTransactionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CommitTransactionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CommitTransactionResult.class, com.yandex.ydb.table.YdbTable.CommitTransactionResult.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); if (queryStatsBuilder_ == null) { queryStats_ = null; } else { queryStats_ = null; queryStatsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CommitTransactionResult_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CommitTransactionResult getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.CommitTransactionResult.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.CommitTransactionResult build() { com.yandex.ydb.table.YdbTable.CommitTransactionResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CommitTransactionResult buildPartial() { com.yandex.ydb.table.YdbTable.CommitTransactionResult result = new com.yandex.ydb.table.YdbTable.CommitTransactionResult(this); if (queryStatsBuilder_ == null) { result.queryStats_ = queryStats_; } else { result.queryStats_ = queryStatsBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.CommitTransactionResult) { return mergeFrom((com.yandex.ydb.table.YdbTable.CommitTransactionResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.CommitTransactionResult other) { if (other == com.yandex.ydb.table.YdbTable.CommitTransactionResult.getDefaultInstance()) return this; if (other.hasQueryStats()) { mergeQueryStats(other.getQueryStats()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.CommitTransactionResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.CommitTransactionResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.yandex.ydb.YdbQueryStats.QueryStats queryStats_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.YdbQueryStats.QueryStats, com.yandex.ydb.YdbQueryStats.QueryStats.Builder, com.yandex.ydb.YdbQueryStats.QueryStatsOrBuilder> queryStatsBuilder_; /** * .Ydb.TableStats.QueryStats query_stats = 1; * @return Whether the queryStats field is set. */ public boolean hasQueryStats() { return queryStatsBuilder_ != null || queryStats_ != null; } /** * .Ydb.TableStats.QueryStats query_stats = 1; * @return The queryStats. */ public com.yandex.ydb.YdbQueryStats.QueryStats getQueryStats() { if (queryStatsBuilder_ == null) { return queryStats_ == null ? com.yandex.ydb.YdbQueryStats.QueryStats.getDefaultInstance() : queryStats_; } else { return queryStatsBuilder_.getMessage(); } } /** * .Ydb.TableStats.QueryStats query_stats = 1; */ public Builder setQueryStats(com.yandex.ydb.YdbQueryStats.QueryStats value) { if (queryStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } queryStats_ = value; onChanged(); } else { queryStatsBuilder_.setMessage(value); } return this; } /** * .Ydb.TableStats.QueryStats query_stats = 1; */ public Builder setQueryStats( com.yandex.ydb.YdbQueryStats.QueryStats.Builder builderForValue) { if (queryStatsBuilder_ == null) { queryStats_ = builderForValue.build(); onChanged(); } else { queryStatsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.TableStats.QueryStats query_stats = 1; */ public Builder mergeQueryStats(com.yandex.ydb.YdbQueryStats.QueryStats value) { if (queryStatsBuilder_ == null) { if (queryStats_ != null) { queryStats_ = com.yandex.ydb.YdbQueryStats.QueryStats.newBuilder(queryStats_).mergeFrom(value).buildPartial(); } else { queryStats_ = value; } onChanged(); } else { queryStatsBuilder_.mergeFrom(value); } return this; } /** * .Ydb.TableStats.QueryStats query_stats = 1; */ public Builder clearQueryStats() { if (queryStatsBuilder_ == null) { queryStats_ = null; onChanged(); } else { queryStats_ = null; queryStatsBuilder_ = null; } return this; } /** * .Ydb.TableStats.QueryStats query_stats = 1; */ public com.yandex.ydb.YdbQueryStats.QueryStats.Builder getQueryStatsBuilder() { onChanged(); return getQueryStatsFieldBuilder().getBuilder(); } /** * .Ydb.TableStats.QueryStats query_stats = 1; */ public com.yandex.ydb.YdbQueryStats.QueryStatsOrBuilder getQueryStatsOrBuilder() { if (queryStatsBuilder_ != null) { return queryStatsBuilder_.getMessageOrBuilder(); } else { return queryStats_ == null ? com.yandex.ydb.YdbQueryStats.QueryStats.getDefaultInstance() : queryStats_; } } /** * .Ydb.TableStats.QueryStats query_stats = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.YdbQueryStats.QueryStats, com.yandex.ydb.YdbQueryStats.QueryStats.Builder, com.yandex.ydb.YdbQueryStats.QueryStatsOrBuilder> getQueryStatsFieldBuilder() { if (queryStatsBuilder_ == null) { queryStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.YdbQueryStats.QueryStats, com.yandex.ydb.YdbQueryStats.QueryStats.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CommitTransactionResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.CommitTransactionResult(); } public static com.yandex.ydb.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 { return new CommitTransactionResult(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 3; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RollbackTransactionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); sessionId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); txId_ = s; break; } case 26: { com.yandex.ydb.OperationProtos.OperationParams.Builder subBuilder = null; if (operationParams_ != null) { subBuilder = operationParams_.toBuilder(); } operationParams_ = input.readMessage(com.yandex.ydb.OperationProtos.OperationParams.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operationParams_); operationParams_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_RollbackTransactionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_RollbackTransactionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.RollbackTransactionRequest.class, com.yandex.ydb.table.YdbTable.RollbackTransactionRequest.Builder.class); } public static final int SESSION_ID_FIELD_NUMBER = 1; 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; 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 com.yandex.ydb.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 3; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 3; * @return The operationParams. */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return getOperationParams(); } 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 (!getSessionIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_); } if (!getTxIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, txId_); } if (operationParams_ != null) { output.writeMessage(3, getOperationParams()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getSessionIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_); } if (!getTxIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, txId_); } if (operationParams_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getOperationParams()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.RollbackTransactionRequest)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.RollbackTransactionRequest other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.RollbackTransactionRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.RollbackTransactionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.RollbackTransactionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.RollbackTransactionRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.RollbackTransactionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.RollbackTransactionRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.RollbackTransactionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.RollbackTransactionRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_RollbackTransactionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_RollbackTransactionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.RollbackTransactionRequest.class, com.yandex.ydb.table.YdbTable.RollbackTransactionRequest.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); sessionId_ = ""; txId_ = ""; if (operationParamsBuilder_ == null) { operationParams_ = null; } else { operationParams_ = null; operationParamsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_RollbackTransactionRequest_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.RollbackTransactionRequest getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.RollbackTransactionRequest.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.RollbackTransactionRequest build() { com.yandex.ydb.table.YdbTable.RollbackTransactionRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.RollbackTransactionRequest buildPartial() { com.yandex.ydb.table.YdbTable.RollbackTransactionRequest result = new com.yandex.ydb.table.YdbTable.RollbackTransactionRequest(this); result.sessionId_ = sessionId_; result.txId_ = txId_; if (operationParamsBuilder_ == null) { result.operationParams_ = operationParams_; } else { result.operationParams_ = operationParamsBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.RollbackTransactionRequest) { return mergeFrom((com.yandex.ydb.table.YdbTable.RollbackTransactionRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.RollbackTransactionRequest other) { if (other == com.yandex.ydb.table.YdbTable.RollbackTransactionRequest.getDefaultInstance()) return this; if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; onChanged(); } if (!other.getTxId().isEmpty()) { txId_ = other.txId_; onChanged(); } if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.RollbackTransactionRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.RollbackTransactionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); 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; 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; onChanged(); return this; } /** *
       * Transaction identifier
       * 
* * string tx_id = 2; * @return This builder for chaining. */ public Builder clearTxId() { txId_ = getDefaultInstance().getTxId(); 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; onChanged(); return this; } private com.yandex.ydb.OperationProtos.OperationParams operationParams_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> operationParamsBuilder_; /** * .Ydb.Operations.OperationParams operation_params = 3; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return operationParamsBuilder_ != null || operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 3; * @return The operationParams. */ public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { if (operationParamsBuilder_ == null) { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } else { return operationParamsBuilder_.getMessage(); } } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder setOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operationParams_ = value; onChanged(); } else { operationParamsBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder setOperationParams( com.yandex.ydb.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); onChanged(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder mergeOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (operationParams_ != null) { operationParams_ = com.yandex.ydb.OperationProtos.OperationParams.newBuilder(operationParams_).mergeFrom(value).buildPartial(); } else { operationParams_ = value; } onChanged(); } else { operationParamsBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder clearOperationParams() { if (operationParamsBuilder_ == null) { operationParams_ = null; onChanged(); } else { operationParams_ = null; operationParamsBuilder_ = null; } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public com.yandex.ydb.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { if (operationParamsBuilder_ != null) { return operationParamsBuilder_.getMessageOrBuilder(); } else { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } } /** * .Ydb.Operations.OperationParams operation_params = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> getOperationParamsFieldBuilder() { if (operationParamsBuilder_ == null) { operationParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.RollbackTransactionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.RollbackTransactionRequest(); } public static com.yandex.ydb.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 { return new RollbackTransactionRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.Operation getOperation(); /** * .Ydb.Operations.Operation operation = 1; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RollbackTransactionResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.OperationProtos.Operation.Builder subBuilder = null; if (operation_ != null) { subBuilder = operation_.toBuilder(); } operation_ = input.readMessage(com.yandex.ydb.OperationProtos.Operation.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operation_); operation_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_RollbackTransactionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_RollbackTransactionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.RollbackTransactionResponse.class, com.yandex.ydb.table.YdbTable.RollbackTransactionResponse.Builder.class); } public static final int OPERATION_FIELD_NUMBER = 1; private com.yandex.ydb.OperationProtos.Operation operation_; /** * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ @java.lang.Override public boolean hasOperation() { return operation_ != null; } /** * .Ydb.Operations.Operation operation = 1; * @return The operation. */ @java.lang.Override public com.yandex.ydb.OperationProtos.Operation getOperation() { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } /** * .Ydb.Operations.Operation operation = 1; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { return getOperation(); } 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 (operation_ != null) { output.writeMessage(1, getOperation()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (operation_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getOperation()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.RollbackTransactionResponse)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.RollbackTransactionResponse other = (com.yandex.ydb.table.YdbTable.RollbackTransactionResponse) obj; if (hasOperation() != other.hasOperation()) return false; if (hasOperation()) { if (!getOperation() .equals(other.getOperation())) return false; } if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.RollbackTransactionResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.RollbackTransactionResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.RollbackTransactionResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.RollbackTransactionResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.RollbackTransactionResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.RollbackTransactionResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.RollbackTransactionResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.RollbackTransactionResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_RollbackTransactionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_RollbackTransactionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.RollbackTransactionResponse.class, com.yandex.ydb.table.YdbTable.RollbackTransactionResponse.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); if (operationBuilder_ == null) { operation_ = null; } else { operation_ = null; operationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_RollbackTransactionResponse_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.RollbackTransactionResponse getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.RollbackTransactionResponse.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.RollbackTransactionResponse build() { com.yandex.ydb.table.YdbTable.RollbackTransactionResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.RollbackTransactionResponse buildPartial() { com.yandex.ydb.table.YdbTable.RollbackTransactionResponse result = new com.yandex.ydb.table.YdbTable.RollbackTransactionResponse(this); if (operationBuilder_ == null) { result.operation_ = operation_; } else { result.operation_ = operationBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.RollbackTransactionResponse) { return mergeFrom((com.yandex.ydb.table.YdbTable.RollbackTransactionResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.RollbackTransactionResponse other) { if (other == com.yandex.ydb.table.YdbTable.RollbackTransactionResponse.getDefaultInstance()) return this; if (other.hasOperation()) { mergeOperation(other.getOperation()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.RollbackTransactionResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.RollbackTransactionResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.yandex.ydb.OperationProtos.Operation operation_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> operationBuilder_; /** * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ public boolean hasOperation() { return operationBuilder_ != null || operation_ != null; } /** * .Ydb.Operations.Operation operation = 1; * @return The operation. */ public com.yandex.ydb.OperationProtos.Operation getOperation() { if (operationBuilder_ == null) { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } else { return operationBuilder_.getMessage(); } } /** * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operation_ = value; onChanged(); } else { operationBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation( com.yandex.ydb.OperationProtos.Operation.Builder builderForValue) { if (operationBuilder_ == null) { operation_ = builderForValue.build(); onChanged(); } else { operationBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder mergeOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (operation_ != null) { operation_ = com.yandex.ydb.OperationProtos.Operation.newBuilder(operation_).mergeFrom(value).buildPartial(); } else { operation_ = value; } onChanged(); } else { operationBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder clearOperation() { if (operationBuilder_ == null) { operation_ = null; onChanged(); } else { operation_ = null; operationBuilder_ = null; } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.Operation.Builder getOperationBuilder() { onChanged(); return getOperationFieldBuilder().getBuilder(); } /** * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { if (operationBuilder_ != null) { return operationBuilder_.getMessageOrBuilder(); } else { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } } /** * .Ydb.Operations.Operation operation = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> getOperationFieldBuilder() { if (operationBuilder_ == null) { operationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.RollbackTransactionResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.RollbackTransactionResponse(); } public static com.yandex.ydb.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 { return new RollbackTransactionResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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; */ java.lang.String getLabelsOrDefault( java.lang.String key, 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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StoragePolicyDescription( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); name_ = s; break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { labels_ = com.google.protobuf.MapField.newMapField( LabelsDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry labels__ = input.readMessage( LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); labels_.getMutableMap().put( labels__.getKey(), labels__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_StoragePolicyDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.StoragePolicyDescription.class, com.yandex.ydb.table.YdbTable.StoragePolicyDescription.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; 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( com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_StoragePolicyDescription_LabelsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } 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 java.lang.NullPointerException(); } 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 java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } 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 java.lang.NullPointerException(); } 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 2); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getNameBytes().isEmpty()) { 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 += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.StoragePolicyDescription)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.StoragePolicyDescription other = (com.yandex.ydb.table.YdbTable.StoragePolicyDescription) obj; if (!getName() .equals(other.getName())) return false; if (!internalGetLabels().equals( other.internalGetLabels())) return false; if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.StoragePolicyDescription parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.StoragePolicyDescription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.StoragePolicyDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.StoragePolicyDescription parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.StoragePolicyDescription parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.StoragePolicyDescription parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.StoragePolicyDescription parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.StoragePolicyDescriptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_StoragePolicyDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.StoragePolicyDescription.class, com.yandex.ydb.table.YdbTable.StoragePolicyDescription.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.StoragePolicyDescription.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; internalGetMutableLabels().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_StoragePolicyDescription_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.StoragePolicyDescription getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.StoragePolicyDescription.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.StoragePolicyDescription build() { com.yandex.ydb.table.YdbTable.StoragePolicyDescription result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.StoragePolicyDescription buildPartial() { com.yandex.ydb.table.YdbTable.StoragePolicyDescription result = new com.yandex.ydb.table.YdbTable.StoragePolicyDescription(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.labels_ = internalGetLabels(); result.labels_.makeImmutable(); 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 com.yandex.ydb.table.YdbTable.StoragePolicyDescription) { return mergeFrom((com.yandex.ydb.table.YdbTable.StoragePolicyDescription)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.StoragePolicyDescription other) { if (other == com.yandex.ydb.table.YdbTable.StoragePolicyDescription.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } internalGetMutableLabels().mergeFrom( other.internalGetLabels()); this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.StoragePolicyDescription parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.StoragePolicyDescription) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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; onChanged(); return this; } /** * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); 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; 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() { onChanged();; if (labels_ == null) { labels_ = com.google.protobuf.MapField.newMapField( LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); } 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 java.lang.NullPointerException(); } 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 java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } 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 java.lang.NullPointerException(); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearLabels() { internalGetMutableLabels().getMutableMap() .clear(); return this; } /** * map<string, string> labels = 2; */ public Builder removeLabels( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableLabels().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** * map<string, string> labels = 2; */ public Builder putLabels( java.lang.String key, java.lang.String value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableLabels().getMutableMap() .put(key, value); return this; } /** * map<string, string> labels = 2; */ public Builder putAllLabels( java.util.Map values) { internalGetMutableLabels().getMutableMap() .putAll(values); 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 com.yandex.ydb.table.YdbTable.StoragePolicyDescription DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.StoragePolicyDescription(); } public static com.yandex.ydb.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 { return new StoragePolicyDescription(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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; */ java.lang.String getLabelsOrDefault( java.lang.String key, 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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CompactionPolicyDescription( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); name_ = s; break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { labels_ = com.google.protobuf.MapField.newMapField( LabelsDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry labels__ = input.readMessage( LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); labels_.getMutableMap().put( labels__.getKey(), labels__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CompactionPolicyDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CompactionPolicyDescription.class, com.yandex.ydb.table.YdbTable.CompactionPolicyDescription.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; 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( com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CompactionPolicyDescription_LabelsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } 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 java.lang.NullPointerException(); } 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 java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } 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 java.lang.NullPointerException(); } 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 2); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getNameBytes().isEmpty()) { 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 += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.CompactionPolicyDescription)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.CompactionPolicyDescription other = (com.yandex.ydb.table.YdbTable.CompactionPolicyDescription) obj; if (!getName() .equals(other.getName())) return false; if (!internalGetLabels().equals( other.internalGetLabels())) return false; if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.CompactionPolicyDescription parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CompactionPolicyDescription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CompactionPolicyDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.CompactionPolicyDescription parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.CompactionPolicyDescription parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CompactionPolicyDescription parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CompactionPolicyDescription parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.CompactionPolicyDescriptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CompactionPolicyDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CompactionPolicyDescription.class, com.yandex.ydb.table.YdbTable.CompactionPolicyDescription.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.CompactionPolicyDescription.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; internalGetMutableLabels().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CompactionPolicyDescription_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CompactionPolicyDescription getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.CompactionPolicyDescription.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.CompactionPolicyDescription build() { com.yandex.ydb.table.YdbTable.CompactionPolicyDescription result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CompactionPolicyDescription buildPartial() { com.yandex.ydb.table.YdbTable.CompactionPolicyDescription result = new com.yandex.ydb.table.YdbTable.CompactionPolicyDescription(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.labels_ = internalGetLabels(); result.labels_.makeImmutable(); 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 com.yandex.ydb.table.YdbTable.CompactionPolicyDescription) { return mergeFrom((com.yandex.ydb.table.YdbTable.CompactionPolicyDescription)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.CompactionPolicyDescription other) { if (other == com.yandex.ydb.table.YdbTable.CompactionPolicyDescription.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } internalGetMutableLabels().mergeFrom( other.internalGetLabels()); this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.CompactionPolicyDescription parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.CompactionPolicyDescription) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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; onChanged(); return this; } /** * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); 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; 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() { onChanged();; if (labels_ == null) { labels_ = com.google.protobuf.MapField.newMapField( LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); } 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 java.lang.NullPointerException(); } 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 java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } 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 java.lang.NullPointerException(); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearLabels() { internalGetMutableLabels().getMutableMap() .clear(); return this; } /** * map<string, string> labels = 2; */ public Builder removeLabels( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableLabels().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** * map<string, string> labels = 2; */ public Builder putLabels( java.lang.String key, java.lang.String value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableLabels().getMutableMap() .put(key, value); return this; } /** * map<string, string> labels = 2; */ public Builder putAllLabels( java.util.Map values) { internalGetMutableLabels().getMutableMap() .putAll(values); 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 com.yandex.ydb.table.YdbTable.CompactionPolicyDescription DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.CompactionPolicyDescription(); } public static com.yandex.ydb.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 { return new CompactionPolicyDescription(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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; */ java.lang.String getLabelsOrDefault( java.lang.String key, 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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PartitioningPolicyDescription( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); name_ = s; break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { labels_ = com.google.protobuf.MapField.newMapField( LabelsDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry labels__ = input.readMessage( LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); labels_.getMutableMap().put( labels__.getKey(), labels__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_PartitioningPolicyDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription.class, com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; 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( com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_PartitioningPolicyDescription_LabelsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } 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 java.lang.NullPointerException(); } 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 java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } 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 java.lang.NullPointerException(); } 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 2); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getNameBytes().isEmpty()) { 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 += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription other = (com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription) obj; if (!getName() .equals(other.getName())) return false; if (!internalGetLabels().equals( other.internalGetLabels())) return false; if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.PartitioningPolicyDescriptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_PartitioningPolicyDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription.class, com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; internalGetMutableLabels().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_PartitioningPolicyDescription_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription build() { com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription buildPartial() { com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription result = new com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.labels_ = internalGetLabels(); result.labels_.makeImmutable(); 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 com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription) { return mergeFrom((com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription other) { if (other == com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } internalGetMutableLabels().mergeFrom( other.internalGetLabels()); this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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; onChanged(); return this; } /** * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); 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; 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() { onChanged();; if (labels_ == null) { labels_ = com.google.protobuf.MapField.newMapField( LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); } 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 java.lang.NullPointerException(); } 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 java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } 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 java.lang.NullPointerException(); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearLabels() { internalGetMutableLabels().getMutableMap() .clear(); return this; } /** * map<string, string> labels = 2; */ public Builder removeLabels( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableLabels().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** * map<string, string> labels = 2; */ public Builder putLabels( java.lang.String key, java.lang.String value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableLabels().getMutableMap() .put(key, value); return this; } /** * map<string, string> labels = 2; */ public Builder putAllLabels( java.util.Map values) { internalGetMutableLabels().getMutableMap() .putAll(values); 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 com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription(); } public static com.yandex.ydb.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 { return new PartitioningPolicyDescription(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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; */ java.lang.String getLabelsOrDefault( java.lang.String key, 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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExecutionPolicyDescription( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); name_ = s; break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { labels_ = com.google.protobuf.MapField.newMapField( LabelsDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry labels__ = input.readMessage( LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); labels_.getMutableMap().put( labels__.getKey(), labels__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecutionPolicyDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription.class, com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; 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( com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecutionPolicyDescription_LabelsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } 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 java.lang.NullPointerException(); } 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 java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } 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 java.lang.NullPointerException(); } 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 2); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getNameBytes().isEmpty()) { 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 += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription other = (com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription) obj; if (!getName() .equals(other.getName())) return false; if (!internalGetLabels().equals( other.internalGetLabels())) return false; if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.ExecutionPolicyDescriptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecutionPolicyDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription.class, com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; internalGetMutableLabels().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecutionPolicyDescription_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription build() { com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription buildPartial() { com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription result = new com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.labels_ = internalGetLabels(); result.labels_.makeImmutable(); 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 com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription) { return mergeFrom((com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription other) { if (other == com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } internalGetMutableLabels().mergeFrom( other.internalGetLabels()); this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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; onChanged(); return this; } /** * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); 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; 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() { onChanged();; if (labels_ == null) { labels_ = com.google.protobuf.MapField.newMapField( LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); } 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 java.lang.NullPointerException(); } 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 java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } 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 java.lang.NullPointerException(); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearLabels() { internalGetMutableLabels().getMutableMap() .clear(); return this; } /** * map<string, string> labels = 2; */ public Builder removeLabels( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableLabels().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** * map<string, string> labels = 2; */ public Builder putLabels( java.lang.String key, java.lang.String value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableLabels().getMutableMap() .put(key, value); return this; } /** * map<string, string> labels = 2; */ public Builder putAllLabels( java.util.Map values) { internalGetMutableLabels().getMutableMap() .putAll(values); 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 com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription(); } public static com.yandex.ydb.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 { return new ExecutionPolicyDescription(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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; */ java.lang.String getLabelsOrDefault( java.lang.String key, 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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ReplicationPolicyDescription( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); name_ = s; break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { labels_ = com.google.protobuf.MapField.newMapField( LabelsDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry labels__ = input.readMessage( LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); labels_.getMutableMap().put( labels__.getKey(), labels__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ReplicationPolicyDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription.class, com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; 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( com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ReplicationPolicyDescription_LabelsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } 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 java.lang.NullPointerException(); } 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 java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } 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 java.lang.NullPointerException(); } 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 2); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getNameBytes().isEmpty()) { 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 += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription other = (com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription) obj; if (!getName() .equals(other.getName())) return false; if (!internalGetLabels().equals( other.internalGetLabels())) return false; if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.ReplicationPolicyDescriptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ReplicationPolicyDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription.class, com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; internalGetMutableLabels().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ReplicationPolicyDescription_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription build() { com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription buildPartial() { com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription result = new com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.labels_ = internalGetLabels(); result.labels_.makeImmutable(); 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 com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription) { return mergeFrom((com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription other) { if (other == com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } internalGetMutableLabels().mergeFrom( other.internalGetLabels()); this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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; onChanged(); return this; } /** * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); 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; 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() { onChanged();; if (labels_ == null) { labels_ = com.google.protobuf.MapField.newMapField( LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); } 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 java.lang.NullPointerException(); } 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 java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } 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 java.lang.NullPointerException(); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearLabels() { internalGetMutableLabels().getMutableMap() .clear(); return this; } /** * map<string, string> labels = 2; */ public Builder removeLabels( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableLabels().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** * map<string, string> labels = 2; */ public Builder putLabels( java.lang.String key, java.lang.String value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableLabels().getMutableMap() .put(key, value); return this; } /** * map<string, string> labels = 2; */ public Builder putAllLabels( java.util.Map values) { internalGetMutableLabels().getMutableMap() .putAll(values); 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 com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription(); } public static com.yandex.ydb.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 { return new ReplicationPolicyDescription(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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; */ java.lang.String getLabelsOrDefault( java.lang.String key, 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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CachingPolicyDescription( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); name_ = s; break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { labels_ = com.google.protobuf.MapField.newMapField( LabelsDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry labels__ = input.readMessage( LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); labels_.getMutableMap().put( labels__.getKey(), labels__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CachingPolicyDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CachingPolicyDescription.class, com.yandex.ydb.table.YdbTable.CachingPolicyDescription.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; 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( com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CachingPolicyDescription_LabelsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } 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 java.lang.NullPointerException(); } 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 java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } 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 java.lang.NullPointerException(); } 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 2); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getNameBytes().isEmpty()) { 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 += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.CachingPolicyDescription)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.CachingPolicyDescription other = (com.yandex.ydb.table.YdbTable.CachingPolicyDescription) obj; if (!getName() .equals(other.getName())) return false; if (!internalGetLabels().equals( other.internalGetLabels())) return false; if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.CachingPolicyDescription parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CachingPolicyDescription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CachingPolicyDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.CachingPolicyDescription parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.CachingPolicyDescription parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CachingPolicyDescription parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CachingPolicyDescription parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.CachingPolicyDescriptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CachingPolicyDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.CachingPolicyDescription.class, com.yandex.ydb.table.YdbTable.CachingPolicyDescription.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.CachingPolicyDescription.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; internalGetMutableLabels().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_CachingPolicyDescription_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CachingPolicyDescription getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.CachingPolicyDescription.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.CachingPolicyDescription build() { com.yandex.ydb.table.YdbTable.CachingPolicyDescription result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.CachingPolicyDescription buildPartial() { com.yandex.ydb.table.YdbTable.CachingPolicyDescription result = new com.yandex.ydb.table.YdbTable.CachingPolicyDescription(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.labels_ = internalGetLabels(); result.labels_.makeImmutable(); 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 com.yandex.ydb.table.YdbTable.CachingPolicyDescription) { return mergeFrom((com.yandex.ydb.table.YdbTable.CachingPolicyDescription)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.CachingPolicyDescription other) { if (other == com.yandex.ydb.table.YdbTable.CachingPolicyDescription.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } internalGetMutableLabels().mergeFrom( other.internalGetLabels()); this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.CachingPolicyDescription parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.CachingPolicyDescription) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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; onChanged(); return this; } /** * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); 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; 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() { onChanged();; if (labels_ == null) { labels_ = com.google.protobuf.MapField.newMapField( LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); } 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 java.lang.NullPointerException(); } 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 java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } 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 java.lang.NullPointerException(); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearLabels() { internalGetMutableLabels().getMutableMap() .clear(); return this; } /** * map<string, string> labels = 2; */ public Builder removeLabels( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableLabels().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** * map<string, string> labels = 2; */ public Builder putLabels( java.lang.String key, java.lang.String value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableLabels().getMutableMap() .put(key, value); return this; } /** * map<string, string> labels = 2; */ public Builder putAllLabels( java.util.Map values) { internalGetMutableLabels().getMutableMap() .putAll(values); 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 com.yandex.ydb.table.YdbTable.CachingPolicyDescription DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.CachingPolicyDescription(); } public static com.yandex.ydb.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 { return new CachingPolicyDescription(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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; */ java.lang.String getLabelsOrDefault( java.lang.String key, 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.EMPTY; defaultCompactionPolicy_ = ""; allowedCompactionPolicies_ = com.google.protobuf.LazyStringArrayList.EMPTY; defaultPartitioningPolicy_ = ""; allowedPartitioningPolicies_ = com.google.protobuf.LazyStringArrayList.EMPTY; defaultExecutionPolicy_ = ""; allowedExecutionPolicies_ = com.google.protobuf.LazyStringArrayList.EMPTY; defaultReplicationPolicy_ = ""; allowedReplicationPolicies_ = com.google.protobuf.LazyStringArrayList.EMPTY; defaultCachingPolicy_ = ""; allowedCachingPolicies_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TableProfileDescription(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TableProfileDescription( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); name_ = s; break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { labels_ = com.google.protobuf.MapField.newMapField( LabelsDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry labels__ = input.readMessage( LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); labels_.getMutableMap().put( labels__.getKey(), labels__.getValue()); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); defaultStoragePolicy_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { allowedStoragePolicies_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; } allowedStoragePolicies_.add(s); break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); defaultCompactionPolicy_ = s; break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000004) != 0)) { allowedCompactionPolicies_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000004; } allowedCompactionPolicies_.add(s); break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); defaultPartitioningPolicy_ = s; break; } case 66: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000008) != 0)) { allowedPartitioningPolicies_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000008; } allowedPartitioningPolicies_.add(s); break; } case 74: { java.lang.String s = input.readStringRequireUtf8(); defaultExecutionPolicy_ = s; break; } case 82: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000010) != 0)) { allowedExecutionPolicies_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000010; } allowedExecutionPolicies_.add(s); break; } case 90: { java.lang.String s = input.readStringRequireUtf8(); defaultReplicationPolicy_ = s; break; } case 98: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000020) != 0)) { allowedReplicationPolicies_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000020; } allowedReplicationPolicies_.add(s); break; } case 106: { java.lang.String s = input.readStringRequireUtf8(); defaultCachingPolicy_ = s; break; } case 114: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000040) != 0)) { allowedCachingPolicies_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000040; } allowedCachingPolicies_.add(s); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) != 0)) { allowedStoragePolicies_ = allowedStoragePolicies_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000004) != 0)) { allowedCompactionPolicies_ = allowedCompactionPolicies_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000008) != 0)) { allowedPartitioningPolicies_ = allowedPartitioningPolicies_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000010) != 0)) { allowedExecutionPolicies_ = allowedExecutionPolicies_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000020) != 0)) { allowedReplicationPolicies_ = allowedReplicationPolicies_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000040) != 0)) { allowedCachingPolicies_ = allowedCachingPolicies_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TableProfileDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.TableProfileDescription.class, com.yandex.ydb.table.YdbTable.TableProfileDescription.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; 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( com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TableProfileDescription_LabelsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } 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 java.lang.NullPointerException(); } 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 java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } 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 java.lang.NullPointerException(); } 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; 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; private com.google.protobuf.LazyStringList allowedStoragePolicies_; /** * 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; 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; private com.google.protobuf.LazyStringList allowedCompactionPolicies_; /** * 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; 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; private com.google.protobuf.LazyStringList allowedPartitioningPolicies_; /** * 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; 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; private com.google.protobuf.LazyStringList allowedExecutionPolicies_; /** * 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; 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; private com.google.protobuf.LazyStringList allowedReplicationPolicies_; /** * 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; 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; private com.google.protobuf.LazyStringList allowedCachingPolicies_; /** * 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 2); if (!getDefaultStoragePolicyBytes().isEmpty()) { 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 (!getDefaultCompactionPolicyBytes().isEmpty()) { 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 (!getDefaultPartitioningPolicyBytes().isEmpty()) { 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 (!getDefaultExecutionPolicyBytes().isEmpty()) { 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 (!getDefaultReplicationPolicyBytes().isEmpty()) { 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 (!getDefaultCachingPolicyBytes().isEmpty()) { 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)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getNameBytes().isEmpty()) { 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 (!getDefaultStoragePolicyBytes().isEmpty()) { 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 (!getDefaultCompactionPolicyBytes().isEmpty()) { 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 (!getDefaultPartitioningPolicyBytes().isEmpty()) { 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 (!getDefaultExecutionPolicyBytes().isEmpty()) { 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 (!getDefaultReplicationPolicyBytes().isEmpty()) { 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 (!getDefaultCachingPolicyBytes().isEmpty()) { 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 += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.TableProfileDescription)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.TableProfileDescription other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.TableProfileDescription parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TableProfileDescription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TableProfileDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.TableProfileDescription parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.TableProfileDescription parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TableProfileDescription parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TableProfileDescription parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.TableProfileDescriptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TableProfileDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.TableProfileDescription.class, com.yandex.ydb.table.YdbTable.TableProfileDescription.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.TableProfileDescription.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; internalGetMutableLabels().clear(); defaultStoragePolicy_ = ""; allowedStoragePolicies_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); defaultCompactionPolicy_ = ""; allowedCompactionPolicies_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); defaultPartitioningPolicy_ = ""; allowedPartitioningPolicies_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000008); defaultExecutionPolicy_ = ""; allowedExecutionPolicies_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000010); defaultReplicationPolicy_ = ""; allowedReplicationPolicies_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000020); defaultCachingPolicy_ = ""; allowedCachingPolicies_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000040); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_TableProfileDescription_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.TableProfileDescription getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.TableProfileDescription.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.TableProfileDescription build() { com.yandex.ydb.table.YdbTable.TableProfileDescription result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.TableProfileDescription buildPartial() { com.yandex.ydb.table.YdbTable.TableProfileDescription result = new com.yandex.ydb.table.YdbTable.TableProfileDescription(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.labels_ = internalGetLabels(); result.labels_.makeImmutable(); result.defaultStoragePolicy_ = defaultStoragePolicy_; if (((bitField0_ & 0x00000002) != 0)) { allowedStoragePolicies_ = allowedStoragePolicies_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } result.allowedStoragePolicies_ = allowedStoragePolicies_; result.defaultCompactionPolicy_ = defaultCompactionPolicy_; if (((bitField0_ & 0x00000004) != 0)) { allowedCompactionPolicies_ = allowedCompactionPolicies_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); } result.allowedCompactionPolicies_ = allowedCompactionPolicies_; result.defaultPartitioningPolicy_ = defaultPartitioningPolicy_; if (((bitField0_ & 0x00000008) != 0)) { allowedPartitioningPolicies_ = allowedPartitioningPolicies_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000008); } result.allowedPartitioningPolicies_ = allowedPartitioningPolicies_; result.defaultExecutionPolicy_ = defaultExecutionPolicy_; if (((bitField0_ & 0x00000010) != 0)) { allowedExecutionPolicies_ = allowedExecutionPolicies_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000010); } result.allowedExecutionPolicies_ = allowedExecutionPolicies_; result.defaultReplicationPolicy_ = defaultReplicationPolicy_; if (((bitField0_ & 0x00000020) != 0)) { allowedReplicationPolicies_ = allowedReplicationPolicies_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000020); } result.allowedReplicationPolicies_ = allowedReplicationPolicies_; result.defaultCachingPolicy_ = defaultCachingPolicy_; if (((bitField0_ & 0x00000040) != 0)) { allowedCachingPolicies_ = allowedCachingPolicies_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000040); } result.allowedCachingPolicies_ = allowedCachingPolicies_; 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 com.yandex.ydb.table.YdbTable.TableProfileDescription) { return mergeFrom((com.yandex.ydb.table.YdbTable.TableProfileDescription)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.TableProfileDescription other) { if (other == com.yandex.ydb.table.YdbTable.TableProfileDescription.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } internalGetMutableLabels().mergeFrom( other.internalGetLabels()); if (!other.getDefaultStoragePolicy().isEmpty()) { defaultStoragePolicy_ = other.defaultStoragePolicy_; onChanged(); } if (!other.allowedStoragePolicies_.isEmpty()) { if (allowedStoragePolicies_.isEmpty()) { allowedStoragePolicies_ = other.allowedStoragePolicies_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureAllowedStoragePoliciesIsMutable(); allowedStoragePolicies_.addAll(other.allowedStoragePolicies_); } onChanged(); } if (!other.getDefaultCompactionPolicy().isEmpty()) { defaultCompactionPolicy_ = other.defaultCompactionPolicy_; onChanged(); } if (!other.allowedCompactionPolicies_.isEmpty()) { if (allowedCompactionPolicies_.isEmpty()) { allowedCompactionPolicies_ = other.allowedCompactionPolicies_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureAllowedCompactionPoliciesIsMutable(); allowedCompactionPolicies_.addAll(other.allowedCompactionPolicies_); } onChanged(); } if (!other.getDefaultPartitioningPolicy().isEmpty()) { defaultPartitioningPolicy_ = other.defaultPartitioningPolicy_; onChanged(); } if (!other.allowedPartitioningPolicies_.isEmpty()) { if (allowedPartitioningPolicies_.isEmpty()) { allowedPartitioningPolicies_ = other.allowedPartitioningPolicies_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureAllowedPartitioningPoliciesIsMutable(); allowedPartitioningPolicies_.addAll(other.allowedPartitioningPolicies_); } onChanged(); } if (!other.getDefaultExecutionPolicy().isEmpty()) { defaultExecutionPolicy_ = other.defaultExecutionPolicy_; onChanged(); } if (!other.allowedExecutionPolicies_.isEmpty()) { if (allowedExecutionPolicies_.isEmpty()) { allowedExecutionPolicies_ = other.allowedExecutionPolicies_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureAllowedExecutionPoliciesIsMutable(); allowedExecutionPolicies_.addAll(other.allowedExecutionPolicies_); } onChanged(); } if (!other.getDefaultReplicationPolicy().isEmpty()) { defaultReplicationPolicy_ = other.defaultReplicationPolicy_; onChanged(); } if (!other.allowedReplicationPolicies_.isEmpty()) { if (allowedReplicationPolicies_.isEmpty()) { allowedReplicationPolicies_ = other.allowedReplicationPolicies_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureAllowedReplicationPoliciesIsMutable(); allowedReplicationPolicies_.addAll(other.allowedReplicationPolicies_); } onChanged(); } if (!other.getDefaultCachingPolicy().isEmpty()) { defaultCachingPolicy_ = other.defaultCachingPolicy_; onChanged(); } if (!other.allowedCachingPolicies_.isEmpty()) { if (allowedCachingPolicies_.isEmpty()) { allowedCachingPolicies_ = other.allowedCachingPolicies_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureAllowedCachingPoliciesIsMutable(); allowedCachingPolicies_.addAll(other.allowedCachingPolicies_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.TableProfileDescription parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.TableProfileDescription) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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; onChanged(); return this; } /** * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); 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; 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() { onChanged();; if (labels_ == null) { labels_ = com.google.protobuf.MapField.newMapField( LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); } 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 java.lang.NullPointerException(); } 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 java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } 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 java.lang.NullPointerException(); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearLabels() { internalGetMutableLabels().getMutableMap() .clear(); return this; } /** * map<string, string> labels = 2; */ public Builder removeLabels( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableLabels().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** * map<string, string> labels = 2; */ public Builder putLabels( java.lang.String key, java.lang.String value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableLabels().getMutableMap() .put(key, value); return this; } /** * map<string, string> labels = 2; */ public Builder putAllLabels( java.util.Map values) { internalGetMutableLabels().getMutableMap() .putAll(values); 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; onChanged(); return this; } /** * string default_storage_policy = 3; * @return This builder for chaining. */ public Builder clearDefaultStoragePolicy() { defaultStoragePolicy_ = getDefaultInstance().getDefaultStoragePolicy(); 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; onChanged(); return this; } private com.google.protobuf.LazyStringList allowedStoragePolicies_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAllowedStoragePoliciesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { allowedStoragePolicies_ = new com.google.protobuf.LazyStringArrayList(allowedStoragePolicies_); bitField0_ |= 0x00000002; } } /** * repeated string allowed_storage_policies = 4; * @return A list containing the allowedStoragePolicies. */ public com.google.protobuf.ProtocolStringList getAllowedStoragePoliciesList() { return allowedStoragePolicies_.getUnmodifiableView(); } /** * 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); 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); 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_); onChanged(); return this; } /** * repeated string allowed_storage_policies = 4; * @return This builder for chaining. */ public Builder clearAllowedStoragePolicies() { allowedStoragePolicies_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); 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); 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; onChanged(); return this; } /** * string default_compaction_policy = 5; * @return This builder for chaining. */ public Builder clearDefaultCompactionPolicy() { defaultCompactionPolicy_ = getDefaultInstance().getDefaultCompactionPolicy(); 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; onChanged(); return this; } private com.google.protobuf.LazyStringList allowedCompactionPolicies_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAllowedCompactionPoliciesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { allowedCompactionPolicies_ = new com.google.protobuf.LazyStringArrayList(allowedCompactionPolicies_); bitField0_ |= 0x00000004; } } /** * repeated string allowed_compaction_policies = 6; * @return A list containing the allowedCompactionPolicies. */ public com.google.protobuf.ProtocolStringList getAllowedCompactionPoliciesList() { return allowedCompactionPolicies_.getUnmodifiableView(); } /** * 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); 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); 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_); onChanged(); return this; } /** * repeated string allowed_compaction_policies = 6; * @return This builder for chaining. */ public Builder clearAllowedCompactionPolicies() { allowedCompactionPolicies_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); 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); 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; onChanged(); return this; } /** * string default_partitioning_policy = 7; * @return This builder for chaining. */ public Builder clearDefaultPartitioningPolicy() { defaultPartitioningPolicy_ = getDefaultInstance().getDefaultPartitioningPolicy(); 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; onChanged(); return this; } private com.google.protobuf.LazyStringList allowedPartitioningPolicies_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAllowedPartitioningPoliciesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { allowedPartitioningPolicies_ = new com.google.protobuf.LazyStringArrayList(allowedPartitioningPolicies_); bitField0_ |= 0x00000008; } } /** * repeated string allowed_partitioning_policies = 8; * @return A list containing the allowedPartitioningPolicies. */ public com.google.protobuf.ProtocolStringList getAllowedPartitioningPoliciesList() { return allowedPartitioningPolicies_.getUnmodifiableView(); } /** * 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); 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); 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_); onChanged(); return this; } /** * repeated string allowed_partitioning_policies = 8; * @return This builder for chaining. */ public Builder clearAllowedPartitioningPolicies() { allowedPartitioningPolicies_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000008); 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); 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; onChanged(); return this; } /** * string default_execution_policy = 9; * @return This builder for chaining. */ public Builder clearDefaultExecutionPolicy() { defaultExecutionPolicy_ = getDefaultInstance().getDefaultExecutionPolicy(); 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; onChanged(); return this; } private com.google.protobuf.LazyStringList allowedExecutionPolicies_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAllowedExecutionPoliciesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { allowedExecutionPolicies_ = new com.google.protobuf.LazyStringArrayList(allowedExecutionPolicies_); bitField0_ |= 0x00000010; } } /** * repeated string allowed_execution_policies = 10; * @return A list containing the allowedExecutionPolicies. */ public com.google.protobuf.ProtocolStringList getAllowedExecutionPoliciesList() { return allowedExecutionPolicies_.getUnmodifiableView(); } /** * 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); 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); 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_); onChanged(); return this; } /** * repeated string allowed_execution_policies = 10; * @return This builder for chaining. */ public Builder clearAllowedExecutionPolicies() { allowedExecutionPolicies_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000010); 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); 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; onChanged(); return this; } /** * string default_replication_policy = 11; * @return This builder for chaining. */ public Builder clearDefaultReplicationPolicy() { defaultReplicationPolicy_ = getDefaultInstance().getDefaultReplicationPolicy(); 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; onChanged(); return this; } private com.google.protobuf.LazyStringList allowedReplicationPolicies_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAllowedReplicationPoliciesIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { allowedReplicationPolicies_ = new com.google.protobuf.LazyStringArrayList(allowedReplicationPolicies_); bitField0_ |= 0x00000020; } } /** * repeated string allowed_replication_policies = 12; * @return A list containing the allowedReplicationPolicies. */ public com.google.protobuf.ProtocolStringList getAllowedReplicationPoliciesList() { return allowedReplicationPolicies_.getUnmodifiableView(); } /** * 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); 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); 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_); onChanged(); return this; } /** * repeated string allowed_replication_policies = 12; * @return This builder for chaining. */ public Builder clearAllowedReplicationPolicies() { allowedReplicationPolicies_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000020); 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); 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; onChanged(); return this; } /** * string default_caching_policy = 13; * @return This builder for chaining. */ public Builder clearDefaultCachingPolicy() { defaultCachingPolicy_ = getDefaultInstance().getDefaultCachingPolicy(); 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; onChanged(); return this; } private com.google.protobuf.LazyStringList allowedCachingPolicies_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAllowedCachingPoliciesIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { allowedCachingPolicies_ = new com.google.protobuf.LazyStringArrayList(allowedCachingPolicies_); bitField0_ |= 0x00000040; } } /** * repeated string allowed_caching_policies = 14; * @return A list containing the allowedCachingPolicies. */ public com.google.protobuf.ProtocolStringList getAllowedCachingPoliciesList() { return allowedCachingPolicies_.getUnmodifiableView(); } /** * 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); 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); 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_); onChanged(); return this; } /** * repeated string allowed_caching_policies = 14; * @return This builder for chaining. */ public Builder clearAllowedCachingPolicies() { allowedCachingPolicies_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000040); 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); 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 com.yandex.ydb.table.YdbTable.TableProfileDescription DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.TableProfileDescription(); } public static com.yandex.ydb.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 { return new TableProfileDescription(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 1; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DescribeTableOptionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.OperationProtos.OperationParams.Builder subBuilder = null; if (operationParams_ != null) { subBuilder = operationParams_.toBuilder(); } operationParams_ = input.readMessage(com.yandex.ydb.OperationProtos.OperationParams.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operationParams_); operationParams_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DescribeTableOptionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DescribeTableOptionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.DescribeTableOptionsRequest.class, com.yandex.ydb.table.YdbTable.DescribeTableOptionsRequest.Builder.class); } public static final int OPERATION_PARAMS_FIELD_NUMBER = 1; private com.yandex.ydb.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 1; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 1; * @return The operationParams. */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return getOperationParams(); } 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 (operationParams_ != null) { output.writeMessage(1, getOperationParams()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (operationParams_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getOperationParams()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.DescribeTableOptionsRequest)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.DescribeTableOptionsRequest other = (com.yandex.ydb.table.YdbTable.DescribeTableOptionsRequest) obj; if (hasOperationParams() != other.hasOperationParams()) return false; if (hasOperationParams()) { if (!getOperationParams() .equals(other.getOperationParams())) return false; } if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.DescribeTableOptionsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DescribeTableOptionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DescribeTableOptionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.DescribeTableOptionsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.DescribeTableOptionsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DescribeTableOptionsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DescribeTableOptionsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.DescribeTableOptionsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DescribeTableOptionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DescribeTableOptionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.DescribeTableOptionsRequest.class, com.yandex.ydb.table.YdbTable.DescribeTableOptionsRequest.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); if (operationParamsBuilder_ == null) { operationParams_ = null; } else { operationParams_ = null; operationParamsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DescribeTableOptionsRequest_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.DescribeTableOptionsRequest getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.DescribeTableOptionsRequest.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.DescribeTableOptionsRequest build() { com.yandex.ydb.table.YdbTable.DescribeTableOptionsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.DescribeTableOptionsRequest buildPartial() { com.yandex.ydb.table.YdbTable.DescribeTableOptionsRequest result = new com.yandex.ydb.table.YdbTable.DescribeTableOptionsRequest(this); if (operationParamsBuilder_ == null) { result.operationParams_ = operationParams_; } else { result.operationParams_ = operationParamsBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.DescribeTableOptionsRequest) { return mergeFrom((com.yandex.ydb.table.YdbTable.DescribeTableOptionsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.DescribeTableOptionsRequest other) { if (other == com.yandex.ydb.table.YdbTable.DescribeTableOptionsRequest.getDefaultInstance()) return this; if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.DescribeTableOptionsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.DescribeTableOptionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.yandex.ydb.OperationProtos.OperationParams operationParams_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> operationParamsBuilder_; /** * .Ydb.Operations.OperationParams operation_params = 1; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return operationParamsBuilder_ != null || operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 1; * @return The operationParams. */ public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { if (operationParamsBuilder_ == null) { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } else { return operationParamsBuilder_.getMessage(); } } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public Builder setOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operationParams_ = value; onChanged(); } else { operationParamsBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public Builder setOperationParams( com.yandex.ydb.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); onChanged(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public Builder mergeOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (operationParams_ != null) { operationParams_ = com.yandex.ydb.OperationProtos.OperationParams.newBuilder(operationParams_).mergeFrom(value).buildPartial(); } else { operationParams_ = value; } onChanged(); } else { operationParamsBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public Builder clearOperationParams() { if (operationParamsBuilder_ == null) { operationParams_ = null; onChanged(); } else { operationParams_ = null; operationParamsBuilder_ = null; } return this; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public com.yandex.ydb.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { if (operationParamsBuilder_ != null) { return operationParamsBuilder_.getMessageOrBuilder(); } else { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } } /** * .Ydb.Operations.OperationParams operation_params = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> getOperationParamsFieldBuilder() { if (operationParamsBuilder_ == null) { operationParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DescribeTableOptionsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.DescribeTableOptionsRequest(); } public static com.yandex.ydb.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 { return new DescribeTableOptionsRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.Operation getOperation(); /** *
     * operation.result holds ListTableParametersResult
     * 
* * .Ydb.Operations.Operation operation = 1; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DescribeTableOptionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.OperationProtos.Operation.Builder subBuilder = null; if (operation_ != null) { subBuilder = operation_.toBuilder(); } operation_ = input.readMessage(com.yandex.ydb.OperationProtos.Operation.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operation_); operation_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DescribeTableOptionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DescribeTableOptionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.DescribeTableOptionsResponse.class, com.yandex.ydb.table.YdbTable.DescribeTableOptionsResponse.Builder.class); } public static final int OPERATION_FIELD_NUMBER = 1; private com.yandex.ydb.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 operation_ != null; } /** *
     * operation.result holds ListTableParametersResult
     * 
* * .Ydb.Operations.Operation operation = 1; * @return The operation. */ @java.lang.Override public com.yandex.ydb.OperationProtos.Operation getOperation() { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } /** *
     * operation.result holds ListTableParametersResult
     * 
* * .Ydb.Operations.Operation operation = 1; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { return getOperation(); } 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 (operation_ != null) { output.writeMessage(1, getOperation()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (operation_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getOperation()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.DescribeTableOptionsResponse)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.DescribeTableOptionsResponse other = (com.yandex.ydb.table.YdbTable.DescribeTableOptionsResponse) obj; if (hasOperation() != other.hasOperation()) return false; if (hasOperation()) { if (!getOperation() .equals(other.getOperation())) return false; } if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.DescribeTableOptionsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DescribeTableOptionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DescribeTableOptionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.DescribeTableOptionsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.DescribeTableOptionsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DescribeTableOptionsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DescribeTableOptionsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.DescribeTableOptionsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DescribeTableOptionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DescribeTableOptionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.DescribeTableOptionsResponse.class, com.yandex.ydb.table.YdbTable.DescribeTableOptionsResponse.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); if (operationBuilder_ == null) { operation_ = null; } else { operation_ = null; operationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DescribeTableOptionsResponse_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.DescribeTableOptionsResponse getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.DescribeTableOptionsResponse.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.DescribeTableOptionsResponse build() { com.yandex.ydb.table.YdbTable.DescribeTableOptionsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.DescribeTableOptionsResponse buildPartial() { com.yandex.ydb.table.YdbTable.DescribeTableOptionsResponse result = new com.yandex.ydb.table.YdbTable.DescribeTableOptionsResponse(this); if (operationBuilder_ == null) { result.operation_ = operation_; } else { result.operation_ = operationBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.DescribeTableOptionsResponse) { return mergeFrom((com.yandex.ydb.table.YdbTable.DescribeTableOptionsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.DescribeTableOptionsResponse other) { if (other == com.yandex.ydb.table.YdbTable.DescribeTableOptionsResponse.getDefaultInstance()) return this; if (other.hasOperation()) { mergeOperation(other.getOperation()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.DescribeTableOptionsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.DescribeTableOptionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.yandex.ydb.OperationProtos.Operation operation_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> operationBuilder_; /** *
       * operation.result holds ListTableParametersResult
       * 
* * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ public boolean hasOperation() { return operationBuilder_ != null || operation_ != null; } /** *
       * operation.result holds ListTableParametersResult
       * 
* * .Ydb.Operations.Operation operation = 1; * @return The operation. */ public com.yandex.ydb.OperationProtos.Operation getOperation() { if (operationBuilder_ == null) { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } else { return operationBuilder_.getMessage(); } } /** *
       * operation.result holds ListTableParametersResult
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operation_ = value; onChanged(); } else { operationBuilder_.setMessage(value); } return this; } /** *
       * operation.result holds ListTableParametersResult
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation( com.yandex.ydb.OperationProtos.Operation.Builder builderForValue) { if (operationBuilder_ == null) { operation_ = builderForValue.build(); onChanged(); } else { operationBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * operation.result holds ListTableParametersResult
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder mergeOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (operation_ != null) { operation_ = com.yandex.ydb.OperationProtos.Operation.newBuilder(operation_).mergeFrom(value).buildPartial(); } else { operation_ = value; } onChanged(); } else { operationBuilder_.mergeFrom(value); } return this; } /** *
       * operation.result holds ListTableParametersResult
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder clearOperation() { if (operationBuilder_ == null) { operation_ = null; onChanged(); } else { operation_ = null; operationBuilder_ = null; } return this; } /** *
       * operation.result holds ListTableParametersResult
       * 
* * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.Operation.Builder getOperationBuilder() { onChanged(); return getOperationFieldBuilder().getBuilder(); } /** *
       * operation.result holds ListTableParametersResult
       * 
* * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { if (operationBuilder_ != null) { return operationBuilder_.getMessageOrBuilder(); } else { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } } /** *
       * operation.result holds ListTableParametersResult
       * 
* * .Ydb.Operations.Operation operation = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> getOperationFieldBuilder() { if (operationBuilder_ == null) { operationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DescribeTableOptionsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.DescribeTableOptionsResponse(); } public static com.yandex.ydb.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 { return new DescribeTableOptionsResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DescribeTableOptionsResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { tableProfilePresets_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } tableProfilePresets_.add( input.readMessage(com.yandex.ydb.table.YdbTable.TableProfileDescription.parser(), extensionRegistry)); break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { storagePolicyPresets_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } storagePolicyPresets_.add( input.readMessage(com.yandex.ydb.table.YdbTable.StoragePolicyDescription.parser(), extensionRegistry)); break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { compactionPolicyPresets_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } compactionPolicyPresets_.add( input.readMessage(com.yandex.ydb.table.YdbTable.CompactionPolicyDescription.parser(), extensionRegistry)); break; } case 34: { if (!((mutable_bitField0_ & 0x00000008) != 0)) { partitioningPolicyPresets_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } partitioningPolicyPresets_.add( input.readMessage(com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription.parser(), extensionRegistry)); break; } case 42: { if (!((mutable_bitField0_ & 0x00000010) != 0)) { executionPolicyPresets_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } executionPolicyPresets_.add( input.readMessage(com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription.parser(), extensionRegistry)); break; } case 50: { if (!((mutable_bitField0_ & 0x00000020) != 0)) { replicationPolicyPresets_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000020; } replicationPolicyPresets_.add( input.readMessage(com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription.parser(), extensionRegistry)); break; } case 58: { if (!((mutable_bitField0_ & 0x00000040) != 0)) { cachingPolicyPresets_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000040; } cachingPolicyPresets_.add( input.readMessage(com.yandex.ydb.table.YdbTable.CachingPolicyDescription.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tableProfilePresets_ = java.util.Collections.unmodifiableList(tableProfilePresets_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { storagePolicyPresets_ = java.util.Collections.unmodifiableList(storagePolicyPresets_); } if (((mutable_bitField0_ & 0x00000004) != 0)) { compactionPolicyPresets_ = java.util.Collections.unmodifiableList(compactionPolicyPresets_); } if (((mutable_bitField0_ & 0x00000008) != 0)) { partitioningPolicyPresets_ = java.util.Collections.unmodifiableList(partitioningPolicyPresets_); } if (((mutable_bitField0_ & 0x00000010) != 0)) { executionPolicyPresets_ = java.util.Collections.unmodifiableList(executionPolicyPresets_); } if (((mutable_bitField0_ & 0x00000020) != 0)) { replicationPolicyPresets_ = java.util.Collections.unmodifiableList(replicationPolicyPresets_); } if (((mutable_bitField0_ & 0x00000040) != 0)) { cachingPolicyPresets_ = java.util.Collections.unmodifiableList(cachingPolicyPresets_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DescribeTableOptionsResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DescribeTableOptionsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.DescribeTableOptionsResult.class, com.yandex.ydb.table.YdbTable.DescribeTableOptionsResult.Builder.class); } public static final int TABLE_PROFILE_PRESETS_FIELD_NUMBER = 1; 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 com.yandex.ydb.table.YdbTable.TableProfileDescription getTableProfilePresets(int index) { return tableProfilePresets_.get(index); } /** * repeated .Ydb.Table.TableProfileDescription table_profile_presets = 1; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.TableProfileDescriptionOrBuilder getTableProfilePresetsOrBuilder( int index) { return tableProfilePresets_.get(index); } public static final int STORAGE_POLICY_PRESETS_FIELD_NUMBER = 2; 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 com.yandex.ydb.table.YdbTable.StoragePolicyDescription getStoragePolicyPresets(int index) { return storagePolicyPresets_.get(index); } /** * repeated .Ydb.Table.StoragePolicyDescription storage_policy_presets = 2; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.StoragePolicyDescriptionOrBuilder getStoragePolicyPresetsOrBuilder( int index) { return storagePolicyPresets_.get(index); } public static final int COMPACTION_POLICY_PRESETS_FIELD_NUMBER = 3; 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 com.yandex.ydb.table.YdbTable.CompactionPolicyDescription getCompactionPolicyPresets(int index) { return compactionPolicyPresets_.get(index); } /** * repeated .Ydb.Table.CompactionPolicyDescription compaction_policy_presets = 3; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.CompactionPolicyDescriptionOrBuilder getCompactionPolicyPresetsOrBuilder( int index) { return compactionPolicyPresets_.get(index); } public static final int PARTITIONING_POLICY_PRESETS_FIELD_NUMBER = 4; 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 com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription getPartitioningPolicyPresets(int index) { return partitioningPolicyPresets_.get(index); } /** * repeated .Ydb.Table.PartitioningPolicyDescription partitioning_policy_presets = 4; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.PartitioningPolicyDescriptionOrBuilder getPartitioningPolicyPresetsOrBuilder( int index) { return partitioningPolicyPresets_.get(index); } public static final int EXECUTION_POLICY_PRESETS_FIELD_NUMBER = 5; 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 com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription getExecutionPolicyPresets(int index) { return executionPolicyPresets_.get(index); } /** * repeated .Ydb.Table.ExecutionPolicyDescription execution_policy_presets = 5; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecutionPolicyDescriptionOrBuilder getExecutionPolicyPresetsOrBuilder( int index) { return executionPolicyPresets_.get(index); } public static final int REPLICATION_POLICY_PRESETS_FIELD_NUMBER = 6; 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 com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription getReplicationPolicyPresets(int index) { return replicationPolicyPresets_.get(index); } /** * repeated .Ydb.Table.ReplicationPolicyDescription replication_policy_presets = 6; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.ReplicationPolicyDescriptionOrBuilder getReplicationPolicyPresetsOrBuilder( int index) { return replicationPolicyPresets_.get(index); } public static final int CACHING_POLICY_PRESETS_FIELD_NUMBER = 7; 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 com.yandex.ydb.table.YdbTable.CachingPolicyDescription getCachingPolicyPresets(int index) { return cachingPolicyPresets_.get(index); } /** * repeated .Ydb.Table.CachingPolicyDescription caching_policy_presets = 7; */ @java.lang.Override public com.yandex.ydb.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)); } unknownFields.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 += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.DescribeTableOptionsResult)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.DescribeTableOptionsResult other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.DescribeTableOptionsResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DescribeTableOptionsResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DescribeTableOptionsResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.DescribeTableOptionsResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.DescribeTableOptionsResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DescribeTableOptionsResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DescribeTableOptionsResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.DescribeTableOptionsResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DescribeTableOptionsResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DescribeTableOptionsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.DescribeTableOptionsResult.class, com.yandex.ydb.table.YdbTable.DescribeTableOptionsResult.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.DescribeTableOptionsResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTableProfilePresetsFieldBuilder(); getStoragePolicyPresetsFieldBuilder(); getCompactionPolicyPresetsFieldBuilder(); getPartitioningPolicyPresetsFieldBuilder(); getExecutionPolicyPresetsFieldBuilder(); getReplicationPolicyPresetsFieldBuilder(); getCachingPolicyPresetsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (tableProfilePresetsBuilder_ == null) { tableProfilePresets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { tableProfilePresetsBuilder_.clear(); } if (storagePolicyPresetsBuilder_ == null) { storagePolicyPresets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { storagePolicyPresetsBuilder_.clear(); } if (compactionPolicyPresetsBuilder_ == null) { compactionPolicyPresets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { compactionPolicyPresetsBuilder_.clear(); } if (partitioningPolicyPresetsBuilder_ == null) { partitioningPolicyPresets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { partitioningPolicyPresetsBuilder_.clear(); } if (executionPolicyPresetsBuilder_ == null) { executionPolicyPresets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); } else { executionPolicyPresetsBuilder_.clear(); } if (replicationPolicyPresetsBuilder_ == null) { replicationPolicyPresets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); } else { replicationPolicyPresetsBuilder_.clear(); } if (cachingPolicyPresetsBuilder_ == null) { cachingPolicyPresets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); } else { cachingPolicyPresetsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_DescribeTableOptionsResult_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.DescribeTableOptionsResult getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.DescribeTableOptionsResult.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.DescribeTableOptionsResult build() { com.yandex.ydb.table.YdbTable.DescribeTableOptionsResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.DescribeTableOptionsResult buildPartial() { com.yandex.ydb.table.YdbTable.DescribeTableOptionsResult result = new com.yandex.ydb.table.YdbTable.DescribeTableOptionsResult(this); int from_bitField0_ = bitField0_; 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(); } 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 com.yandex.ydb.table.YdbTable.DescribeTableOptionsResult) { return mergeFrom((com.yandex.ydb.table.YdbTable.DescribeTableOptionsResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.DescribeTableOptionsResult other) { if (other == com.yandex.ydb.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.unknownFields); 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 { com.yandex.ydb.table.YdbTable.DescribeTableOptionsResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.DescribeTableOptionsResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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< com.yandex.ydb.table.YdbTable.TableProfileDescription, com.yandex.ydb.table.YdbTable.TableProfileDescription.Builder, com.yandex.ydb.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 com.yandex.ydb.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, com.yandex.ydb.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, com.yandex.ydb.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(com.yandex.ydb.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, com.yandex.ydb.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( com.yandex.ydb.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, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TableProfileDescription.Builder getTableProfilePresetsBuilder( int index) { return getTableProfilePresetsFieldBuilder().getBuilder(index); } /** * repeated .Ydb.Table.TableProfileDescription table_profile_presets = 1; */ public com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.TableProfileDescription.Builder addTableProfilePresetsBuilder() { return getTableProfilePresetsFieldBuilder().addBuilder( com.yandex.ydb.table.YdbTable.TableProfileDescription.getDefaultInstance()); } /** * repeated .Ydb.Table.TableProfileDescription table_profile_presets = 1; */ public com.yandex.ydb.table.YdbTable.TableProfileDescription.Builder addTableProfilePresetsBuilder( int index) { return getTableProfilePresetsFieldBuilder().addBuilder( index, com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.TableProfileDescription, com.yandex.ydb.table.YdbTable.TableProfileDescription.Builder, com.yandex.ydb.table.YdbTable.TableProfileDescriptionOrBuilder> getTableProfilePresetsFieldBuilder() { if (tableProfilePresetsBuilder_ == null) { tableProfilePresetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.TableProfileDescription, com.yandex.ydb.table.YdbTable.TableProfileDescription.Builder, com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.StoragePolicyDescription, com.yandex.ydb.table.YdbTable.StoragePolicyDescription.Builder, com.yandex.ydb.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 com.yandex.ydb.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, com.yandex.ydb.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, com.yandex.ydb.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(com.yandex.ydb.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, com.yandex.ydb.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( com.yandex.ydb.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, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.StoragePolicyDescription.Builder getStoragePolicyPresetsBuilder( int index) { return getStoragePolicyPresetsFieldBuilder().getBuilder(index); } /** * repeated .Ydb.Table.StoragePolicyDescription storage_policy_presets = 2; */ public com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.StoragePolicyDescription.Builder addStoragePolicyPresetsBuilder() { return getStoragePolicyPresetsFieldBuilder().addBuilder( com.yandex.ydb.table.YdbTable.StoragePolicyDescription.getDefaultInstance()); } /** * repeated .Ydb.Table.StoragePolicyDescription storage_policy_presets = 2; */ public com.yandex.ydb.table.YdbTable.StoragePolicyDescription.Builder addStoragePolicyPresetsBuilder( int index) { return getStoragePolicyPresetsFieldBuilder().addBuilder( index, com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.StoragePolicyDescription, com.yandex.ydb.table.YdbTable.StoragePolicyDescription.Builder, com.yandex.ydb.table.YdbTable.StoragePolicyDescriptionOrBuilder> getStoragePolicyPresetsFieldBuilder() { if (storagePolicyPresetsBuilder_ == null) { storagePolicyPresetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.StoragePolicyDescription, com.yandex.ydb.table.YdbTable.StoragePolicyDescription.Builder, com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.CompactionPolicyDescription, com.yandex.ydb.table.YdbTable.CompactionPolicyDescription.Builder, com.yandex.ydb.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 com.yandex.ydb.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, com.yandex.ydb.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, com.yandex.ydb.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(com.yandex.ydb.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, com.yandex.ydb.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( com.yandex.ydb.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, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CompactionPolicyDescription.Builder getCompactionPolicyPresetsBuilder( int index) { return getCompactionPolicyPresetsFieldBuilder().getBuilder(index); } /** * repeated .Ydb.Table.CompactionPolicyDescription compaction_policy_presets = 3; */ public com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CompactionPolicyDescription.Builder addCompactionPolicyPresetsBuilder() { return getCompactionPolicyPresetsFieldBuilder().addBuilder( com.yandex.ydb.table.YdbTable.CompactionPolicyDescription.getDefaultInstance()); } /** * repeated .Ydb.Table.CompactionPolicyDescription compaction_policy_presets = 3; */ public com.yandex.ydb.table.YdbTable.CompactionPolicyDescription.Builder addCompactionPolicyPresetsBuilder( int index) { return getCompactionPolicyPresetsFieldBuilder().addBuilder( index, com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.CompactionPolicyDescription, com.yandex.ydb.table.YdbTable.CompactionPolicyDescription.Builder, com.yandex.ydb.table.YdbTable.CompactionPolicyDescriptionOrBuilder> getCompactionPolicyPresetsFieldBuilder() { if (compactionPolicyPresetsBuilder_ == null) { compactionPolicyPresetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.CompactionPolicyDescription, com.yandex.ydb.table.YdbTable.CompactionPolicyDescription.Builder, com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription, com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription.Builder, com.yandex.ydb.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 com.yandex.ydb.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, com.yandex.ydb.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, com.yandex.ydb.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(com.yandex.ydb.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, com.yandex.ydb.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( com.yandex.ydb.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, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription.Builder getPartitioningPolicyPresetsBuilder( int index) { return getPartitioningPolicyPresetsFieldBuilder().getBuilder(index); } /** * repeated .Ydb.Table.PartitioningPolicyDescription partitioning_policy_presets = 4; */ public com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription.Builder addPartitioningPolicyPresetsBuilder() { return getPartitioningPolicyPresetsFieldBuilder().addBuilder( com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription.getDefaultInstance()); } /** * repeated .Ydb.Table.PartitioningPolicyDescription partitioning_policy_presets = 4; */ public com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription.Builder addPartitioningPolicyPresetsBuilder( int index) { return getPartitioningPolicyPresetsFieldBuilder().addBuilder( index, com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription, com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription.Builder, com.yandex.ydb.table.YdbTable.PartitioningPolicyDescriptionOrBuilder> getPartitioningPolicyPresetsFieldBuilder() { if (partitioningPolicyPresetsBuilder_ == null) { partitioningPolicyPresetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription, com.yandex.ydb.table.YdbTable.PartitioningPolicyDescription.Builder, com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription, com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription.Builder, com.yandex.ydb.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 com.yandex.ydb.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, com.yandex.ydb.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, com.yandex.ydb.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(com.yandex.ydb.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, com.yandex.ydb.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( com.yandex.ydb.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, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription.Builder getExecutionPolicyPresetsBuilder( int index) { return getExecutionPolicyPresetsFieldBuilder().getBuilder(index); } /** * repeated .Ydb.Table.ExecutionPolicyDescription execution_policy_presets = 5; */ public com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription.Builder addExecutionPolicyPresetsBuilder() { return getExecutionPolicyPresetsFieldBuilder().addBuilder( com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription.getDefaultInstance()); } /** * repeated .Ydb.Table.ExecutionPolicyDescription execution_policy_presets = 5; */ public com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription.Builder addExecutionPolicyPresetsBuilder( int index) { return getExecutionPolicyPresetsFieldBuilder().addBuilder( index, com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription, com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription.Builder, com.yandex.ydb.table.YdbTable.ExecutionPolicyDescriptionOrBuilder> getExecutionPolicyPresetsFieldBuilder() { if (executionPolicyPresetsBuilder_ == null) { executionPolicyPresetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription, com.yandex.ydb.table.YdbTable.ExecutionPolicyDescription.Builder, com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription, com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription.Builder, com.yandex.ydb.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 com.yandex.ydb.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, com.yandex.ydb.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, com.yandex.ydb.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(com.yandex.ydb.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, com.yandex.ydb.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( com.yandex.ydb.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, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription.Builder getReplicationPolicyPresetsBuilder( int index) { return getReplicationPolicyPresetsFieldBuilder().getBuilder(index); } /** * repeated .Ydb.Table.ReplicationPolicyDescription replication_policy_presets = 6; */ public com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription.Builder addReplicationPolicyPresetsBuilder() { return getReplicationPolicyPresetsFieldBuilder().addBuilder( com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription.getDefaultInstance()); } /** * repeated .Ydb.Table.ReplicationPolicyDescription replication_policy_presets = 6; */ public com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription.Builder addReplicationPolicyPresetsBuilder( int index) { return getReplicationPolicyPresetsFieldBuilder().addBuilder( index, com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription, com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription.Builder, com.yandex.ydb.table.YdbTable.ReplicationPolicyDescriptionOrBuilder> getReplicationPolicyPresetsFieldBuilder() { if (replicationPolicyPresetsBuilder_ == null) { replicationPolicyPresetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription, com.yandex.ydb.table.YdbTable.ReplicationPolicyDescription.Builder, com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.CachingPolicyDescription, com.yandex.ydb.table.YdbTable.CachingPolicyDescription.Builder, com.yandex.ydb.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 com.yandex.ydb.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, com.yandex.ydb.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, com.yandex.ydb.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(com.yandex.ydb.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, com.yandex.ydb.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( com.yandex.ydb.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, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CachingPolicyDescription.Builder getCachingPolicyPresetsBuilder( int index) { return getCachingPolicyPresetsFieldBuilder().getBuilder(index); } /** * repeated .Ydb.Table.CachingPolicyDescription caching_policy_presets = 7; */ public com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.CachingPolicyDescription.Builder addCachingPolicyPresetsBuilder() { return getCachingPolicyPresetsFieldBuilder().addBuilder( com.yandex.ydb.table.YdbTable.CachingPolicyDescription.getDefaultInstance()); } /** * repeated .Ydb.Table.CachingPolicyDescription caching_policy_presets = 7; */ public com.yandex.ydb.table.YdbTable.CachingPolicyDescription.Builder addCachingPolicyPresetsBuilder( int index) { return getCachingPolicyPresetsFieldBuilder().addBuilder( index, com.yandex.ydb.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< com.yandex.ydb.table.YdbTable.CachingPolicyDescription, com.yandex.ydb.table.YdbTable.CachingPolicyDescription.Builder, com.yandex.ydb.table.YdbTable.CachingPolicyDescriptionOrBuilder> getCachingPolicyPresetsFieldBuilder() { if (cachingPolicyPresetsBuilder_ == null) { cachingPolicyPresetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.table.YdbTable.CachingPolicyDescription, com.yandex.ydb.table.YdbTable.CachingPolicyDescription.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.DescribeTableOptionsResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.DescribeTableOptionsResult(); } public static com.yandex.ydb.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 { return new DescribeTableOptionsResult(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.ValueProtos.TypedValue getGreater(); /** *
     * Specify if we don't want to include given key
     * 
* * .Ydb.TypedValue greater = 1; */ com.yandex.ydb.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. */ com.yandex.ydb.ValueProtos.TypedValue getGreaterOrEqual(); /** *
     * Specify if we want to include given key
     * 
* * .Ydb.TypedValue greater_or_equal = 2; */ com.yandex.ydb.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. */ com.yandex.ydb.ValueProtos.TypedValue getLess(); /** *
     * Specify if we don't want to include given key
     * 
* * .Ydb.TypedValue less = 3; */ com.yandex.ydb.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. */ com.yandex.ydb.ValueProtos.TypedValue getLessOrEqual(); /** *
     * Specify if we want to include given key
     * 
* * .Ydb.TypedValue less_or_equal = 4; */ com.yandex.ydb.ValueProtos.TypedValueOrBuilder getLessOrEqualOrBuilder(); public com.yandex.ydb.table.YdbTable.KeyRange.FromBoundCase getFromBoundCase(); public com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private KeyRange( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.ValueProtos.TypedValue.Builder subBuilder = null; if (fromBoundCase_ == 1) { subBuilder = ((com.yandex.ydb.ValueProtos.TypedValue) fromBound_).toBuilder(); } fromBound_ = input.readMessage(com.yandex.ydb.ValueProtos.TypedValue.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.yandex.ydb.ValueProtos.TypedValue) fromBound_); fromBound_ = subBuilder.buildPartial(); } fromBoundCase_ = 1; break; } case 18: { com.yandex.ydb.ValueProtos.TypedValue.Builder subBuilder = null; if (fromBoundCase_ == 2) { subBuilder = ((com.yandex.ydb.ValueProtos.TypedValue) fromBound_).toBuilder(); } fromBound_ = input.readMessage(com.yandex.ydb.ValueProtos.TypedValue.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.yandex.ydb.ValueProtos.TypedValue) fromBound_); fromBound_ = subBuilder.buildPartial(); } fromBoundCase_ = 2; break; } case 26: { com.yandex.ydb.ValueProtos.TypedValue.Builder subBuilder = null; if (toBoundCase_ == 3) { subBuilder = ((com.yandex.ydb.ValueProtos.TypedValue) toBound_).toBuilder(); } toBound_ = input.readMessage(com.yandex.ydb.ValueProtos.TypedValue.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.yandex.ydb.ValueProtos.TypedValue) toBound_); toBound_ = subBuilder.buildPartial(); } toBoundCase_ = 3; break; } case 34: { com.yandex.ydb.ValueProtos.TypedValue.Builder subBuilder = null; if (toBoundCase_ == 4) { subBuilder = ((com.yandex.ydb.ValueProtos.TypedValue) toBound_).toBuilder(); } toBound_ = input.readMessage(com.yandex.ydb.ValueProtos.TypedValue.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.yandex.ydb.ValueProtos.TypedValue) toBound_); toBound_ = subBuilder.buildPartial(); } toBoundCase_ = 4; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_KeyRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_KeyRange_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.KeyRange.class, com.yandex.ydb.table.YdbTable.KeyRange.Builder.class); } private int fromBoundCase_ = 0; 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; 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 com.yandex.ydb.ValueProtos.TypedValue getGreater() { if (fromBoundCase_ == 1) { return (com.yandex.ydb.ValueProtos.TypedValue) fromBound_; } return com.yandex.ydb.ValueProtos.TypedValue.getDefaultInstance(); } /** *
     * Specify if we don't want to include given key
     * 
* * .Ydb.TypedValue greater = 1; */ @java.lang.Override public com.yandex.ydb.ValueProtos.TypedValueOrBuilder getGreaterOrBuilder() { if (fromBoundCase_ == 1) { return (com.yandex.ydb.ValueProtos.TypedValue) fromBound_; } return com.yandex.ydb.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 com.yandex.ydb.ValueProtos.TypedValue getGreaterOrEqual() { if (fromBoundCase_ == 2) { return (com.yandex.ydb.ValueProtos.TypedValue) fromBound_; } return com.yandex.ydb.ValueProtos.TypedValue.getDefaultInstance(); } /** *
     * Specify if we want to include given key
     * 
* * .Ydb.TypedValue greater_or_equal = 2; */ @java.lang.Override public com.yandex.ydb.ValueProtos.TypedValueOrBuilder getGreaterOrEqualOrBuilder() { if (fromBoundCase_ == 2) { return (com.yandex.ydb.ValueProtos.TypedValue) fromBound_; } return com.yandex.ydb.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 com.yandex.ydb.ValueProtos.TypedValue getLess() { if (toBoundCase_ == 3) { return (com.yandex.ydb.ValueProtos.TypedValue) toBound_; } return com.yandex.ydb.ValueProtos.TypedValue.getDefaultInstance(); } /** *
     * Specify if we don't want to include given key
     * 
* * .Ydb.TypedValue less = 3; */ @java.lang.Override public com.yandex.ydb.ValueProtos.TypedValueOrBuilder getLessOrBuilder() { if (toBoundCase_ == 3) { return (com.yandex.ydb.ValueProtos.TypedValue) toBound_; } return com.yandex.ydb.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 com.yandex.ydb.ValueProtos.TypedValue getLessOrEqual() { if (toBoundCase_ == 4) { return (com.yandex.ydb.ValueProtos.TypedValue) toBound_; } return com.yandex.ydb.ValueProtos.TypedValue.getDefaultInstance(); } /** *
     * Specify if we want to include given key
     * 
* * .Ydb.TypedValue less_or_equal = 4; */ @java.lang.Override public com.yandex.ydb.ValueProtos.TypedValueOrBuilder getLessOrEqualOrBuilder() { if (toBoundCase_ == 4) { return (com.yandex.ydb.ValueProtos.TypedValue) toBound_; } return com.yandex.ydb.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, (com.yandex.ydb.ValueProtos.TypedValue) fromBound_); } if (fromBoundCase_ == 2) { output.writeMessage(2, (com.yandex.ydb.ValueProtos.TypedValue) fromBound_); } if (toBoundCase_ == 3) { output.writeMessage(3, (com.yandex.ydb.ValueProtos.TypedValue) toBound_); } if (toBoundCase_ == 4) { output.writeMessage(4, (com.yandex.ydb.ValueProtos.TypedValue) toBound_); } unknownFields.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, (com.yandex.ydb.ValueProtos.TypedValue) fromBound_); } if (fromBoundCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (com.yandex.ydb.ValueProtos.TypedValue) fromBound_); } if (toBoundCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (com.yandex.ydb.ValueProtos.TypedValue) toBound_); } if (toBoundCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, (com.yandex.ydb.ValueProtos.TypedValue) toBound_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.KeyRange)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.KeyRange other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.KeyRange parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.KeyRange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.KeyRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.KeyRange parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.KeyRange parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.KeyRange parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.KeyRange parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.KeyRangeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_KeyRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_KeyRange_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.KeyRange.class, com.yandex.ydb.table.YdbTable.KeyRange.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.KeyRange.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); fromBoundCase_ = 0; fromBound_ = null; toBoundCase_ = 0; toBound_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_KeyRange_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.KeyRange getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.KeyRange.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.KeyRange build() { com.yandex.ydb.table.YdbTable.KeyRange result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.KeyRange buildPartial() { com.yandex.ydb.table.YdbTable.KeyRange result = new com.yandex.ydb.table.YdbTable.KeyRange(this); if (fromBoundCase_ == 1) { if (greaterBuilder_ == null) { result.fromBound_ = fromBound_; } else { result.fromBound_ = greaterBuilder_.build(); } } if (fromBoundCase_ == 2) { if (greaterOrEqualBuilder_ == null) { result.fromBound_ = fromBound_; } else { result.fromBound_ = greaterOrEqualBuilder_.build(); } } if (toBoundCase_ == 3) { if (lessBuilder_ == null) { result.toBound_ = toBound_; } else { result.toBound_ = lessBuilder_.build(); } } if (toBoundCase_ == 4) { if (lessOrEqualBuilder_ == null) { result.toBound_ = toBound_; } else { result.toBound_ = lessOrEqualBuilder_.build(); } } result.fromBoundCase_ = fromBoundCase_; result.toBoundCase_ = toBoundCase_; 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 com.yandex.ydb.table.YdbTable.KeyRange) { return mergeFrom((com.yandex.ydb.table.YdbTable.KeyRange)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.KeyRange other) { if (other == com.yandex.ydb.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.unknownFields); 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 { com.yandex.ydb.table.YdbTable.KeyRange parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.KeyRange) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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 com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.ValueProtos.TypedValue, com.yandex.ydb.ValueProtos.TypedValue.Builder, com.yandex.ydb.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 com.yandex.ydb.ValueProtos.TypedValue getGreater() { if (greaterBuilder_ == null) { if (fromBoundCase_ == 1) { return (com.yandex.ydb.ValueProtos.TypedValue) fromBound_; } return com.yandex.ydb.ValueProtos.TypedValue.getDefaultInstance(); } else { if (fromBoundCase_ == 1) { return greaterBuilder_.getMessage(); } return com.yandex.ydb.ValueProtos.TypedValue.getDefaultInstance(); } } /** *
       * Specify if we don't want to include given key
       * 
* * .Ydb.TypedValue greater = 1; */ public Builder setGreater(com.yandex.ydb.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( com.yandex.ydb.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(com.yandex.ydb.ValueProtos.TypedValue value) { if (greaterBuilder_ == null) { if (fromBoundCase_ == 1 && fromBound_ != com.yandex.ydb.ValueProtos.TypedValue.getDefaultInstance()) { fromBound_ = com.yandex.ydb.ValueProtos.TypedValue.newBuilder((com.yandex.ydb.ValueProtos.TypedValue) fromBound_) .mergeFrom(value).buildPartial(); } else { fromBound_ = value; } onChanged(); } else { if (fromBoundCase_ == 1) { greaterBuilder_.mergeFrom(value); } 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 com.yandex.ydb.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 com.yandex.ydb.ValueProtos.TypedValueOrBuilder getGreaterOrBuilder() { if ((fromBoundCase_ == 1) && (greaterBuilder_ != null)) { return greaterBuilder_.getMessageOrBuilder(); } else { if (fromBoundCase_ == 1) { return (com.yandex.ydb.ValueProtos.TypedValue) fromBound_; } return com.yandex.ydb.ValueProtos.TypedValue.getDefaultInstance(); } } /** *
       * Specify if we don't want to include given key
       * 
* * .Ydb.TypedValue greater = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.ValueProtos.TypedValue, com.yandex.ydb.ValueProtos.TypedValue.Builder, com.yandex.ydb.ValueProtos.TypedValueOrBuilder> getGreaterFieldBuilder() { if (greaterBuilder_ == null) { if (!(fromBoundCase_ == 1)) { fromBound_ = com.yandex.ydb.ValueProtos.TypedValue.getDefaultInstance(); } greaterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.ValueProtos.TypedValue, com.yandex.ydb.ValueProtos.TypedValue.Builder, com.yandex.ydb.ValueProtos.TypedValueOrBuilder>( (com.yandex.ydb.ValueProtos.TypedValue) fromBound_, getParentForChildren(), isClean()); fromBound_ = null; } fromBoundCase_ = 1; onChanged();; return greaterBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.ValueProtos.TypedValue, com.yandex.ydb.ValueProtos.TypedValue.Builder, com.yandex.ydb.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 com.yandex.ydb.ValueProtos.TypedValue getGreaterOrEqual() { if (greaterOrEqualBuilder_ == null) { if (fromBoundCase_ == 2) { return (com.yandex.ydb.ValueProtos.TypedValue) fromBound_; } return com.yandex.ydb.ValueProtos.TypedValue.getDefaultInstance(); } else { if (fromBoundCase_ == 2) { return greaterOrEqualBuilder_.getMessage(); } return com.yandex.ydb.ValueProtos.TypedValue.getDefaultInstance(); } } /** *
       * Specify if we want to include given key
       * 
* * .Ydb.TypedValue greater_or_equal = 2; */ public Builder setGreaterOrEqual(com.yandex.ydb.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( com.yandex.ydb.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(com.yandex.ydb.ValueProtos.TypedValue value) { if (greaterOrEqualBuilder_ == null) { if (fromBoundCase_ == 2 && fromBound_ != com.yandex.ydb.ValueProtos.TypedValue.getDefaultInstance()) { fromBound_ = com.yandex.ydb.ValueProtos.TypedValue.newBuilder((com.yandex.ydb.ValueProtos.TypedValue) fromBound_) .mergeFrom(value).buildPartial(); } else { fromBound_ = value; } onChanged(); } else { if (fromBoundCase_ == 2) { greaterOrEqualBuilder_.mergeFrom(value); } 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 com.yandex.ydb.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 com.yandex.ydb.ValueProtos.TypedValueOrBuilder getGreaterOrEqualOrBuilder() { if ((fromBoundCase_ == 2) && (greaterOrEqualBuilder_ != null)) { return greaterOrEqualBuilder_.getMessageOrBuilder(); } else { if (fromBoundCase_ == 2) { return (com.yandex.ydb.ValueProtos.TypedValue) fromBound_; } return com.yandex.ydb.ValueProtos.TypedValue.getDefaultInstance(); } } /** *
       * Specify if we want to include given key
       * 
* * .Ydb.TypedValue greater_or_equal = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.ValueProtos.TypedValue, com.yandex.ydb.ValueProtos.TypedValue.Builder, com.yandex.ydb.ValueProtos.TypedValueOrBuilder> getGreaterOrEqualFieldBuilder() { if (greaterOrEqualBuilder_ == null) { if (!(fromBoundCase_ == 2)) { fromBound_ = com.yandex.ydb.ValueProtos.TypedValue.getDefaultInstance(); } greaterOrEqualBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.ValueProtos.TypedValue, com.yandex.ydb.ValueProtos.TypedValue.Builder, com.yandex.ydb.ValueProtos.TypedValueOrBuilder>( (com.yandex.ydb.ValueProtos.TypedValue) fromBound_, getParentForChildren(), isClean()); fromBound_ = null; } fromBoundCase_ = 2; onChanged();; return greaterOrEqualBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.ValueProtos.TypedValue, com.yandex.ydb.ValueProtos.TypedValue.Builder, com.yandex.ydb.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 com.yandex.ydb.ValueProtos.TypedValue getLess() { if (lessBuilder_ == null) { if (toBoundCase_ == 3) { return (com.yandex.ydb.ValueProtos.TypedValue) toBound_; } return com.yandex.ydb.ValueProtos.TypedValue.getDefaultInstance(); } else { if (toBoundCase_ == 3) { return lessBuilder_.getMessage(); } return com.yandex.ydb.ValueProtos.TypedValue.getDefaultInstance(); } } /** *
       * Specify if we don't want to include given key
       * 
* * .Ydb.TypedValue less = 3; */ public Builder setLess(com.yandex.ydb.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( com.yandex.ydb.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(com.yandex.ydb.ValueProtos.TypedValue value) { if (lessBuilder_ == null) { if (toBoundCase_ == 3 && toBound_ != com.yandex.ydb.ValueProtos.TypedValue.getDefaultInstance()) { toBound_ = com.yandex.ydb.ValueProtos.TypedValue.newBuilder((com.yandex.ydb.ValueProtos.TypedValue) toBound_) .mergeFrom(value).buildPartial(); } else { toBound_ = value; } onChanged(); } else { if (toBoundCase_ == 3) { lessBuilder_.mergeFrom(value); } 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 com.yandex.ydb.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 com.yandex.ydb.ValueProtos.TypedValueOrBuilder getLessOrBuilder() { if ((toBoundCase_ == 3) && (lessBuilder_ != null)) { return lessBuilder_.getMessageOrBuilder(); } else { if (toBoundCase_ == 3) { return (com.yandex.ydb.ValueProtos.TypedValue) toBound_; } return com.yandex.ydb.ValueProtos.TypedValue.getDefaultInstance(); } } /** *
       * Specify if we don't want to include given key
       * 
* * .Ydb.TypedValue less = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.ValueProtos.TypedValue, com.yandex.ydb.ValueProtos.TypedValue.Builder, com.yandex.ydb.ValueProtos.TypedValueOrBuilder> getLessFieldBuilder() { if (lessBuilder_ == null) { if (!(toBoundCase_ == 3)) { toBound_ = com.yandex.ydb.ValueProtos.TypedValue.getDefaultInstance(); } lessBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.ValueProtos.TypedValue, com.yandex.ydb.ValueProtos.TypedValue.Builder, com.yandex.ydb.ValueProtos.TypedValueOrBuilder>( (com.yandex.ydb.ValueProtos.TypedValue) toBound_, getParentForChildren(), isClean()); toBound_ = null; } toBoundCase_ = 3; onChanged();; return lessBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.ValueProtos.TypedValue, com.yandex.ydb.ValueProtos.TypedValue.Builder, com.yandex.ydb.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 com.yandex.ydb.ValueProtos.TypedValue getLessOrEqual() { if (lessOrEqualBuilder_ == null) { if (toBoundCase_ == 4) { return (com.yandex.ydb.ValueProtos.TypedValue) toBound_; } return com.yandex.ydb.ValueProtos.TypedValue.getDefaultInstance(); } else { if (toBoundCase_ == 4) { return lessOrEqualBuilder_.getMessage(); } return com.yandex.ydb.ValueProtos.TypedValue.getDefaultInstance(); } } /** *
       * Specify if we want to include given key
       * 
* * .Ydb.TypedValue less_or_equal = 4; */ public Builder setLessOrEqual(com.yandex.ydb.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( com.yandex.ydb.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(com.yandex.ydb.ValueProtos.TypedValue value) { if (lessOrEqualBuilder_ == null) { if (toBoundCase_ == 4 && toBound_ != com.yandex.ydb.ValueProtos.TypedValue.getDefaultInstance()) { toBound_ = com.yandex.ydb.ValueProtos.TypedValue.newBuilder((com.yandex.ydb.ValueProtos.TypedValue) toBound_) .mergeFrom(value).buildPartial(); } else { toBound_ = value; } onChanged(); } else { if (toBoundCase_ == 4) { lessOrEqualBuilder_.mergeFrom(value); } 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 com.yandex.ydb.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 com.yandex.ydb.ValueProtos.TypedValueOrBuilder getLessOrEqualOrBuilder() { if ((toBoundCase_ == 4) && (lessOrEqualBuilder_ != null)) { return lessOrEqualBuilder_.getMessageOrBuilder(); } else { if (toBoundCase_ == 4) { return (com.yandex.ydb.ValueProtos.TypedValue) toBound_; } return com.yandex.ydb.ValueProtos.TypedValue.getDefaultInstance(); } } /** *
       * Specify if we want to include given key
       * 
* * .Ydb.TypedValue less_or_equal = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.ValueProtos.TypedValue, com.yandex.ydb.ValueProtos.TypedValue.Builder, com.yandex.ydb.ValueProtos.TypedValueOrBuilder> getLessOrEqualFieldBuilder() { if (lessOrEqualBuilder_ == null) { if (!(toBoundCase_ == 4)) { toBound_ = com.yandex.ydb.ValueProtos.TypedValue.getDefaultInstance(); } lessOrEqualBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.ValueProtos.TypedValue, com.yandex.ydb.ValueProtos.TypedValue.Builder, com.yandex.ydb.ValueProtos.TypedValueOrBuilder>( (com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.KeyRange DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.KeyRange(); } public static com.yandex.ydb.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 { return new KeyRange(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.KeyRange getKeyRange(); /** *
     * Primary key range to read
     * 
* * .Ydb.Table.KeyRange key_range = 3; */ com.yandex.ydb.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. */ com.yandex.ydb.common.CommonProtos.FeatureFlag.Status getUseSnapshot(); } /** *
   * 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.EMPTY; useSnapshot_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ReadTableRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ReadTableRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); sessionId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); path_ = s; break; } case 26: { com.yandex.ydb.table.YdbTable.KeyRange.Builder subBuilder = null; if (keyRange_ != null) { subBuilder = keyRange_.toBuilder(); } keyRange_ = input.readMessage(com.yandex.ydb.table.YdbTable.KeyRange.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(keyRange_); keyRange_ = subBuilder.buildPartial(); } break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { columns_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } columns_.add(s); break; } case 40: { ordered_ = input.readBool(); break; } case 48: { rowLimit_ = input.readUInt64(); break; } case 56: { int rawValue = input.readEnum(); useSnapshot_ = rawValue; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { columns_ = columns_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ReadTableRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ReadTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ReadTableRequest.class, com.yandex.ydb.table.YdbTable.ReadTableRequest.Builder.class); } public static final int SESSION_ID_FIELD_NUMBER = 1; 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; 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 com.yandex.ydb.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 keyRange_ != null; } /** *
     * Primary key range to read
     * 
* * .Ydb.Table.KeyRange key_range = 3; * @return The keyRange. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.KeyRange getKeyRange() { return keyRange_ == null ? com.yandex.ydb.table.YdbTable.KeyRange.getDefaultInstance() : keyRange_; } /** *
     * Primary key range to read
     * 
* * .Ydb.Table.KeyRange key_range = 3; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.KeyRangeOrBuilder getKeyRangeOrBuilder() { return getKeyRange(); } public static final int COLUMNS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList columns_; /** *
     * 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_; /** *
     * 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_; /** *
     * 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_; /** *
     * 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 com.yandex.ydb.common.CommonProtos.FeatureFlag.Status getUseSnapshot() { @SuppressWarnings("deprecation") com.yandex.ydb.common.CommonProtos.FeatureFlag.Status result = com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.valueOf(useSnapshot_); return result == null ? com.yandex.ydb.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 (!getSessionIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_); } if (!getPathBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_); } if (keyRange_ != null) { 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_ != com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(7, useSnapshot_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getSessionIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_); } if (!getPathBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); } if (keyRange_ != null) { 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_ != com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.STATUS_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(7, useSnapshot_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.ReadTableRequest)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.ReadTableRequest other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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 = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.ReadTableRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ReadTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ReadTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.ReadTableRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.ReadTableRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ReadTableRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ReadTableRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.ReadTableRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ReadTableRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ReadTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ReadTableRequest.class, com.yandex.ydb.table.YdbTable.ReadTableRequest.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); sessionId_ = ""; path_ = ""; if (keyRangeBuilder_ == null) { keyRange_ = null; } else { keyRange_ = null; keyRangeBuilder_ = null; } columns_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); ordered_ = false; rowLimit_ = 0L; useSnapshot_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ReadTableRequest_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ReadTableRequest getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.ReadTableRequest.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.ReadTableRequest build() { com.yandex.ydb.table.YdbTable.ReadTableRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ReadTableRequest buildPartial() { com.yandex.ydb.table.YdbTable.ReadTableRequest result = new com.yandex.ydb.table.YdbTable.ReadTableRequest(this); int from_bitField0_ = bitField0_; result.sessionId_ = sessionId_; result.path_ = path_; if (keyRangeBuilder_ == null) { result.keyRange_ = keyRange_; } else { result.keyRange_ = keyRangeBuilder_.build(); } if (((bitField0_ & 0x00000001) != 0)) { columns_ = columns_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.columns_ = columns_; result.ordered_ = ordered_; result.rowLimit_ = rowLimit_; result.useSnapshot_ = useSnapshot_; 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 com.yandex.ydb.table.YdbTable.ReadTableRequest) { return mergeFrom((com.yandex.ydb.table.YdbTable.ReadTableRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.ReadTableRequest other) { if (other == com.yandex.ydb.table.YdbTable.ReadTableRequest.getDefaultInstance()) return this; if (!other.getSessionId().isEmpty()) { sessionId_ = other.sessionId_; onChanged(); } if (!other.getPath().isEmpty()) { path_ = other.path_; onChanged(); } if (other.hasKeyRange()) { mergeKeyRange(other.getKeyRange()); } if (!other.columns_.isEmpty()) { if (columns_.isEmpty()) { columns_ = other.columns_; bitField0_ = (bitField0_ & ~0x00000001); } 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()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.ReadTableRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.ReadTableRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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; onChanged(); return this; } /** *
       * Session identifier
       * 
* * string session_id = 1; * @return This builder for chaining. */ public Builder clearSessionId() { sessionId_ = getDefaultInstance().getSessionId(); 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; 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; onChanged(); return this; } /** *
       * Path to table to read
       * 
* * string path = 2; * @return This builder for chaining. */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); 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; onChanged(); return this; } private com.yandex.ydb.table.YdbTable.KeyRange keyRange_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.KeyRange, com.yandex.ydb.table.YdbTable.KeyRange.Builder, com.yandex.ydb.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 keyRangeBuilder_ != null || keyRange_ != null; } /** *
       * Primary key range to read
       * 
* * .Ydb.Table.KeyRange key_range = 3; * @return The keyRange. */ public com.yandex.ydb.table.YdbTable.KeyRange getKeyRange() { if (keyRangeBuilder_ == null) { return keyRange_ == null ? com.yandex.ydb.table.YdbTable.KeyRange.getDefaultInstance() : keyRange_; } else { return keyRangeBuilder_.getMessage(); } } /** *
       * Primary key range to read
       * 
* * .Ydb.Table.KeyRange key_range = 3; */ public Builder setKeyRange(com.yandex.ydb.table.YdbTable.KeyRange value) { if (keyRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } keyRange_ = value; onChanged(); } else { keyRangeBuilder_.setMessage(value); } return this; } /** *
       * Primary key range to read
       * 
* * .Ydb.Table.KeyRange key_range = 3; */ public Builder setKeyRange( com.yandex.ydb.table.YdbTable.KeyRange.Builder builderForValue) { if (keyRangeBuilder_ == null) { keyRange_ = builderForValue.build(); onChanged(); } else { keyRangeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Primary key range to read
       * 
* * .Ydb.Table.KeyRange key_range = 3; */ public Builder mergeKeyRange(com.yandex.ydb.table.YdbTable.KeyRange value) { if (keyRangeBuilder_ == null) { if (keyRange_ != null) { keyRange_ = com.yandex.ydb.table.YdbTable.KeyRange.newBuilder(keyRange_).mergeFrom(value).buildPartial(); } else { keyRange_ = value; } onChanged(); } else { keyRangeBuilder_.mergeFrom(value); } return this; } /** *
       * Primary key range to read
       * 
* * .Ydb.Table.KeyRange key_range = 3; */ public Builder clearKeyRange() { if (keyRangeBuilder_ == null) { keyRange_ = null; onChanged(); } else { keyRange_ = null; keyRangeBuilder_ = null; } return this; } /** *
       * Primary key range to read
       * 
* * .Ydb.Table.KeyRange key_range = 3; */ public com.yandex.ydb.table.YdbTable.KeyRange.Builder getKeyRangeBuilder() { onChanged(); return getKeyRangeFieldBuilder().getBuilder(); } /** *
       * Primary key range to read
       * 
* * .Ydb.Table.KeyRange key_range = 3; */ public com.yandex.ydb.table.YdbTable.KeyRangeOrBuilder getKeyRangeOrBuilder() { if (keyRangeBuilder_ != null) { return keyRangeBuilder_.getMessageOrBuilder(); } else { return keyRange_ == null ? com.yandex.ydb.table.YdbTable.KeyRange.getDefaultInstance() : keyRange_; } } /** *
       * Primary key range to read
       * 
* * .Ydb.Table.KeyRange key_range = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.KeyRange, com.yandex.ydb.table.YdbTable.KeyRange.Builder, com.yandex.ydb.table.YdbTable.KeyRangeOrBuilder> getKeyRangeFieldBuilder() { if (keyRangeBuilder_ == null) { keyRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.KeyRange, com.yandex.ydb.table.YdbTable.KeyRange.Builder, com.yandex.ydb.table.YdbTable.KeyRangeOrBuilder>( getKeyRange(), getParentForChildren(), isClean()); keyRange_ = null; } return keyRangeBuilder_; } private com.google.protobuf.LazyStringList columns_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureColumnsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { columns_ = new com.google.protobuf.LazyStringArrayList(columns_); bitField0_ |= 0x00000001; } } /** *
       * Output columns
       * 
* * repeated string columns = 4; * @return A list containing the columns. */ public com.google.protobuf.ProtocolStringList getColumnsList() { return columns_.getUnmodifiableView(); } /** *
       * 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); 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); 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_); onChanged(); return this; } /** *
       * Output columns
       * 
* * repeated string columns = 4; * @return This builder for chaining. */ public Builder clearColumns() { columns_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); 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); 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; onChanged(); return this; } /** *
       * Require ordered reading
       * 
* * bool ordered = 5; * @return This builder for chaining. */ public Builder clearOrdered() { 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; onChanged(); return this; } /** *
       * Limits row count to read
       * 
* * uint64 row_limit = 6; * @return This builder for chaining. */ public Builder clearRowLimit() { 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; onChanged(); return this; } /** *
       * Use a server-side snapshot
       * 
* * .Ydb.FeatureFlag.Status use_snapshot = 7; * @return The useSnapshot. */ @java.lang.Override public com.yandex.ydb.common.CommonProtos.FeatureFlag.Status getUseSnapshot() { @SuppressWarnings("deprecation") com.yandex.ydb.common.CommonProtos.FeatureFlag.Status result = com.yandex.ydb.common.CommonProtos.FeatureFlag.Status.valueOf(useSnapshot_); return result == null ? com.yandex.ydb.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(com.yandex.ydb.common.CommonProtos.FeatureFlag.Status value) { if (value == null) { throw new NullPointerException(); } 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() { useSnapshot_ = 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 com.yandex.ydb.table.YdbTable.ReadTableRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.ReadTableRequest(); } public static com.yandex.ydb.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 { return new ReadTableRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.StatusCodesProtos.StatusIds.StatusCode getStatus(); /** *
     * Issues
     * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ java.util.List getIssuesList(); /** *
     * Issues
     * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ com.yandex.ydb.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; */ com.yandex.ydb.YdbIssueMessage.IssueMessageOrBuilder getIssuesOrBuilder( int index); /** *
     * 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. */ com.yandex.ydb.table.YdbTable.ReadTableResult getResult(); /** *
     * Read table result
     * 
* * .Ydb.Table.ReadTableResult result = 3; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ReadTableResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { int rawValue = input.readEnum(); status_ = rawValue; break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { issues_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } issues_.add( input.readMessage(com.yandex.ydb.YdbIssueMessage.IssueMessage.parser(), extensionRegistry)); break; } case 26: { com.yandex.ydb.table.YdbTable.ReadTableResult.Builder subBuilder = null; if (result_ != null) { subBuilder = result_.toBuilder(); } result_ = input.readMessage(com.yandex.ydb.table.YdbTable.ReadTableResult.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(result_); result_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { issues_ = java.util.Collections.unmodifiableList(issues_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ReadTableResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ReadTableResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ReadTableResponse.class, com.yandex.ydb.table.YdbTable.ReadTableResponse.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private int status_; /** *
     * 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 com.yandex.ydb.StatusCodesProtos.StatusIds.StatusCode getStatus() { @SuppressWarnings("deprecation") com.yandex.ydb.StatusCodesProtos.StatusIds.StatusCode result = com.yandex.ydb.StatusCodesProtos.StatusIds.StatusCode.valueOf(status_); return result == null ? com.yandex.ydb.StatusCodesProtos.StatusIds.StatusCode.UNRECOGNIZED : result; } public static final int ISSUES_FIELD_NUMBER = 2; 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 com.yandex.ydb.YdbIssueMessage.IssueMessage getIssues(int index) { return issues_.get(index); } /** *
     * Issues
     * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ @java.lang.Override public com.yandex.ydb.YdbIssueMessage.IssueMessageOrBuilder getIssuesOrBuilder( int index) { return issues_.get(index); } public static final int RESULT_FIELD_NUMBER = 3; private com.yandex.ydb.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 result_ != null; } /** *
     * Read table result
     * 
* * .Ydb.Table.ReadTableResult result = 3; * @return The result. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.ReadTableResult getResult() { return result_ == null ? com.yandex.ydb.table.YdbTable.ReadTableResult.getDefaultInstance() : result_; } /** *
     * Read table result
     * 
* * .Ydb.Table.ReadTableResult result = 3; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.ReadTableResultOrBuilder getResultOrBuilder() { return getResult(); } 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_ != com.yandex.ydb.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 (result_ != null) { output.writeMessage(3, getResult()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (status_ != com.yandex.ydb.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 (result_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getResult()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.ReadTableResponse)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.ReadTableResponse other = (com.yandex.ydb.table.YdbTable.ReadTableResponse) 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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.ReadTableResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ReadTableResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ReadTableResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.ReadTableResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.ReadTableResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ReadTableResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ReadTableResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.ReadTableResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ReadTableResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ReadTableResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ReadTableResponse.class, com.yandex.ydb.table.YdbTable.ReadTableResponse.Builder.class); } // Construct using com.yandex.ydb.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(); } } @java.lang.Override public Builder clear() { super.clear(); status_ = 0; if (issuesBuilder_ == null) { issues_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { issuesBuilder_.clear(); } if (resultBuilder_ == null) { result_ = null; } else { result_ = null; resultBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ReadTableResponse_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ReadTableResponse getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.ReadTableResponse.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.ReadTableResponse build() { com.yandex.ydb.table.YdbTable.ReadTableResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ReadTableResponse buildPartial() { com.yandex.ydb.table.YdbTable.ReadTableResponse result = new com.yandex.ydb.table.YdbTable.ReadTableResponse(this); int from_bitField0_ = bitField0_; result.status_ = status_; if (issuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { issues_ = java.util.Collections.unmodifiableList(issues_); bitField0_ = (bitField0_ & ~0x00000001); } result.issues_ = issues_; } else { result.issues_ = issuesBuilder_.build(); } if (resultBuilder_ == null) { result.result_ = result_; } else { result.result_ = resultBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.ReadTableResponse) { return mergeFrom((com.yandex.ydb.table.YdbTable.ReadTableResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.ReadTableResponse other) { if (other == com.yandex.ydb.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_ & ~0x00000001); } else { ensureIssuesIsMutable(); issues_.addAll(other.issues_); } onChanged(); } } else { if (!other.issues_.isEmpty()) { if (issuesBuilder_.isEmpty()) { issuesBuilder_.dispose(); issuesBuilder_ = null; issues_ = other.issues_; bitField0_ = (bitField0_ & ~0x00000001); issuesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getIssuesFieldBuilder() : null; } else { issuesBuilder_.addAllMessages(other.issues_); } } } if (other.hasResult()) { mergeResult(other.getResult()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.ReadTableResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.ReadTableResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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; onChanged(); return this; } /** *
       * Status of request (same as other statuses)
       * 
* * .Ydb.StatusIds.StatusCode status = 1; * @return The status. */ @java.lang.Override public com.yandex.ydb.StatusCodesProtos.StatusIds.StatusCode getStatus() { @SuppressWarnings("deprecation") com.yandex.ydb.StatusCodesProtos.StatusIds.StatusCode result = com.yandex.ydb.StatusCodesProtos.StatusIds.StatusCode.valueOf(status_); return result == null ? com.yandex.ydb.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(com.yandex.ydb.StatusCodesProtos.StatusIds.StatusCode value) { if (value == null) { throw new NullPointerException(); } 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() { status_ = 0; onChanged(); return this; } private java.util.List issues_ = java.util.Collections.emptyList(); private void ensureIssuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { issues_ = new java.util.ArrayList(issues_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.YdbIssueMessage.IssueMessage, com.yandex.ydb.YdbIssueMessage.IssueMessage.Builder, com.yandex.ydb.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 com.yandex.ydb.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, com.yandex.ydb.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, com.yandex.ydb.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(com.yandex.ydb.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, com.yandex.ydb.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( com.yandex.ydb.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, com.yandex.ydb.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_ & ~0x00000001); 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 com.yandex.ydb.YdbIssueMessage.IssueMessage.Builder getIssuesBuilder( int index) { return getIssuesFieldBuilder().getBuilder(index); } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public com.yandex.ydb.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 com.yandex.ydb.YdbIssueMessage.IssueMessage.Builder addIssuesBuilder() { return getIssuesFieldBuilder().addBuilder( com.yandex.ydb.YdbIssueMessage.IssueMessage.getDefaultInstance()); } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public com.yandex.ydb.YdbIssueMessage.IssueMessage.Builder addIssuesBuilder( int index) { return getIssuesFieldBuilder().addBuilder( index, com.yandex.ydb.YdbIssueMessage.IssueMessage.getDefaultInstance()); } /** *
       * Issues
       * 
* * repeated .Ydb.Issue.IssueMessage issues = 2; */ public java.util.List getIssuesBuilderList() { return getIssuesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.YdbIssueMessage.IssueMessage, com.yandex.ydb.YdbIssueMessage.IssueMessage.Builder, com.yandex.ydb.YdbIssueMessage.IssueMessageOrBuilder> getIssuesFieldBuilder() { if (issuesBuilder_ == null) { issuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.YdbIssueMessage.IssueMessage, com.yandex.ydb.YdbIssueMessage.IssueMessage.Builder, com.yandex.ydb.YdbIssueMessage.IssueMessageOrBuilder>( issues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); issues_ = null; } return issuesBuilder_; } private com.yandex.ydb.table.YdbTable.ReadTableResult result_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.ReadTableResult, com.yandex.ydb.table.YdbTable.ReadTableResult.Builder, com.yandex.ydb.table.YdbTable.ReadTableResultOrBuilder> resultBuilder_; /** *
       * Read table result
       * 
* * .Ydb.Table.ReadTableResult result = 3; * @return Whether the result field is set. */ public boolean hasResult() { return resultBuilder_ != null || result_ != null; } /** *
       * Read table result
       * 
* * .Ydb.Table.ReadTableResult result = 3; * @return The result. */ public com.yandex.ydb.table.YdbTable.ReadTableResult getResult() { if (resultBuilder_ == null) { return result_ == null ? com.yandex.ydb.table.YdbTable.ReadTableResult.getDefaultInstance() : result_; } else { return resultBuilder_.getMessage(); } } /** *
       * Read table result
       * 
* * .Ydb.Table.ReadTableResult result = 3; */ public Builder setResult(com.yandex.ydb.table.YdbTable.ReadTableResult value) { if (resultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } result_ = value; onChanged(); } else { resultBuilder_.setMessage(value); } return this; } /** *
       * Read table result
       * 
* * .Ydb.Table.ReadTableResult result = 3; */ public Builder setResult( com.yandex.ydb.table.YdbTable.ReadTableResult.Builder builderForValue) { if (resultBuilder_ == null) { result_ = builderForValue.build(); onChanged(); } else { resultBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Read table result
       * 
* * .Ydb.Table.ReadTableResult result = 3; */ public Builder mergeResult(com.yandex.ydb.table.YdbTable.ReadTableResult value) { if (resultBuilder_ == null) { if (result_ != null) { result_ = com.yandex.ydb.table.YdbTable.ReadTableResult.newBuilder(result_).mergeFrom(value).buildPartial(); } else { result_ = value; } onChanged(); } else { resultBuilder_.mergeFrom(value); } return this; } /** *
       * Read table result
       * 
* * .Ydb.Table.ReadTableResult result = 3; */ public Builder clearResult() { if (resultBuilder_ == null) { result_ = null; onChanged(); } else { result_ = null; resultBuilder_ = null; } return this; } /** *
       * Read table result
       * 
* * .Ydb.Table.ReadTableResult result = 3; */ public com.yandex.ydb.table.YdbTable.ReadTableResult.Builder getResultBuilder() { onChanged(); return getResultFieldBuilder().getBuilder(); } /** *
       * Read table result
       * 
* * .Ydb.Table.ReadTableResult result = 3; */ public com.yandex.ydb.table.YdbTable.ReadTableResultOrBuilder getResultOrBuilder() { if (resultBuilder_ != null) { return resultBuilder_.getMessageOrBuilder(); } else { return result_ == null ? com.yandex.ydb.table.YdbTable.ReadTableResult.getDefaultInstance() : result_; } } /** *
       * Read table result
       * 
* * .Ydb.Table.ReadTableResult result = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.ReadTableResult, com.yandex.ydb.table.YdbTable.ReadTableResult.Builder, com.yandex.ydb.table.YdbTable.ReadTableResultOrBuilder> getResultFieldBuilder() { if (resultBuilder_ == null) { resultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.ReadTableResult, com.yandex.ydb.table.YdbTable.ReadTableResult.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ReadTableResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.ReadTableResponse(); } public static com.yandex.ydb.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 { return new ReadTableResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.ValueProtos.ResultSet getResultSet(); /** *
     * Result set (same as result of sql request)
     * 
* * .Ydb.ResultSet result_set = 1; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ReadTableResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.ValueProtos.ResultSet.Builder subBuilder = null; if (resultSet_ != null) { subBuilder = resultSet_.toBuilder(); } resultSet_ = input.readMessage(com.yandex.ydb.ValueProtos.ResultSet.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(resultSet_); resultSet_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ReadTableResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ReadTableResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ReadTableResult.class, com.yandex.ydb.table.YdbTable.ReadTableResult.Builder.class); } public static final int RESULT_SET_FIELD_NUMBER = 1; private com.yandex.ydb.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 resultSet_ != null; } /** *
     * Result set (same as result of sql request)
     * 
* * .Ydb.ResultSet result_set = 1; * @return The resultSet. */ @java.lang.Override public com.yandex.ydb.ValueProtos.ResultSet getResultSet() { return resultSet_ == null ? com.yandex.ydb.ValueProtos.ResultSet.getDefaultInstance() : resultSet_; } /** *
     * Result set (same as result of sql request)
     * 
* * .Ydb.ResultSet result_set = 1; */ @java.lang.Override public com.yandex.ydb.ValueProtos.ResultSetOrBuilder getResultSetOrBuilder() { return getResultSet(); } 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 (resultSet_ != null) { output.writeMessage(1, getResultSet()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (resultSet_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getResultSet()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.ReadTableResult)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.ReadTableResult other = (com.yandex.ydb.table.YdbTable.ReadTableResult) obj; if (hasResultSet() != other.hasResultSet()) return false; if (hasResultSet()) { if (!getResultSet() .equals(other.getResultSet())) return false; } if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.ReadTableResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ReadTableResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ReadTableResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.ReadTableResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.ReadTableResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ReadTableResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ReadTableResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.ReadTableResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ReadTableResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ReadTableResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ReadTableResult.class, com.yandex.ydb.table.YdbTable.ReadTableResult.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); if (resultSetBuilder_ == null) { resultSet_ = null; } else { resultSet_ = null; resultSetBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ReadTableResult_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ReadTableResult getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.ReadTableResult.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.ReadTableResult build() { com.yandex.ydb.table.YdbTable.ReadTableResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ReadTableResult buildPartial() { com.yandex.ydb.table.YdbTable.ReadTableResult result = new com.yandex.ydb.table.YdbTable.ReadTableResult(this); if (resultSetBuilder_ == null) { result.resultSet_ = resultSet_; } else { result.resultSet_ = resultSetBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.ReadTableResult) { return mergeFrom((com.yandex.ydb.table.YdbTable.ReadTableResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.ReadTableResult other) { if (other == com.yandex.ydb.table.YdbTable.ReadTableResult.getDefaultInstance()) return this; if (other.hasResultSet()) { mergeResultSet(other.getResultSet()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.ReadTableResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.ReadTableResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.yandex.ydb.ValueProtos.ResultSet resultSet_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.ValueProtos.ResultSet, com.yandex.ydb.ValueProtos.ResultSet.Builder, com.yandex.ydb.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 resultSetBuilder_ != null || resultSet_ != null; } /** *
       * Result set (same as result of sql request)
       * 
* * .Ydb.ResultSet result_set = 1; * @return The resultSet. */ public com.yandex.ydb.ValueProtos.ResultSet getResultSet() { if (resultSetBuilder_ == null) { return resultSet_ == null ? com.yandex.ydb.ValueProtos.ResultSet.getDefaultInstance() : resultSet_; } else { return resultSetBuilder_.getMessage(); } } /** *
       * Result set (same as result of sql request)
       * 
* * .Ydb.ResultSet result_set = 1; */ public Builder setResultSet(com.yandex.ydb.ValueProtos.ResultSet value) { if (resultSetBuilder_ == null) { if (value == null) { throw new NullPointerException(); } resultSet_ = value; onChanged(); } else { resultSetBuilder_.setMessage(value); } return this; } /** *
       * Result set (same as result of sql request)
       * 
* * .Ydb.ResultSet result_set = 1; */ public Builder setResultSet( com.yandex.ydb.ValueProtos.ResultSet.Builder builderForValue) { if (resultSetBuilder_ == null) { resultSet_ = builderForValue.build(); onChanged(); } else { resultSetBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Result set (same as result of sql request)
       * 
* * .Ydb.ResultSet result_set = 1; */ public Builder mergeResultSet(com.yandex.ydb.ValueProtos.ResultSet value) { if (resultSetBuilder_ == null) { if (resultSet_ != null) { resultSet_ = com.yandex.ydb.ValueProtos.ResultSet.newBuilder(resultSet_).mergeFrom(value).buildPartial(); } else { resultSet_ = value; } onChanged(); } else { resultSetBuilder_.mergeFrom(value); } return this; } /** *
       * Result set (same as result of sql request)
       * 
* * .Ydb.ResultSet result_set = 1; */ public Builder clearResultSet() { if (resultSetBuilder_ == null) { resultSet_ = null; onChanged(); } else { resultSet_ = null; resultSetBuilder_ = null; } return this; } /** *
       * Result set (same as result of sql request)
       * 
* * .Ydb.ResultSet result_set = 1; */ public com.yandex.ydb.ValueProtos.ResultSet.Builder getResultSetBuilder() { onChanged(); return getResultSetFieldBuilder().getBuilder(); } /** *
       * Result set (same as result of sql request)
       * 
* * .Ydb.ResultSet result_set = 1; */ public com.yandex.ydb.ValueProtos.ResultSetOrBuilder getResultSetOrBuilder() { if (resultSetBuilder_ != null) { return resultSetBuilder_.getMessageOrBuilder(); } else { return resultSet_ == null ? com.yandex.ydb.ValueProtos.ResultSet.getDefaultInstance() : resultSet_; } } /** *
       * Result set (same as result of sql request)
       * 
* * .Ydb.ResultSet result_set = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.ValueProtos.ResultSet, com.yandex.ydb.ValueProtos.ResultSet.Builder, com.yandex.ydb.ValueProtos.ResultSetOrBuilder> getResultSetFieldBuilder() { if (resultSetBuilder_ == null) { resultSetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.ValueProtos.ResultSet, com.yandex.ydb.ValueProtos.ResultSet.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ReadTableResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.ReadTableResult(); } public static com.yandex.ydb.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 { return new ReadTableResult(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ReadTableResult 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. */ com.yandex.ydb.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; */ com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 3; */ com.yandex.ydb.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. */ com.yandex.ydb.formats.YdbFormats.ArrowBatchSettings getArrowBatchSettings(); /** * .Ydb.Formats.ArrowBatchSettings arrow_batch_settings = 7; */ com.yandex.ydb.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. */ com.yandex.ydb.formats.YdbFormats.CsvSettings getCsvSettings(); /** * .Ydb.Formats.CsvSettings csv_settings = 8; */ com.yandex.ydb.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(); public com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BulkUpsertRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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(); table_ = s; break; } case 18: { com.yandex.ydb.ValueProtos.TypedValue.Builder subBuilder = null; if (rows_ != null) { subBuilder = rows_.toBuilder(); } rows_ = input.readMessage(com.yandex.ydb.ValueProtos.TypedValue.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(rows_); rows_ = subBuilder.buildPartial(); } break; } case 26: { com.yandex.ydb.OperationProtos.OperationParams.Builder subBuilder = null; if (operationParams_ != null) { subBuilder = operationParams_.toBuilder(); } operationParams_ = input.readMessage(com.yandex.ydb.OperationProtos.OperationParams.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operationParams_); operationParams_ = subBuilder.buildPartial(); } break; } case 58: { com.yandex.ydb.formats.YdbFormats.ArrowBatchSettings.Builder subBuilder = null; if (dataFormatCase_ == 7) { subBuilder = ((com.yandex.ydb.formats.YdbFormats.ArrowBatchSettings) dataFormat_).toBuilder(); } dataFormat_ = input.readMessage(com.yandex.ydb.formats.YdbFormats.ArrowBatchSettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.yandex.ydb.formats.YdbFormats.ArrowBatchSettings) dataFormat_); dataFormat_ = subBuilder.buildPartial(); } dataFormatCase_ = 7; break; } case 66: { com.yandex.ydb.formats.YdbFormats.CsvSettings.Builder subBuilder = null; if (dataFormatCase_ == 8) { subBuilder = ((com.yandex.ydb.formats.YdbFormats.CsvSettings) dataFormat_).toBuilder(); } dataFormat_ = input.readMessage(com.yandex.ydb.formats.YdbFormats.CsvSettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.yandex.ydb.formats.YdbFormats.CsvSettings) dataFormat_); dataFormat_ = subBuilder.buildPartial(); } dataFormatCase_ = 8; break; } case 8002: { data_ = input.readBytes(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_BulkUpsertRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_BulkUpsertRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.BulkUpsertRequest.class, com.yandex.ydb.table.YdbTable.BulkUpsertRequest.Builder.class); } private int dataFormatCase_ = 0; 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; 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 com.yandex.ydb.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 rows_ != null; } /** *
     * "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 com.yandex.ydb.ValueProtos.TypedValue getRows() { return rows_ == null ? com.yandex.ydb.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 com.yandex.ydb.ValueProtos.TypedValueOrBuilder getRowsOrBuilder() { return getRows(); } public static final int OPERATION_PARAMS_FIELD_NUMBER = 3; private com.yandex.ydb.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 3; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 3; * @return The operationParams. */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return getOperationParams(); } 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 com.yandex.ydb.formats.YdbFormats.ArrowBatchSettings getArrowBatchSettings() { if (dataFormatCase_ == 7) { return (com.yandex.ydb.formats.YdbFormats.ArrowBatchSettings) dataFormat_; } return com.yandex.ydb.formats.YdbFormats.ArrowBatchSettings.getDefaultInstance(); } /** * .Ydb.Formats.ArrowBatchSettings arrow_batch_settings = 7; */ @java.lang.Override public com.yandex.ydb.formats.YdbFormats.ArrowBatchSettingsOrBuilder getArrowBatchSettingsOrBuilder() { if (dataFormatCase_ == 7) { return (com.yandex.ydb.formats.YdbFormats.ArrowBatchSettings) dataFormat_; } return com.yandex.ydb.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 com.yandex.ydb.formats.YdbFormats.CsvSettings getCsvSettings() { if (dataFormatCase_ == 8) { return (com.yandex.ydb.formats.YdbFormats.CsvSettings) dataFormat_; } return com.yandex.ydb.formats.YdbFormats.CsvSettings.getDefaultInstance(); } /** * .Ydb.Formats.CsvSettings csv_settings = 8; */ @java.lang.Override public com.yandex.ydb.formats.YdbFormats.CsvSettingsOrBuilder getCsvSettingsOrBuilder() { if (dataFormatCase_ == 8) { return (com.yandex.ydb.formats.YdbFormats.CsvSettings) dataFormat_; } return com.yandex.ydb.formats.YdbFormats.CsvSettings.getDefaultInstance(); } public static final int DATA_FIELD_NUMBER = 1000; private com.google.protobuf.ByteString data_; /** *
     * 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 (!getTableBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, table_); } if (rows_ != null) { output.writeMessage(2, getRows()); } if (operationParams_ != null) { output.writeMessage(3, getOperationParams()); } if (dataFormatCase_ == 7) { output.writeMessage(7, (com.yandex.ydb.formats.YdbFormats.ArrowBatchSettings) dataFormat_); } if (dataFormatCase_ == 8) { output.writeMessage(8, (com.yandex.ydb.formats.YdbFormats.CsvSettings) dataFormat_); } if (!data_.isEmpty()) { output.writeBytes(1000, data_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getTableBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, table_); } if (rows_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getRows()); } if (operationParams_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getOperationParams()); } if (dataFormatCase_ == 7) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, (com.yandex.ydb.formats.YdbFormats.ArrowBatchSettings) dataFormat_); } if (dataFormatCase_ == 8) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, (com.yandex.ydb.formats.YdbFormats.CsvSettings) dataFormat_); } if (!data_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1000, data_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.BulkUpsertRequest)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.BulkUpsertRequest other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.BulkUpsertRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.BulkUpsertRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.BulkUpsertRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.BulkUpsertRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.BulkUpsertRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.BulkUpsertRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.BulkUpsertRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.BulkUpsertRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_BulkUpsertRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_BulkUpsertRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.BulkUpsertRequest.class, com.yandex.ydb.table.YdbTable.BulkUpsertRequest.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); table_ = ""; if (rowsBuilder_ == null) { rows_ = null; } else { rows_ = null; rowsBuilder_ = null; } if (operationParamsBuilder_ == null) { operationParams_ = null; } else { operationParams_ = null; operationParamsBuilder_ = null; } data_ = com.google.protobuf.ByteString.EMPTY; dataFormatCase_ = 0; dataFormat_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_BulkUpsertRequest_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.BulkUpsertRequest getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.BulkUpsertRequest.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.BulkUpsertRequest build() { com.yandex.ydb.table.YdbTable.BulkUpsertRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.BulkUpsertRequest buildPartial() { com.yandex.ydb.table.YdbTable.BulkUpsertRequest result = new com.yandex.ydb.table.YdbTable.BulkUpsertRequest(this); result.table_ = table_; if (rowsBuilder_ == null) { result.rows_ = rows_; } else { result.rows_ = rowsBuilder_.build(); } if (operationParamsBuilder_ == null) { result.operationParams_ = operationParams_; } else { result.operationParams_ = operationParamsBuilder_.build(); } if (dataFormatCase_ == 7) { if (arrowBatchSettingsBuilder_ == null) { result.dataFormat_ = dataFormat_; } else { result.dataFormat_ = arrowBatchSettingsBuilder_.build(); } } if (dataFormatCase_ == 8) { if (csvSettingsBuilder_ == null) { result.dataFormat_ = dataFormat_; } else { result.dataFormat_ = csvSettingsBuilder_.build(); } } result.data_ = data_; result.dataFormatCase_ = dataFormatCase_; 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 com.yandex.ydb.table.YdbTable.BulkUpsertRequest) { return mergeFrom((com.yandex.ydb.table.YdbTable.BulkUpsertRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.BulkUpsertRequest other) { if (other == com.yandex.ydb.table.YdbTable.BulkUpsertRequest.getDefaultInstance()) return this; if (!other.getTable().isEmpty()) { table_ = other.table_; 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.unknownFields); 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 { com.yandex.ydb.table.YdbTable.BulkUpsertRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.BulkUpsertRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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 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; onChanged(); return this; } /** * string table = 1; * @return This builder for chaining. */ public Builder clearTable() { table_ = getDefaultInstance().getTable(); 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; onChanged(); return this; } private com.yandex.ydb.ValueProtos.TypedValue rows_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.ValueProtos.TypedValue, com.yandex.ydb.ValueProtos.TypedValue.Builder, com.yandex.ydb.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 rowsBuilder_ != null || rows_ != null; } /** *
       * "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 com.yandex.ydb.ValueProtos.TypedValue getRows() { if (rowsBuilder_ == null) { return rows_ == null ? com.yandex.ydb.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(com.yandex.ydb.ValueProtos.TypedValue value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } rows_ = value; onChanged(); } else { rowsBuilder_.setMessage(value); } 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( com.yandex.ydb.ValueProtos.TypedValue.Builder builderForValue) { if (rowsBuilder_ == null) { rows_ = builderForValue.build(); onChanged(); } else { rowsBuilder_.setMessage(builderForValue.build()); } 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(com.yandex.ydb.ValueProtos.TypedValue value) { if (rowsBuilder_ == null) { if (rows_ != null) { rows_ = com.yandex.ydb.ValueProtos.TypedValue.newBuilder(rows_).mergeFrom(value).buildPartial(); } else { rows_ = value; } onChanged(); } else { rowsBuilder_.mergeFrom(value); } 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() { if (rowsBuilder_ == null) { rows_ = null; onChanged(); } else { rows_ = null; rowsBuilder_ = null; } 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 com.yandex.ydb.ValueProtos.TypedValue.Builder getRowsBuilder() { 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 com.yandex.ydb.ValueProtos.TypedValueOrBuilder getRowsOrBuilder() { if (rowsBuilder_ != null) { return rowsBuilder_.getMessageOrBuilder(); } else { return rows_ == null ? com.yandex.ydb.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< com.yandex.ydb.ValueProtos.TypedValue, com.yandex.ydb.ValueProtos.TypedValue.Builder, com.yandex.ydb.ValueProtos.TypedValueOrBuilder> getRowsFieldBuilder() { if (rowsBuilder_ == null) { rowsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.ValueProtos.TypedValue, com.yandex.ydb.ValueProtos.TypedValue.Builder, com.yandex.ydb.ValueProtos.TypedValueOrBuilder>( getRows(), getParentForChildren(), isClean()); rows_ = null; } return rowsBuilder_; } private com.yandex.ydb.OperationProtos.OperationParams operationParams_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> operationParamsBuilder_; /** * .Ydb.Operations.OperationParams operation_params = 3; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return operationParamsBuilder_ != null || operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 3; * @return The operationParams. */ public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { if (operationParamsBuilder_ == null) { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } else { return operationParamsBuilder_.getMessage(); } } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder setOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operationParams_ = value; onChanged(); } else { operationParamsBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder setOperationParams( com.yandex.ydb.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); onChanged(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder mergeOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (operationParams_ != null) { operationParams_ = com.yandex.ydb.OperationProtos.OperationParams.newBuilder(operationParams_).mergeFrom(value).buildPartial(); } else { operationParams_ = value; } onChanged(); } else { operationParamsBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public Builder clearOperationParams() { if (operationParamsBuilder_ == null) { operationParams_ = null; onChanged(); } else { operationParams_ = null; operationParamsBuilder_ = null; } return this; } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public com.yandex.ydb.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 3; */ public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { if (operationParamsBuilder_ != null) { return operationParamsBuilder_.getMessageOrBuilder(); } else { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } } /** * .Ydb.Operations.OperationParams operation_params = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> getOperationParamsFieldBuilder() { if (operationParamsBuilder_ == null) { operationParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder>( getOperationParams(), getParentForChildren(), isClean()); operationParams_ = null; } return operationParamsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.formats.YdbFormats.ArrowBatchSettings, com.yandex.ydb.formats.YdbFormats.ArrowBatchSettings.Builder, com.yandex.ydb.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 com.yandex.ydb.formats.YdbFormats.ArrowBatchSettings getArrowBatchSettings() { if (arrowBatchSettingsBuilder_ == null) { if (dataFormatCase_ == 7) { return (com.yandex.ydb.formats.YdbFormats.ArrowBatchSettings) dataFormat_; } return com.yandex.ydb.formats.YdbFormats.ArrowBatchSettings.getDefaultInstance(); } else { if (dataFormatCase_ == 7) { return arrowBatchSettingsBuilder_.getMessage(); } return com.yandex.ydb.formats.YdbFormats.ArrowBatchSettings.getDefaultInstance(); } } /** * .Ydb.Formats.ArrowBatchSettings arrow_batch_settings = 7; */ public Builder setArrowBatchSettings(com.yandex.ydb.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( com.yandex.ydb.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(com.yandex.ydb.formats.YdbFormats.ArrowBatchSettings value) { if (arrowBatchSettingsBuilder_ == null) { if (dataFormatCase_ == 7 && dataFormat_ != com.yandex.ydb.formats.YdbFormats.ArrowBatchSettings.getDefaultInstance()) { dataFormat_ = com.yandex.ydb.formats.YdbFormats.ArrowBatchSettings.newBuilder((com.yandex.ydb.formats.YdbFormats.ArrowBatchSettings) dataFormat_) .mergeFrom(value).buildPartial(); } else { dataFormat_ = value; } onChanged(); } else { if (dataFormatCase_ == 7) { arrowBatchSettingsBuilder_.mergeFrom(value); } 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 com.yandex.ydb.formats.YdbFormats.ArrowBatchSettings.Builder getArrowBatchSettingsBuilder() { return getArrowBatchSettingsFieldBuilder().getBuilder(); } /** * .Ydb.Formats.ArrowBatchSettings arrow_batch_settings = 7; */ @java.lang.Override public com.yandex.ydb.formats.YdbFormats.ArrowBatchSettingsOrBuilder getArrowBatchSettingsOrBuilder() { if ((dataFormatCase_ == 7) && (arrowBatchSettingsBuilder_ != null)) { return arrowBatchSettingsBuilder_.getMessageOrBuilder(); } else { if (dataFormatCase_ == 7) { return (com.yandex.ydb.formats.YdbFormats.ArrowBatchSettings) dataFormat_; } return com.yandex.ydb.formats.YdbFormats.ArrowBatchSettings.getDefaultInstance(); } } /** * .Ydb.Formats.ArrowBatchSettings arrow_batch_settings = 7; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.formats.YdbFormats.ArrowBatchSettings, com.yandex.ydb.formats.YdbFormats.ArrowBatchSettings.Builder, com.yandex.ydb.formats.YdbFormats.ArrowBatchSettingsOrBuilder> getArrowBatchSettingsFieldBuilder() { if (arrowBatchSettingsBuilder_ == null) { if (!(dataFormatCase_ == 7)) { dataFormat_ = com.yandex.ydb.formats.YdbFormats.ArrowBatchSettings.getDefaultInstance(); } arrowBatchSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.formats.YdbFormats.ArrowBatchSettings, com.yandex.ydb.formats.YdbFormats.ArrowBatchSettings.Builder, com.yandex.ydb.formats.YdbFormats.ArrowBatchSettingsOrBuilder>( (com.yandex.ydb.formats.YdbFormats.ArrowBatchSettings) dataFormat_, getParentForChildren(), isClean()); dataFormat_ = null; } dataFormatCase_ = 7; onChanged();; return arrowBatchSettingsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.formats.YdbFormats.CsvSettings, com.yandex.ydb.formats.YdbFormats.CsvSettings.Builder, com.yandex.ydb.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 com.yandex.ydb.formats.YdbFormats.CsvSettings getCsvSettings() { if (csvSettingsBuilder_ == null) { if (dataFormatCase_ == 8) { return (com.yandex.ydb.formats.YdbFormats.CsvSettings) dataFormat_; } return com.yandex.ydb.formats.YdbFormats.CsvSettings.getDefaultInstance(); } else { if (dataFormatCase_ == 8) { return csvSettingsBuilder_.getMessage(); } return com.yandex.ydb.formats.YdbFormats.CsvSettings.getDefaultInstance(); } } /** * .Ydb.Formats.CsvSettings csv_settings = 8; */ public Builder setCsvSettings(com.yandex.ydb.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( com.yandex.ydb.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(com.yandex.ydb.formats.YdbFormats.CsvSettings value) { if (csvSettingsBuilder_ == null) { if (dataFormatCase_ == 8 && dataFormat_ != com.yandex.ydb.formats.YdbFormats.CsvSettings.getDefaultInstance()) { dataFormat_ = com.yandex.ydb.formats.YdbFormats.CsvSettings.newBuilder((com.yandex.ydb.formats.YdbFormats.CsvSettings) dataFormat_) .mergeFrom(value).buildPartial(); } else { dataFormat_ = value; } onChanged(); } else { if (dataFormatCase_ == 8) { csvSettingsBuilder_.mergeFrom(value); } 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 com.yandex.ydb.formats.YdbFormats.CsvSettings.Builder getCsvSettingsBuilder() { return getCsvSettingsFieldBuilder().getBuilder(); } /** * .Ydb.Formats.CsvSettings csv_settings = 8; */ @java.lang.Override public com.yandex.ydb.formats.YdbFormats.CsvSettingsOrBuilder getCsvSettingsOrBuilder() { if ((dataFormatCase_ == 8) && (csvSettingsBuilder_ != null)) { return csvSettingsBuilder_.getMessageOrBuilder(); } else { if (dataFormatCase_ == 8) { return (com.yandex.ydb.formats.YdbFormats.CsvSettings) dataFormat_; } return com.yandex.ydb.formats.YdbFormats.CsvSettings.getDefaultInstance(); } } /** * .Ydb.Formats.CsvSettings csv_settings = 8; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.formats.YdbFormats.CsvSettings, com.yandex.ydb.formats.YdbFormats.CsvSettings.Builder, com.yandex.ydb.formats.YdbFormats.CsvSettingsOrBuilder> getCsvSettingsFieldBuilder() { if (csvSettingsBuilder_ == null) { if (!(dataFormatCase_ == 8)) { dataFormat_ = com.yandex.ydb.formats.YdbFormats.CsvSettings.getDefaultInstance(); } csvSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.formats.YdbFormats.CsvSettings, com.yandex.ydb.formats.YdbFormats.CsvSettings.Builder, com.yandex.ydb.formats.YdbFormats.CsvSettingsOrBuilder>( (com.yandex.ydb.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; 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() { 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 com.yandex.ydb.table.YdbTable.BulkUpsertRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.BulkUpsertRequest(); } public static com.yandex.ydb.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 { return new BulkUpsertRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.OperationProtos.Operation getOperation(); /** * .Ydb.Operations.Operation operation = 1; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BulkUpsertResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.OperationProtos.Operation.Builder subBuilder = null; if (operation_ != null) { subBuilder = operation_.toBuilder(); } operation_ = input.readMessage(com.yandex.ydb.OperationProtos.Operation.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operation_); operation_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_BulkUpsertResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_BulkUpsertResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.BulkUpsertResponse.class, com.yandex.ydb.table.YdbTable.BulkUpsertResponse.Builder.class); } public static final int OPERATION_FIELD_NUMBER = 1; private com.yandex.ydb.OperationProtos.Operation operation_; /** * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ @java.lang.Override public boolean hasOperation() { return operation_ != null; } /** * .Ydb.Operations.Operation operation = 1; * @return The operation. */ @java.lang.Override public com.yandex.ydb.OperationProtos.Operation getOperation() { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } /** * .Ydb.Operations.Operation operation = 1; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { return getOperation(); } 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 (operation_ != null) { output.writeMessage(1, getOperation()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (operation_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getOperation()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.BulkUpsertResponse)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.BulkUpsertResponse other = (com.yandex.ydb.table.YdbTable.BulkUpsertResponse) obj; if (hasOperation() != other.hasOperation()) return false; if (hasOperation()) { if (!getOperation() .equals(other.getOperation())) return false; } if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.BulkUpsertResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.BulkUpsertResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.BulkUpsertResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.BulkUpsertResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.BulkUpsertResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.BulkUpsertResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.BulkUpsertResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.BulkUpsertResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_BulkUpsertResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_BulkUpsertResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.BulkUpsertResponse.class, com.yandex.ydb.table.YdbTable.BulkUpsertResponse.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); if (operationBuilder_ == null) { operation_ = null; } else { operation_ = null; operationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_BulkUpsertResponse_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.BulkUpsertResponse getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.BulkUpsertResponse.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.BulkUpsertResponse build() { com.yandex.ydb.table.YdbTable.BulkUpsertResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.BulkUpsertResponse buildPartial() { com.yandex.ydb.table.YdbTable.BulkUpsertResponse result = new com.yandex.ydb.table.YdbTable.BulkUpsertResponse(this); if (operationBuilder_ == null) { result.operation_ = operation_; } else { result.operation_ = operationBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.BulkUpsertResponse) { return mergeFrom((com.yandex.ydb.table.YdbTable.BulkUpsertResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.BulkUpsertResponse other) { if (other == com.yandex.ydb.table.YdbTable.BulkUpsertResponse.getDefaultInstance()) return this; if (other.hasOperation()) { mergeOperation(other.getOperation()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.BulkUpsertResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.BulkUpsertResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.yandex.ydb.OperationProtos.Operation operation_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> operationBuilder_; /** * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ public boolean hasOperation() { return operationBuilder_ != null || operation_ != null; } /** * .Ydb.Operations.Operation operation = 1; * @return The operation. */ public com.yandex.ydb.OperationProtos.Operation getOperation() { if (operationBuilder_ == null) { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } else { return operationBuilder_.getMessage(); } } /** * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operation_ = value; onChanged(); } else { operationBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation( com.yandex.ydb.OperationProtos.Operation.Builder builderForValue) { if (operationBuilder_ == null) { operation_ = builderForValue.build(); onChanged(); } else { operationBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder mergeOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (operation_ != null) { operation_ = com.yandex.ydb.OperationProtos.Operation.newBuilder(operation_).mergeFrom(value).buildPartial(); } else { operation_ = value; } onChanged(); } else { operationBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder clearOperation() { if (operationBuilder_ == null) { operation_ = null; onChanged(); } else { operation_ = null; operationBuilder_ = null; } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.Operation.Builder getOperationBuilder() { onChanged(); return getOperationFieldBuilder().getBuilder(); } /** * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { if (operationBuilder_ != null) { return operationBuilder_.getMessageOrBuilder(); } else { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } } /** * .Ydb.Operations.Operation operation = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> getOperationFieldBuilder() { if (operationBuilder_ == null) { operationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.BulkUpsertResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.BulkUpsertResponse(); } public static com.yandex.ydb.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 { return new BulkUpsertResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BulkUpsertResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_BulkUpsertResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_BulkUpsertResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.BulkUpsertResult.class, com.yandex.ydb.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 { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.BulkUpsertResult)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.BulkUpsertResult other = (com.yandex.ydb.table.YdbTable.BulkUpsertResult) obj; if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.BulkUpsertResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.BulkUpsertResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.BulkUpsertResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.BulkUpsertResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.BulkUpsertResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.BulkUpsertResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.BulkUpsertResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.BulkUpsertResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_BulkUpsertResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_BulkUpsertResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.BulkUpsertResult.class, com.yandex.ydb.table.YdbTable.BulkUpsertResult.Builder.class); } // Construct using com.yandex.ydb.table.YdbTable.BulkUpsertResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_BulkUpsertResult_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.BulkUpsertResult getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.BulkUpsertResult.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.BulkUpsertResult build() { com.yandex.ydb.table.YdbTable.BulkUpsertResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.BulkUpsertResult buildPartial() { com.yandex.ydb.table.YdbTable.BulkUpsertResult result = new com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.BulkUpsertResult) { return mergeFrom((com.yandex.ydb.table.YdbTable.BulkUpsertResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.BulkUpsertResult other) { if (other == com.yandex.ydb.table.YdbTable.BulkUpsertResult.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.BulkUpsertResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.BulkUpsertResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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 com.yandex.ydb.table.YdbTable.BulkUpsertResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.BulkUpsertResult(); } public static com.yandex.ydb.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 { return new BulkUpsertResult(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.Query getQuery(); /** * .Ydb.Table.Query query = 3; */ com.yandex.ydb.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; */ com.yandex.ydb.ValueProtos.TypedValue getParametersOrDefault( java.lang.String key, com.yandex.ydb.ValueProtos.TypedValue defaultValue); /** * map<string, .Ydb.TypedValue> parameters = 4; */ com.yandex.ydb.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. */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode getCollectStats(); } /** * 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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExecuteScanQueryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 26: { com.yandex.ydb.table.YdbTable.Query.Builder subBuilder = null; if (query_ != null) { subBuilder = query_.toBuilder(); } query_ = input.readMessage(com.yandex.ydb.table.YdbTable.Query.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(query_); query_ = subBuilder.buildPartial(); } break; } case 34: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { parameters_ = com.google.protobuf.MapField.newMapField( ParametersDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry parameters__ = input.readMessage( ParametersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); parameters_.getMutableMap().put( parameters__.getKey(), parameters__.getValue()); break; } case 48: { int rawValue = input.readEnum(); mode_ = rawValue; break; } case 64: { int rawValue = input.readEnum(); collectStats_ = rawValue; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteScanQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest.class, com.yandex.ydb.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 com.yandex.ydb.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) } public static final int QUERY_FIELD_NUMBER = 3; private com.yandex.ydb.table.YdbTable.Query query_; /** * .Ydb.Table.Query query = 3; * @return Whether the query field is set. */ @java.lang.Override public boolean hasQuery() { return query_ != null; } /** * .Ydb.Table.Query query = 3; * @return The query. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.Query getQuery() { return query_ == null ? com.yandex.ydb.table.YdbTable.Query.getDefaultInstance() : query_; } /** * .Ydb.Table.Query query = 3; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.QueryOrBuilder getQueryOrBuilder() { return getQuery(); } public static final int PARAMETERS_FIELD_NUMBER = 4; private static final class ParametersDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, com.yandex.ydb.ValueProtos.TypedValue> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteScanQueryRequest_ParametersEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, com.yandex.ydb.ValueProtos.TypedValue.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, com.yandex.ydb.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 java.lang.NullPointerException(); } 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 com.yandex.ydb.ValueProtos.TypedValue getParametersOrDefault( java.lang.String key, com.yandex.ydb.ValueProtos.TypedValue defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetParameters().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .Ydb.TypedValue> parameters = 4; */ @java.lang.Override public com.yandex.ydb.ValueProtos.TypedValue getParametersOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } 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_; /** * .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 com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest.Mode getMode() { @SuppressWarnings("deprecation") com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest.Mode result = com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest.Mode.valueOf(mode_); return result == null ? com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest.Mode.UNRECOGNIZED : result; } public static final int COLLECT_STATS_FIELD_NUMBER = 8; private int collectStats_; /** * .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 com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode getCollectStats() { @SuppressWarnings("deprecation") com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode result = com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode.valueOf(collectStats_); return result == null ? com.yandex.ydb.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 (query_ != null) { output.writeMessage(3, getQuery()); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetParameters(), ParametersDefaultEntryHolder.defaultEntry, 4); if (mode_ != com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest.Mode.MODE_UNSPECIFIED.getNumber()) { output.writeEnum(6, mode_); } if (collectStats_ != com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode.STATS_COLLECTION_UNSPECIFIED.getNumber()) { output.writeEnum(8, collectStats_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (query_ != null) { 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_ != com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest.Mode.MODE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(6, mode_); } if (collectStats_ != com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode.STATS_COLLECTION_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(8, collectStats_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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 = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteScanQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest.class, com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); if (queryBuilder_ == null) { query_ = null; } else { query_ = null; queryBuilder_ = null; } internalGetMutableParameters().clear(); mode_ = 0; collectStats_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteScanQueryRequest_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest build() { com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest buildPartial() { com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest result = new com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest(this); int from_bitField0_ = bitField0_; if (queryBuilder_ == null) { result.query_ = query_; } else { result.query_ = queryBuilder_.build(); } result.parameters_ = internalGetParameters(); result.parameters_.makeImmutable(); result.mode_ = mode_; result.collectStats_ = collectStats_; 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 com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest) { return mergeFrom((com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest other) { if (other == com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest.getDefaultInstance()) return this; if (other.hasQuery()) { mergeQuery(other.getQuery()); } internalGetMutableParameters().mergeFrom( other.internalGetParameters()); if (other.mode_ != 0) { setModeValue(other.getModeValue()); } if (other.collectStats_ != 0) { setCollectStatsValue(other.getCollectStatsValue()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.yandex.ydb.table.YdbTable.Query query_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.Query, com.yandex.ydb.table.YdbTable.Query.Builder, com.yandex.ydb.table.YdbTable.QueryOrBuilder> queryBuilder_; /** * .Ydb.Table.Query query = 3; * @return Whether the query field is set. */ public boolean hasQuery() { return queryBuilder_ != null || query_ != null; } /** * .Ydb.Table.Query query = 3; * @return The query. */ public com.yandex.ydb.table.YdbTable.Query getQuery() { if (queryBuilder_ == null) { return query_ == null ? com.yandex.ydb.table.YdbTable.Query.getDefaultInstance() : query_; } else { return queryBuilder_.getMessage(); } } /** * .Ydb.Table.Query query = 3; */ public Builder setQuery(com.yandex.ydb.table.YdbTable.Query value) { if (queryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } query_ = value; onChanged(); } else { queryBuilder_.setMessage(value); } return this; } /** * .Ydb.Table.Query query = 3; */ public Builder setQuery( com.yandex.ydb.table.YdbTable.Query.Builder builderForValue) { if (queryBuilder_ == null) { query_ = builderForValue.build(); onChanged(); } else { queryBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Table.Query query = 3; */ public Builder mergeQuery(com.yandex.ydb.table.YdbTable.Query value) { if (queryBuilder_ == null) { if (query_ != null) { query_ = com.yandex.ydb.table.YdbTable.Query.newBuilder(query_).mergeFrom(value).buildPartial(); } else { query_ = value; } onChanged(); } else { queryBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Table.Query query = 3; */ public Builder clearQuery() { if (queryBuilder_ == null) { query_ = null; onChanged(); } else { query_ = null; queryBuilder_ = null; } return this; } /** * .Ydb.Table.Query query = 3; */ public com.yandex.ydb.table.YdbTable.Query.Builder getQueryBuilder() { onChanged(); return getQueryFieldBuilder().getBuilder(); } /** * .Ydb.Table.Query query = 3; */ public com.yandex.ydb.table.YdbTable.QueryOrBuilder getQueryOrBuilder() { if (queryBuilder_ != null) { return queryBuilder_.getMessageOrBuilder(); } else { return query_ == null ? com.yandex.ydb.table.YdbTable.Query.getDefaultInstance() : query_; } } /** * .Ydb.Table.Query query = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.Query, com.yandex.ydb.table.YdbTable.Query.Builder, com.yandex.ydb.table.YdbTable.QueryOrBuilder> getQueryFieldBuilder() { if (queryBuilder_ == null) { queryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.Query, com.yandex.ydb.table.YdbTable.Query.Builder, com.yandex.ydb.table.YdbTable.QueryOrBuilder>( getQuery(), getParentForChildren(), isClean()); query_ = null; } return queryBuilder_; } private com.google.protobuf.MapField< java.lang.String, com.yandex.ydb.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() { onChanged();; if (parameters_ == null) { parameters_ = com.google.protobuf.MapField.newMapField( ParametersDefaultEntryHolder.defaultEntry); } if (!parameters_.isMutable()) { parameters_ = parameters_.copy(); } 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 java.lang.NullPointerException(); } 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 com.yandex.ydb.ValueProtos.TypedValue getParametersOrDefault( java.lang.String key, com.yandex.ydb.ValueProtos.TypedValue defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetParameters().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .Ydb.TypedValue> parameters = 4; */ @java.lang.Override public com.yandex.ydb.ValueProtos.TypedValue getParametersOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetParameters().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearParameters() { internalGetMutableParameters().getMutableMap() .clear(); return this; } /** * map<string, .Ydb.TypedValue> parameters = 4; */ public Builder removeParameters( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableParameters().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableParameters() { return internalGetMutableParameters().getMutableMap(); } /** * map<string, .Ydb.TypedValue> parameters = 4; */ public Builder putParameters( java.lang.String key, com.yandex.ydb.ValueProtos.TypedValue value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableParameters().getMutableMap() .put(key, value); return this; } /** * map<string, .Ydb.TypedValue> parameters = 4; */ public Builder putAllParameters( java.util.Map values) { internalGetMutableParameters().getMutableMap() .putAll(values); 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; onChanged(); return this; } /** * .Ydb.Table.ExecuteScanQueryRequest.Mode mode = 6; * @return The mode. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest.Mode getMode() { @SuppressWarnings("deprecation") com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest.Mode result = com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest.Mode.valueOf(mode_); return result == null ? com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest.Mode value) { if (value == null) { throw new NullPointerException(); } mode_ = value.getNumber(); onChanged(); return this; } /** * .Ydb.Table.ExecuteScanQueryRequest.Mode mode = 6; * @return This builder for chaining. */ public Builder clearMode() { 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; onChanged(); return this; } /** * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 8; * @return The collectStats. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode getCollectStats() { @SuppressWarnings("deprecation") com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode result = com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode.valueOf(collectStats_); return result == null ? com.yandex.ydb.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(com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode value) { if (value == null) { throw new NullPointerException(); } collectStats_ = value.getNumber(); onChanged(); return this; } /** * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 8; * @return This builder for chaining. */ public Builder clearCollectStats() { 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.ExecuteScanQueryRequest) } // @@protoc_insertion_point(class_scope:Ydb.Table.ExecuteScanQueryRequest) private static final com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.ExecuteScanQueryRequest(); } public static com.yandex.ydb.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 { return new ExecuteScanQueryRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.StatusCodesProtos.StatusIds.StatusCode getStatus(); /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ java.util.List getIssuesList(); /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ com.yandex.ydb.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; */ com.yandex.ydb.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. */ com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult getResult(); /** * .Ydb.Table.ExecuteScanQueryPartialResult result = 3; */ com.yandex.ydb.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExecuteScanQueryPartialResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { int rawValue = input.readEnum(); status_ = rawValue; break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { issues_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } issues_.add( input.readMessage(com.yandex.ydb.YdbIssueMessage.IssueMessage.parser(), extensionRegistry)); break; } case 26: { com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult.Builder subBuilder = null; if (result_ != null) { subBuilder = result_.toBuilder(); } result_ = input.readMessage(com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(result_); result_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { issues_ = java.util.Collections.unmodifiableList(issues_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteScanQueryPartialResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteScanQueryPartialResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResponse.class, com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResponse.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private int status_; /** * .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 com.yandex.ydb.StatusCodesProtos.StatusIds.StatusCode getStatus() { @SuppressWarnings("deprecation") com.yandex.ydb.StatusCodesProtos.StatusIds.StatusCode result = com.yandex.ydb.StatusCodesProtos.StatusIds.StatusCode.valueOf(status_); return result == null ? com.yandex.ydb.StatusCodesProtos.StatusIds.StatusCode.UNRECOGNIZED : result; } public static final int ISSUES_FIELD_NUMBER = 2; 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 com.yandex.ydb.YdbIssueMessage.IssueMessage getIssues(int index) { return issues_.get(index); } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ @java.lang.Override public com.yandex.ydb.YdbIssueMessage.IssueMessageOrBuilder getIssuesOrBuilder( int index) { return issues_.get(index); } public static final int RESULT_FIELD_NUMBER = 3; private com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult result_; /** * .Ydb.Table.ExecuteScanQueryPartialResult result = 3; * @return Whether the result field is set. */ @java.lang.Override public boolean hasResult() { return result_ != null; } /** * .Ydb.Table.ExecuteScanQueryPartialResult result = 3; * @return The result. */ @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult getResult() { return result_ == null ? com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult.getDefaultInstance() : result_; } /** * .Ydb.Table.ExecuteScanQueryPartialResult result = 3; */ @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResultOrBuilder getResultOrBuilder() { return getResult(); } 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_ != com.yandex.ydb.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 (result_ != null) { output.writeMessage(3, getResult()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (status_ != com.yandex.ydb.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 (result_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getResult()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResponse)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResponse other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteScanQueryPartialResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteScanQueryPartialResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResponse.class, com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResponse.Builder.class); } // Construct using com.yandex.ydb.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(); } } @java.lang.Override public Builder clear() { super.clear(); status_ = 0; if (issuesBuilder_ == null) { issues_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { issuesBuilder_.clear(); } if (resultBuilder_ == null) { result_ = null; } else { result_ = null; resultBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteScanQueryPartialResponse_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResponse getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResponse.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResponse build() { com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResponse buildPartial() { com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResponse result = new com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResponse(this); int from_bitField0_ = bitField0_; result.status_ = status_; if (issuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { issues_ = java.util.Collections.unmodifiableList(issues_); bitField0_ = (bitField0_ & ~0x00000001); } result.issues_ = issues_; } else { result.issues_ = issuesBuilder_.build(); } if (resultBuilder_ == null) { result.result_ = result_; } else { result.result_ = resultBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResponse) { return mergeFrom((com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResponse other) { if (other == com.yandex.ydb.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_ & ~0x00000001); } else { ensureIssuesIsMutable(); issues_.addAll(other.issues_); } onChanged(); } } else { if (!other.issues_.isEmpty()) { if (issuesBuilder_.isEmpty()) { issuesBuilder_.dispose(); issuesBuilder_ = null; issues_ = other.issues_; bitField0_ = (bitField0_ & ~0x00000001); issuesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getIssuesFieldBuilder() : null; } else { issuesBuilder_.addAllMessages(other.issues_); } } } if (other.hasResult()) { mergeResult(other.getResult()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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; onChanged(); return this; } /** * .Ydb.StatusIds.StatusCode status = 1; * @return The status. */ @java.lang.Override public com.yandex.ydb.StatusCodesProtos.StatusIds.StatusCode getStatus() { @SuppressWarnings("deprecation") com.yandex.ydb.StatusCodesProtos.StatusIds.StatusCode result = com.yandex.ydb.StatusCodesProtos.StatusIds.StatusCode.valueOf(status_); return result == null ? com.yandex.ydb.StatusCodesProtos.StatusIds.StatusCode.UNRECOGNIZED : result; } /** * .Ydb.StatusIds.StatusCode status = 1; * @param value The status to set. * @return This builder for chaining. */ public Builder setStatus(com.yandex.ydb.StatusCodesProtos.StatusIds.StatusCode value) { if (value == null) { throw new NullPointerException(); } status_ = value.getNumber(); onChanged(); return this; } /** * .Ydb.StatusIds.StatusCode status = 1; * @return This builder for chaining. */ public Builder clearStatus() { status_ = 0; onChanged(); return this; } private java.util.List issues_ = java.util.Collections.emptyList(); private void ensureIssuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { issues_ = new java.util.ArrayList(issues_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.YdbIssueMessage.IssueMessage, com.yandex.ydb.YdbIssueMessage.IssueMessage.Builder, com.yandex.ydb.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 com.yandex.ydb.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, com.yandex.ydb.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, com.yandex.ydb.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(com.yandex.ydb.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, com.yandex.ydb.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( com.yandex.ydb.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, com.yandex.ydb.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_ & ~0x00000001); 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 com.yandex.ydb.YdbIssueMessage.IssueMessage.Builder getIssuesBuilder( int index) { return getIssuesFieldBuilder().getBuilder(index); } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public com.yandex.ydb.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 com.yandex.ydb.YdbIssueMessage.IssueMessage.Builder addIssuesBuilder() { return getIssuesFieldBuilder().addBuilder( com.yandex.ydb.YdbIssueMessage.IssueMessage.getDefaultInstance()); } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public com.yandex.ydb.YdbIssueMessage.IssueMessage.Builder addIssuesBuilder( int index) { return getIssuesFieldBuilder().addBuilder( index, com.yandex.ydb.YdbIssueMessage.IssueMessage.getDefaultInstance()); } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public java.util.List getIssuesBuilderList() { return getIssuesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.YdbIssueMessage.IssueMessage, com.yandex.ydb.YdbIssueMessage.IssueMessage.Builder, com.yandex.ydb.YdbIssueMessage.IssueMessageOrBuilder> getIssuesFieldBuilder() { if (issuesBuilder_ == null) { issuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.YdbIssueMessage.IssueMessage, com.yandex.ydb.YdbIssueMessage.IssueMessage.Builder, com.yandex.ydb.YdbIssueMessage.IssueMessageOrBuilder>( issues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); issues_ = null; } return issuesBuilder_; } private com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult result_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult, com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult.Builder, com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResultOrBuilder> resultBuilder_; /** * .Ydb.Table.ExecuteScanQueryPartialResult result = 3; * @return Whether the result field is set. */ public boolean hasResult() { return resultBuilder_ != null || result_ != null; } /** * .Ydb.Table.ExecuteScanQueryPartialResult result = 3; * @return The result. */ public com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult getResult() { if (resultBuilder_ == null) { return result_ == null ? com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult.getDefaultInstance() : result_; } else { return resultBuilder_.getMessage(); } } /** * .Ydb.Table.ExecuteScanQueryPartialResult result = 3; */ public Builder setResult(com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult value) { if (resultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } result_ = value; onChanged(); } else { resultBuilder_.setMessage(value); } return this; } /** * .Ydb.Table.ExecuteScanQueryPartialResult result = 3; */ public Builder setResult( com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult.Builder builderForValue) { if (resultBuilder_ == null) { result_ = builderForValue.build(); onChanged(); } else { resultBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Table.ExecuteScanQueryPartialResult result = 3; */ public Builder mergeResult(com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult value) { if (resultBuilder_ == null) { if (result_ != null) { result_ = com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult.newBuilder(result_).mergeFrom(value).buildPartial(); } else { result_ = value; } onChanged(); } else { resultBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Table.ExecuteScanQueryPartialResult result = 3; */ public Builder clearResult() { if (resultBuilder_ == null) { result_ = null; onChanged(); } else { result_ = null; resultBuilder_ = null; } return this; } /** * .Ydb.Table.ExecuteScanQueryPartialResult result = 3; */ public com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult.Builder getResultBuilder() { onChanged(); return getResultFieldBuilder().getBuilder(); } /** * .Ydb.Table.ExecuteScanQueryPartialResult result = 3; */ public com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResultOrBuilder getResultOrBuilder() { if (resultBuilder_ != null) { return resultBuilder_.getMessageOrBuilder(); } else { return result_ == null ? com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult.getDefaultInstance() : result_; } } /** * .Ydb.Table.ExecuteScanQueryPartialResult result = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult, com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult.Builder, com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResultOrBuilder> getResultFieldBuilder() { if (resultBuilder_ == null) { resultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult, com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult.Builder, com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResponse(); } public static com.yandex.ydb.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 { return new ExecuteScanQueryPartialResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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. */ com.yandex.ydb.ValueProtos.ResultSet getResultSet(); /** * .Ydb.ResultSet result_set = 1; */ com.yandex.ydb.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. */ com.yandex.ydb.YdbQueryStats.QueryStats getQueryStats(); /** * .Ydb.TableStats.QueryStats query_stats = 6; */ com.yandex.ydb.YdbQueryStats.QueryStatsOrBuilder getQueryStatsOrBuilder(); } /** * 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() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExecuteScanQueryPartialResult(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExecuteScanQueryPartialResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.ValueProtos.ResultSet.Builder subBuilder = null; if (resultSet_ != null) { subBuilder = resultSet_.toBuilder(); } resultSet_ = input.readMessage(com.yandex.ydb.ValueProtos.ResultSet.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(resultSet_); resultSet_ = subBuilder.buildPartial(); } break; } case 50: { com.yandex.ydb.YdbQueryStats.QueryStats.Builder subBuilder = null; if (queryStats_ != null) { subBuilder = queryStats_.toBuilder(); } queryStats_ = input.readMessage(com.yandex.ydb.YdbQueryStats.QueryStats.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(queryStats_); queryStats_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteScanQueryPartialResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteScanQueryPartialResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult.class, com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult.Builder.class); } public static final int RESULT_SET_FIELD_NUMBER = 1; private com.yandex.ydb.ValueProtos.ResultSet resultSet_; /** * .Ydb.ResultSet result_set = 1; * @return Whether the resultSet field is set. */ @java.lang.Override public boolean hasResultSet() { return resultSet_ != null; } /** * .Ydb.ResultSet result_set = 1; * @return The resultSet. */ @java.lang.Override public com.yandex.ydb.ValueProtos.ResultSet getResultSet() { return resultSet_ == null ? com.yandex.ydb.ValueProtos.ResultSet.getDefaultInstance() : resultSet_; } /** * .Ydb.ResultSet result_set = 1; */ @java.lang.Override public com.yandex.ydb.ValueProtos.ResultSetOrBuilder getResultSetOrBuilder() { return getResultSet(); } public static final int QUERY_STATS_FIELD_NUMBER = 6; private com.yandex.ydb.YdbQueryStats.QueryStats queryStats_; /** * .Ydb.TableStats.QueryStats query_stats = 6; * @return Whether the queryStats field is set. */ @java.lang.Override public boolean hasQueryStats() { return queryStats_ != null; } /** * .Ydb.TableStats.QueryStats query_stats = 6; * @return The queryStats. */ @java.lang.Override public com.yandex.ydb.YdbQueryStats.QueryStats getQueryStats() { return queryStats_ == null ? com.yandex.ydb.YdbQueryStats.QueryStats.getDefaultInstance() : queryStats_; } /** * .Ydb.TableStats.QueryStats query_stats = 6; */ @java.lang.Override public com.yandex.ydb.YdbQueryStats.QueryStatsOrBuilder getQueryStatsOrBuilder() { return getQueryStats(); } 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 (resultSet_ != null) { output.writeMessage(1, getResultSet()); } if (queryStats_ != null) { output.writeMessage(6, getQueryStats()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (resultSet_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getResultSet()); } if (queryStats_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getQueryStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult)) { return super.equals(obj); } com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult other = (com.yandex.ydb.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 (!unknownFields.equals(other.unknownFields)) 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 = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.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 com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.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(com.yandex.ydb.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) com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteScanQueryPartialResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteScanQueryPartialResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult.class, com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult.Builder.class); } // Construct using com.yandex.ydb.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) { } } @java.lang.Override public Builder clear() { super.clear(); if (resultSetBuilder_ == null) { resultSet_ = null; } else { resultSet_ = null; resultSetBuilder_ = null; } if (queryStatsBuilder_ == null) { queryStats_ = null; } else { queryStats_ = null; queryStatsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.table.YdbTable.internal_static_Ydb_Table_ExecuteScanQueryPartialResult_descriptor; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult getDefaultInstanceForType() { return com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult build() { com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult buildPartial() { com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult result = new com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult(this); if (resultSetBuilder_ == null) { result.resultSet_ = resultSet_; } else { result.resultSet_ = resultSetBuilder_.build(); } if (queryStatsBuilder_ == null) { result.queryStats_ = queryStats_; } else { result.queryStats_ = queryStatsBuilder_.build(); } 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 com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult) { return mergeFrom((com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult other) { if (other == com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult.getDefaultInstance()) return this; if (other.hasResultSet()) { mergeResultSet(other.getResultSet()); } if (other.hasQueryStats()) { mergeQueryStats(other.getQueryStats()); } this.mergeUnknownFields(other.unknownFields); 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 { com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.yandex.ydb.ValueProtos.ResultSet resultSet_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.ValueProtos.ResultSet, com.yandex.ydb.ValueProtos.ResultSet.Builder, com.yandex.ydb.ValueProtos.ResultSetOrBuilder> resultSetBuilder_; /** * .Ydb.ResultSet result_set = 1; * @return Whether the resultSet field is set. */ public boolean hasResultSet() { return resultSetBuilder_ != null || resultSet_ != null; } /** * .Ydb.ResultSet result_set = 1; * @return The resultSet. */ public com.yandex.ydb.ValueProtos.ResultSet getResultSet() { if (resultSetBuilder_ == null) { return resultSet_ == null ? com.yandex.ydb.ValueProtos.ResultSet.getDefaultInstance() : resultSet_; } else { return resultSetBuilder_.getMessage(); } } /** * .Ydb.ResultSet result_set = 1; */ public Builder setResultSet(com.yandex.ydb.ValueProtos.ResultSet value) { if (resultSetBuilder_ == null) { if (value == null) { throw new NullPointerException(); } resultSet_ = value; onChanged(); } else { resultSetBuilder_.setMessage(value); } return this; } /** * .Ydb.ResultSet result_set = 1; */ public Builder setResultSet( com.yandex.ydb.ValueProtos.ResultSet.Builder builderForValue) { if (resultSetBuilder_ == null) { resultSet_ = builderForValue.build(); onChanged(); } else { resultSetBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.ResultSet result_set = 1; */ public Builder mergeResultSet(com.yandex.ydb.ValueProtos.ResultSet value) { if (resultSetBuilder_ == null) { if (resultSet_ != null) { resultSet_ = com.yandex.ydb.ValueProtos.ResultSet.newBuilder(resultSet_).mergeFrom(value).buildPartial(); } else { resultSet_ = value; } onChanged(); } else { resultSetBuilder_.mergeFrom(value); } return this; } /** * .Ydb.ResultSet result_set = 1; */ public Builder clearResultSet() { if (resultSetBuilder_ == null) { resultSet_ = null; onChanged(); } else { resultSet_ = null; resultSetBuilder_ = null; } return this; } /** * .Ydb.ResultSet result_set = 1; */ public com.yandex.ydb.ValueProtos.ResultSet.Builder getResultSetBuilder() { onChanged(); return getResultSetFieldBuilder().getBuilder(); } /** * .Ydb.ResultSet result_set = 1; */ public com.yandex.ydb.ValueProtos.ResultSetOrBuilder getResultSetOrBuilder() { if (resultSetBuilder_ != null) { return resultSetBuilder_.getMessageOrBuilder(); } else { return resultSet_ == null ? com.yandex.ydb.ValueProtos.ResultSet.getDefaultInstance() : resultSet_; } } /** * .Ydb.ResultSet result_set = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.ValueProtos.ResultSet, com.yandex.ydb.ValueProtos.ResultSet.Builder, com.yandex.ydb.ValueProtos.ResultSetOrBuilder> getResultSetFieldBuilder() { if (resultSetBuilder_ == null) { resultSetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.ValueProtos.ResultSet, com.yandex.ydb.ValueProtos.ResultSet.Builder, com.yandex.ydb.ValueProtos.ResultSetOrBuilder>( getResultSet(), getParentForChildren(), isClean()); resultSet_ = null; } return resultSetBuilder_; } private com.yandex.ydb.YdbQueryStats.QueryStats queryStats_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.YdbQueryStats.QueryStats, com.yandex.ydb.YdbQueryStats.QueryStats.Builder, com.yandex.ydb.YdbQueryStats.QueryStatsOrBuilder> queryStatsBuilder_; /** * .Ydb.TableStats.QueryStats query_stats = 6; * @return Whether the queryStats field is set. */ public boolean hasQueryStats() { return queryStatsBuilder_ != null || queryStats_ != null; } /** * .Ydb.TableStats.QueryStats query_stats = 6; * @return The queryStats. */ public com.yandex.ydb.YdbQueryStats.QueryStats getQueryStats() { if (queryStatsBuilder_ == null) { return queryStats_ == null ? com.yandex.ydb.YdbQueryStats.QueryStats.getDefaultInstance() : queryStats_; } else { return queryStatsBuilder_.getMessage(); } } /** * .Ydb.TableStats.QueryStats query_stats = 6; */ public Builder setQueryStats(com.yandex.ydb.YdbQueryStats.QueryStats value) { if (queryStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } queryStats_ = value; onChanged(); } else { queryStatsBuilder_.setMessage(value); } return this; } /** * .Ydb.TableStats.QueryStats query_stats = 6; */ public Builder setQueryStats( com.yandex.ydb.YdbQueryStats.QueryStats.Builder builderForValue) { if (queryStatsBuilder_ == null) { queryStats_ = builderForValue.build(); onChanged(); } else { queryStatsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.TableStats.QueryStats query_stats = 6; */ public Builder mergeQueryStats(com.yandex.ydb.YdbQueryStats.QueryStats value) { if (queryStatsBuilder_ == null) { if (queryStats_ != null) { queryStats_ = com.yandex.ydb.YdbQueryStats.QueryStats.newBuilder(queryStats_).mergeFrom(value).buildPartial(); } else { queryStats_ = value; } onChanged(); } else { queryStatsBuilder_.mergeFrom(value); } return this; } /** * .Ydb.TableStats.QueryStats query_stats = 6; */ public Builder clearQueryStats() { if (queryStatsBuilder_ == null) { queryStats_ = null; onChanged(); } else { queryStats_ = null; queryStatsBuilder_ = null; } return this; } /** * .Ydb.TableStats.QueryStats query_stats = 6; */ public com.yandex.ydb.YdbQueryStats.QueryStats.Builder getQueryStatsBuilder() { onChanged(); return getQueryStatsFieldBuilder().getBuilder(); } /** * .Ydb.TableStats.QueryStats query_stats = 6; */ public com.yandex.ydb.YdbQueryStats.QueryStatsOrBuilder getQueryStatsOrBuilder() { if (queryStatsBuilder_ != null) { return queryStatsBuilder_.getMessageOrBuilder(); } else { return queryStats_ == null ? com.yandex.ydb.YdbQueryStats.QueryStats.getDefaultInstance() : queryStats_; } } /** * .Ydb.TableStats.QueryStats query_stats = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.YdbQueryStats.QueryStats, com.yandex.ydb.YdbQueryStats.QueryStats.Builder, com.yandex.ydb.YdbQueryStats.QueryStatsOrBuilder> getQueryStatsFieldBuilder() { if (queryStatsBuilder_ == null) { queryStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.YdbQueryStats.QueryStats, com.yandex.ydb.YdbQueryStats.QueryStats.Builder, com.yandex.ydb.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.ExecuteScanQueryPartialResult) } // @@protoc_insertion_point(class_scope:Ydb.Table.ExecuteScanQueryPartialResult) private static final com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.table.YdbTable.ExecuteScanQueryPartialResult(); } public static com.yandex.ydb.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 { return new ExecuteScanQueryPartialResult(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.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_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_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_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_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_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_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_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%ydb/public/api/protos/ydb_table.proto\022" + "\tYdb.Table\0322ydb/public/api/protos/annota" + "tions/validation.proto\032&ydb/public/api/p" + "rotos/ydb_common.proto\032-ydb/public/api/p" + "rotos/ydb_issue_message.proto\032)ydb/publi" + "c/api/protos/ydb_operation.proto\032+ydb/pu" + "blic/api/protos/ydb_query_stats.proto\032%y" + "db/public/api/protos/ydb_value.proto\032&yd" + "b/public/api/protos/ydb_scheme.proto\032,yd" + "b/public/api/protos/ydb_status_codes.pro" + "to\032\'ydb/public/api/protos/ydb_formats.pr" + "oto\032\033google/protobuf/empty.proto\032\037google" + "/protobuf/timestamp.proto\"Q\n\024CreateSessi" + "onRequest\0229\n\020operation_params\030\001 \001(\0132\037.Yd" + "b.Operations.OperationParams\"E\n\025CreateSe" + "ssionResponse\022,\n\toperation\030\001 \001(\0132\031.Ydb.O" + "perations.Operation\")\n\023CreateSessionResu" + "lt\022\022\n\nsession_id\030\001 \001(\t\"e\n\024DeleteSessionR" + "equest\022\022\n\nsession_id\030\001 \001(\t\0229\n\020operation_" + "params\030\002 \001(\0132\037.Ydb.Operations.OperationP" + "arams\"E\n\025DeleteSessionResponse\022,\n\toperat" + "ion\030\001 \001(\0132\031.Ydb.Operations.Operation\"\r\n\013" + "GlobalIndex\"\022\n\020GlobalAsyncIndex\"\272\001\n\nTabl" + "eIndex\022\014\n\004name\030\001 \001(\t\022\025\n\rindex_columns\030\002 " + "\003(\t\022.\n\014global_index\030\003 \001(\0132\026.Ydb.Table.Gl" + "obalIndexH\000\0229\n\022global_async_index\030\004 \001(\0132" + "\033.Ydb.Table.GlobalAsyncIndexH\000\022\024\n\014data_c" + "olumns\030\005 \003(\tB\006\n\004type\"\333\002\n\025TableIndexDescr" + "iption\022\014\n\004name\030\001 \001(\t\022\025\n\rindex_columns\030\002 " + "\003(\t\022.\n\014global_index\030\003 \001(\0132\026.Ydb.Table.Gl" + "obalIndexH\000\0229\n\022global_async_index\030\005 \001(\0132" + "\033.Ydb.Table.GlobalAsyncIndexH\000\0227\n\006status" + "\030\004 \001(\0162\'.Ydb.Table.TableIndexDescription" + ".Status\022\024\n\014data_columns\030\006 \003(\t\022\022\n\nsize_by" + "tes\030\007 \001(\004\"G\n\006Status\022\026\n\022STATUS_UNSPECIFIE" + "D\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\017STATE_PREPARI" + "NG\020\001\022\032\n\026STATE_TRANSFERING_DATA\020\002\022\022\n\016STAT" + "E_APPLYING\020\003\022\016\n\nSTATE_DONE\020\004\022\026\n\022STATE_CA" + "NCELLATION\020\005\022\023\n\017STATE_CANCELLED\020\006\022\023\n\017STA" + "TE_REJECTION\020\007\022\022\n\016STATE_REJECTED\020\010\"K\n\025In" + "dexBuildDescription\022\014\n\004path\030\001 \001(\t\022$\n\005ind" + "ex\030\002 \001(\0132\025.Ydb.Table.TableIndex\"\216\001\n\022Inde" + "xBuildMetadata\0225\n\013description\030\001 \001(\0132 .Yd" + "b.Table.IndexBuildDescription\022/\n\005state\030\002" + " \001(\0162 .Ydb.Table.IndexBuildState.State\022\020" + "\n\010progress\030\003 \001(\002\"\232\001\n\016ChangefeedMode\"\207\001\n\004" + "Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\022\n\016MODE_KEYS_" + "ONLY\020\001\022\020\n\014MODE_UPDATES\020\002\022\022\n\016MODE_NEW_IMA" + "GE\020\003\022\022\n\016MODE_OLD_IMAGE\020\004\022\033\n\027MODE_NEW_AND" + "_OLD_IMAGES\020\005\"E\n\020ChangefeedFormat\"1\n\006For" + "mat\022\026\n\022FORMAT_UNSPECIFIED\020\000\022\017\n\013FORMAT_JS" + "ON\020\001\"|\n\nChangefeed\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.ChangefeedFor" + "mat.Format\"\205\002\n\025ChangefeedDescription\022\014\n\004" + "name\030\001 \001(\t\022,\n\004mode\030\002 \001(\0162\036.Ydb.Table.Cha" + "ngefeedMode.Mode\0222\n\006format\030\003 \001(\0162\".Ydb.T" + "able.ChangefeedFormat.Format\0225\n\005state\030\004 " + "\001(\0162&.Ydb.Table.ChangefeedDescription.St" + "ate\"E\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\021\n\rS" + "TATE_ENABLED\020\001\022\022\n\016STATE_DISABLED\020\002\"\034\n\013St" + "oragePool\022\r\n\005media\030\001 \001(\t\"\252\002\n\rStoragePoli" + "cy\022\023\n\013preset_name\030\001 \001(\t\022&\n\006syslog\030\002 \001(\0132" + "\026.Ydb.Table.StoragePool\022#\n\003log\030\003 \001(\0132\026.Y" + "db.Table.StoragePool\022$\n\004data\030\004 \001(\0132\026.Ydb" + ".Table.StoragePool\022(\n\010external\030\005 \001(\0132\026.Y" + "db.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.ColumnFamilyP" + "olicy\"\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.Table.StoragePo" + "ol\022/\n\016keep_in_memory\030\004 \001(\0162\027.Ydb.Feature" + "Flag.Status\022>\n\013compression\030\005 \001(\0162).Ydb.T" + "able.ColumnFamilyPolicy.Compression\"L\n\013C" + "ompression\022\033\n\027COMPRESSION_UNSPECIFIED\020\000\022" + "\020\n\014UNCOMPRESSED\020\001\022\016\n\nCOMPRESSED\020\002\"\'\n\020Com" + "pactionPolicy\022\023\n\013preset_name\030\001 \001(\t\";\n\022Ex" + "plicitPartitions\022%\n\014split_points\030\001 \003(\0132\017" + ".Ydb.TypedValue\";\n\016PartitionStats\022\025\n\rrow" + "s_estimate\030\001 \001(\004\022\022\n\nstore_size\030\002 \001(\004\"\351\001\n" + "\nTableStats\0222\n\017partition_stats\030\001 \003(\0132\031.Y" + "db.Table.PartitionStats\022\025\n\rrows_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(\0132\032.google.p" + "rotobuf.Timestamp\0225\n\021modification_time\030\006" + " \001(\0132\032.google.protobuf.Timestamp\"\334\002\n\022Par" + "titioningPolicy\022\023\n\013preset_name\030\001 \001(\t\022O\n\021" + "auto_partitioning\030\002 \001(\01624.Ydb.Table.Part" + "itioningPolicy.AutoPartitioningPolicy\022\034\n" + "\022uniform_partitions\030\003 \001(\004H\000\022<\n\023explicit_" + "partitions\030\004 \001(\0132\035.Ydb.Table.ExplicitPar" + "titionsH\000\"v\n\026AutoPartitioningPolicy\022(\n$A" + "UTO_PARTITIONING_POLICY_UNSPECIFIED\020\000\022\014\n" + "\010DISABLED\020\001\022\016\n\nAUTO_SPLIT\020\002\022\024\n\020AUTO_SPLI" + "T_MERGE\020\003B\014\n\npartitions\"&\n\017ExecutionPoli" + "cy\022\023\n\013preset_name\030\001 \001(\t\"\261\001\n\021ReplicationP" + "olicy\022\023\n\013preset_name\030\001 \001(\t\022\026\n\016replicas_c" + "ount\030\002 \001(\r\022=\n\034create_per_availability_zo" + "ne\030\003 \001(\0162\027.Ydb.FeatureFlag.Status\0220\n\017all" + "ow_promotion\030\004 \001(\0162\027.Ydb.FeatureFlag.Sta" + "tus\"$\n\rCachingPolicy\022\023\n\013preset_name\030\001 \001(" + "\t\"\353\002\n\014TableProfile\022\023\n\013preset_name\030\001 \001(\t\022" + "0\n\016storage_policy\030\002 \001(\0132\030.Ydb.Table.Stor" + "agePolicy\0226\n\021compaction_policy\030\003 \001(\0132\033.Y" + "db.Table.CompactionPolicy\022:\n\023partitionin" + "g_policy\030\004 \001(\0132\035.Ydb.Table.PartitioningP" + "olicy\0224\n\020execution_policy\030\005 \001(\0132\032.Ydb.Ta" + "ble.ExecutionPolicy\0228\n\022replication_polic" + "y\030\006 \001(\0132\034.Ydb.Table.ReplicationPolicy\0220\n" + "\016caching_policy\030\007 \001(\0132\030.Ydb.Table.Cachin" + "gPolicy\"C\n\nColumnMeta\022\014\n\004name\030\001 \001(\t\022\027\n\004t" + "ype\030\002 \001(\0132\t.Ydb.Type\022\016\n\006family\030\003 \001(\t\"O\n\032" + "DateTypeColumnModeSettings\022\023\n\013column_nam" + "e\030\001 \001(\t\022\034\n\024expire_after_seconds\030\002 \001(\r\"\216\002" + "\n\037ValueSinceUnixEpochModeSettings\022\023\n\013col" + "umn_name\030\001 \001(\t\022D\n\013column_unit\030\002 \001(\0162/.Yd" + "b.Table.ValueSinceUnixEpochModeSettings." + "Unit\022\034\n\024expire_after_seconds\030\003 \001(\r\"r\n\004Un" + "it\022\024\n\020UNIT_UNSPECIFIED\020\000\022\020\n\014UNIT_SECONDS" + "\020\001\022\025\n\021UNIT_MILLISECONDS\020\002\022\025\n\021UNIT_MICROS" + "ECONDS\020\003\022\024\n\020UNIT_NANOSECONDS\020\004\"\304\001\n\013TtlSe" + "ttings\022A\n\020date_type_column\030\001 \001(\0132%.Ydb.T" + "able.DateTypeColumnModeSettingsH\000\022L\n\026val" + "ue_since_unix_epoch\030\002 \001(\0132*.Ydb.Table.Va" + "lueSinceUnixEpochModeSettingsH\000\022\034\n\024run_i" + "nterval_seconds\030\003 \001(\rB\006\n\004mode\"\332\001\n\017Storag" + "eSettings\0222\n\022tablet_commit_log0\030\001 \001(\0132\026." + "Ydb.Table.StoragePool\0222\n\022tablet_commit_l" + "og1\030\002 \001(\0132\026.Ydb.Table.StoragePool\022(\n\010ext" + "ernal\030\004 \001(\0132\026.Ydb.Table.StoragePool\0225\n\024s" + "tore_external_blobs\030\005 \001(\0162\027.Ydb.FeatureF" + "lag.Status\"\204\002\n\014ColumnFamily\022\014\n\004name\030\001 \001(" + "\t\022$\n\004data\030\002 \001(\0132\026.Ydb.Table.StoragePool\022" + "8\n\013compression\030\003 \001(\0162#.Ydb.Table.ColumnF" + "amily.Compression\022/\n\016keep_in_memory\030\004 \001(" + "\0162\027.Ydb.FeatureFlag.Status\"U\n\013Compressio" + "n\022\033\n\027COMPRESSION_UNSPECIFIED\020\000\022\024\n\020COMPRE" + "SSION_NONE\020\001\022\023\n\017COMPRESSION_LZ4\020\002\"\347\001\n\024Pa" + "rtitioningSettings\0225\n\024partitioning_by_si" + "ze\030\002 \001(\0162\027.Ydb.FeatureFlag.Status\022\031\n\021par" + "tition_size_mb\030\003 \001(\004\0225\n\024partitioning_by_" + "load\030\004 \001(\0162\027.Ydb.FeatureFlag.Status\022\034\n\024m" + "in_partitions_count\030\006 \001(\004\022\034\n\024max_partiti" + "ons_count\030\007 \001(\004J\004\010\001\020\002J\004\010\005\020\006\"C\n\026AzReadRep" + "licasSettings\022\014\n\004name\030\001 \001(\t\022\033\n\023read_repl" + "icas_count\030\002 \001(\004\"_\n\027ClusterReplicasSetti" + "ngs\022D\n\031az_read_replicas_settings\030\002 \003(\0132!" + ".Ydb.Table.AzReadReplicasSettings\"t\n\024Rea" + "dReplicasSettings\022$\n\032per_az_read_replica" + "s_count\030\001 \001(\004H\000\022$\n\032any_az_read_replicas_" + "count\030\002 \001(\004H\000B\n\n\010settingsJ\004\010\003\020\004\"\334\006\n\022Crea" + "teTableRequest\022\022\n\nsession_id\030\001 \001(\t\022\014\n\004pa" + "th\030\002 \001(\t\022&\n\007columns\030\003 \003(\0132\025.Ydb.Table.Co" + "lumnMeta\022\023\n\013primary_key\030\004 \003(\t\022(\n\007profile" + "\030\005 \001(\0132\027.Ydb.Table.TableProfile\0229\n\020opera" + "tion_params\030\006 \001(\0132\037.Ydb.Operations.Opera" + "tionParams\022&\n\007indexes\030\007 \003(\0132\025.Ydb.Table." + "TableIndex\022,\n\014ttl_settings\030\010 \001(\0132\026.Ydb.T" + "able.TtlSettings\0224\n\020storage_settings\030\t \001" + "(\0132\032.Ydb.Table.StorageSettings\0220\n\017column" + "_families\030\n \003(\0132\027.Ydb.Table.ColumnFamily" + "\022Z\n\nattributes\030\013 \003(\0132-.Ydb.Table.CreateT" + "ableRequest.AttributesEntryB\027\252\346*\010\n\006\n\004\010\001\020" + "d\242\346*\007\n\005\010\001\020\200 \022\031\n\021compaction_policy\030\014 \001(\t\022" + "\034\n\022uniform_partitions\030\r \001(\004H\000\022:\n\021partiti" + "on_at_keys\030\016 \001(\0132\035.Ydb.Table.ExplicitPar" + "titionsH\000\022>\n\025partitioning_settings\030\017 \001(\013" + "2\037.Ydb.Table.PartitioningSettings\0221\n\020key" + "_bloom_filter\030\020 \001(\0162\027.Ydb.FeatureFlag.St" + "atus\022?\n\026read_replicas_settings\030\021 \001(\0132\037.Y" + "db.Table.ReadReplicasSettings\0321\n\017Attribu" + "tesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + "B\014\n\npartitions\"C\n\023CreateTableResponse\022,\n" + "\toperation\030\001 \001(\0132\031.Ydb.Operations.Operat" + "ion\"u\n\020DropTableRequest\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.OperationParamsJ\004\010\003" + "\020\004\"A\n\021DropTableResponse\022,\n\toperation\030\001 \001" + "(\0132\031.Ydb.Operations.Operation\"\210\010\n\021AlterT" + "ableRequest\022\022\n\nsession_id\030\001 \001(\t\022\014\n\004path\030" + "\002 \001(\t\022*\n\013add_columns\030\003 \003(\0132\025.Ydb.Table.C" + "olumnMeta\022\024\n\014drop_columns\030\004 \003(\t\0229\n\020opera" + "tion_params\030\005 \001(\0132\037.Ydb.Operations.Opera" + "tionParams\022,\n\ralter_columns\030\006 \003(\0132\025.Ydb." + "Table.ColumnMeta\0222\n\020set_ttl_settings\030\007 \001" + "(\0132\026.Ydb.Table.TtlSettingsH\000\0223\n\021drop_ttl" + "_settings\030\010 \001(\0132\026.google.protobuf.EmptyH" + "\000\022*\n\013add_indexes\030\t \003(\0132\025.Ydb.Table.Table" + "Index\022\024\n\014drop_indexes\030\n \003(\t\022:\n\026alter_sto" + "rage_settings\030\013 \001(\0132\032.Ydb.Table.StorageS" + "ettings\0224\n\023add_column_families\030\014 \003(\0132\027.Y" + "db.Table.ColumnFamily\0226\n\025alter_column_fa" + "milies\030\r \003(\0132\027.Ydb.Table.ColumnFamily\022`\n" + "\020alter_attributes\030\016 \003(\01321.Ydb.Table.Alte" + "rTableRequest.AlterAttributesEntryB\023\252\346*\010" + "\n\006\n\004\010\001\020d\242\346*\003\030\200 \022\035\n\025set_compaction_policy" + "\030\017 \001(\t\022D\n\033alter_partitioning_settings\030\020 " + "\001(\0132\037.Ydb.Table.PartitioningSettings\0225\n\024" + "set_key_bloom_filter\030\021 \001(\0162\027.Ydb.Feature" + "Flag.Status\022C\n\032set_read_replicas_setting" + "s\030\022 \001(\0132\037.Ydb.Table.ReadReplicasSettings" + "\022.\n\017add_changefeeds\030\023 \003(\0132\025.Ydb.Table.Ch" + "angefeed\022\030\n\020drop_changefeeds\030\024 \003(\t\0326\n\024Al" + "terAttributesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value" + "\030\002 \001(\t:\0028\001B\014\n\nttl_action\"B\n\022AlterTableRe" + "sponse\022,\n\toperation\030\001 \001(\0132\031.Ydb.Operatio" + "ns.Operation\"\220\001\n\020CopyTableRequest\022\022\n\nses" + "sion_id\030\001 \001(\t\022\023\n\013source_path\030\002 \001(\t\022\030\n\020de" + "stination_path\030\003 \001(\t\0229\n\020operation_params" + "\030\004 \001(\0132\037.Ydb.Operations.OperationParams\"" + "A\n\021CopyTableResponse\022,\n\toperation\030\001 \001(\0132" + "\031.Ydb.Operations.Operation\"T\n\rCopyTableI" + "tem\022\023\n\013source_path\030\001 \001(\t\022\030\n\020destination_" + "path\030\002 \001(\t\022\024\n\014omit_indexes\030\003 \001(\010\"\214\001\n\021Cop" + "yTablesRequest\0229\n\020operation_params\030\001 \001(\013" + "2\037.Ydb.Operations.OperationParams\022\022\n\nses" + "sion_id\030\002 \001(\t\022(\n\006tables\030\003 \003(\0132\030.Ydb.Tabl" + "e.CopyTableItem\"B\n\022CopyTablesResponse\022,\n" + "\toperation\030\001 \001(\0132\031.Ydb.Operations.Operat" + "ion\"]\n\017RenameTableItem\022\023\n\013source_path\030\001 " + "\001(\t\022\030\n\020destination_path\030\002 \001(\t\022\033\n\023replace" + "_destination\030\003 \001(\010\"\220\001\n\023RenameTablesReque" + "st\0229\n\020operation_params\030\001 \001(\0132\037.Ydb.Opera" + "tions.OperationParams\022\022\n\nsession_id\030\002 \001(" + "\t\022*\n\006tables\030\003 \003(\0132\032.Ydb.Table.RenameTabl" + "eItem\"D\n\024RenameTablesResponse\022,\n\toperati" + "on\030\001 \001(\0132\031.Ydb.Operations.Operation\"\323\001\n\024" + "DescribeTableRequest\022\022\n\nsession_id\030\001 \001(\t" + "\022\014\n\004path\030\002 \001(\t\0229\n\020operation_params\030\004 \001(\013" + "2\037.Ydb.Operations.OperationParams\022 \n\030inc" + "lude_shard_key_bounds\030\005 \001(\010\022\033\n\023include_t" + "able_stats\030\006 \001(\010\022\037\n\027include_partition_st" + "ats\030\007 \001(\010\"E\n\025DescribeTableResponse\022,\n\top" + "eration\030\001 \001(\0132\031.Ydb.Operations.Operation" + "\"\373\005\n\023DescribeTableResult\022\037\n\004self\030\001 \001(\0132\021" + ".Ydb.Scheme.Entry\022&\n\007columns\030\002 \003(\0132\025.Ydb" + ".Table.ColumnMeta\022\023\n\013primary_key\030\003 \003(\t\022)" + "\n\020shard_key_bounds\030\004 \003(\0132\017.Ydb.TypedValu" + "e\0221\n\007indexes\030\005 \003(\0132 .Ydb.Table.TableInde" + "xDescription\022*\n\013table_stats\030\006 \001(\0132\025.Ydb." + "Table.TableStats\022,\n\014ttl_settings\030\007 \001(\0132\026" + ".Ydb.Table.TtlSettings\0224\n\020storage_settin" + "gs\030\010 \001(\0132\032.Ydb.Table.StorageSettings\0220\n\017" + "column_families\030\t \003(\0132\027.Ydb.Table.Column" + "Family\022B\n\nattributes\030\n \003(\0132..Ydb.Table.D" + "escribeTableResult.AttributesEntry\022>\n\025pa" + "rtitioning_settings\030\014 \001(\0132\037.Ydb.Table.Pa" + "rtitioningSettings\0221\n\020key_bloom_filter\030\r" + " \001(\0162\027.Ydb.FeatureFlag.Status\022?\n\026read_re" + "plicas_settings\030\016 \001(\0132\037.Ydb.Table.ReadRe" + "plicasSettings\0225\n\013changefeeds\030\017 \003(\0132 .Yd" + "b.Table.ChangefeedDescription\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\"\334\001\n\023TransactionSettings\022F\n\027serializa" + "ble_read_write\030\001 \001(\0132#.Ydb.Table.Seriali" + "zableModeSettingsH\000\0229\n\020online_read_only\030" + "\002 \001(\0132\035.Ydb.Table.OnlineModeSettingsH\000\0227" + "\n\017stale_read_only\030\003 \001(\0132\034.Ydb.Table.Stal" + "eModeSettingsH\000B\t\n\007tx_mode\"{\n\022Transactio" + "nControl\022\017\n\005tx_id\030\001 \001(\tH\000\0222\n\010begin_tx\030\002 " + "\001(\0132\036.Ydb.Table.TransactionSettingsH\000\022\021\n" + "\tcommit_tx\030\n \001(\010B\r\n\013tx_selector\")\n\020Query" + "CachePolicy\022\025\n\rkeep_in_cache\030\001 \001(\010\"\222\001\n\024Q" + "ueryStatsCollection\"z\n\004Mode\022 \n\034STATS_COL" + "LECTION_UNSPECIFIED\020\000\022\031\n\025STATS_COLLECTIO" + "N_NONE\020\001\022\032\n\026STATS_COLLECTION_BASIC\020\002\022\031\n\025" + "STATS_COLLECTION_FULL\020\003\"\276\003\n\027ExecuteDataQ" + "ueryRequest\022\022\n\nsession_id\030\001 \001(\t\0221\n\ntx_co" + "ntrol\030\002 \001(\0132\035.Ydb.Table.TransactionContr" + "ol\022\037\n\005query\030\003 \001(\0132\020.Ydb.Table.Query\022F\n\np" + "arameters\030\004 \003(\01322.Ydb.Table.ExecuteDataQ" + "ueryRequest.ParametersEntry\0227\n\022query_cac" + "he_policy\030\005 \001(\0132\033.Ydb.Table.QueryCachePo" + "licy\0229\n\020operation_params\030\006 \001(\0132\037.Ydb.Ope" + "rations.OperationParams\022;\n\rcollect_stats" + "\030\007 \001(\0162$.Ydb.Table.QueryStatsCollection." + "Mode\032B\n\017ParametersEntry\022\013\n\003key\030\001 \001(\t\022\036\n\005" + "value\030\002 \001(\0132\017.Ydb.TypedValue:\0028\001\"H\n\030Exec" + "uteDataQueryResponse\022,\n\toperation\030\001 \001(\0132" + "\031.Ydb.Operations.Operation\"|\n\031ExecuteSch" + "emeQueryRequest\022\022\n\nsession_id\030\001 \001(\t\022\020\n\010y" + "ql_text\030\002 \001(\t\0229\n\020operation_params\030\003 \001(\0132" + "\037.Ydb.Operations.OperationParams\"J\n\032Exec" + "uteSchemeQueryResponse\022,\n\toperation\030\001 \001(" + "\0132\031.Ydb.Operations.Operation\"\035\n\017Transact" + "ionMeta\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.Ta" + "ble.QueryMeta.ParametersTypesEntry\032A\n\024Pa" + "rametersTypesEntry\022\013\n\003key\030\001 \001(\t\022\030\n\005value" + "\030\002 \001(\0132\t.Ydb.Type:\0028\001\"\301\001\n\022ExecuteQueryRe" + "sult\022#\n\013result_sets\030\001 \003(\0132\016.Ydb.ResultSe" + "t\022+\n\007tx_meta\030\002 \001(\0132\032.Ydb.Table.Transacti" + "onMeta\022(\n\nquery_meta\030\003 \001(\0132\024.Ydb.Table.Q" + "ueryMeta\022/\n\013query_stats\030\004 \001(\0132\032.Ydb.Tabl" + "eStats.QueryStats\"z\n\027ExplainDataQueryReq" + "uest\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.Opera" + "tions.OperationParams\"H\n\030ExplainDataQuer" + "yResponse\022,\n\toperation\030\001 \001(\0132\031.Ydb.Opera" + "tions.Operation\";\n\022ExplainQueryResult\022\021\n" + "\tquery_ast\030\001 \001(\t\022\022\n\nquery_plan\030\002 \001(\t\"z\n\027" + "PrepareDataQueryRequest\022\022\n\nsession_id\030\001 " + "\001(\t\022\020\n\010yql_text\030\002 \001(\t\0229\n\020operation_param" + "s\030\003 \001(\0132\037.Ydb.Operations.OperationParams" + "\"H\n\030PrepareDataQueryResponse\022,\n\toperatio" + "n\030\001 \001(\0132\031.Ydb.Operations.Operation\"\267\001\n\022P" + "repareQueryResult\022\020\n\010query_id\030\001 \001(\t\022L\n\020p" + "arameters_types\030\002 \003(\01322.Ydb.Table.Prepar" + "eQueryResult.ParametersTypesEntry\032A\n\024Par" + "ametersTypesEntry\022\013\n\003key\030\001 \001(\t\022\030\n\005value\030" + "\002 \001(\0132\t.Ydb.Type:\0028\001\"a\n\020KeepAliveRequest" + "\022\022\n\nsession_id\030\001 \001(\t\0229\n\020operation_params" + "\030\002 \001(\0132\037.Ydb.Operations.OperationParams\"" + "A\n\021KeepAliveResponse\022,\n\toperation\030\001 \001(\0132" + "\031.Ydb.Operations.Operation\"\267\001\n\017KeepAlive" + "Result\022@\n\016session_status\030\001 \001(\0162(.Ydb.Tab" + "le.KeepAliveResult.SessionStatus\"b\n\rSess" + "ionStatus\022\036\n\032SESSION_STATUS_UNSPECIFIED\020" + "\000\022\030\n\024SESSION_STATUS_READY\020\001\022\027\n\023SESSION_S" + "TATUS_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.TransactionSettings\0229\n\020ope" + "ration_params\030\003 \001(\0132\037.Ydb.Operations.Ope" + "rationParams\"H\n\030BeginTransactionResponse" + "\022,\n\toperation\030\001 \001(\0132\031.Ydb.Operations.Ope" + "ration\"E\n\026BeginTransactionResult\022+\n\007tx_m" + "eta\030\001 \001(\0132\032.Ydb.Table.TransactionMeta\"\265\001" + "\n\030CommitTransactionRequest\022\022\n\nsession_id" + "\030\001 \001(\t\022\r\n\005tx_id\030\002 \001(\t\0229\n\020operation_param" + "s\030\003 \001(\0132\037.Ydb.Operations.OperationParams" + "\022;\n\rcollect_stats\030\004 \001(\0162$.Ydb.Table.Quer" + "yStatsCollection.Mode\"I\n\031CommitTransacti" + "onResponse\022,\n\toperation\030\001 \001(\0132\031.Ydb.Oper" + "ations.Operation\"J\n\027CommitTransactionRes" + "ult\022/\n\013query_stats\030\001 \001(\0132\032.Ydb.TableStat" + "s.QueryStats\"z\n\032RollbackTransactionReque" + "st\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.Operations" + ".OperationParams\"K\n\033RollbackTransactionR" + "esponse\022,\n\toperation\030\001 \001(\0132\031.Ydb.Operati" + "ons.Operation\"\230\001\n\030StoragePolicyDescripti" + "on\022\014\n\004name\030\001 \001(\t\022?\n\006labels\030\002 \003(\0132/.Ydb.T" + "able.StoragePolicyDescription.LabelsEntr" + "y\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + " \001(\t:\0028\001\"\236\001\n\033CompactionPolicyDescription" + "\022\014\n\004name\030\001 \001(\t\022B\n\006labels\030\002 \003(\01322.Ydb.Tab" + "le.CompactionPolicyDescription.LabelsEnt" + "ry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" + "\002 \001(\t:\0028\001\"\242\001\n\035PartitioningPolicyDescript" + "ion\022\014\n\004name\030\001 \001(\t\022D\n\006labels\030\002 \003(\01324.Ydb." + "Table.PartitioningPolicyDescription.Labe" + "lsEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" + "alue\030\002 \001(\t:\0028\001\"\234\001\n\032ExecutionPolicyDescri" + "ption\022\014\n\004name\030\001 \001(\t\022A\n\006labels\030\002 \003(\01321.Yd" + "b.Table.ExecutionPolicyDescription.Label" + "sEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + "lue\030\002 \001(\t:\0028\001\"\240\001\n\034ReplicationPolicyDescr" + "iption\022\014\n\004name\030\001 \001(\t\022C\n\006labels\030\002 \003(\01323.Y" + "db.Table.ReplicationPolicyDescription.La" + "belsEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" + "\005value\030\002 \001(\t:\0028\001\"\230\001\n\030CachingPolicyDescri" + "ption\022\014\n\004name\030\001 \001(\t\022?\n\006labels\030\002 \003(\0132/.Yd" + "b.Table.CachingPolicyDescription.LabelsE" + "ntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" + "e\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.Tabl" + "e.TableProfileDescription.LabelsEntry\022\036\n" + "\026default_storage_policy\030\003 \001(\t\022 \n\030allowed" + "_storage_policies\030\004 \003(\t\022!\n\031default_compa" + "ction_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_pol" + "icies\030\010 \003(\t\022 \n\030default_execution_policy\030" + "\t \001(\t\022\"\n\032allowed_execution_policies\030\n \003(" + "\t\022\"\n\032default_replication_policy\030\013 \001(\t\022$\n" + "\034allowed_replication_policies\030\014 \003(\t\022\036\n\026d" + "efault_caching_policy\030\r \001(\t\022 \n\030allowed_c" + "aching_policies\030\016 \003(\t\032-\n\013LabelsEntry\022\013\n\003" + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"X\n\033Describe" + "TableOptionsRequest\0229\n\020operation_params\030" + "\001 \001(\0132\037.Ydb.Operations.OperationParams\"L" + "\n\034DescribeTableOptionsResponse\022,\n\toperat" + "ion\030\001 \001(\0132\031.Ydb.Operations.Operation\"\231\004\n" + "\032DescribeTableOptionsResult\022A\n\025table_pro" + "file_presets\030\001 \003(\0132\".Ydb.Table.TableProf" + "ileDescription\022C\n\026storage_policy_presets" + "\030\002 \003(\0132#.Ydb.Table.StoragePolicyDescript" + "ion\022I\n\031compaction_policy_presets\030\003 \003(\0132&" + ".Ydb.Table.CompactionPolicyDescription\022M" + "\n\033partitioning_policy_presets\030\004 \003(\0132(.Yd" + "b.Table.PartitioningPolicyDescription\022G\n" + "\030execution_policy_presets\030\005 \003(\0132%.Ydb.Ta" + "ble.ExecutionPolicyDescription\022K\n\032replic", "ation_policy_presets\030\006 \003(\0132\'.Ydb.Table.R" + "eplicationPolicyDescription\022C\n\026caching_p" + "olicy_presets\030\007 \003(\0132#.Ydb.Table.CachingP" + "olicyDescription\"\300\001\n\010KeyRange\022\"\n\007greater" + "\030\001 \001(\0132\017.Ydb.TypedValueH\000\022+\n\020greater_or_" + "equal\030\002 \001(\0132\017.Ydb.TypedValueH\000\022\037\n\004less\030\003" + " \001(\0132\017.Ydb.TypedValueH\001\022(\n\rless_or_equal" + "\030\004 \001(\0132\017.Ydb.TypedValueH\001B\014\n\nfrom_boundB" + "\n\n\010to_bound\"\300\001\n\020ReadTableRequest\022\022\n\nsess" + "ion_id\030\001 \001(\t\022\014\n\004path\030\002 \001(\t\022&\n\tkey_range\030" + "\003 \001(\0132\023.Ydb.Table.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\"\223\001\n\021ReadTableResponse\022)\n\006status\030\001" + " \001(\0162\031.Ydb.StatusIds.StatusCode\022\'\n\006issue" + "s\030\002 \003(\0132\027.Ydb.Issue.IssueMessage\022*\n\006resu" + "lt\030\003 \001(\0132\032.Ydb.Table.ReadTableResult\"5\n\017" + "ReadTableResult\022\"\n\nresult_set\030\001 \001(\0132\016.Yd" + "b.ResultSet\"\215\002\n\021BulkUpsertRequest\022\r\n\005tab" + "le\030\001 \001(\t\022\035\n\004rows\030\002 \001(\0132\017.Ydb.TypedValue\022" + "9\n\020operation_params\030\003 \001(\0132\037.Ydb.Operatio" + "ns.OperationParams\022?\n\024arrow_batch_settin" + "gs\030\007 \001(\0132\037.Ydb.Formats.ArrowBatchSetting" + "sH\000\0220\n\014csv_settings\030\010 \001(\0132\030.Ydb.Formats." + "CsvSettingsH\000\022\r\n\004data\030\350\007 \001(\014B\r\n\013data_for" + "mat\"B\n\022BulkUpsertResponse\022,\n\toperation\030\001" + " \001(\0132\031.Ydb.Operations.Operation\"\022\n\020BulkU" + "psertResult\"\221\003\n\027ExecuteScanQueryRequest\022" + "\037\n\005query\030\003 \001(\0132\020.Ydb.Table.Query\022F\n\npara" + "meters\030\004 \003(\01322.Ydb.Table.ExecuteScanQuer" + "yRequest.ParametersEntry\0225\n\004mode\030\006 \001(\0162\'" + ".Ydb.Table.ExecuteScanQueryRequest.Mode\022" + ";\n\rcollect_stats\030\010 \001(\0162$.Ydb.Table.Query" + "StatsCollection.Mode\032B\n\017ParametersEntry\022" + "\013\n\003key\030\001 \001(\t\022\036\n\005value\030\002 \001(\0132\017.Ydb.TypedV" + "alue:\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\037ExecuteScanQueryPart" + "ialResponse\022)\n\006status\030\001 \001(\0162\031.Ydb.Status" + "Ids.StatusCode\022\'\n\006issues\030\002 \003(\0132\027.Ydb.Iss" + "ue.IssueMessage\0228\n\006result\030\003 \001(\0132(.Ydb.Ta" + "ble.ExecuteScanQueryPartialResult\"\214\001\n\035Ex" + "ecuteScanQueryPartialResult\022\"\n\nresult_se" + "t\030\001 \001(\0132\016.Ydb.ResultSet\022/\n\013query_stats\030\006" + " \001(\0132\032.Ydb.TableStats.QueryStatsJ\004\010\002\020\003J\004" + "\010\003\020\004J\004\010\004\020\005J\004\010\005\020\006B\031\n\024com.yandex.ydb.table" + "\370\001\001b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.yandex.ydb.Validation.getDescriptor(), com.yandex.ydb.common.CommonProtos.getDescriptor(), com.yandex.ydb.YdbIssueMessage.getDescriptor(), com.yandex.ydb.OperationProtos.getDescriptor(), com.yandex.ydb.YdbQueryStats.getDescriptor(), com.yandex.ydb.ValueProtos.getDescriptor(), com.yandex.ydb.scheme.SchemeOperationProtos.getDescriptor(), com.yandex.ydb.StatusCodesProtos.getDescriptor(), com.yandex.ydb.formats.YdbFormats.getDescriptor(), com.google.protobuf.EmptyProto.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_TableIndex_descriptor = getDescriptor().getMessageTypes().get(7); 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", "DataColumns", "Type", }); internal_static_Ydb_Table_TableIndexDescription_descriptor = getDescriptor().getMessageTypes().get(8); 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", "Status", "DataColumns", "SizeBytes", "Type", }); internal_static_Ydb_Table_IndexBuildState_descriptor = getDescriptor().getMessageTypes().get(9); 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(10); 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(11); 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(12); 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(13); 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(14); 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", }); internal_static_Ydb_Table_ChangefeedDescription_descriptor = getDescriptor().getMessageTypes().get(15); 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", }); internal_static_Ydb_Table_StoragePool_descriptor = getDescriptor().getMessageTypes().get(16); 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(17); 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(18); 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(19); 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(20); 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(21); 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(22); 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(23); 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(24); 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(25); 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(26); 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(27); 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_ColumnMeta_descriptor = getDescriptor().getMessageTypes().get(28); 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", }); internal_static_Ydb_Table_DateTypeColumnModeSettings_descriptor = getDescriptor().getMessageTypes().get(29); 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(30); 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(31); 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(32); 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(33); 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(34); internal_static_Ydb_Table_PartitioningSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_PartitioningSettings_descriptor, new java.lang.String[] { "PartitioningBySize", "PartitionSizeMb", "PartitioningByLoad", "MinPartitionsCount", "MaxPartitionsCount", }); internal_static_Ydb_Table_AzReadReplicasSettings_descriptor = getDescriptor().getMessageTypes().get(35); 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(36); 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(37); 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(38); 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", "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(39); 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(40); 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(41); 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_AlterTableRequest_descriptor = getDescriptor().getMessageTypes().get(42); 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", "TtlAction", }); 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(43); 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(44); 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(45); 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(46); 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(47); 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(48); 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(49); 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(50); 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(51); 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(52); 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(53); 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(54); 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", }); 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(55); 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(56); 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(57); 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(58); 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_TransactionSettings_descriptor = getDescriptor().getMessageTypes().get(59); 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", "TxMode", }); internal_static_Ydb_Table_TransactionControl_descriptor = getDescriptor().getMessageTypes().get(60); 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(61); 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(62); 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(63); 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(64); 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(65); 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(66); 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(67); 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(68); 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(69); 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(70); 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", }); internal_static_Ydb_Table_ExplainDataQueryResponse_descriptor = getDescriptor().getMessageTypes().get(71); 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(72); internal_static_Ydb_Table_ExplainQueryResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ExplainQueryResult_descriptor, new java.lang.String[] { "QueryAst", "QueryPlan", }); internal_static_Ydb_Table_PrepareDataQueryRequest_descriptor = getDescriptor().getMessageTypes().get(73); 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(74); 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(75); 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(76); 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(77); 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(78); 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(79); 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(80); 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(81); 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(82); 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(83); 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(84); 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(85); 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(86); 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(87); 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(88); 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(89); 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(90); 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(91); 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(92); 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(93); 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(94); 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(95); 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(96); 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(97); 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(98); 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", }); internal_static_Ydb_Table_ReadTableResponse_descriptor = getDescriptor().getMessageTypes().get(99); internal_static_Ydb_Table_ReadTableResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ReadTableResponse_descriptor, new java.lang.String[] { "Status", "Issues", "Result", }); internal_static_Ydb_Table_ReadTableResult_descriptor = getDescriptor().getMessageTypes().get(100); 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_BulkUpsertRequest_descriptor = getDescriptor().getMessageTypes().get(101); 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(102); 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(103); 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(104); 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", }); 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(105); 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(106); internal_static_Ydb_Table_ExecuteScanQueryPartialResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Table_ExecuteScanQueryPartialResult_descriptor, new java.lang.String[] { "ResultSet", "QueryStats", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.yandex.ydb.Validation.length); registry.add(com.yandex.ydb.Validation.mapKey); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); com.yandex.ydb.Validation.getDescriptor(); com.yandex.ydb.common.CommonProtos.getDescriptor(); com.yandex.ydb.YdbIssueMessage.getDescriptor(); com.yandex.ydb.OperationProtos.getDescriptor(); com.yandex.ydb.YdbQueryStats.getDescriptor(); com.yandex.ydb.ValueProtos.getDescriptor(); com.yandex.ydb.scheme.SchemeOperationProtos.getDescriptor(); com.yandex.ydb.StatusCodesProtos.getDescriptor(); com.yandex.ydb.formats.YdbFormats.getDescriptor(); com.google.protobuf.EmptyProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy