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

com.yandex.ydb.export.YdbExport Maven / Gradle / Ivy

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

package com.yandex.ydb.export;

public final class YdbExport {
  private YdbExport() {}
  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 ExportProgressOrBuilder extends
      // @@protoc_insertion_point(interface_extends:Ydb.Export.ExportProgress)
      com.google.protobuf.MessageOrBuilder {
  }
  /**
   * 
   */ Common
   * 
* * Protobuf type {@code Ydb.Export.ExportProgress} */ public static final class ExportProgress extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Export.ExportProgress) ExportProgressOrBuilder { private static final long serialVersionUID = 0L; // Use ExportProgress.newBuilder() to construct. private ExportProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExportProgress() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExportProgress(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExportProgress( 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.export.YdbExport.internal_static_Ydb_Export_ExportProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.export.YdbExport.ExportProgress.class, com.yandex.ydb.export.YdbExport.ExportProgress.Builder.class); } /** * Protobuf enum {@code Ydb.Export.ExportProgress.Progress} */ public enum Progress implements com.google.protobuf.ProtocolMessageEnum { /** * PROGRESS_UNSPECIFIED = 0; */ PROGRESS_UNSPECIFIED(0), /** * PROGRESS_PREPARING = 1; */ PROGRESS_PREPARING(1), /** * PROGRESS_TRANSFER_DATA = 2; */ PROGRESS_TRANSFER_DATA(2), /** * PROGRESS_DONE = 3; */ PROGRESS_DONE(3), /** * PROGRESS_CANCELLATION = 4; */ PROGRESS_CANCELLATION(4), /** * PROGRESS_CANCELLED = 5; */ PROGRESS_CANCELLED(5), UNRECOGNIZED(-1), ; /** * PROGRESS_UNSPECIFIED = 0; */ public static final int PROGRESS_UNSPECIFIED_VALUE = 0; /** * PROGRESS_PREPARING = 1; */ public static final int PROGRESS_PREPARING_VALUE = 1; /** * PROGRESS_TRANSFER_DATA = 2; */ public static final int PROGRESS_TRANSFER_DATA_VALUE = 2; /** * PROGRESS_DONE = 3; */ public static final int PROGRESS_DONE_VALUE = 3; /** * PROGRESS_CANCELLATION = 4; */ public static final int PROGRESS_CANCELLATION_VALUE = 4; /** * PROGRESS_CANCELLED = 5; */ public static final int PROGRESS_CANCELLED_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 Progress 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 Progress forNumber(int value) { switch (value) { case 0: return PROGRESS_UNSPECIFIED; case 1: return PROGRESS_PREPARING; case 2: return PROGRESS_TRANSFER_DATA; case 3: return PROGRESS_DONE; case 4: return PROGRESS_CANCELLATION; case 5: return PROGRESS_CANCELLED; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Progress> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Progress findValueByNumber(int number) { return Progress.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.export.YdbExport.ExportProgress.getDescriptor().getEnumTypes().get(0); } private static final Progress[] VALUES = values(); public static Progress 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 Progress(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Ydb.Export.ExportProgress.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 { 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.export.YdbExport.ExportProgress)) { return super.equals(obj); } com.yandex.ydb.export.YdbExport.ExportProgress other = (com.yandex.ydb.export.YdbExport.ExportProgress) 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.export.YdbExport.ExportProgress parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportProgress 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.export.YdbExport.ExportProgress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportProgress 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.export.YdbExport.ExportProgress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportProgress parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.export.YdbExport.ExportProgress parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportProgress 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.export.YdbExport.ExportProgress parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportProgress 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.export.YdbExport.ExportProgress parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportProgress 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.export.YdbExport.ExportProgress 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; } /** *
     */ Common
     * 
* * Protobuf type {@code Ydb.Export.ExportProgress} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Export.ExportProgress) com.yandex.ydb.export.YdbExport.ExportProgressOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.export.YdbExport.ExportProgress.class, com.yandex.ydb.export.YdbExport.ExportProgress.Builder.class); } // Construct using com.yandex.ydb.export.YdbExport.ExportProgress.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.export.YdbExport.internal_static_Ydb_Export_ExportProgress_descriptor; } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportProgress getDefaultInstanceForType() { return com.yandex.ydb.export.YdbExport.ExportProgress.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportProgress build() { com.yandex.ydb.export.YdbExport.ExportProgress result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportProgress buildPartial() { com.yandex.ydb.export.YdbExport.ExportProgress result = new com.yandex.ydb.export.YdbExport.ExportProgress(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.export.YdbExport.ExportProgress) { return mergeFrom((com.yandex.ydb.export.YdbExport.ExportProgress)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.export.YdbExport.ExportProgress other) { if (other == com.yandex.ydb.export.YdbExport.ExportProgress.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.export.YdbExport.ExportProgress parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.export.YdbExport.ExportProgress) 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.Export.ExportProgress) } // @@protoc_insertion_point(class_scope:Ydb.Export.ExportProgress) private static final com.yandex.ydb.export.YdbExport.ExportProgress DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.export.YdbExport.ExportProgress(); } public static com.yandex.ydb.export.YdbExport.ExportProgress getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExportProgress parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ExportProgress(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.export.YdbExport.ExportProgress getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExportItemProgressOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Export.ExportItemProgress) com.google.protobuf.MessageOrBuilder { /** * uint32 parts_total = 1; * @return The partsTotal. */ int getPartsTotal(); /** * uint32 parts_completed = 2; * @return The partsCompleted. */ int getPartsCompleted(); /** * .google.protobuf.Timestamp start_time = 3; * @return Whether the startTime field is set. */ boolean hasStartTime(); /** * .google.protobuf.Timestamp start_time = 3; * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** * .google.protobuf.Timestamp start_time = 3; */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** * .google.protobuf.Timestamp end_time = 4; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** * .google.protobuf.Timestamp end_time = 4; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** * .google.protobuf.Timestamp end_time = 4; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); } /** * Protobuf type {@code Ydb.Export.ExportItemProgress} */ public static final class ExportItemProgress extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Export.ExportItemProgress) ExportItemProgressOrBuilder { private static final long serialVersionUID = 0L; // Use ExportItemProgress.newBuilder() to construct. private ExportItemProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExportItemProgress() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExportItemProgress(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExportItemProgress( 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: { partsTotal_ = input.readUInt32(); break; } case 16: { partsCompleted_ = input.readUInt32(); break; } case 26: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (startTime_ != null) { subBuilder = startTime_.toBuilder(); } startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(startTime_); startTime_ = subBuilder.buildPartial(); } break; } case 34: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (endTime_ != null) { subBuilder = endTime_.toBuilder(); } endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(endTime_); endTime_ = 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.export.YdbExport.internal_static_Ydb_Export_ExportItemProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportItemProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.export.YdbExport.ExportItemProgress.class, com.yandex.ydb.export.YdbExport.ExportItemProgress.Builder.class); } public static final int PARTS_TOTAL_FIELD_NUMBER = 1; private int partsTotal_; /** * uint32 parts_total = 1; * @return The partsTotal. */ @java.lang.Override public int getPartsTotal() { return partsTotal_; } public static final int PARTS_COMPLETED_FIELD_NUMBER = 2; private int partsCompleted_; /** * uint32 parts_completed = 2; * @return The partsCompleted. */ @java.lang.Override public int getPartsCompleted() { return partsCompleted_; } public static final int START_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp startTime_; /** * .google.protobuf.Timestamp start_time = 3; * @return Whether the startTime field is set. */ @java.lang.Override public boolean hasStartTime() { return startTime_ != null; } /** * .google.protobuf.Timestamp start_time = 3; * @return The startTime. */ @java.lang.Override public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** * .google.protobuf.Timestamp start_time = 3; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { return getStartTime(); } public static final int END_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp endTime_; /** * .google.protobuf.Timestamp end_time = 4; * @return Whether the endTime field is set. */ @java.lang.Override public boolean hasEndTime() { return endTime_ != null; } /** * .google.protobuf.Timestamp end_time = 4; * @return The endTime. */ @java.lang.Override public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** * .google.protobuf.Timestamp end_time = 4; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { return getEndTime(); } 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 (partsTotal_ != 0) { output.writeUInt32(1, partsTotal_); } if (partsCompleted_ != 0) { output.writeUInt32(2, partsCompleted_); } if (startTime_ != null) { output.writeMessage(3, getStartTime()); } if (endTime_ != null) { output.writeMessage(4, getEndTime()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (partsTotal_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, partsTotal_); } if (partsCompleted_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, partsCompleted_); } if (startTime_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getStartTime()); } if (endTime_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getEndTime()); } 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.export.YdbExport.ExportItemProgress)) { return super.equals(obj); } com.yandex.ydb.export.YdbExport.ExportItemProgress other = (com.yandex.ydb.export.YdbExport.ExportItemProgress) obj; if (getPartsTotal() != other.getPartsTotal()) return false; if (getPartsCompleted() != other.getPartsCompleted()) return false; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { if (!getStartTime() .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { if (!getEndTime() .equals(other.getEndTime())) 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) + PARTS_TOTAL_FIELD_NUMBER; hash = (53 * hash) + getPartsTotal(); hash = (37 * hash) + PARTS_COMPLETED_FIELD_NUMBER; hash = (53 * hash) + getPartsCompleted(); if (hasStartTime()) { hash = (37 * hash) + START_TIME_FIELD_NUMBER; hash = (53 * hash) + getStartTime().hashCode(); } if (hasEndTime()) { hash = (37 * hash) + END_TIME_FIELD_NUMBER; hash = (53 * hash) + getEndTime().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.export.YdbExport.ExportItemProgress parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportItemProgress 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.export.YdbExport.ExportItemProgress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportItemProgress 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.export.YdbExport.ExportItemProgress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportItemProgress parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.export.YdbExport.ExportItemProgress parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportItemProgress 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.export.YdbExport.ExportItemProgress parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportItemProgress 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.export.YdbExport.ExportItemProgress parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportItemProgress 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.export.YdbExport.ExportItemProgress 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.Export.ExportItemProgress} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Export.ExportItemProgress) com.yandex.ydb.export.YdbExport.ExportItemProgressOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportItemProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportItemProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.export.YdbExport.ExportItemProgress.class, com.yandex.ydb.export.YdbExport.ExportItemProgress.Builder.class); } // Construct using com.yandex.ydb.export.YdbExport.ExportItemProgress.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(); partsTotal_ = 0; partsCompleted_ = 0; if (startTimeBuilder_ == null) { startTime_ = null; } else { startTime_ = null; startTimeBuilder_ = null; } if (endTimeBuilder_ == null) { endTime_ = null; } else { endTime_ = null; endTimeBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportItemProgress_descriptor; } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportItemProgress getDefaultInstanceForType() { return com.yandex.ydb.export.YdbExport.ExportItemProgress.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportItemProgress build() { com.yandex.ydb.export.YdbExport.ExportItemProgress result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportItemProgress buildPartial() { com.yandex.ydb.export.YdbExport.ExportItemProgress result = new com.yandex.ydb.export.YdbExport.ExportItemProgress(this); result.partsTotal_ = partsTotal_; result.partsCompleted_ = partsCompleted_; if (startTimeBuilder_ == null) { result.startTime_ = startTime_; } else { result.startTime_ = startTimeBuilder_.build(); } if (endTimeBuilder_ == null) { result.endTime_ = endTime_; } else { result.endTime_ = endTimeBuilder_.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.export.YdbExport.ExportItemProgress) { return mergeFrom((com.yandex.ydb.export.YdbExport.ExportItemProgress)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.export.YdbExport.ExportItemProgress other) { if (other == com.yandex.ydb.export.YdbExport.ExportItemProgress.getDefaultInstance()) return this; if (other.getPartsTotal() != 0) { setPartsTotal(other.getPartsTotal()); } if (other.getPartsCompleted() != 0) { setPartsCompleted(other.getPartsCompleted()); } if (other.hasStartTime()) { mergeStartTime(other.getStartTime()); } if (other.hasEndTime()) { mergeEndTime(other.getEndTime()); } 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.export.YdbExport.ExportItemProgress parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.export.YdbExport.ExportItemProgress) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int partsTotal_ ; /** * uint32 parts_total = 1; * @return The partsTotal. */ @java.lang.Override public int getPartsTotal() { return partsTotal_; } /** * uint32 parts_total = 1; * @param value The partsTotal to set. * @return This builder for chaining. */ public Builder setPartsTotal(int value) { partsTotal_ = value; onChanged(); return this; } /** * uint32 parts_total = 1; * @return This builder for chaining. */ public Builder clearPartsTotal() { partsTotal_ = 0; onChanged(); return this; } private int partsCompleted_ ; /** * uint32 parts_completed = 2; * @return The partsCompleted. */ @java.lang.Override public int getPartsCompleted() { return partsCompleted_; } /** * uint32 parts_completed = 2; * @param value The partsCompleted to set. * @return This builder for chaining. */ public Builder setPartsCompleted(int value) { partsCompleted_ = value; onChanged(); return this; } /** * uint32 parts_completed = 2; * @return This builder for chaining. */ public Builder clearPartsCompleted() { partsCompleted_ = 0; onChanged(); return this; } private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** * .google.protobuf.Timestamp start_time = 3; * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** * .google.protobuf.Timestamp start_time = 3; * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { if (startTimeBuilder_ == null) { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } else { return startTimeBuilder_.getMessage(); } } /** * .google.protobuf.Timestamp start_time = 3; */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } startTime_ = value; onChanged(); } else { startTimeBuilder_.setMessage(value); } return this; } /** * .google.protobuf.Timestamp start_time = 3; */ public Builder setStartTime( com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); } else { startTimeBuilder_.setMessage(builderForValue.build()); } return this; } /** * .google.protobuf.Timestamp start_time = 3; */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } onChanged(); } else { startTimeBuilder_.mergeFrom(value); } return this; } /** * .google.protobuf.Timestamp start_time = 3; */ public Builder clearStartTime() { if (startTimeBuilder_ == null) { startTime_ = null; onChanged(); } else { startTime_ = null; startTimeBuilder_ = null; } return this; } /** * .google.protobuf.Timestamp start_time = 3; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** * .google.protobuf.Timestamp start_time = 3; */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** * .google.protobuf.Timestamp start_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; } private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** * .google.protobuf.Timestamp end_time = 4; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** * .google.protobuf.Timestamp end_time = 4; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { if (endTimeBuilder_ == null) { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } else { return endTimeBuilder_.getMessage(); } } /** * .google.protobuf.Timestamp end_time = 4; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } endTime_ = value; onChanged(); } else { endTimeBuilder_.setMessage(value); } return this; } /** * .google.protobuf.Timestamp end_time = 4; */ public Builder setEndTime( com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); } else { endTimeBuilder_.setMessage(builderForValue.build()); } return this; } /** * .google.protobuf.Timestamp end_time = 4; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } onChanged(); } else { endTimeBuilder_.mergeFrom(value); } return this; } /** * .google.protobuf.Timestamp end_time = 4; */ public Builder clearEndTime() { if (endTimeBuilder_ == null) { endTime_ = null; onChanged(); } else { endTime_ = null; endTimeBuilder_ = null; } return this; } /** * .google.protobuf.Timestamp end_time = 4; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** * .google.protobuf.Timestamp end_time = 4; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** * .google.protobuf.Timestamp end_time = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; } @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.Export.ExportItemProgress) } // @@protoc_insertion_point(class_scope:Ydb.Export.ExportItemProgress) private static final com.yandex.ydb.export.YdbExport.ExportItemProgress DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.export.YdbExport.ExportItemProgress(); } public static com.yandex.ydb.export.YdbExport.ExportItemProgress getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExportItemProgress parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ExportItemProgress(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.export.YdbExport.ExportItemProgress getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExportToYtSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Export.ExportToYtSettings) com.google.protobuf.MessageOrBuilder { /** * string host = 1 [(.Ydb.required) = true]; * @return The host. */ java.lang.String getHost(); /** * string host = 1 [(.Ydb.required) = true]; * @return The bytes for host. */ com.google.protobuf.ByteString getHostBytes(); /** * uint32 port = 2; * @return The port. */ int getPort(); /** * string token = 3 [(.Ydb.required) = true]; * @return The token. */ java.lang.String getToken(); /** * string token = 3 [(.Ydb.required) = true]; * @return The bytes for token. */ com.google.protobuf.ByteString getTokenBytes(); /** * repeated .Ydb.Export.ExportToYtSettings.Item items = 4 [(.Ydb.size) = { ... } */ java.util.List getItemsList(); /** * repeated .Ydb.Export.ExportToYtSettings.Item items = 4 [(.Ydb.size) = { ... } */ com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item getItems(int index); /** * repeated .Ydb.Export.ExportToYtSettings.Item items = 4 [(.Ydb.size) = { ... } */ int getItemsCount(); /** * repeated .Ydb.Export.ExportToYtSettings.Item items = 4 [(.Ydb.size) = { ... } */ java.util.List getItemsOrBuilderList(); /** * repeated .Ydb.Export.ExportToYtSettings.Item items = 4 [(.Ydb.size) = { ... } */ com.yandex.ydb.export.YdbExport.ExportToYtSettings.ItemOrBuilder getItemsOrBuilder( int index); /** * string description = 5 [(.Ydb.length) = { ... } * @return The description. */ java.lang.String getDescription(); /** * string description = 5 [(.Ydb.length) = { ... } * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); /** * uint32 number_of_retries = 6; * @return The numberOfRetries. */ int getNumberOfRetries(); /** * bool use_type_v3 = 7; * @return The useTypeV3. */ boolean getUseTypeV3(); } /** *
   */ YT
   * 
* * Protobuf type {@code Ydb.Export.ExportToYtSettings} */ public static final class ExportToYtSettings extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Export.ExportToYtSettings) ExportToYtSettingsOrBuilder { private static final long serialVersionUID = 0L; // Use ExportToYtSettings.newBuilder() to construct. private ExportToYtSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExportToYtSettings() { host_ = ""; token_ = ""; items_ = java.util.Collections.emptyList(); description_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExportToYtSettings(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExportToYtSettings( 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(); host_ = s; break; } case 16: { port_ = input.readUInt32(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); token_ = s; break; } case 34: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { items_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } items_.add( input.readMessage(com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item.parser(), extensionRegistry)); break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); description_ = s; break; } case 48: { numberOfRetries_ = input.readUInt32(); break; } case 56: { useTypeV3_ = 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 { if (((mutable_bitField0_ & 0x00000001) != 0)) { items_ = java.util.Collections.unmodifiableList(items_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToYtSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToYtSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.export.YdbExport.ExportToYtSettings.class, com.yandex.ydb.export.YdbExport.ExportToYtSettings.Builder.class); } public interface ItemOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Export.ExportToYtSettings.Item) com.google.protobuf.MessageOrBuilder { /** *
       * Database path to a table to be exported
       * 
* * string source_path = 1 [(.Ydb.required) = true]; * @return The sourcePath. */ java.lang.String getSourcePath(); /** *
       * Database path to a table to be exported
       * 
* * string source_path = 1 [(.Ydb.required) = true]; * @return The bytes for sourcePath. */ com.google.protobuf.ByteString getSourcePathBytes(); /** * string destination_path = 2 [(.Ydb.required) = true]; * @return The destinationPath. */ java.lang.String getDestinationPath(); /** * string destination_path = 2 [(.Ydb.required) = true]; * @return The bytes for destinationPath. */ com.google.protobuf.ByteString getDestinationPathBytes(); } /** * Protobuf type {@code Ydb.Export.ExportToYtSettings.Item} */ public static final class Item extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Export.ExportToYtSettings.Item) ItemOrBuilder { private static final long serialVersionUID = 0L; // Use Item.newBuilder() to construct. private Item(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Item() { sourcePath_ = ""; destinationPath_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Item(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Item( 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; } 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.export.YdbExport.internal_static_Ydb_Export_ExportToYtSettings_Item_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToYtSettings_Item_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item.class, com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item.Builder.class); } public static final int SOURCE_PATH_FIELD_NUMBER = 1; private volatile java.lang.Object sourcePath_; /** *
       * Database path to a table to be exported
       * 
* * string source_path = 1 [(.Ydb.required) = true]; * @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; } } /** *
       * Database path to a table to be exported
       * 
* * string source_path = 1 [(.Ydb.required) = true]; * @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_; /** * string destination_path = 2 [(.Ydb.required) = true]; * @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; } } /** * string destination_path = 2 [(.Ydb.required) = true]; * @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; } } 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_); } 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_); } 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.export.YdbExport.ExportToYtSettings.Item)) { return super.equals(obj); } com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item other = (com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item) obj; if (!getSourcePath() .equals(other.getSourcePath())) return false; if (!getDestinationPath() .equals(other.getDestinationPath())) 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 = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item 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.export.YdbExport.ExportToYtSettings.Item parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item 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.export.YdbExport.ExportToYtSettings.Item parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item 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.export.YdbExport.ExportToYtSettings.Item parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item 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.export.YdbExport.ExportToYtSettings.Item parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item 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.export.YdbExport.ExportToYtSettings.Item 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.Export.ExportToYtSettings.Item} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Export.ExportToYtSettings.Item) com.yandex.ydb.export.YdbExport.ExportToYtSettings.ItemOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToYtSettings_Item_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToYtSettings_Item_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item.class, com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item.Builder.class); } // Construct using com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item.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_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToYtSettings_Item_descriptor; } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item getDefaultInstanceForType() { return com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item build() { com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item buildPartial() { com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item result = new com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item(this); result.sourcePath_ = sourcePath_; result.destinationPath_ = destinationPath_; 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.export.YdbExport.ExportToYtSettings.Item) { return mergeFrom((com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item other) { if (other == com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item.getDefaultInstance()) return this; if (!other.getSourcePath().isEmpty()) { sourcePath_ = other.sourcePath_; onChanged(); } if (!other.getDestinationPath().isEmpty()) { destinationPath_ = other.destinationPath_; 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.export.YdbExport.ExportToYtSettings.Item parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object sourcePath_ = ""; /** *
         * Database path to a table to be exported
         * 
* * string source_path = 1 [(.Ydb.required) = true]; * @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; } } /** *
         * Database path to a table to be exported
         * 
* * string source_path = 1 [(.Ydb.required) = true]; * @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; } } /** *
         * Database path to a table to be exported
         * 
* * string source_path = 1 [(.Ydb.required) = true]; * @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; } /** *
         * Database path to a table to be exported
         * 
* * string source_path = 1 [(.Ydb.required) = true]; * @return This builder for chaining. */ public Builder clearSourcePath() { sourcePath_ = getDefaultInstance().getSourcePath(); onChanged(); return this; } /** *
         * Database path to a table to be exported
         * 
* * string source_path = 1 [(.Ydb.required) = true]; * @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_ = ""; /** * string destination_path = 2 [(.Ydb.required) = true]; * @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; } } /** * string destination_path = 2 [(.Ydb.required) = true]; * @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; } } /** * string destination_path = 2 [(.Ydb.required) = true]; * @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; } /** * string destination_path = 2 [(.Ydb.required) = true]; * @return This builder for chaining. */ public Builder clearDestinationPath() { destinationPath_ = getDefaultInstance().getDestinationPath(); onChanged(); return this; } /** * string destination_path = 2 [(.Ydb.required) = true]; * @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; } @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.Export.ExportToYtSettings.Item) } // @@protoc_insertion_point(class_scope:Ydb.Export.ExportToYtSettings.Item) private static final com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item(); } public static com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Item parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Item(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.export.YdbExport.ExportToYtSettings.Item getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int HOST_FIELD_NUMBER = 1; private volatile java.lang.Object host_; /** * string host = 1 [(.Ydb.required) = true]; * @return The host. */ @java.lang.Override public java.lang.String getHost() { java.lang.Object ref = host_; 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(); host_ = s; return s; } } /** * string host = 1 [(.Ydb.required) = true]; * @return The bytes for host. */ @java.lang.Override public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); host_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PORT_FIELD_NUMBER = 2; private int port_; /** * uint32 port = 2; * @return The port. */ @java.lang.Override public int getPort() { return port_; } public static final int TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object token_; /** * string token = 3 [(.Ydb.required) = true]; * @return The token. */ @java.lang.Override public java.lang.String getToken() { java.lang.Object ref = token_; 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(); token_ = s; return s; } } /** * string token = 3 [(.Ydb.required) = true]; * @return The bytes for token. */ @java.lang.Override public com.google.protobuf.ByteString getTokenBytes() { java.lang.Object ref = token_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); token_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ITEMS_FIELD_NUMBER = 4; private java.util.List items_; /** * repeated .Ydb.Export.ExportToYtSettings.Item items = 4 [(.Ydb.size) = { ... } */ @java.lang.Override public java.util.List getItemsList() { return items_; } /** * repeated .Ydb.Export.ExportToYtSettings.Item items = 4 [(.Ydb.size) = { ... } */ @java.lang.Override public java.util.List getItemsOrBuilderList() { return items_; } /** * repeated .Ydb.Export.ExportToYtSettings.Item items = 4 [(.Ydb.size) = { ... } */ @java.lang.Override public int getItemsCount() { return items_.size(); } /** * repeated .Ydb.Export.ExportToYtSettings.Item items = 4 [(.Ydb.size) = { ... } */ @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item getItems(int index) { return items_.get(index); } /** * repeated .Ydb.Export.ExportToYtSettings.Item items = 4 [(.Ydb.size) = { ... } */ @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToYtSettings.ItemOrBuilder getItemsOrBuilder( int index) { return items_.get(index); } public static final int DESCRIPTION_FIELD_NUMBER = 5; private volatile java.lang.Object description_; /** * string description = 5 [(.Ydb.length) = { ... } * @return The description. */ @java.lang.Override public java.lang.String getDescription() { java.lang.Object ref = description_; 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(); description_ = s; return s; } } /** * string description = 5 [(.Ydb.length) = { ... } * @return The bytes for description. */ @java.lang.Override public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NUMBER_OF_RETRIES_FIELD_NUMBER = 6; private int numberOfRetries_; /** * uint32 number_of_retries = 6; * @return The numberOfRetries. */ @java.lang.Override public int getNumberOfRetries() { return numberOfRetries_; } public static final int USE_TYPE_V3_FIELD_NUMBER = 7; private boolean useTypeV3_; /** * bool use_type_v3 = 7; * @return The useTypeV3. */ @java.lang.Override public boolean getUseTypeV3() { return useTypeV3_; } 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 (!getHostBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, host_); } if (port_ != 0) { output.writeUInt32(2, port_); } if (!getTokenBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, token_); } for (int i = 0; i < items_.size(); i++) { output.writeMessage(4, items_.get(i)); } if (!getDescriptionBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_); } if (numberOfRetries_ != 0) { output.writeUInt32(6, numberOfRetries_); } if (useTypeV3_ != false) { output.writeBool(7, useTypeV3_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getHostBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, host_); } if (port_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, port_); } if (!getTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, token_); } for (int i = 0; i < items_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, items_.get(i)); } if (!getDescriptionBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_); } if (numberOfRetries_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, numberOfRetries_); } if (useTypeV3_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(7, useTypeV3_); } 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.export.YdbExport.ExportToYtSettings)) { return super.equals(obj); } com.yandex.ydb.export.YdbExport.ExportToYtSettings other = (com.yandex.ydb.export.YdbExport.ExportToYtSettings) obj; if (!getHost() .equals(other.getHost())) return false; if (getPort() != other.getPort()) return false; if (!getToken() .equals(other.getToken())) return false; if (!getItemsList() .equals(other.getItemsList())) return false; if (!getDescription() .equals(other.getDescription())) return false; if (getNumberOfRetries() != other.getNumberOfRetries()) return false; if (getUseTypeV3() != other.getUseTypeV3()) 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) + HOST_FIELD_NUMBER; hash = (53 * hash) + getHost().hashCode(); hash = (37 * hash) + PORT_FIELD_NUMBER; hash = (53 * hash) + getPort(); hash = (37 * hash) + TOKEN_FIELD_NUMBER; hash = (53 * hash) + getToken().hashCode(); if (getItemsCount() > 0) { hash = (37 * hash) + ITEMS_FIELD_NUMBER; hash = (53 * hash) + getItemsList().hashCode(); } hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); hash = (37 * hash) + NUMBER_OF_RETRIES_FIELD_NUMBER; hash = (53 * hash) + getNumberOfRetries(); hash = (37 * hash) + USE_TYPE_V3_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getUseTypeV3()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.export.YdbExport.ExportToYtSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToYtSettings 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.export.YdbExport.ExportToYtSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToYtSettings 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.export.YdbExport.ExportToYtSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToYtSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.export.YdbExport.ExportToYtSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToYtSettings 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.export.YdbExport.ExportToYtSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToYtSettings 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.export.YdbExport.ExportToYtSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToYtSettings 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.export.YdbExport.ExportToYtSettings 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; } /** *
     */ YT
     * 
* * Protobuf type {@code Ydb.Export.ExportToYtSettings} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Export.ExportToYtSettings) com.yandex.ydb.export.YdbExport.ExportToYtSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToYtSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToYtSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.export.YdbExport.ExportToYtSettings.class, com.yandex.ydb.export.YdbExport.ExportToYtSettings.Builder.class); } // Construct using com.yandex.ydb.export.YdbExport.ExportToYtSettings.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getItemsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); host_ = ""; port_ = 0; token_ = ""; if (itemsBuilder_ == null) { items_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { itemsBuilder_.clear(); } description_ = ""; numberOfRetries_ = 0; useTypeV3_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToYtSettings_descriptor; } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToYtSettings getDefaultInstanceForType() { return com.yandex.ydb.export.YdbExport.ExportToYtSettings.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToYtSettings build() { com.yandex.ydb.export.YdbExport.ExportToYtSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToYtSettings buildPartial() { com.yandex.ydb.export.YdbExport.ExportToYtSettings result = new com.yandex.ydb.export.YdbExport.ExportToYtSettings(this); int from_bitField0_ = bitField0_; result.host_ = host_; result.port_ = port_; result.token_ = token_; if (itemsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { items_ = java.util.Collections.unmodifiableList(items_); bitField0_ = (bitField0_ & ~0x00000001); } result.items_ = items_; } else { result.items_ = itemsBuilder_.build(); } result.description_ = description_; result.numberOfRetries_ = numberOfRetries_; result.useTypeV3_ = useTypeV3_; 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.export.YdbExport.ExportToYtSettings) { return mergeFrom((com.yandex.ydb.export.YdbExport.ExportToYtSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.export.YdbExport.ExportToYtSettings other) { if (other == com.yandex.ydb.export.YdbExport.ExportToYtSettings.getDefaultInstance()) return this; if (!other.getHost().isEmpty()) { host_ = other.host_; onChanged(); } if (other.getPort() != 0) { setPort(other.getPort()); } if (!other.getToken().isEmpty()) { token_ = other.token_; onChanged(); } if (itemsBuilder_ == null) { if (!other.items_.isEmpty()) { if (items_.isEmpty()) { items_ = other.items_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureItemsIsMutable(); items_.addAll(other.items_); } onChanged(); } } else { if (!other.items_.isEmpty()) { if (itemsBuilder_.isEmpty()) { itemsBuilder_.dispose(); itemsBuilder_ = null; items_ = other.items_; bitField0_ = (bitField0_ & ~0x00000001); itemsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getItemsFieldBuilder() : null; } else { itemsBuilder_.addAllMessages(other.items_); } } } if (!other.getDescription().isEmpty()) { description_ = other.description_; onChanged(); } if (other.getNumberOfRetries() != 0) { setNumberOfRetries(other.getNumberOfRetries()); } if (other.getUseTypeV3() != false) { setUseTypeV3(other.getUseTypeV3()); } 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.export.YdbExport.ExportToYtSettings parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.export.YdbExport.ExportToYtSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object host_ = ""; /** * string host = 1 [(.Ydb.required) = true]; * @return The host. */ public java.lang.String getHost() { java.lang.Object ref = host_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; } else { return (java.lang.String) ref; } } /** * string host = 1 [(.Ydb.required) = true]; * @return The bytes for host. */ public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); host_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string host = 1 [(.Ydb.required) = true]; * @param value The host to set. * @return This builder for chaining. */ public Builder setHost( java.lang.String value) { if (value == null) { throw new NullPointerException(); } host_ = value; onChanged(); return this; } /** * string host = 1 [(.Ydb.required) = true]; * @return This builder for chaining. */ public Builder clearHost() { host_ = getDefaultInstance().getHost(); onChanged(); return this; } /** * string host = 1 [(.Ydb.required) = true]; * @param value The bytes for host to set. * @return This builder for chaining. */ public Builder setHostBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); host_ = value; onChanged(); return this; } private int port_ ; /** * uint32 port = 2; * @return The port. */ @java.lang.Override public int getPort() { return port_; } /** * uint32 port = 2; * @param value The port to set. * @return This builder for chaining. */ public Builder setPort(int value) { port_ = value; onChanged(); return this; } /** * uint32 port = 2; * @return This builder for chaining. */ public Builder clearPort() { port_ = 0; onChanged(); return this; } private java.lang.Object token_ = ""; /** * string token = 3 [(.Ydb.required) = true]; * @return The token. */ public java.lang.String getToken() { java.lang.Object ref = token_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); token_ = s; return s; } else { return (java.lang.String) ref; } } /** * string token = 3 [(.Ydb.required) = true]; * @return The bytes for token. */ public com.google.protobuf.ByteString getTokenBytes() { java.lang.Object ref = token_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); token_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string token = 3 [(.Ydb.required) = true]; * @param value The token to set. * @return This builder for chaining. */ public Builder setToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } token_ = value; onChanged(); return this; } /** * string token = 3 [(.Ydb.required) = true]; * @return This builder for chaining. */ public Builder clearToken() { token_ = getDefaultInstance().getToken(); onChanged(); return this; } /** * string token = 3 [(.Ydb.required) = true]; * @param value The bytes for token to set. * @return This builder for chaining. */ public Builder setTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); token_ = value; onChanged(); return this; } private java.util.List items_ = java.util.Collections.emptyList(); private void ensureItemsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { items_ = new java.util.ArrayList(items_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item, com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item.Builder, com.yandex.ydb.export.YdbExport.ExportToYtSettings.ItemOrBuilder> itemsBuilder_; /** * repeated .Ydb.Export.ExportToYtSettings.Item items = 4 [(.Ydb.size) = { ... } */ public java.util.List getItemsList() { if (itemsBuilder_ == null) { return java.util.Collections.unmodifiableList(items_); } else { return itemsBuilder_.getMessageList(); } } /** * repeated .Ydb.Export.ExportToYtSettings.Item items = 4 [(.Ydb.size) = { ... } */ public int getItemsCount() { if (itemsBuilder_ == null) { return items_.size(); } else { return itemsBuilder_.getCount(); } } /** * repeated .Ydb.Export.ExportToYtSettings.Item items = 4 [(.Ydb.size) = { ... } */ public com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item getItems(int index) { if (itemsBuilder_ == null) { return items_.get(index); } else { return itemsBuilder_.getMessage(index); } } /** * repeated .Ydb.Export.ExportToYtSettings.Item items = 4 [(.Ydb.size) = { ... } */ public Builder setItems( int index, com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item value) { if (itemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureItemsIsMutable(); items_.set(index, value); onChanged(); } else { itemsBuilder_.setMessage(index, value); } return this; } /** * repeated .Ydb.Export.ExportToYtSettings.Item items = 4 [(.Ydb.size) = { ... } */ public Builder setItems( int index, com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item.Builder builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.set(index, builderForValue.build()); onChanged(); } else { itemsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .Ydb.Export.ExportToYtSettings.Item items = 4 [(.Ydb.size) = { ... } */ public Builder addItems(com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item value) { if (itemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureItemsIsMutable(); items_.add(value); onChanged(); } else { itemsBuilder_.addMessage(value); } return this; } /** * repeated .Ydb.Export.ExportToYtSettings.Item items = 4 [(.Ydb.size) = { ... } */ public Builder addItems( int index, com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item value) { if (itemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureItemsIsMutable(); items_.add(index, value); onChanged(); } else { itemsBuilder_.addMessage(index, value); } return this; } /** * repeated .Ydb.Export.ExportToYtSettings.Item items = 4 [(.Ydb.size) = { ... } */ public Builder addItems( com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item.Builder builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.add(builderForValue.build()); onChanged(); } else { itemsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .Ydb.Export.ExportToYtSettings.Item items = 4 [(.Ydb.size) = { ... } */ public Builder addItems( int index, com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item.Builder builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.add(index, builderForValue.build()); onChanged(); } else { itemsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .Ydb.Export.ExportToYtSettings.Item items = 4 [(.Ydb.size) = { ... } */ public Builder addAllItems( java.lang.Iterable values) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, items_); onChanged(); } else { itemsBuilder_.addAllMessages(values); } return this; } /** * repeated .Ydb.Export.ExportToYtSettings.Item items = 4 [(.Ydb.size) = { ... } */ public Builder clearItems() { if (itemsBuilder_ == null) { items_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { itemsBuilder_.clear(); } return this; } /** * repeated .Ydb.Export.ExportToYtSettings.Item items = 4 [(.Ydb.size) = { ... } */ public Builder removeItems(int index) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.remove(index); onChanged(); } else { itemsBuilder_.remove(index); } return this; } /** * repeated .Ydb.Export.ExportToYtSettings.Item items = 4 [(.Ydb.size) = { ... } */ public com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item.Builder getItemsBuilder( int index) { return getItemsFieldBuilder().getBuilder(index); } /** * repeated .Ydb.Export.ExportToYtSettings.Item items = 4 [(.Ydb.size) = { ... } */ public com.yandex.ydb.export.YdbExport.ExportToYtSettings.ItemOrBuilder getItemsOrBuilder( int index) { if (itemsBuilder_ == null) { return items_.get(index); } else { return itemsBuilder_.getMessageOrBuilder(index); } } /** * repeated .Ydb.Export.ExportToYtSettings.Item items = 4 [(.Ydb.size) = { ... } */ public java.util.List getItemsOrBuilderList() { if (itemsBuilder_ != null) { return itemsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(items_); } } /** * repeated .Ydb.Export.ExportToYtSettings.Item items = 4 [(.Ydb.size) = { ... } */ public com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item.Builder addItemsBuilder() { return getItemsFieldBuilder().addBuilder( com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item.getDefaultInstance()); } /** * repeated .Ydb.Export.ExportToYtSettings.Item items = 4 [(.Ydb.size) = { ... } */ public com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item.Builder addItemsBuilder( int index) { return getItemsFieldBuilder().addBuilder( index, com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item.getDefaultInstance()); } /** * repeated .Ydb.Export.ExportToYtSettings.Item items = 4 [(.Ydb.size) = { ... } */ public java.util.List getItemsBuilderList() { return getItemsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item, com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item.Builder, com.yandex.ydb.export.YdbExport.ExportToYtSettings.ItemOrBuilder> getItemsFieldBuilder() { if (itemsBuilder_ == null) { itemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item, com.yandex.ydb.export.YdbExport.ExportToYtSettings.Item.Builder, com.yandex.ydb.export.YdbExport.ExportToYtSettings.ItemOrBuilder>( items_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); items_ = null; } return itemsBuilder_; } private java.lang.Object description_ = ""; /** * string description = 5 [(.Ydb.length) = { ... } * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } else { return (java.lang.String) ref; } } /** * string description = 5 [(.Ydb.length) = { ... } * @return The bytes for description. */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string description = 5 [(.Ydb.length) = { ... } * @param value The description to set. * @return This builder for chaining. */ public Builder setDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } description_ = value; onChanged(); return this; } /** * string description = 5 [(.Ydb.length) = { ... } * @return This builder for chaining. */ public Builder clearDescription() { description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** * string description = 5 [(.Ydb.length) = { ... } * @param value The bytes for description to set. * @return This builder for chaining. */ public Builder setDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; onChanged(); return this; } private int numberOfRetries_ ; /** * uint32 number_of_retries = 6; * @return The numberOfRetries. */ @java.lang.Override public int getNumberOfRetries() { return numberOfRetries_; } /** * uint32 number_of_retries = 6; * @param value The numberOfRetries to set. * @return This builder for chaining. */ public Builder setNumberOfRetries(int value) { numberOfRetries_ = value; onChanged(); return this; } /** * uint32 number_of_retries = 6; * @return This builder for chaining. */ public Builder clearNumberOfRetries() { numberOfRetries_ = 0; onChanged(); return this; } private boolean useTypeV3_ ; /** * bool use_type_v3 = 7; * @return The useTypeV3. */ @java.lang.Override public boolean getUseTypeV3() { return useTypeV3_; } /** * bool use_type_v3 = 7; * @param value The useTypeV3 to set. * @return This builder for chaining. */ public Builder setUseTypeV3(boolean value) { useTypeV3_ = value; onChanged(); return this; } /** * bool use_type_v3 = 7; * @return This builder for chaining. */ public Builder clearUseTypeV3() { useTypeV3_ = 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.Export.ExportToYtSettings) } // @@protoc_insertion_point(class_scope:Ydb.Export.ExportToYtSettings) private static final com.yandex.ydb.export.YdbExport.ExportToYtSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.export.YdbExport.ExportToYtSettings(); } public static com.yandex.ydb.export.YdbExport.ExportToYtSettings getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExportToYtSettings parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ExportToYtSettings(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.export.YdbExport.ExportToYtSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExportToYtResultOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Export.ExportToYtResult) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code Ydb.Export.ExportToYtResult} */ public static final class ExportToYtResult extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Export.ExportToYtResult) ExportToYtResultOrBuilder { private static final long serialVersionUID = 0L; // Use ExportToYtResult.newBuilder() to construct. private ExportToYtResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExportToYtResult() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExportToYtResult(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExportToYtResult( 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.export.YdbExport.internal_static_Ydb_Export_ExportToYtResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToYtResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.export.YdbExport.ExportToYtResult.class, com.yandex.ydb.export.YdbExport.ExportToYtResult.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.export.YdbExport.ExportToYtResult)) { return super.equals(obj); } com.yandex.ydb.export.YdbExport.ExportToYtResult other = (com.yandex.ydb.export.YdbExport.ExportToYtResult) 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.export.YdbExport.ExportToYtResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToYtResult 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.export.YdbExport.ExportToYtResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToYtResult 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.export.YdbExport.ExportToYtResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToYtResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.export.YdbExport.ExportToYtResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToYtResult 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.export.YdbExport.ExportToYtResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToYtResult 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.export.YdbExport.ExportToYtResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToYtResult 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.export.YdbExport.ExportToYtResult 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.Export.ExportToYtResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Export.ExportToYtResult) com.yandex.ydb.export.YdbExport.ExportToYtResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToYtResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToYtResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.export.YdbExport.ExportToYtResult.class, com.yandex.ydb.export.YdbExport.ExportToYtResult.Builder.class); } // Construct using com.yandex.ydb.export.YdbExport.ExportToYtResult.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.export.YdbExport.internal_static_Ydb_Export_ExportToYtResult_descriptor; } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToYtResult getDefaultInstanceForType() { return com.yandex.ydb.export.YdbExport.ExportToYtResult.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToYtResult build() { com.yandex.ydb.export.YdbExport.ExportToYtResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToYtResult buildPartial() { com.yandex.ydb.export.YdbExport.ExportToYtResult result = new com.yandex.ydb.export.YdbExport.ExportToYtResult(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.export.YdbExport.ExportToYtResult) { return mergeFrom((com.yandex.ydb.export.YdbExport.ExportToYtResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.export.YdbExport.ExportToYtResult other) { if (other == com.yandex.ydb.export.YdbExport.ExportToYtResult.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.export.YdbExport.ExportToYtResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.export.YdbExport.ExportToYtResult) 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.Export.ExportToYtResult) } // @@protoc_insertion_point(class_scope:Ydb.Export.ExportToYtResult) private static final com.yandex.ydb.export.YdbExport.ExportToYtResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.export.YdbExport.ExportToYtResult(); } public static com.yandex.ydb.export.YdbExport.ExportToYtResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExportToYtResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ExportToYtResult(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.export.YdbExport.ExportToYtResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExportToYtMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Export.ExportToYtMetadata) com.google.protobuf.MessageOrBuilder { /** * .Ydb.Export.ExportToYtSettings settings = 1; * @return Whether the settings field is set. */ boolean hasSettings(); /** * .Ydb.Export.ExportToYtSettings settings = 1; * @return The settings. */ com.yandex.ydb.export.YdbExport.ExportToYtSettings getSettings(); /** * .Ydb.Export.ExportToYtSettings settings = 1; */ com.yandex.ydb.export.YdbExport.ExportToYtSettingsOrBuilder getSettingsOrBuilder(); /** * .Ydb.Export.ExportProgress.Progress progress = 2; * @return The enum numeric value on the wire for progress. */ int getProgressValue(); /** * .Ydb.Export.ExportProgress.Progress progress = 2; * @return The progress. */ com.yandex.ydb.export.YdbExport.ExportProgress.Progress getProgress(); /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ java.util.List getItemsProgressList(); /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ com.yandex.ydb.export.YdbExport.ExportItemProgress getItemsProgress(int index); /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ int getItemsProgressCount(); /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ java.util.List getItemsProgressOrBuilderList(); /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ com.yandex.ydb.export.YdbExport.ExportItemProgressOrBuilder getItemsProgressOrBuilder( int index); } /** * Protobuf type {@code Ydb.Export.ExportToYtMetadata} */ public static final class ExportToYtMetadata extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Export.ExportToYtMetadata) ExportToYtMetadataOrBuilder { private static final long serialVersionUID = 0L; // Use ExportToYtMetadata.newBuilder() to construct. private ExportToYtMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExportToYtMetadata() { progress_ = 0; itemsProgress_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExportToYtMetadata(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExportToYtMetadata( 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.export.YdbExport.ExportToYtSettings.Builder subBuilder = null; if (settings_ != null) { subBuilder = settings_.toBuilder(); } settings_ = input.readMessage(com.yandex.ydb.export.YdbExport.ExportToYtSettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(settings_); settings_ = subBuilder.buildPartial(); } break; } case 16: { int rawValue = input.readEnum(); progress_ = rawValue; break; } case 26: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { itemsProgress_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } itemsProgress_.add( input.readMessage(com.yandex.ydb.export.YdbExport.ExportItemProgress.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)) { itemsProgress_ = java.util.Collections.unmodifiableList(itemsProgress_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToYtMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToYtMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.export.YdbExport.ExportToYtMetadata.class, com.yandex.ydb.export.YdbExport.ExportToYtMetadata.Builder.class); } public static final int SETTINGS_FIELD_NUMBER = 1; private com.yandex.ydb.export.YdbExport.ExportToYtSettings settings_; /** * .Ydb.Export.ExportToYtSettings settings = 1; * @return Whether the settings field is set. */ @java.lang.Override public boolean hasSettings() { return settings_ != null; } /** * .Ydb.Export.ExportToYtSettings settings = 1; * @return The settings. */ @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToYtSettings getSettings() { return settings_ == null ? com.yandex.ydb.export.YdbExport.ExportToYtSettings.getDefaultInstance() : settings_; } /** * .Ydb.Export.ExportToYtSettings settings = 1; */ @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToYtSettingsOrBuilder getSettingsOrBuilder() { return getSettings(); } public static final int PROGRESS_FIELD_NUMBER = 2; private int progress_; /** * .Ydb.Export.ExportProgress.Progress progress = 2; * @return The enum numeric value on the wire for progress. */ @java.lang.Override public int getProgressValue() { return progress_; } /** * .Ydb.Export.ExportProgress.Progress progress = 2; * @return The progress. */ @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportProgress.Progress getProgress() { @SuppressWarnings("deprecation") com.yandex.ydb.export.YdbExport.ExportProgress.Progress result = com.yandex.ydb.export.YdbExport.ExportProgress.Progress.valueOf(progress_); return result == null ? com.yandex.ydb.export.YdbExport.ExportProgress.Progress.UNRECOGNIZED : result; } public static final int ITEMS_PROGRESS_FIELD_NUMBER = 3; private java.util.List itemsProgress_; /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ @java.lang.Override public java.util.List getItemsProgressList() { return itemsProgress_; } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ @java.lang.Override public java.util.List getItemsProgressOrBuilderList() { return itemsProgress_; } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ @java.lang.Override public int getItemsProgressCount() { return itemsProgress_.size(); } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportItemProgress getItemsProgress(int index) { return itemsProgress_.get(index); } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportItemProgressOrBuilder getItemsProgressOrBuilder( int index) { return itemsProgress_.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 (settings_ != null) { output.writeMessage(1, getSettings()); } if (progress_ != com.yandex.ydb.export.YdbExport.ExportProgress.Progress.PROGRESS_UNSPECIFIED.getNumber()) { output.writeEnum(2, progress_); } for (int i = 0; i < itemsProgress_.size(); i++) { output.writeMessage(3, itemsProgress_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (settings_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getSettings()); } if (progress_ != com.yandex.ydb.export.YdbExport.ExportProgress.Progress.PROGRESS_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, progress_); } for (int i = 0; i < itemsProgress_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, itemsProgress_.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.export.YdbExport.ExportToYtMetadata)) { return super.equals(obj); } com.yandex.ydb.export.YdbExport.ExportToYtMetadata other = (com.yandex.ydb.export.YdbExport.ExportToYtMetadata) obj; if (hasSettings() != other.hasSettings()) return false; if (hasSettings()) { if (!getSettings() .equals(other.getSettings())) return false; } if (progress_ != other.progress_) return false; if (!getItemsProgressList() .equals(other.getItemsProgressList())) 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 (hasSettings()) { hash = (37 * hash) + SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getSettings().hashCode(); } hash = (37 * hash) + PROGRESS_FIELD_NUMBER; hash = (53 * hash) + progress_; if (getItemsProgressCount() > 0) { hash = (37 * hash) + ITEMS_PROGRESS_FIELD_NUMBER; hash = (53 * hash) + getItemsProgressList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.export.YdbExport.ExportToYtMetadata parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToYtMetadata 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.export.YdbExport.ExportToYtMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToYtMetadata 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.export.YdbExport.ExportToYtMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToYtMetadata parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.export.YdbExport.ExportToYtMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToYtMetadata 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.export.YdbExport.ExportToYtMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToYtMetadata 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.export.YdbExport.ExportToYtMetadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToYtMetadata 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.export.YdbExport.ExportToYtMetadata 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.Export.ExportToYtMetadata} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Export.ExportToYtMetadata) com.yandex.ydb.export.YdbExport.ExportToYtMetadataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToYtMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToYtMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.export.YdbExport.ExportToYtMetadata.class, com.yandex.ydb.export.YdbExport.ExportToYtMetadata.Builder.class); } // Construct using com.yandex.ydb.export.YdbExport.ExportToYtMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getItemsProgressFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (settingsBuilder_ == null) { settings_ = null; } else { settings_ = null; settingsBuilder_ = null; } progress_ = 0; if (itemsProgressBuilder_ == null) { itemsProgress_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { itemsProgressBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToYtMetadata_descriptor; } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToYtMetadata getDefaultInstanceForType() { return com.yandex.ydb.export.YdbExport.ExportToYtMetadata.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToYtMetadata build() { com.yandex.ydb.export.YdbExport.ExportToYtMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToYtMetadata buildPartial() { com.yandex.ydb.export.YdbExport.ExportToYtMetadata result = new com.yandex.ydb.export.YdbExport.ExportToYtMetadata(this); int from_bitField0_ = bitField0_; if (settingsBuilder_ == null) { result.settings_ = settings_; } else { result.settings_ = settingsBuilder_.build(); } result.progress_ = progress_; if (itemsProgressBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { itemsProgress_ = java.util.Collections.unmodifiableList(itemsProgress_); bitField0_ = (bitField0_ & ~0x00000001); } result.itemsProgress_ = itemsProgress_; } else { result.itemsProgress_ = itemsProgressBuilder_.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.export.YdbExport.ExportToYtMetadata) { return mergeFrom((com.yandex.ydb.export.YdbExport.ExportToYtMetadata)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.export.YdbExport.ExportToYtMetadata other) { if (other == com.yandex.ydb.export.YdbExport.ExportToYtMetadata.getDefaultInstance()) return this; if (other.hasSettings()) { mergeSettings(other.getSettings()); } if (other.progress_ != 0) { setProgressValue(other.getProgressValue()); } if (itemsProgressBuilder_ == null) { if (!other.itemsProgress_.isEmpty()) { if (itemsProgress_.isEmpty()) { itemsProgress_ = other.itemsProgress_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureItemsProgressIsMutable(); itemsProgress_.addAll(other.itemsProgress_); } onChanged(); } } else { if (!other.itemsProgress_.isEmpty()) { if (itemsProgressBuilder_.isEmpty()) { itemsProgressBuilder_.dispose(); itemsProgressBuilder_ = null; itemsProgress_ = other.itemsProgress_; bitField0_ = (bitField0_ & ~0x00000001); itemsProgressBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getItemsProgressFieldBuilder() : null; } else { itemsProgressBuilder_.addAllMessages(other.itemsProgress_); } } } 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.export.YdbExport.ExportToYtMetadata parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.export.YdbExport.ExportToYtMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.yandex.ydb.export.YdbExport.ExportToYtSettings settings_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.export.YdbExport.ExportToYtSettings, com.yandex.ydb.export.YdbExport.ExportToYtSettings.Builder, com.yandex.ydb.export.YdbExport.ExportToYtSettingsOrBuilder> settingsBuilder_; /** * .Ydb.Export.ExportToYtSettings settings = 1; * @return Whether the settings field is set. */ public boolean hasSettings() { return settingsBuilder_ != null || settings_ != null; } /** * .Ydb.Export.ExportToYtSettings settings = 1; * @return The settings. */ public com.yandex.ydb.export.YdbExport.ExportToYtSettings getSettings() { if (settingsBuilder_ == null) { return settings_ == null ? com.yandex.ydb.export.YdbExport.ExportToYtSettings.getDefaultInstance() : settings_; } else { return settingsBuilder_.getMessage(); } } /** * .Ydb.Export.ExportToYtSettings settings = 1; */ public Builder setSettings(com.yandex.ydb.export.YdbExport.ExportToYtSettings value) { if (settingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } settings_ = value; onChanged(); } else { settingsBuilder_.setMessage(value); } return this; } /** * .Ydb.Export.ExportToYtSettings settings = 1; */ public Builder setSettings( com.yandex.ydb.export.YdbExport.ExportToYtSettings.Builder builderForValue) { if (settingsBuilder_ == null) { settings_ = builderForValue.build(); onChanged(); } else { settingsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Export.ExportToYtSettings settings = 1; */ public Builder mergeSettings(com.yandex.ydb.export.YdbExport.ExportToYtSettings value) { if (settingsBuilder_ == null) { if (settings_ != null) { settings_ = com.yandex.ydb.export.YdbExport.ExportToYtSettings.newBuilder(settings_).mergeFrom(value).buildPartial(); } else { settings_ = value; } onChanged(); } else { settingsBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Export.ExportToYtSettings settings = 1; */ public Builder clearSettings() { if (settingsBuilder_ == null) { settings_ = null; onChanged(); } else { settings_ = null; settingsBuilder_ = null; } return this; } /** * .Ydb.Export.ExportToYtSettings settings = 1; */ public com.yandex.ydb.export.YdbExport.ExportToYtSettings.Builder getSettingsBuilder() { onChanged(); return getSettingsFieldBuilder().getBuilder(); } /** * .Ydb.Export.ExportToYtSettings settings = 1; */ public com.yandex.ydb.export.YdbExport.ExportToYtSettingsOrBuilder getSettingsOrBuilder() { if (settingsBuilder_ != null) { return settingsBuilder_.getMessageOrBuilder(); } else { return settings_ == null ? com.yandex.ydb.export.YdbExport.ExportToYtSettings.getDefaultInstance() : settings_; } } /** * .Ydb.Export.ExportToYtSettings settings = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.export.YdbExport.ExportToYtSettings, com.yandex.ydb.export.YdbExport.ExportToYtSettings.Builder, com.yandex.ydb.export.YdbExport.ExportToYtSettingsOrBuilder> getSettingsFieldBuilder() { if (settingsBuilder_ == null) { settingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.export.YdbExport.ExportToYtSettings, com.yandex.ydb.export.YdbExport.ExportToYtSettings.Builder, com.yandex.ydb.export.YdbExport.ExportToYtSettingsOrBuilder>( getSettings(), getParentForChildren(), isClean()); settings_ = null; } return settingsBuilder_; } private int progress_ = 0; /** * .Ydb.Export.ExportProgress.Progress progress = 2; * @return The enum numeric value on the wire for progress. */ @java.lang.Override public int getProgressValue() { return progress_; } /** * .Ydb.Export.ExportProgress.Progress progress = 2; * @param value The enum numeric value on the wire for progress to set. * @return This builder for chaining. */ public Builder setProgressValue(int value) { progress_ = value; onChanged(); return this; } /** * .Ydb.Export.ExportProgress.Progress progress = 2; * @return The progress. */ @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportProgress.Progress getProgress() { @SuppressWarnings("deprecation") com.yandex.ydb.export.YdbExport.ExportProgress.Progress result = com.yandex.ydb.export.YdbExport.ExportProgress.Progress.valueOf(progress_); return result == null ? com.yandex.ydb.export.YdbExport.ExportProgress.Progress.UNRECOGNIZED : result; } /** * .Ydb.Export.ExportProgress.Progress progress = 2; * @param value The progress to set. * @return This builder for chaining. */ public Builder setProgress(com.yandex.ydb.export.YdbExport.ExportProgress.Progress value) { if (value == null) { throw new NullPointerException(); } progress_ = value.getNumber(); onChanged(); return this; } /** * .Ydb.Export.ExportProgress.Progress progress = 2; * @return This builder for chaining. */ public Builder clearProgress() { progress_ = 0; onChanged(); return this; } private java.util.List itemsProgress_ = java.util.Collections.emptyList(); private void ensureItemsProgressIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { itemsProgress_ = new java.util.ArrayList(itemsProgress_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.export.YdbExport.ExportItemProgress, com.yandex.ydb.export.YdbExport.ExportItemProgress.Builder, com.yandex.ydb.export.YdbExport.ExportItemProgressOrBuilder> itemsProgressBuilder_; /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public java.util.List getItemsProgressList() { if (itemsProgressBuilder_ == null) { return java.util.Collections.unmodifiableList(itemsProgress_); } else { return itemsProgressBuilder_.getMessageList(); } } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public int getItemsProgressCount() { if (itemsProgressBuilder_ == null) { return itemsProgress_.size(); } else { return itemsProgressBuilder_.getCount(); } } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public com.yandex.ydb.export.YdbExport.ExportItemProgress getItemsProgress(int index) { if (itemsProgressBuilder_ == null) { return itemsProgress_.get(index); } else { return itemsProgressBuilder_.getMessage(index); } } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public Builder setItemsProgress( int index, com.yandex.ydb.export.YdbExport.ExportItemProgress value) { if (itemsProgressBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureItemsProgressIsMutable(); itemsProgress_.set(index, value); onChanged(); } else { itemsProgressBuilder_.setMessage(index, value); } return this; } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public Builder setItemsProgress( int index, com.yandex.ydb.export.YdbExport.ExportItemProgress.Builder builderForValue) { if (itemsProgressBuilder_ == null) { ensureItemsProgressIsMutable(); itemsProgress_.set(index, builderForValue.build()); onChanged(); } else { itemsProgressBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public Builder addItemsProgress(com.yandex.ydb.export.YdbExport.ExportItemProgress value) { if (itemsProgressBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureItemsProgressIsMutable(); itemsProgress_.add(value); onChanged(); } else { itemsProgressBuilder_.addMessage(value); } return this; } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public Builder addItemsProgress( int index, com.yandex.ydb.export.YdbExport.ExportItemProgress value) { if (itemsProgressBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureItemsProgressIsMutable(); itemsProgress_.add(index, value); onChanged(); } else { itemsProgressBuilder_.addMessage(index, value); } return this; } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public Builder addItemsProgress( com.yandex.ydb.export.YdbExport.ExportItemProgress.Builder builderForValue) { if (itemsProgressBuilder_ == null) { ensureItemsProgressIsMutable(); itemsProgress_.add(builderForValue.build()); onChanged(); } else { itemsProgressBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public Builder addItemsProgress( int index, com.yandex.ydb.export.YdbExport.ExportItemProgress.Builder builderForValue) { if (itemsProgressBuilder_ == null) { ensureItemsProgressIsMutable(); itemsProgress_.add(index, builderForValue.build()); onChanged(); } else { itemsProgressBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public Builder addAllItemsProgress( java.lang.Iterable values) { if (itemsProgressBuilder_ == null) { ensureItemsProgressIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, itemsProgress_); onChanged(); } else { itemsProgressBuilder_.addAllMessages(values); } return this; } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public Builder clearItemsProgress() { if (itemsProgressBuilder_ == null) { itemsProgress_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { itemsProgressBuilder_.clear(); } return this; } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public Builder removeItemsProgress(int index) { if (itemsProgressBuilder_ == null) { ensureItemsProgressIsMutable(); itemsProgress_.remove(index); onChanged(); } else { itemsProgressBuilder_.remove(index); } return this; } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public com.yandex.ydb.export.YdbExport.ExportItemProgress.Builder getItemsProgressBuilder( int index) { return getItemsProgressFieldBuilder().getBuilder(index); } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public com.yandex.ydb.export.YdbExport.ExportItemProgressOrBuilder getItemsProgressOrBuilder( int index) { if (itemsProgressBuilder_ == null) { return itemsProgress_.get(index); } else { return itemsProgressBuilder_.getMessageOrBuilder(index); } } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public java.util.List getItemsProgressOrBuilderList() { if (itemsProgressBuilder_ != null) { return itemsProgressBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(itemsProgress_); } } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public com.yandex.ydb.export.YdbExport.ExportItemProgress.Builder addItemsProgressBuilder() { return getItemsProgressFieldBuilder().addBuilder( com.yandex.ydb.export.YdbExport.ExportItemProgress.getDefaultInstance()); } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public com.yandex.ydb.export.YdbExport.ExportItemProgress.Builder addItemsProgressBuilder( int index) { return getItemsProgressFieldBuilder().addBuilder( index, com.yandex.ydb.export.YdbExport.ExportItemProgress.getDefaultInstance()); } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public java.util.List getItemsProgressBuilderList() { return getItemsProgressFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.export.YdbExport.ExportItemProgress, com.yandex.ydb.export.YdbExport.ExportItemProgress.Builder, com.yandex.ydb.export.YdbExport.ExportItemProgressOrBuilder> getItemsProgressFieldBuilder() { if (itemsProgressBuilder_ == null) { itemsProgressBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.export.YdbExport.ExportItemProgress, com.yandex.ydb.export.YdbExport.ExportItemProgress.Builder, com.yandex.ydb.export.YdbExport.ExportItemProgressOrBuilder>( itemsProgress_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); itemsProgress_ = null; } return itemsProgressBuilder_; } @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.Export.ExportToYtMetadata) } // @@protoc_insertion_point(class_scope:Ydb.Export.ExportToYtMetadata) private static final com.yandex.ydb.export.YdbExport.ExportToYtMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.export.YdbExport.ExportToYtMetadata(); } public static com.yandex.ydb.export.YdbExport.ExportToYtMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExportToYtMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ExportToYtMetadata(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.export.YdbExport.ExportToYtMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExportToYtRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Export.ExportToYtRequest) 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(); /** * .Ydb.Export.ExportToYtSettings settings = 2 [(.Ydb.required) = true]; * @return Whether the settings field is set. */ boolean hasSettings(); /** * .Ydb.Export.ExportToYtSettings settings = 2 [(.Ydb.required) = true]; * @return The settings. */ com.yandex.ydb.export.YdbExport.ExportToYtSettings getSettings(); /** * .Ydb.Export.ExportToYtSettings settings = 2 [(.Ydb.required) = true]; */ com.yandex.ydb.export.YdbExport.ExportToYtSettingsOrBuilder getSettingsOrBuilder(); } /** * Protobuf type {@code Ydb.Export.ExportToYtRequest} */ public static final class ExportToYtRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Export.ExportToYtRequest) ExportToYtRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ExportToYtRequest.newBuilder() to construct. private ExportToYtRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExportToYtRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExportToYtRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExportToYtRequest( 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; } case 18: { com.yandex.ydb.export.YdbExport.ExportToYtSettings.Builder subBuilder = null; if (settings_ != null) { subBuilder = settings_.toBuilder(); } settings_ = input.readMessage(com.yandex.ydb.export.YdbExport.ExportToYtSettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(settings_); settings_ = 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.export.YdbExport.internal_static_Ydb_Export_ExportToYtRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToYtRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.export.YdbExport.ExportToYtRequest.class, com.yandex.ydb.export.YdbExport.ExportToYtRequest.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 SETTINGS_FIELD_NUMBER = 2; private com.yandex.ydb.export.YdbExport.ExportToYtSettings settings_; /** * .Ydb.Export.ExportToYtSettings settings = 2 [(.Ydb.required) = true]; * @return Whether the settings field is set. */ @java.lang.Override public boolean hasSettings() { return settings_ != null; } /** * .Ydb.Export.ExportToYtSettings settings = 2 [(.Ydb.required) = true]; * @return The settings. */ @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToYtSettings getSettings() { return settings_ == null ? com.yandex.ydb.export.YdbExport.ExportToYtSettings.getDefaultInstance() : settings_; } /** * .Ydb.Export.ExportToYtSettings settings = 2 [(.Ydb.required) = true]; */ @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToYtSettingsOrBuilder getSettingsOrBuilder() { return getSettings(); } 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 (settings_ != null) { output.writeMessage(2, getSettings()); } 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 (settings_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getSettings()); } 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.export.YdbExport.ExportToYtRequest)) { return super.equals(obj); } com.yandex.ydb.export.YdbExport.ExportToYtRequest other = (com.yandex.ydb.export.YdbExport.ExportToYtRequest) obj; if (hasOperationParams() != other.hasOperationParams()) return false; if (hasOperationParams()) { if (!getOperationParams() .equals(other.getOperationParams())) return false; } if (hasSettings() != other.hasSettings()) return false; if (hasSettings()) { if (!getSettings() .equals(other.getSettings())) 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(); } if (hasSettings()) { hash = (37 * hash) + SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getSettings().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.export.YdbExport.ExportToYtRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToYtRequest 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.export.YdbExport.ExportToYtRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToYtRequest 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.export.YdbExport.ExportToYtRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToYtRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.export.YdbExport.ExportToYtRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToYtRequest 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.export.YdbExport.ExportToYtRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToYtRequest 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.export.YdbExport.ExportToYtRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToYtRequest 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.export.YdbExport.ExportToYtRequest 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.Export.ExportToYtRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Export.ExportToYtRequest) com.yandex.ydb.export.YdbExport.ExportToYtRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToYtRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToYtRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.export.YdbExport.ExportToYtRequest.class, com.yandex.ydb.export.YdbExport.ExportToYtRequest.Builder.class); } // Construct using com.yandex.ydb.export.YdbExport.ExportToYtRequest.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; } if (settingsBuilder_ == null) { settings_ = null; } else { settings_ = null; settingsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToYtRequest_descriptor; } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToYtRequest getDefaultInstanceForType() { return com.yandex.ydb.export.YdbExport.ExportToYtRequest.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToYtRequest build() { com.yandex.ydb.export.YdbExport.ExportToYtRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToYtRequest buildPartial() { com.yandex.ydb.export.YdbExport.ExportToYtRequest result = new com.yandex.ydb.export.YdbExport.ExportToYtRequest(this); if (operationParamsBuilder_ == null) { result.operationParams_ = operationParams_; } else { result.operationParams_ = operationParamsBuilder_.build(); } if (settingsBuilder_ == null) { result.settings_ = settings_; } else { result.settings_ = settingsBuilder_.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.export.YdbExport.ExportToYtRequest) { return mergeFrom((com.yandex.ydb.export.YdbExport.ExportToYtRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.export.YdbExport.ExportToYtRequest other) { if (other == com.yandex.ydb.export.YdbExport.ExportToYtRequest.getDefaultInstance()) return this; if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } if (other.hasSettings()) { mergeSettings(other.getSettings()); } 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.export.YdbExport.ExportToYtRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.export.YdbExport.ExportToYtRequest) 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_; } private com.yandex.ydb.export.YdbExport.ExportToYtSettings settings_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.export.YdbExport.ExportToYtSettings, com.yandex.ydb.export.YdbExport.ExportToYtSettings.Builder, com.yandex.ydb.export.YdbExport.ExportToYtSettingsOrBuilder> settingsBuilder_; /** * .Ydb.Export.ExportToYtSettings settings = 2 [(.Ydb.required) = true]; * @return Whether the settings field is set. */ public boolean hasSettings() { return settingsBuilder_ != null || settings_ != null; } /** * .Ydb.Export.ExportToYtSettings settings = 2 [(.Ydb.required) = true]; * @return The settings. */ public com.yandex.ydb.export.YdbExport.ExportToYtSettings getSettings() { if (settingsBuilder_ == null) { return settings_ == null ? com.yandex.ydb.export.YdbExport.ExportToYtSettings.getDefaultInstance() : settings_; } else { return settingsBuilder_.getMessage(); } } /** * .Ydb.Export.ExportToYtSettings settings = 2 [(.Ydb.required) = true]; */ public Builder setSettings(com.yandex.ydb.export.YdbExport.ExportToYtSettings value) { if (settingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } settings_ = value; onChanged(); } else { settingsBuilder_.setMessage(value); } return this; } /** * .Ydb.Export.ExportToYtSettings settings = 2 [(.Ydb.required) = true]; */ public Builder setSettings( com.yandex.ydb.export.YdbExport.ExportToYtSettings.Builder builderForValue) { if (settingsBuilder_ == null) { settings_ = builderForValue.build(); onChanged(); } else { settingsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Export.ExportToYtSettings settings = 2 [(.Ydb.required) = true]; */ public Builder mergeSettings(com.yandex.ydb.export.YdbExport.ExportToYtSettings value) { if (settingsBuilder_ == null) { if (settings_ != null) { settings_ = com.yandex.ydb.export.YdbExport.ExportToYtSettings.newBuilder(settings_).mergeFrom(value).buildPartial(); } else { settings_ = value; } onChanged(); } else { settingsBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Export.ExportToYtSettings settings = 2 [(.Ydb.required) = true]; */ public Builder clearSettings() { if (settingsBuilder_ == null) { settings_ = null; onChanged(); } else { settings_ = null; settingsBuilder_ = null; } return this; } /** * .Ydb.Export.ExportToYtSettings settings = 2 [(.Ydb.required) = true]; */ public com.yandex.ydb.export.YdbExport.ExportToYtSettings.Builder getSettingsBuilder() { onChanged(); return getSettingsFieldBuilder().getBuilder(); } /** * .Ydb.Export.ExportToYtSettings settings = 2 [(.Ydb.required) = true]; */ public com.yandex.ydb.export.YdbExport.ExportToYtSettingsOrBuilder getSettingsOrBuilder() { if (settingsBuilder_ != null) { return settingsBuilder_.getMessageOrBuilder(); } else { return settings_ == null ? com.yandex.ydb.export.YdbExport.ExportToYtSettings.getDefaultInstance() : settings_; } } /** * .Ydb.Export.ExportToYtSettings settings = 2 [(.Ydb.required) = true]; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.export.YdbExport.ExportToYtSettings, com.yandex.ydb.export.YdbExport.ExportToYtSettings.Builder, com.yandex.ydb.export.YdbExport.ExportToYtSettingsOrBuilder> getSettingsFieldBuilder() { if (settingsBuilder_ == null) { settingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.export.YdbExport.ExportToYtSettings, com.yandex.ydb.export.YdbExport.ExportToYtSettings.Builder, com.yandex.ydb.export.YdbExport.ExportToYtSettingsOrBuilder>( getSettings(), getParentForChildren(), isClean()); settings_ = null; } return settingsBuilder_; } @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.Export.ExportToYtRequest) } // @@protoc_insertion_point(class_scope:Ydb.Export.ExportToYtRequest) private static final com.yandex.ydb.export.YdbExport.ExportToYtRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.export.YdbExport.ExportToYtRequest(); } public static com.yandex.ydb.export.YdbExport.ExportToYtRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExportToYtRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ExportToYtRequest(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.export.YdbExport.ExportToYtRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExportToYtResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Export.ExportToYtResponse) com.google.protobuf.MessageOrBuilder { /** *
     * operation.result = ExportToYtResult
     * operation.metadata = ExportToYtMetadata
     * 
* * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ boolean hasOperation(); /** *
     * operation.result = ExportToYtResult
     * operation.metadata = ExportToYtMetadata
     * 
* * .Ydb.Operations.Operation operation = 1; * @return The operation. */ com.yandex.ydb.OperationProtos.Operation getOperation(); /** *
     * operation.result = ExportToYtResult
     * operation.metadata = ExportToYtMetadata
     * 
* * .Ydb.Operations.Operation operation = 1; */ com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder(); } /** * Protobuf type {@code Ydb.Export.ExportToYtResponse} */ public static final class ExportToYtResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Export.ExportToYtResponse) ExportToYtResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ExportToYtResponse.newBuilder() to construct. private ExportToYtResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExportToYtResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExportToYtResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExportToYtResponse( 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.export.YdbExport.internal_static_Ydb_Export_ExportToYtResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToYtResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.export.YdbExport.ExportToYtResponse.class, com.yandex.ydb.export.YdbExport.ExportToYtResponse.Builder.class); } public static final int OPERATION_FIELD_NUMBER = 1; private com.yandex.ydb.OperationProtos.Operation operation_; /** *
     * operation.result = ExportToYtResult
     * operation.metadata = ExportToYtMetadata
     * 
* * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ @java.lang.Override public boolean hasOperation() { return operation_ != null; } /** *
     * operation.result = ExportToYtResult
     * operation.metadata = ExportToYtMetadata
     * 
* * .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 = ExportToYtResult
     * operation.metadata = ExportToYtMetadata
     * 
* * .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.export.YdbExport.ExportToYtResponse)) { return super.equals(obj); } com.yandex.ydb.export.YdbExport.ExportToYtResponse other = (com.yandex.ydb.export.YdbExport.ExportToYtResponse) 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.export.YdbExport.ExportToYtResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToYtResponse 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.export.YdbExport.ExportToYtResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToYtResponse 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.export.YdbExport.ExportToYtResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToYtResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.export.YdbExport.ExportToYtResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToYtResponse 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.export.YdbExport.ExportToYtResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToYtResponse 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.export.YdbExport.ExportToYtResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToYtResponse 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.export.YdbExport.ExportToYtResponse 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.Export.ExportToYtResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Export.ExportToYtResponse) com.yandex.ydb.export.YdbExport.ExportToYtResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToYtResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToYtResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.export.YdbExport.ExportToYtResponse.class, com.yandex.ydb.export.YdbExport.ExportToYtResponse.Builder.class); } // Construct using com.yandex.ydb.export.YdbExport.ExportToYtResponse.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.export.YdbExport.internal_static_Ydb_Export_ExportToYtResponse_descriptor; } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToYtResponse getDefaultInstanceForType() { return com.yandex.ydb.export.YdbExport.ExportToYtResponse.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToYtResponse build() { com.yandex.ydb.export.YdbExport.ExportToYtResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToYtResponse buildPartial() { com.yandex.ydb.export.YdbExport.ExportToYtResponse result = new com.yandex.ydb.export.YdbExport.ExportToYtResponse(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.export.YdbExport.ExportToYtResponse) { return mergeFrom((com.yandex.ydb.export.YdbExport.ExportToYtResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.export.YdbExport.ExportToYtResponse other) { if (other == com.yandex.ydb.export.YdbExport.ExportToYtResponse.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.export.YdbExport.ExportToYtResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.export.YdbExport.ExportToYtResponse) 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 = ExportToYtResult
       * operation.metadata = ExportToYtMetadata
       * 
* * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ public boolean hasOperation() { return operationBuilder_ != null || operation_ != null; } /** *
       * operation.result = ExportToYtResult
       * operation.metadata = ExportToYtMetadata
       * 
* * .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 = ExportToYtResult
       * operation.metadata = ExportToYtMetadata
       * 
* * .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 = ExportToYtResult
       * operation.metadata = ExportToYtMetadata
       * 
* * .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 = ExportToYtResult
       * operation.metadata = ExportToYtMetadata
       * 
* * .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 = ExportToYtResult
       * operation.metadata = ExportToYtMetadata
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder clearOperation() { if (operationBuilder_ == null) { operation_ = null; onChanged(); } else { operation_ = null; operationBuilder_ = null; } return this; } /** *
       * operation.result = ExportToYtResult
       * operation.metadata = ExportToYtMetadata
       * 
* * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.Operation.Builder getOperationBuilder() { onChanged(); return getOperationFieldBuilder().getBuilder(); } /** *
       * operation.result = ExportToYtResult
       * operation.metadata = ExportToYtMetadata
       * 
* * .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 = ExportToYtResult
       * operation.metadata = ExportToYtMetadata
       * 
* * .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.Export.ExportToYtResponse) } // @@protoc_insertion_point(class_scope:Ydb.Export.ExportToYtResponse) private static final com.yandex.ydb.export.YdbExport.ExportToYtResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.export.YdbExport.ExportToYtResponse(); } public static com.yandex.ydb.export.YdbExport.ExportToYtResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExportToYtResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ExportToYtResponse(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.export.YdbExport.ExportToYtResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExportToS3SettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Export.ExportToS3Settings) com.google.protobuf.MessageOrBuilder { /** * string endpoint = 1 [(.Ydb.required) = true]; * @return The endpoint. */ java.lang.String getEndpoint(); /** * string endpoint = 1 [(.Ydb.required) = true]; * @return The bytes for endpoint. */ com.google.protobuf.ByteString getEndpointBytes(); /** *
     * HTTPS if not specified
     * 
* * .Ydb.Export.ExportToS3Settings.Scheme scheme = 2; * @return The enum numeric value on the wire for scheme. */ int getSchemeValue(); /** *
     * HTTPS if not specified
     * 
* * .Ydb.Export.ExportToS3Settings.Scheme scheme = 2; * @return The scheme. */ com.yandex.ydb.export.YdbExport.ExportToS3Settings.Scheme getScheme(); /** * string bucket = 3 [(.Ydb.required) = true]; * @return The bucket. */ java.lang.String getBucket(); /** * string bucket = 3 [(.Ydb.required) = true]; * @return The bytes for bucket. */ com.google.protobuf.ByteString getBucketBytes(); /** * string access_key = 4 [(.Ydb.required) = true]; * @return The accessKey. */ java.lang.String getAccessKey(); /** * string access_key = 4 [(.Ydb.required) = true]; * @return The bytes for accessKey. */ com.google.protobuf.ByteString getAccessKeyBytes(); /** * string secret_key = 5 [(.Ydb.required) = true]; * @return The secretKey. */ java.lang.String getSecretKey(); /** * string secret_key = 5 [(.Ydb.required) = true]; * @return The bytes for secretKey. */ com.google.protobuf.ByteString getSecretKeyBytes(); /** * repeated .Ydb.Export.ExportToS3Settings.Item items = 6 [(.Ydb.size) = { ... } */ java.util.List getItemsList(); /** * repeated .Ydb.Export.ExportToS3Settings.Item items = 6 [(.Ydb.size) = { ... } */ com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item getItems(int index); /** * repeated .Ydb.Export.ExportToS3Settings.Item items = 6 [(.Ydb.size) = { ... } */ int getItemsCount(); /** * repeated .Ydb.Export.ExportToS3Settings.Item items = 6 [(.Ydb.size) = { ... } */ java.util.List getItemsOrBuilderList(); /** * repeated .Ydb.Export.ExportToS3Settings.Item items = 6 [(.Ydb.size) = { ... } */ com.yandex.ydb.export.YdbExport.ExportToS3Settings.ItemOrBuilder getItemsOrBuilder( int index); /** * string description = 7 [(.Ydb.length) = { ... } * @return The description. */ java.lang.String getDescription(); /** * string description = 7 [(.Ydb.length) = { ... } * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); /** * uint32 number_of_retries = 8; * @return The numberOfRetries. */ int getNumberOfRetries(); /** * .Ydb.Export.ExportToS3Settings.StorageClass storage_class = 9; * @return The enum numeric value on the wire for storageClass. */ int getStorageClassValue(); /** * .Ydb.Export.ExportToS3Settings.StorageClass storage_class = 9; * @return The storageClass. */ com.yandex.ydb.export.YdbExport.ExportToS3Settings.StorageClass getStorageClass(); } /** *
   */ S3
   * 
* * Protobuf type {@code Ydb.Export.ExportToS3Settings} */ public static final class ExportToS3Settings extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Export.ExportToS3Settings) ExportToS3SettingsOrBuilder { private static final long serialVersionUID = 0L; // Use ExportToS3Settings.newBuilder() to construct. private ExportToS3Settings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExportToS3Settings() { endpoint_ = ""; scheme_ = 0; bucket_ = ""; accessKey_ = ""; secretKey_ = ""; items_ = java.util.Collections.emptyList(); description_ = ""; storageClass_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExportToS3Settings(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExportToS3Settings( 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(); endpoint_ = s; break; } case 16: { int rawValue = input.readEnum(); scheme_ = rawValue; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); bucket_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); accessKey_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); secretKey_ = s; break; } case 50: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { items_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } items_.add( input.readMessage(com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item.parser(), extensionRegistry)); break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); description_ = s; break; } case 64: { numberOfRetries_ = input.readUInt32(); break; } case 72: { int rawValue = input.readEnum(); storageClass_ = 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)) { items_ = java.util.Collections.unmodifiableList(items_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToS3Settings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToS3Settings_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.export.YdbExport.ExportToS3Settings.class, com.yandex.ydb.export.YdbExport.ExportToS3Settings.Builder.class); } /** * Protobuf enum {@code Ydb.Export.ExportToS3Settings.Scheme} */ public enum Scheme implements com.google.protobuf.ProtocolMessageEnum { /** * UNSPECIFIED = 0; */ UNSPECIFIED(0), /** * HTTP = 1; */ HTTP(1), /** * HTTPS = 2; */ HTTPS(2), UNRECOGNIZED(-1), ; /** * UNSPECIFIED = 0; */ public static final int UNSPECIFIED_VALUE = 0; /** * HTTP = 1; */ public static final int HTTP_VALUE = 1; /** * HTTPS = 2; */ public static final int HTTPS_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 Scheme 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 Scheme forNumber(int value) { switch (value) { case 0: return UNSPECIFIED; case 1: return HTTP; case 2: return HTTPS; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Scheme> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Scheme findValueByNumber(int number) { return Scheme.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.export.YdbExport.ExportToS3Settings.getDescriptor().getEnumTypes().get(0); } private static final Scheme[] VALUES = values(); public static Scheme 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 Scheme(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Ydb.Export.ExportToS3Settings.Scheme) } /** * Protobuf enum {@code Ydb.Export.ExportToS3Settings.StorageClass} */ public enum StorageClass implements com.google.protobuf.ProtocolMessageEnum { /** * STORAGE_CLASS_UNSPECIFIED = 0; */ STORAGE_CLASS_UNSPECIFIED(0), /** * STANDARD = 1; */ STANDARD(1), /** * REDUCED_REDUNDANCY = 2; */ REDUCED_REDUNDANCY(2), /** * STANDARD_IA = 3; */ STANDARD_IA(3), /** * ONEZONE_IA = 4; */ ONEZONE_IA(4), /** * INTELLIGENT_TIERING = 5; */ INTELLIGENT_TIERING(5), /** * GLACIER = 6; */ GLACIER(6), /** * DEEP_ARCHIVE = 7; */ DEEP_ARCHIVE(7), /** * OUTPOSTS = 8; */ OUTPOSTS(8), UNRECOGNIZED(-1), ; /** * STORAGE_CLASS_UNSPECIFIED = 0; */ public static final int STORAGE_CLASS_UNSPECIFIED_VALUE = 0; /** * STANDARD = 1; */ public static final int STANDARD_VALUE = 1; /** * REDUCED_REDUNDANCY = 2; */ public static final int REDUCED_REDUNDANCY_VALUE = 2; /** * STANDARD_IA = 3; */ public static final int STANDARD_IA_VALUE = 3; /** * ONEZONE_IA = 4; */ public static final int ONEZONE_IA_VALUE = 4; /** * INTELLIGENT_TIERING = 5; */ public static final int INTELLIGENT_TIERING_VALUE = 5; /** * GLACIER = 6; */ public static final int GLACIER_VALUE = 6; /** * DEEP_ARCHIVE = 7; */ public static final int DEEP_ARCHIVE_VALUE = 7; /** * OUTPOSTS = 8; */ public static final int OUTPOSTS_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 StorageClass 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 StorageClass forNumber(int value) { switch (value) { case 0: return STORAGE_CLASS_UNSPECIFIED; case 1: return STANDARD; case 2: return REDUCED_REDUNDANCY; case 3: return STANDARD_IA; case 4: return ONEZONE_IA; case 5: return INTELLIGENT_TIERING; case 6: return GLACIER; case 7: return DEEP_ARCHIVE; case 8: return OUTPOSTS; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< StorageClass> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public StorageClass findValueByNumber(int number) { return StorageClass.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.export.YdbExport.ExportToS3Settings.getDescriptor().getEnumTypes().get(1); } private static final StorageClass[] VALUES = values(); public static StorageClass 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 StorageClass(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Ydb.Export.ExportToS3Settings.StorageClass) } public interface ItemOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Export.ExportToS3Settings.Item) com.google.protobuf.MessageOrBuilder { /** *
       * Database path to a table to be exported
       * 
* * string source_path = 1 [(.Ydb.required) = true]; * @return The sourcePath. */ java.lang.String getSourcePath(); /** *
       * Database path to a table to be exported
       * 
* * string source_path = 1 [(.Ydb.required) = true]; * @return The bytes for sourcePath. */ com.google.protobuf.ByteString getSourcePathBytes(); /** *
       * Tables are exported to one or more S3 objects.
       *The object name begins with 'destination_prefix'.
       *This prefix will be followed by '/data_PartNumber', where 'PartNumber'
       *represents the index of the part, starting at zero.
       * 
* * string destination_prefix = 2 [(.Ydb.required) = true]; * @return The destinationPrefix. */ java.lang.String getDestinationPrefix(); /** *
       * Tables are exported to one or more S3 objects.
       *The object name begins with 'destination_prefix'.
       *This prefix will be followed by '/data_PartNumber', where 'PartNumber'
       *represents the index of the part, starting at zero.
       * 
* * string destination_prefix = 2 [(.Ydb.required) = true]; * @return The bytes for destinationPrefix. */ com.google.protobuf.ByteString getDestinationPrefixBytes(); } /** * Protobuf type {@code Ydb.Export.ExportToS3Settings.Item} */ public static final class Item extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Export.ExportToS3Settings.Item) ItemOrBuilder { private static final long serialVersionUID = 0L; // Use Item.newBuilder() to construct. private Item(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Item() { sourcePath_ = ""; destinationPrefix_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Item(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Item( 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(); destinationPrefix_ = 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.export.YdbExport.internal_static_Ydb_Export_ExportToS3Settings_Item_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToS3Settings_Item_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item.class, com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item.Builder.class); } public static final int SOURCE_PATH_FIELD_NUMBER = 1; private volatile java.lang.Object sourcePath_; /** *
       * Database path to a table to be exported
       * 
* * string source_path = 1 [(.Ydb.required) = true]; * @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; } } /** *
       * Database path to a table to be exported
       * 
* * string source_path = 1 [(.Ydb.required) = true]; * @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_PREFIX_FIELD_NUMBER = 2; private volatile java.lang.Object destinationPrefix_; /** *
       * Tables are exported to one or more S3 objects.
       *The object name begins with 'destination_prefix'.
       *This prefix will be followed by '/data_PartNumber', where 'PartNumber'
       *represents the index of the part, starting at zero.
       * 
* * string destination_prefix = 2 [(.Ydb.required) = true]; * @return The destinationPrefix. */ @java.lang.Override public java.lang.String getDestinationPrefix() { java.lang.Object ref = destinationPrefix_; 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(); destinationPrefix_ = s; return s; } } /** *
       * Tables are exported to one or more S3 objects.
       *The object name begins with 'destination_prefix'.
       *This prefix will be followed by '/data_PartNumber', where 'PartNumber'
       *represents the index of the part, starting at zero.
       * 
* * string destination_prefix = 2 [(.Ydb.required) = true]; * @return The bytes for destinationPrefix. */ @java.lang.Override public com.google.protobuf.ByteString getDestinationPrefixBytes() { java.lang.Object ref = destinationPrefix_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); destinationPrefix_ = 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 (!getSourcePathBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sourcePath_); } if (!getDestinationPrefixBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, destinationPrefix_); } 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 (!getDestinationPrefixBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, destinationPrefix_); } 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.export.YdbExport.ExportToS3Settings.Item)) { return super.equals(obj); } com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item other = (com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item) obj; if (!getSourcePath() .equals(other.getSourcePath())) return false; if (!getDestinationPrefix() .equals(other.getDestinationPrefix())) 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_PREFIX_FIELD_NUMBER; hash = (53 * hash) + getDestinationPrefix().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item 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.export.YdbExport.ExportToS3Settings.Item parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item 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.export.YdbExport.ExportToS3Settings.Item parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item 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.export.YdbExport.ExportToS3Settings.Item parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item 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.export.YdbExport.ExportToS3Settings.Item parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item 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.export.YdbExport.ExportToS3Settings.Item 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.Export.ExportToS3Settings.Item} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Export.ExportToS3Settings.Item) com.yandex.ydb.export.YdbExport.ExportToS3Settings.ItemOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToS3Settings_Item_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToS3Settings_Item_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item.class, com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item.Builder.class); } // Construct using com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item.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_ = ""; destinationPrefix_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToS3Settings_Item_descriptor; } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item getDefaultInstanceForType() { return com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item build() { com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item buildPartial() { com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item result = new com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item(this); result.sourcePath_ = sourcePath_; result.destinationPrefix_ = destinationPrefix_; 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.export.YdbExport.ExportToS3Settings.Item) { return mergeFrom((com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item other) { if (other == com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item.getDefaultInstance()) return this; if (!other.getSourcePath().isEmpty()) { sourcePath_ = other.sourcePath_; onChanged(); } if (!other.getDestinationPrefix().isEmpty()) { destinationPrefix_ = other.destinationPrefix_; 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.export.YdbExport.ExportToS3Settings.Item parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object sourcePath_ = ""; /** *
         * Database path to a table to be exported
         * 
* * string source_path = 1 [(.Ydb.required) = true]; * @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; } } /** *
         * Database path to a table to be exported
         * 
* * string source_path = 1 [(.Ydb.required) = true]; * @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; } } /** *
         * Database path to a table to be exported
         * 
* * string source_path = 1 [(.Ydb.required) = true]; * @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; } /** *
         * Database path to a table to be exported
         * 
* * string source_path = 1 [(.Ydb.required) = true]; * @return This builder for chaining. */ public Builder clearSourcePath() { sourcePath_ = getDefaultInstance().getSourcePath(); onChanged(); return this; } /** *
         * Database path to a table to be exported
         * 
* * string source_path = 1 [(.Ydb.required) = true]; * @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 destinationPrefix_ = ""; /** *
         * Tables are exported to one or more S3 objects.
         *The object name begins with 'destination_prefix'.
         *This prefix will be followed by '/data_PartNumber', where 'PartNumber'
         *represents the index of the part, starting at zero.
         * 
* * string destination_prefix = 2 [(.Ydb.required) = true]; * @return The destinationPrefix. */ public java.lang.String getDestinationPrefix() { java.lang.Object ref = destinationPrefix_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationPrefix_ = s; return s; } else { return (java.lang.String) ref; } } /** *
         * Tables are exported to one or more S3 objects.
         *The object name begins with 'destination_prefix'.
         *This prefix will be followed by '/data_PartNumber', where 'PartNumber'
         *represents the index of the part, starting at zero.
         * 
* * string destination_prefix = 2 [(.Ydb.required) = true]; * @return The bytes for destinationPrefix. */ public com.google.protobuf.ByteString getDestinationPrefixBytes() { java.lang.Object ref = destinationPrefix_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); destinationPrefix_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
         * Tables are exported to one or more S3 objects.
         *The object name begins with 'destination_prefix'.
         *This prefix will be followed by '/data_PartNumber', where 'PartNumber'
         *represents the index of the part, starting at zero.
         * 
* * string destination_prefix = 2 [(.Ydb.required) = true]; * @param value The destinationPrefix to set. * @return This builder for chaining. */ public Builder setDestinationPrefix( java.lang.String value) { if (value == null) { throw new NullPointerException(); } destinationPrefix_ = value; onChanged(); return this; } /** *
         * Tables are exported to one or more S3 objects.
         *The object name begins with 'destination_prefix'.
         *This prefix will be followed by '/data_PartNumber', where 'PartNumber'
         *represents the index of the part, starting at zero.
         * 
* * string destination_prefix = 2 [(.Ydb.required) = true]; * @return This builder for chaining. */ public Builder clearDestinationPrefix() { destinationPrefix_ = getDefaultInstance().getDestinationPrefix(); onChanged(); return this; } /** *
         * Tables are exported to one or more S3 objects.
         *The object name begins with 'destination_prefix'.
         *This prefix will be followed by '/data_PartNumber', where 'PartNumber'
         *represents the index of the part, starting at zero.
         * 
* * string destination_prefix = 2 [(.Ydb.required) = true]; * @param value The bytes for destinationPrefix to set. * @return This builder for chaining. */ public Builder setDestinationPrefixBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); destinationPrefix_ = 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.Export.ExportToS3Settings.Item) } // @@protoc_insertion_point(class_scope:Ydb.Export.ExportToS3Settings.Item) private static final com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item(); } public static com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Item parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Item(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.export.YdbExport.ExportToS3Settings.Item getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int ENDPOINT_FIELD_NUMBER = 1; private volatile java.lang.Object endpoint_; /** * string endpoint = 1 [(.Ydb.required) = true]; * @return The endpoint. */ @java.lang.Override public java.lang.String getEndpoint() { java.lang.Object ref = endpoint_; 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(); endpoint_ = s; return s; } } /** * string endpoint = 1 [(.Ydb.required) = true]; * @return The bytes for endpoint. */ @java.lang.Override public com.google.protobuf.ByteString getEndpointBytes() { java.lang.Object ref = endpoint_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); endpoint_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SCHEME_FIELD_NUMBER = 2; private int scheme_; /** *
     * HTTPS if not specified
     * 
* * .Ydb.Export.ExportToS3Settings.Scheme scheme = 2; * @return The enum numeric value on the wire for scheme. */ @java.lang.Override public int getSchemeValue() { return scheme_; } /** *
     * HTTPS if not specified
     * 
* * .Ydb.Export.ExportToS3Settings.Scheme scheme = 2; * @return The scheme. */ @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToS3Settings.Scheme getScheme() { @SuppressWarnings("deprecation") com.yandex.ydb.export.YdbExport.ExportToS3Settings.Scheme result = com.yandex.ydb.export.YdbExport.ExportToS3Settings.Scheme.valueOf(scheme_); return result == null ? com.yandex.ydb.export.YdbExport.ExportToS3Settings.Scheme.UNRECOGNIZED : result; } public static final int BUCKET_FIELD_NUMBER = 3; private volatile java.lang.Object bucket_; /** * string bucket = 3 [(.Ydb.required) = true]; * @return The bucket. */ @java.lang.Override public java.lang.String getBucket() { java.lang.Object ref = bucket_; 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(); bucket_ = s; return s; } } /** * string bucket = 3 [(.Ydb.required) = true]; * @return The bytes for bucket. */ @java.lang.Override public com.google.protobuf.ByteString getBucketBytes() { java.lang.Object ref = bucket_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); bucket_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ACCESS_KEY_FIELD_NUMBER = 4; private volatile java.lang.Object accessKey_; /** * string access_key = 4 [(.Ydb.required) = true]; * @return The accessKey. */ @java.lang.Override public java.lang.String getAccessKey() { java.lang.Object ref = accessKey_; 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(); accessKey_ = s; return s; } } /** * string access_key = 4 [(.Ydb.required) = true]; * @return The bytes for accessKey. */ @java.lang.Override public com.google.protobuf.ByteString getAccessKeyBytes() { java.lang.Object ref = accessKey_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); accessKey_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SECRET_KEY_FIELD_NUMBER = 5; private volatile java.lang.Object secretKey_; /** * string secret_key = 5 [(.Ydb.required) = true]; * @return The secretKey. */ @java.lang.Override public java.lang.String getSecretKey() { java.lang.Object ref = secretKey_; 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(); secretKey_ = s; return s; } } /** * string secret_key = 5 [(.Ydb.required) = true]; * @return The bytes for secretKey. */ @java.lang.Override public com.google.protobuf.ByteString getSecretKeyBytes() { java.lang.Object ref = secretKey_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); secretKey_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ITEMS_FIELD_NUMBER = 6; private java.util.List items_; /** * repeated .Ydb.Export.ExportToS3Settings.Item items = 6 [(.Ydb.size) = { ... } */ @java.lang.Override public java.util.List getItemsList() { return items_; } /** * repeated .Ydb.Export.ExportToS3Settings.Item items = 6 [(.Ydb.size) = { ... } */ @java.lang.Override public java.util.List getItemsOrBuilderList() { return items_; } /** * repeated .Ydb.Export.ExportToS3Settings.Item items = 6 [(.Ydb.size) = { ... } */ @java.lang.Override public int getItemsCount() { return items_.size(); } /** * repeated .Ydb.Export.ExportToS3Settings.Item items = 6 [(.Ydb.size) = { ... } */ @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item getItems(int index) { return items_.get(index); } /** * repeated .Ydb.Export.ExportToS3Settings.Item items = 6 [(.Ydb.size) = { ... } */ @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToS3Settings.ItemOrBuilder getItemsOrBuilder( int index) { return items_.get(index); } public static final int DESCRIPTION_FIELD_NUMBER = 7; private volatile java.lang.Object description_; /** * string description = 7 [(.Ydb.length) = { ... } * @return The description. */ @java.lang.Override public java.lang.String getDescription() { java.lang.Object ref = description_; 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(); description_ = s; return s; } } /** * string description = 7 [(.Ydb.length) = { ... } * @return The bytes for description. */ @java.lang.Override public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NUMBER_OF_RETRIES_FIELD_NUMBER = 8; private int numberOfRetries_; /** * uint32 number_of_retries = 8; * @return The numberOfRetries. */ @java.lang.Override public int getNumberOfRetries() { return numberOfRetries_; } public static final int STORAGE_CLASS_FIELD_NUMBER = 9; private int storageClass_; /** * .Ydb.Export.ExportToS3Settings.StorageClass storage_class = 9; * @return The enum numeric value on the wire for storageClass. */ @java.lang.Override public int getStorageClassValue() { return storageClass_; } /** * .Ydb.Export.ExportToS3Settings.StorageClass storage_class = 9; * @return The storageClass. */ @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToS3Settings.StorageClass getStorageClass() { @SuppressWarnings("deprecation") com.yandex.ydb.export.YdbExport.ExportToS3Settings.StorageClass result = com.yandex.ydb.export.YdbExport.ExportToS3Settings.StorageClass.valueOf(storageClass_); return result == null ? com.yandex.ydb.export.YdbExport.ExportToS3Settings.StorageClass.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 (!getEndpointBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, endpoint_); } if (scheme_ != com.yandex.ydb.export.YdbExport.ExportToS3Settings.Scheme.UNSPECIFIED.getNumber()) { output.writeEnum(2, scheme_); } if (!getBucketBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, bucket_); } if (!getAccessKeyBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, accessKey_); } if (!getSecretKeyBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, secretKey_); } for (int i = 0; i < items_.size(); i++) { output.writeMessage(6, items_.get(i)); } if (!getDescriptionBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, description_); } if (numberOfRetries_ != 0) { output.writeUInt32(8, numberOfRetries_); } if (storageClass_ != com.yandex.ydb.export.YdbExport.ExportToS3Settings.StorageClass.STORAGE_CLASS_UNSPECIFIED.getNumber()) { output.writeEnum(9, storageClass_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getEndpointBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, endpoint_); } if (scheme_ != com.yandex.ydb.export.YdbExport.ExportToS3Settings.Scheme.UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, scheme_); } if (!getBucketBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, bucket_); } if (!getAccessKeyBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, accessKey_); } if (!getSecretKeyBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, secretKey_); } for (int i = 0; i < items_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, items_.get(i)); } if (!getDescriptionBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, description_); } if (numberOfRetries_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(8, numberOfRetries_); } if (storageClass_ != com.yandex.ydb.export.YdbExport.ExportToS3Settings.StorageClass.STORAGE_CLASS_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(9, storageClass_); } 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.export.YdbExport.ExportToS3Settings)) { return super.equals(obj); } com.yandex.ydb.export.YdbExport.ExportToS3Settings other = (com.yandex.ydb.export.YdbExport.ExportToS3Settings) obj; if (!getEndpoint() .equals(other.getEndpoint())) return false; if (scheme_ != other.scheme_) return false; if (!getBucket() .equals(other.getBucket())) return false; if (!getAccessKey() .equals(other.getAccessKey())) return false; if (!getSecretKey() .equals(other.getSecretKey())) return false; if (!getItemsList() .equals(other.getItemsList())) return false; if (!getDescription() .equals(other.getDescription())) return false; if (getNumberOfRetries() != other.getNumberOfRetries()) return false; if (storageClass_ != other.storageClass_) 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) + ENDPOINT_FIELD_NUMBER; hash = (53 * hash) + getEndpoint().hashCode(); hash = (37 * hash) + SCHEME_FIELD_NUMBER; hash = (53 * hash) + scheme_; hash = (37 * hash) + BUCKET_FIELD_NUMBER; hash = (53 * hash) + getBucket().hashCode(); hash = (37 * hash) + ACCESS_KEY_FIELD_NUMBER; hash = (53 * hash) + getAccessKey().hashCode(); hash = (37 * hash) + SECRET_KEY_FIELD_NUMBER; hash = (53 * hash) + getSecretKey().hashCode(); if (getItemsCount() > 0) { hash = (37 * hash) + ITEMS_FIELD_NUMBER; hash = (53 * hash) + getItemsList().hashCode(); } hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); hash = (37 * hash) + NUMBER_OF_RETRIES_FIELD_NUMBER; hash = (53 * hash) + getNumberOfRetries(); hash = (37 * hash) + STORAGE_CLASS_FIELD_NUMBER; hash = (53 * hash) + storageClass_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.export.YdbExport.ExportToS3Settings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToS3Settings 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.export.YdbExport.ExportToS3Settings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToS3Settings 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.export.YdbExport.ExportToS3Settings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToS3Settings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.export.YdbExport.ExportToS3Settings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToS3Settings 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.export.YdbExport.ExportToS3Settings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToS3Settings 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.export.YdbExport.ExportToS3Settings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToS3Settings 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.export.YdbExport.ExportToS3Settings 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; } /** *
     */ S3
     * 
* * Protobuf type {@code Ydb.Export.ExportToS3Settings} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Export.ExportToS3Settings) com.yandex.ydb.export.YdbExport.ExportToS3SettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToS3Settings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToS3Settings_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.export.YdbExport.ExportToS3Settings.class, com.yandex.ydb.export.YdbExport.ExportToS3Settings.Builder.class); } // Construct using com.yandex.ydb.export.YdbExport.ExportToS3Settings.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getItemsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); endpoint_ = ""; scheme_ = 0; bucket_ = ""; accessKey_ = ""; secretKey_ = ""; if (itemsBuilder_ == null) { items_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { itemsBuilder_.clear(); } description_ = ""; numberOfRetries_ = 0; storageClass_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToS3Settings_descriptor; } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToS3Settings getDefaultInstanceForType() { return com.yandex.ydb.export.YdbExport.ExportToS3Settings.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToS3Settings build() { com.yandex.ydb.export.YdbExport.ExportToS3Settings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToS3Settings buildPartial() { com.yandex.ydb.export.YdbExport.ExportToS3Settings result = new com.yandex.ydb.export.YdbExport.ExportToS3Settings(this); int from_bitField0_ = bitField0_; result.endpoint_ = endpoint_; result.scheme_ = scheme_; result.bucket_ = bucket_; result.accessKey_ = accessKey_; result.secretKey_ = secretKey_; if (itemsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { items_ = java.util.Collections.unmodifiableList(items_); bitField0_ = (bitField0_ & ~0x00000001); } result.items_ = items_; } else { result.items_ = itemsBuilder_.build(); } result.description_ = description_; result.numberOfRetries_ = numberOfRetries_; result.storageClass_ = storageClass_; 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.export.YdbExport.ExportToS3Settings) { return mergeFrom((com.yandex.ydb.export.YdbExport.ExportToS3Settings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.export.YdbExport.ExportToS3Settings other) { if (other == com.yandex.ydb.export.YdbExport.ExportToS3Settings.getDefaultInstance()) return this; if (!other.getEndpoint().isEmpty()) { endpoint_ = other.endpoint_; onChanged(); } if (other.scheme_ != 0) { setSchemeValue(other.getSchemeValue()); } if (!other.getBucket().isEmpty()) { bucket_ = other.bucket_; onChanged(); } if (!other.getAccessKey().isEmpty()) { accessKey_ = other.accessKey_; onChanged(); } if (!other.getSecretKey().isEmpty()) { secretKey_ = other.secretKey_; onChanged(); } if (itemsBuilder_ == null) { if (!other.items_.isEmpty()) { if (items_.isEmpty()) { items_ = other.items_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureItemsIsMutable(); items_.addAll(other.items_); } onChanged(); } } else { if (!other.items_.isEmpty()) { if (itemsBuilder_.isEmpty()) { itemsBuilder_.dispose(); itemsBuilder_ = null; items_ = other.items_; bitField0_ = (bitField0_ & ~0x00000001); itemsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getItemsFieldBuilder() : null; } else { itemsBuilder_.addAllMessages(other.items_); } } } if (!other.getDescription().isEmpty()) { description_ = other.description_; onChanged(); } if (other.getNumberOfRetries() != 0) { setNumberOfRetries(other.getNumberOfRetries()); } if (other.storageClass_ != 0) { setStorageClassValue(other.getStorageClassValue()); } 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.export.YdbExport.ExportToS3Settings parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.export.YdbExport.ExportToS3Settings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object endpoint_ = ""; /** * string endpoint = 1 [(.Ydb.required) = true]; * @return The endpoint. */ public java.lang.String getEndpoint() { java.lang.Object ref = endpoint_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endpoint_ = s; return s; } else { return (java.lang.String) ref; } } /** * string endpoint = 1 [(.Ydb.required) = true]; * @return The bytes for endpoint. */ public com.google.protobuf.ByteString getEndpointBytes() { java.lang.Object ref = endpoint_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); endpoint_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string endpoint = 1 [(.Ydb.required) = true]; * @param value The endpoint to set. * @return This builder for chaining. */ public Builder setEndpoint( java.lang.String value) { if (value == null) { throw new NullPointerException(); } endpoint_ = value; onChanged(); return this; } /** * string endpoint = 1 [(.Ydb.required) = true]; * @return This builder for chaining. */ public Builder clearEndpoint() { endpoint_ = getDefaultInstance().getEndpoint(); onChanged(); return this; } /** * string endpoint = 1 [(.Ydb.required) = true]; * @param value The bytes for endpoint to set. * @return This builder for chaining. */ public Builder setEndpointBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); endpoint_ = value; onChanged(); return this; } private int scheme_ = 0; /** *
       * HTTPS if not specified
       * 
* * .Ydb.Export.ExportToS3Settings.Scheme scheme = 2; * @return The enum numeric value on the wire for scheme. */ @java.lang.Override public int getSchemeValue() { return scheme_; } /** *
       * HTTPS if not specified
       * 
* * .Ydb.Export.ExportToS3Settings.Scheme scheme = 2; * @param value The enum numeric value on the wire for scheme to set. * @return This builder for chaining. */ public Builder setSchemeValue(int value) { scheme_ = value; onChanged(); return this; } /** *
       * HTTPS if not specified
       * 
* * .Ydb.Export.ExportToS3Settings.Scheme scheme = 2; * @return The scheme. */ @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToS3Settings.Scheme getScheme() { @SuppressWarnings("deprecation") com.yandex.ydb.export.YdbExport.ExportToS3Settings.Scheme result = com.yandex.ydb.export.YdbExport.ExportToS3Settings.Scheme.valueOf(scheme_); return result == null ? com.yandex.ydb.export.YdbExport.ExportToS3Settings.Scheme.UNRECOGNIZED : result; } /** *
       * HTTPS if not specified
       * 
* * .Ydb.Export.ExportToS3Settings.Scheme scheme = 2; * @param value The scheme to set. * @return This builder for chaining. */ public Builder setScheme(com.yandex.ydb.export.YdbExport.ExportToS3Settings.Scheme value) { if (value == null) { throw new NullPointerException(); } scheme_ = value.getNumber(); onChanged(); return this; } /** *
       * HTTPS if not specified
       * 
* * .Ydb.Export.ExportToS3Settings.Scheme scheme = 2; * @return This builder for chaining. */ public Builder clearScheme() { scheme_ = 0; onChanged(); return this; } private java.lang.Object bucket_ = ""; /** * string bucket = 3 [(.Ydb.required) = true]; * @return The bucket. */ public java.lang.String getBucket() { java.lang.Object ref = bucket_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bucket_ = s; return s; } else { return (java.lang.String) ref; } } /** * string bucket = 3 [(.Ydb.required) = true]; * @return The bytes for bucket. */ public com.google.protobuf.ByteString getBucketBytes() { java.lang.Object ref = bucket_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); bucket_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string bucket = 3 [(.Ydb.required) = true]; * @param value The bucket to set. * @return This builder for chaining. */ public Builder setBucket( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bucket_ = value; onChanged(); return this; } /** * string bucket = 3 [(.Ydb.required) = true]; * @return This builder for chaining. */ public Builder clearBucket() { bucket_ = getDefaultInstance().getBucket(); onChanged(); return this; } /** * string bucket = 3 [(.Ydb.required) = true]; * @param value The bytes for bucket to set. * @return This builder for chaining. */ public Builder setBucketBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); bucket_ = value; onChanged(); return this; } private java.lang.Object accessKey_ = ""; /** * string access_key = 4 [(.Ydb.required) = true]; * @return The accessKey. */ public java.lang.String getAccessKey() { java.lang.Object ref = accessKey_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); accessKey_ = s; return s; } else { return (java.lang.String) ref; } } /** * string access_key = 4 [(.Ydb.required) = true]; * @return The bytes for accessKey. */ public com.google.protobuf.ByteString getAccessKeyBytes() { java.lang.Object ref = accessKey_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); accessKey_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string access_key = 4 [(.Ydb.required) = true]; * @param value The accessKey to set. * @return This builder for chaining. */ public Builder setAccessKey( java.lang.String value) { if (value == null) { throw new NullPointerException(); } accessKey_ = value; onChanged(); return this; } /** * string access_key = 4 [(.Ydb.required) = true]; * @return This builder for chaining. */ public Builder clearAccessKey() { accessKey_ = getDefaultInstance().getAccessKey(); onChanged(); return this; } /** * string access_key = 4 [(.Ydb.required) = true]; * @param value The bytes for accessKey to set. * @return This builder for chaining. */ public Builder setAccessKeyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); accessKey_ = value; onChanged(); return this; } private java.lang.Object secretKey_ = ""; /** * string secret_key = 5 [(.Ydb.required) = true]; * @return The secretKey. */ public java.lang.String getSecretKey() { java.lang.Object ref = secretKey_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); secretKey_ = s; return s; } else { return (java.lang.String) ref; } } /** * string secret_key = 5 [(.Ydb.required) = true]; * @return The bytes for secretKey. */ public com.google.protobuf.ByteString getSecretKeyBytes() { java.lang.Object ref = secretKey_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); secretKey_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string secret_key = 5 [(.Ydb.required) = true]; * @param value The secretKey to set. * @return This builder for chaining. */ public Builder setSecretKey( java.lang.String value) { if (value == null) { throw new NullPointerException(); } secretKey_ = value; onChanged(); return this; } /** * string secret_key = 5 [(.Ydb.required) = true]; * @return This builder for chaining. */ public Builder clearSecretKey() { secretKey_ = getDefaultInstance().getSecretKey(); onChanged(); return this; } /** * string secret_key = 5 [(.Ydb.required) = true]; * @param value The bytes for secretKey to set. * @return This builder for chaining. */ public Builder setSecretKeyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); secretKey_ = value; onChanged(); return this; } private java.util.List items_ = java.util.Collections.emptyList(); private void ensureItemsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { items_ = new java.util.ArrayList(items_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item, com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item.Builder, com.yandex.ydb.export.YdbExport.ExportToS3Settings.ItemOrBuilder> itemsBuilder_; /** * repeated .Ydb.Export.ExportToS3Settings.Item items = 6 [(.Ydb.size) = { ... } */ public java.util.List getItemsList() { if (itemsBuilder_ == null) { return java.util.Collections.unmodifiableList(items_); } else { return itemsBuilder_.getMessageList(); } } /** * repeated .Ydb.Export.ExportToS3Settings.Item items = 6 [(.Ydb.size) = { ... } */ public int getItemsCount() { if (itemsBuilder_ == null) { return items_.size(); } else { return itemsBuilder_.getCount(); } } /** * repeated .Ydb.Export.ExportToS3Settings.Item items = 6 [(.Ydb.size) = { ... } */ public com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item getItems(int index) { if (itemsBuilder_ == null) { return items_.get(index); } else { return itemsBuilder_.getMessage(index); } } /** * repeated .Ydb.Export.ExportToS3Settings.Item items = 6 [(.Ydb.size) = { ... } */ public Builder setItems( int index, com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item value) { if (itemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureItemsIsMutable(); items_.set(index, value); onChanged(); } else { itemsBuilder_.setMessage(index, value); } return this; } /** * repeated .Ydb.Export.ExportToS3Settings.Item items = 6 [(.Ydb.size) = { ... } */ public Builder setItems( int index, com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item.Builder builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.set(index, builderForValue.build()); onChanged(); } else { itemsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .Ydb.Export.ExportToS3Settings.Item items = 6 [(.Ydb.size) = { ... } */ public Builder addItems(com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item value) { if (itemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureItemsIsMutable(); items_.add(value); onChanged(); } else { itemsBuilder_.addMessage(value); } return this; } /** * repeated .Ydb.Export.ExportToS3Settings.Item items = 6 [(.Ydb.size) = { ... } */ public Builder addItems( int index, com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item value) { if (itemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureItemsIsMutable(); items_.add(index, value); onChanged(); } else { itemsBuilder_.addMessage(index, value); } return this; } /** * repeated .Ydb.Export.ExportToS3Settings.Item items = 6 [(.Ydb.size) = { ... } */ public Builder addItems( com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item.Builder builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.add(builderForValue.build()); onChanged(); } else { itemsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .Ydb.Export.ExportToS3Settings.Item items = 6 [(.Ydb.size) = { ... } */ public Builder addItems( int index, com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item.Builder builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.add(index, builderForValue.build()); onChanged(); } else { itemsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .Ydb.Export.ExportToS3Settings.Item items = 6 [(.Ydb.size) = { ... } */ public Builder addAllItems( java.lang.Iterable values) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, items_); onChanged(); } else { itemsBuilder_.addAllMessages(values); } return this; } /** * repeated .Ydb.Export.ExportToS3Settings.Item items = 6 [(.Ydb.size) = { ... } */ public Builder clearItems() { if (itemsBuilder_ == null) { items_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { itemsBuilder_.clear(); } return this; } /** * repeated .Ydb.Export.ExportToS3Settings.Item items = 6 [(.Ydb.size) = { ... } */ public Builder removeItems(int index) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.remove(index); onChanged(); } else { itemsBuilder_.remove(index); } return this; } /** * repeated .Ydb.Export.ExportToS3Settings.Item items = 6 [(.Ydb.size) = { ... } */ public com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item.Builder getItemsBuilder( int index) { return getItemsFieldBuilder().getBuilder(index); } /** * repeated .Ydb.Export.ExportToS3Settings.Item items = 6 [(.Ydb.size) = { ... } */ public com.yandex.ydb.export.YdbExport.ExportToS3Settings.ItemOrBuilder getItemsOrBuilder( int index) { if (itemsBuilder_ == null) { return items_.get(index); } else { return itemsBuilder_.getMessageOrBuilder(index); } } /** * repeated .Ydb.Export.ExportToS3Settings.Item items = 6 [(.Ydb.size) = { ... } */ public java.util.List getItemsOrBuilderList() { if (itemsBuilder_ != null) { return itemsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(items_); } } /** * repeated .Ydb.Export.ExportToS3Settings.Item items = 6 [(.Ydb.size) = { ... } */ public com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item.Builder addItemsBuilder() { return getItemsFieldBuilder().addBuilder( com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item.getDefaultInstance()); } /** * repeated .Ydb.Export.ExportToS3Settings.Item items = 6 [(.Ydb.size) = { ... } */ public com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item.Builder addItemsBuilder( int index) { return getItemsFieldBuilder().addBuilder( index, com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item.getDefaultInstance()); } /** * repeated .Ydb.Export.ExportToS3Settings.Item items = 6 [(.Ydb.size) = { ... } */ public java.util.List getItemsBuilderList() { return getItemsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item, com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item.Builder, com.yandex.ydb.export.YdbExport.ExportToS3Settings.ItemOrBuilder> getItemsFieldBuilder() { if (itemsBuilder_ == null) { itemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item, com.yandex.ydb.export.YdbExport.ExportToS3Settings.Item.Builder, com.yandex.ydb.export.YdbExport.ExportToS3Settings.ItemOrBuilder>( items_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); items_ = null; } return itemsBuilder_; } private java.lang.Object description_ = ""; /** * string description = 7 [(.Ydb.length) = { ... } * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } else { return (java.lang.String) ref; } } /** * string description = 7 [(.Ydb.length) = { ... } * @return The bytes for description. */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string description = 7 [(.Ydb.length) = { ... } * @param value The description to set. * @return This builder for chaining. */ public Builder setDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } description_ = value; onChanged(); return this; } /** * string description = 7 [(.Ydb.length) = { ... } * @return This builder for chaining. */ public Builder clearDescription() { description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** * string description = 7 [(.Ydb.length) = { ... } * @param value The bytes for description to set. * @return This builder for chaining. */ public Builder setDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; onChanged(); return this; } private int numberOfRetries_ ; /** * uint32 number_of_retries = 8; * @return The numberOfRetries. */ @java.lang.Override public int getNumberOfRetries() { return numberOfRetries_; } /** * uint32 number_of_retries = 8; * @param value The numberOfRetries to set. * @return This builder for chaining. */ public Builder setNumberOfRetries(int value) { numberOfRetries_ = value; onChanged(); return this; } /** * uint32 number_of_retries = 8; * @return This builder for chaining. */ public Builder clearNumberOfRetries() { numberOfRetries_ = 0; onChanged(); return this; } private int storageClass_ = 0; /** * .Ydb.Export.ExportToS3Settings.StorageClass storage_class = 9; * @return The enum numeric value on the wire for storageClass. */ @java.lang.Override public int getStorageClassValue() { return storageClass_; } /** * .Ydb.Export.ExportToS3Settings.StorageClass storage_class = 9; * @param value The enum numeric value on the wire for storageClass to set. * @return This builder for chaining. */ public Builder setStorageClassValue(int value) { storageClass_ = value; onChanged(); return this; } /** * .Ydb.Export.ExportToS3Settings.StorageClass storage_class = 9; * @return The storageClass. */ @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToS3Settings.StorageClass getStorageClass() { @SuppressWarnings("deprecation") com.yandex.ydb.export.YdbExport.ExportToS3Settings.StorageClass result = com.yandex.ydb.export.YdbExport.ExportToS3Settings.StorageClass.valueOf(storageClass_); return result == null ? com.yandex.ydb.export.YdbExport.ExportToS3Settings.StorageClass.UNRECOGNIZED : result; } /** * .Ydb.Export.ExportToS3Settings.StorageClass storage_class = 9; * @param value The storageClass to set. * @return This builder for chaining. */ public Builder setStorageClass(com.yandex.ydb.export.YdbExport.ExportToS3Settings.StorageClass value) { if (value == null) { throw new NullPointerException(); } storageClass_ = value.getNumber(); onChanged(); return this; } /** * .Ydb.Export.ExportToS3Settings.StorageClass storage_class = 9; * @return This builder for chaining. */ public Builder clearStorageClass() { storageClass_ = 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.Export.ExportToS3Settings) } // @@protoc_insertion_point(class_scope:Ydb.Export.ExportToS3Settings) private static final com.yandex.ydb.export.YdbExport.ExportToS3Settings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.export.YdbExport.ExportToS3Settings(); } public static com.yandex.ydb.export.YdbExport.ExportToS3Settings getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExportToS3Settings parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ExportToS3Settings(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.export.YdbExport.ExportToS3Settings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExportToS3ResultOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Export.ExportToS3Result) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code Ydb.Export.ExportToS3Result} */ public static final class ExportToS3Result extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Export.ExportToS3Result) ExportToS3ResultOrBuilder { private static final long serialVersionUID = 0L; // Use ExportToS3Result.newBuilder() to construct. private ExportToS3Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExportToS3Result() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExportToS3Result(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExportToS3Result( 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.export.YdbExport.internal_static_Ydb_Export_ExportToS3Result_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToS3Result_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.export.YdbExport.ExportToS3Result.class, com.yandex.ydb.export.YdbExport.ExportToS3Result.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.export.YdbExport.ExportToS3Result)) { return super.equals(obj); } com.yandex.ydb.export.YdbExport.ExportToS3Result other = (com.yandex.ydb.export.YdbExport.ExportToS3Result) 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.export.YdbExport.ExportToS3Result parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToS3Result 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.export.YdbExport.ExportToS3Result parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToS3Result 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.export.YdbExport.ExportToS3Result parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToS3Result parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.export.YdbExport.ExportToS3Result parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToS3Result 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.export.YdbExport.ExportToS3Result parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToS3Result 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.export.YdbExport.ExportToS3Result parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToS3Result 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.export.YdbExport.ExportToS3Result 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.Export.ExportToS3Result} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Export.ExportToS3Result) com.yandex.ydb.export.YdbExport.ExportToS3ResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToS3Result_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToS3Result_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.export.YdbExport.ExportToS3Result.class, com.yandex.ydb.export.YdbExport.ExportToS3Result.Builder.class); } // Construct using com.yandex.ydb.export.YdbExport.ExportToS3Result.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.export.YdbExport.internal_static_Ydb_Export_ExportToS3Result_descriptor; } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToS3Result getDefaultInstanceForType() { return com.yandex.ydb.export.YdbExport.ExportToS3Result.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToS3Result build() { com.yandex.ydb.export.YdbExport.ExportToS3Result result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToS3Result buildPartial() { com.yandex.ydb.export.YdbExport.ExportToS3Result result = new com.yandex.ydb.export.YdbExport.ExportToS3Result(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.export.YdbExport.ExportToS3Result) { return mergeFrom((com.yandex.ydb.export.YdbExport.ExportToS3Result)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.export.YdbExport.ExportToS3Result other) { if (other == com.yandex.ydb.export.YdbExport.ExportToS3Result.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.export.YdbExport.ExportToS3Result parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.export.YdbExport.ExportToS3Result) 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.Export.ExportToS3Result) } // @@protoc_insertion_point(class_scope:Ydb.Export.ExportToS3Result) private static final com.yandex.ydb.export.YdbExport.ExportToS3Result DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.export.YdbExport.ExportToS3Result(); } public static com.yandex.ydb.export.YdbExport.ExportToS3Result getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExportToS3Result parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ExportToS3Result(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.export.YdbExport.ExportToS3Result getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExportToS3MetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Export.ExportToS3Metadata) com.google.protobuf.MessageOrBuilder { /** * .Ydb.Export.ExportToS3Settings settings = 1; * @return Whether the settings field is set. */ boolean hasSettings(); /** * .Ydb.Export.ExportToS3Settings settings = 1; * @return The settings. */ com.yandex.ydb.export.YdbExport.ExportToS3Settings getSettings(); /** * .Ydb.Export.ExportToS3Settings settings = 1; */ com.yandex.ydb.export.YdbExport.ExportToS3SettingsOrBuilder getSettingsOrBuilder(); /** * .Ydb.Export.ExportProgress.Progress progress = 2; * @return The enum numeric value on the wire for progress. */ int getProgressValue(); /** * .Ydb.Export.ExportProgress.Progress progress = 2; * @return The progress. */ com.yandex.ydb.export.YdbExport.ExportProgress.Progress getProgress(); /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ java.util.List getItemsProgressList(); /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ com.yandex.ydb.export.YdbExport.ExportItemProgress getItemsProgress(int index); /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ int getItemsProgressCount(); /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ java.util.List getItemsProgressOrBuilderList(); /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ com.yandex.ydb.export.YdbExport.ExportItemProgressOrBuilder getItemsProgressOrBuilder( int index); } /** * Protobuf type {@code Ydb.Export.ExportToS3Metadata} */ public static final class ExportToS3Metadata extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Export.ExportToS3Metadata) ExportToS3MetadataOrBuilder { private static final long serialVersionUID = 0L; // Use ExportToS3Metadata.newBuilder() to construct. private ExportToS3Metadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExportToS3Metadata() { progress_ = 0; itemsProgress_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExportToS3Metadata(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExportToS3Metadata( 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.export.YdbExport.ExportToS3Settings.Builder subBuilder = null; if (settings_ != null) { subBuilder = settings_.toBuilder(); } settings_ = input.readMessage(com.yandex.ydb.export.YdbExport.ExportToS3Settings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(settings_); settings_ = subBuilder.buildPartial(); } break; } case 16: { int rawValue = input.readEnum(); progress_ = rawValue; break; } case 26: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { itemsProgress_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } itemsProgress_.add( input.readMessage(com.yandex.ydb.export.YdbExport.ExportItemProgress.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)) { itemsProgress_ = java.util.Collections.unmodifiableList(itemsProgress_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToS3Metadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToS3Metadata_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.export.YdbExport.ExportToS3Metadata.class, com.yandex.ydb.export.YdbExport.ExportToS3Metadata.Builder.class); } public static final int SETTINGS_FIELD_NUMBER = 1; private com.yandex.ydb.export.YdbExport.ExportToS3Settings settings_; /** * .Ydb.Export.ExportToS3Settings settings = 1; * @return Whether the settings field is set. */ @java.lang.Override public boolean hasSettings() { return settings_ != null; } /** * .Ydb.Export.ExportToS3Settings settings = 1; * @return The settings. */ @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToS3Settings getSettings() { return settings_ == null ? com.yandex.ydb.export.YdbExport.ExportToS3Settings.getDefaultInstance() : settings_; } /** * .Ydb.Export.ExportToS3Settings settings = 1; */ @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToS3SettingsOrBuilder getSettingsOrBuilder() { return getSettings(); } public static final int PROGRESS_FIELD_NUMBER = 2; private int progress_; /** * .Ydb.Export.ExportProgress.Progress progress = 2; * @return The enum numeric value on the wire for progress. */ @java.lang.Override public int getProgressValue() { return progress_; } /** * .Ydb.Export.ExportProgress.Progress progress = 2; * @return The progress. */ @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportProgress.Progress getProgress() { @SuppressWarnings("deprecation") com.yandex.ydb.export.YdbExport.ExportProgress.Progress result = com.yandex.ydb.export.YdbExport.ExportProgress.Progress.valueOf(progress_); return result == null ? com.yandex.ydb.export.YdbExport.ExportProgress.Progress.UNRECOGNIZED : result; } public static final int ITEMS_PROGRESS_FIELD_NUMBER = 3; private java.util.List itemsProgress_; /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ @java.lang.Override public java.util.List getItemsProgressList() { return itemsProgress_; } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ @java.lang.Override public java.util.List getItemsProgressOrBuilderList() { return itemsProgress_; } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ @java.lang.Override public int getItemsProgressCount() { return itemsProgress_.size(); } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportItemProgress getItemsProgress(int index) { return itemsProgress_.get(index); } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportItemProgressOrBuilder getItemsProgressOrBuilder( int index) { return itemsProgress_.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 (settings_ != null) { output.writeMessage(1, getSettings()); } if (progress_ != com.yandex.ydb.export.YdbExport.ExportProgress.Progress.PROGRESS_UNSPECIFIED.getNumber()) { output.writeEnum(2, progress_); } for (int i = 0; i < itemsProgress_.size(); i++) { output.writeMessage(3, itemsProgress_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (settings_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getSettings()); } if (progress_ != com.yandex.ydb.export.YdbExport.ExportProgress.Progress.PROGRESS_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, progress_); } for (int i = 0; i < itemsProgress_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, itemsProgress_.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.export.YdbExport.ExportToS3Metadata)) { return super.equals(obj); } com.yandex.ydb.export.YdbExport.ExportToS3Metadata other = (com.yandex.ydb.export.YdbExport.ExportToS3Metadata) obj; if (hasSettings() != other.hasSettings()) return false; if (hasSettings()) { if (!getSettings() .equals(other.getSettings())) return false; } if (progress_ != other.progress_) return false; if (!getItemsProgressList() .equals(other.getItemsProgressList())) 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 (hasSettings()) { hash = (37 * hash) + SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getSettings().hashCode(); } hash = (37 * hash) + PROGRESS_FIELD_NUMBER; hash = (53 * hash) + progress_; if (getItemsProgressCount() > 0) { hash = (37 * hash) + ITEMS_PROGRESS_FIELD_NUMBER; hash = (53 * hash) + getItemsProgressList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.export.YdbExport.ExportToS3Metadata parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToS3Metadata 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.export.YdbExport.ExportToS3Metadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToS3Metadata 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.export.YdbExport.ExportToS3Metadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToS3Metadata parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.export.YdbExport.ExportToS3Metadata parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToS3Metadata 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.export.YdbExport.ExportToS3Metadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToS3Metadata 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.export.YdbExport.ExportToS3Metadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToS3Metadata 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.export.YdbExport.ExportToS3Metadata 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.Export.ExportToS3Metadata} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Export.ExportToS3Metadata) com.yandex.ydb.export.YdbExport.ExportToS3MetadataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToS3Metadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToS3Metadata_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.export.YdbExport.ExportToS3Metadata.class, com.yandex.ydb.export.YdbExport.ExportToS3Metadata.Builder.class); } // Construct using com.yandex.ydb.export.YdbExport.ExportToS3Metadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getItemsProgressFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (settingsBuilder_ == null) { settings_ = null; } else { settings_ = null; settingsBuilder_ = null; } progress_ = 0; if (itemsProgressBuilder_ == null) { itemsProgress_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { itemsProgressBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToS3Metadata_descriptor; } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToS3Metadata getDefaultInstanceForType() { return com.yandex.ydb.export.YdbExport.ExportToS3Metadata.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToS3Metadata build() { com.yandex.ydb.export.YdbExport.ExportToS3Metadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToS3Metadata buildPartial() { com.yandex.ydb.export.YdbExport.ExportToS3Metadata result = new com.yandex.ydb.export.YdbExport.ExportToS3Metadata(this); int from_bitField0_ = bitField0_; if (settingsBuilder_ == null) { result.settings_ = settings_; } else { result.settings_ = settingsBuilder_.build(); } result.progress_ = progress_; if (itemsProgressBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { itemsProgress_ = java.util.Collections.unmodifiableList(itemsProgress_); bitField0_ = (bitField0_ & ~0x00000001); } result.itemsProgress_ = itemsProgress_; } else { result.itemsProgress_ = itemsProgressBuilder_.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.export.YdbExport.ExportToS3Metadata) { return mergeFrom((com.yandex.ydb.export.YdbExport.ExportToS3Metadata)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.export.YdbExport.ExportToS3Metadata other) { if (other == com.yandex.ydb.export.YdbExport.ExportToS3Metadata.getDefaultInstance()) return this; if (other.hasSettings()) { mergeSettings(other.getSettings()); } if (other.progress_ != 0) { setProgressValue(other.getProgressValue()); } if (itemsProgressBuilder_ == null) { if (!other.itemsProgress_.isEmpty()) { if (itemsProgress_.isEmpty()) { itemsProgress_ = other.itemsProgress_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureItemsProgressIsMutable(); itemsProgress_.addAll(other.itemsProgress_); } onChanged(); } } else { if (!other.itemsProgress_.isEmpty()) { if (itemsProgressBuilder_.isEmpty()) { itemsProgressBuilder_.dispose(); itemsProgressBuilder_ = null; itemsProgress_ = other.itemsProgress_; bitField0_ = (bitField0_ & ~0x00000001); itemsProgressBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getItemsProgressFieldBuilder() : null; } else { itemsProgressBuilder_.addAllMessages(other.itemsProgress_); } } } 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.export.YdbExport.ExportToS3Metadata parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.export.YdbExport.ExportToS3Metadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.yandex.ydb.export.YdbExport.ExportToS3Settings settings_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.export.YdbExport.ExportToS3Settings, com.yandex.ydb.export.YdbExport.ExportToS3Settings.Builder, com.yandex.ydb.export.YdbExport.ExportToS3SettingsOrBuilder> settingsBuilder_; /** * .Ydb.Export.ExportToS3Settings settings = 1; * @return Whether the settings field is set. */ public boolean hasSettings() { return settingsBuilder_ != null || settings_ != null; } /** * .Ydb.Export.ExportToS3Settings settings = 1; * @return The settings. */ public com.yandex.ydb.export.YdbExport.ExportToS3Settings getSettings() { if (settingsBuilder_ == null) { return settings_ == null ? com.yandex.ydb.export.YdbExport.ExportToS3Settings.getDefaultInstance() : settings_; } else { return settingsBuilder_.getMessage(); } } /** * .Ydb.Export.ExportToS3Settings settings = 1; */ public Builder setSettings(com.yandex.ydb.export.YdbExport.ExportToS3Settings value) { if (settingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } settings_ = value; onChanged(); } else { settingsBuilder_.setMessage(value); } return this; } /** * .Ydb.Export.ExportToS3Settings settings = 1; */ public Builder setSettings( com.yandex.ydb.export.YdbExport.ExportToS3Settings.Builder builderForValue) { if (settingsBuilder_ == null) { settings_ = builderForValue.build(); onChanged(); } else { settingsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Export.ExportToS3Settings settings = 1; */ public Builder mergeSettings(com.yandex.ydb.export.YdbExport.ExportToS3Settings value) { if (settingsBuilder_ == null) { if (settings_ != null) { settings_ = com.yandex.ydb.export.YdbExport.ExportToS3Settings.newBuilder(settings_).mergeFrom(value).buildPartial(); } else { settings_ = value; } onChanged(); } else { settingsBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Export.ExportToS3Settings settings = 1; */ public Builder clearSettings() { if (settingsBuilder_ == null) { settings_ = null; onChanged(); } else { settings_ = null; settingsBuilder_ = null; } return this; } /** * .Ydb.Export.ExportToS3Settings settings = 1; */ public com.yandex.ydb.export.YdbExport.ExportToS3Settings.Builder getSettingsBuilder() { onChanged(); return getSettingsFieldBuilder().getBuilder(); } /** * .Ydb.Export.ExportToS3Settings settings = 1; */ public com.yandex.ydb.export.YdbExport.ExportToS3SettingsOrBuilder getSettingsOrBuilder() { if (settingsBuilder_ != null) { return settingsBuilder_.getMessageOrBuilder(); } else { return settings_ == null ? com.yandex.ydb.export.YdbExport.ExportToS3Settings.getDefaultInstance() : settings_; } } /** * .Ydb.Export.ExportToS3Settings settings = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.export.YdbExport.ExportToS3Settings, com.yandex.ydb.export.YdbExport.ExportToS3Settings.Builder, com.yandex.ydb.export.YdbExport.ExportToS3SettingsOrBuilder> getSettingsFieldBuilder() { if (settingsBuilder_ == null) { settingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.export.YdbExport.ExportToS3Settings, com.yandex.ydb.export.YdbExport.ExportToS3Settings.Builder, com.yandex.ydb.export.YdbExport.ExportToS3SettingsOrBuilder>( getSettings(), getParentForChildren(), isClean()); settings_ = null; } return settingsBuilder_; } private int progress_ = 0; /** * .Ydb.Export.ExportProgress.Progress progress = 2; * @return The enum numeric value on the wire for progress. */ @java.lang.Override public int getProgressValue() { return progress_; } /** * .Ydb.Export.ExportProgress.Progress progress = 2; * @param value The enum numeric value on the wire for progress to set. * @return This builder for chaining. */ public Builder setProgressValue(int value) { progress_ = value; onChanged(); return this; } /** * .Ydb.Export.ExportProgress.Progress progress = 2; * @return The progress. */ @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportProgress.Progress getProgress() { @SuppressWarnings("deprecation") com.yandex.ydb.export.YdbExport.ExportProgress.Progress result = com.yandex.ydb.export.YdbExport.ExportProgress.Progress.valueOf(progress_); return result == null ? com.yandex.ydb.export.YdbExport.ExportProgress.Progress.UNRECOGNIZED : result; } /** * .Ydb.Export.ExportProgress.Progress progress = 2; * @param value The progress to set. * @return This builder for chaining. */ public Builder setProgress(com.yandex.ydb.export.YdbExport.ExportProgress.Progress value) { if (value == null) { throw new NullPointerException(); } progress_ = value.getNumber(); onChanged(); return this; } /** * .Ydb.Export.ExportProgress.Progress progress = 2; * @return This builder for chaining. */ public Builder clearProgress() { progress_ = 0; onChanged(); return this; } private java.util.List itemsProgress_ = java.util.Collections.emptyList(); private void ensureItemsProgressIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { itemsProgress_ = new java.util.ArrayList(itemsProgress_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.export.YdbExport.ExportItemProgress, com.yandex.ydb.export.YdbExport.ExportItemProgress.Builder, com.yandex.ydb.export.YdbExport.ExportItemProgressOrBuilder> itemsProgressBuilder_; /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public java.util.List getItemsProgressList() { if (itemsProgressBuilder_ == null) { return java.util.Collections.unmodifiableList(itemsProgress_); } else { return itemsProgressBuilder_.getMessageList(); } } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public int getItemsProgressCount() { if (itemsProgressBuilder_ == null) { return itemsProgress_.size(); } else { return itemsProgressBuilder_.getCount(); } } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public com.yandex.ydb.export.YdbExport.ExportItemProgress getItemsProgress(int index) { if (itemsProgressBuilder_ == null) { return itemsProgress_.get(index); } else { return itemsProgressBuilder_.getMessage(index); } } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public Builder setItemsProgress( int index, com.yandex.ydb.export.YdbExport.ExportItemProgress value) { if (itemsProgressBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureItemsProgressIsMutable(); itemsProgress_.set(index, value); onChanged(); } else { itemsProgressBuilder_.setMessage(index, value); } return this; } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public Builder setItemsProgress( int index, com.yandex.ydb.export.YdbExport.ExportItemProgress.Builder builderForValue) { if (itemsProgressBuilder_ == null) { ensureItemsProgressIsMutable(); itemsProgress_.set(index, builderForValue.build()); onChanged(); } else { itemsProgressBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public Builder addItemsProgress(com.yandex.ydb.export.YdbExport.ExportItemProgress value) { if (itemsProgressBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureItemsProgressIsMutable(); itemsProgress_.add(value); onChanged(); } else { itemsProgressBuilder_.addMessage(value); } return this; } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public Builder addItemsProgress( int index, com.yandex.ydb.export.YdbExport.ExportItemProgress value) { if (itemsProgressBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureItemsProgressIsMutable(); itemsProgress_.add(index, value); onChanged(); } else { itemsProgressBuilder_.addMessage(index, value); } return this; } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public Builder addItemsProgress( com.yandex.ydb.export.YdbExport.ExportItemProgress.Builder builderForValue) { if (itemsProgressBuilder_ == null) { ensureItemsProgressIsMutable(); itemsProgress_.add(builderForValue.build()); onChanged(); } else { itemsProgressBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public Builder addItemsProgress( int index, com.yandex.ydb.export.YdbExport.ExportItemProgress.Builder builderForValue) { if (itemsProgressBuilder_ == null) { ensureItemsProgressIsMutable(); itemsProgress_.add(index, builderForValue.build()); onChanged(); } else { itemsProgressBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public Builder addAllItemsProgress( java.lang.Iterable values) { if (itemsProgressBuilder_ == null) { ensureItemsProgressIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, itemsProgress_); onChanged(); } else { itemsProgressBuilder_.addAllMessages(values); } return this; } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public Builder clearItemsProgress() { if (itemsProgressBuilder_ == null) { itemsProgress_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { itemsProgressBuilder_.clear(); } return this; } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public Builder removeItemsProgress(int index) { if (itemsProgressBuilder_ == null) { ensureItemsProgressIsMutable(); itemsProgress_.remove(index); onChanged(); } else { itemsProgressBuilder_.remove(index); } return this; } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public com.yandex.ydb.export.YdbExport.ExportItemProgress.Builder getItemsProgressBuilder( int index) { return getItemsProgressFieldBuilder().getBuilder(index); } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public com.yandex.ydb.export.YdbExport.ExportItemProgressOrBuilder getItemsProgressOrBuilder( int index) { if (itemsProgressBuilder_ == null) { return itemsProgress_.get(index); } else { return itemsProgressBuilder_.getMessageOrBuilder(index); } } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public java.util.List getItemsProgressOrBuilderList() { if (itemsProgressBuilder_ != null) { return itemsProgressBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(itemsProgress_); } } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public com.yandex.ydb.export.YdbExport.ExportItemProgress.Builder addItemsProgressBuilder() { return getItemsProgressFieldBuilder().addBuilder( com.yandex.ydb.export.YdbExport.ExportItemProgress.getDefaultInstance()); } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public com.yandex.ydb.export.YdbExport.ExportItemProgress.Builder addItemsProgressBuilder( int index) { return getItemsProgressFieldBuilder().addBuilder( index, com.yandex.ydb.export.YdbExport.ExportItemProgress.getDefaultInstance()); } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public java.util.List getItemsProgressBuilderList() { return getItemsProgressFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.export.YdbExport.ExportItemProgress, com.yandex.ydb.export.YdbExport.ExportItemProgress.Builder, com.yandex.ydb.export.YdbExport.ExportItemProgressOrBuilder> getItemsProgressFieldBuilder() { if (itemsProgressBuilder_ == null) { itemsProgressBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.export.YdbExport.ExportItemProgress, com.yandex.ydb.export.YdbExport.ExportItemProgress.Builder, com.yandex.ydb.export.YdbExport.ExportItemProgressOrBuilder>( itemsProgress_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); itemsProgress_ = null; } return itemsProgressBuilder_; } @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.Export.ExportToS3Metadata) } // @@protoc_insertion_point(class_scope:Ydb.Export.ExportToS3Metadata) private static final com.yandex.ydb.export.YdbExport.ExportToS3Metadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.export.YdbExport.ExportToS3Metadata(); } public static com.yandex.ydb.export.YdbExport.ExportToS3Metadata getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExportToS3Metadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ExportToS3Metadata(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.export.YdbExport.ExportToS3Metadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExportToS3RequestOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Export.ExportToS3Request) 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(); /** * .Ydb.Export.ExportToS3Settings settings = 2 [(.Ydb.required) = true]; * @return Whether the settings field is set. */ boolean hasSettings(); /** * .Ydb.Export.ExportToS3Settings settings = 2 [(.Ydb.required) = true]; * @return The settings. */ com.yandex.ydb.export.YdbExport.ExportToS3Settings getSettings(); /** * .Ydb.Export.ExportToS3Settings settings = 2 [(.Ydb.required) = true]; */ com.yandex.ydb.export.YdbExport.ExportToS3SettingsOrBuilder getSettingsOrBuilder(); } /** * Protobuf type {@code Ydb.Export.ExportToS3Request} */ public static final class ExportToS3Request extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Export.ExportToS3Request) ExportToS3RequestOrBuilder { private static final long serialVersionUID = 0L; // Use ExportToS3Request.newBuilder() to construct. private ExportToS3Request(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExportToS3Request() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExportToS3Request(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExportToS3Request( 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; } case 18: { com.yandex.ydb.export.YdbExport.ExportToS3Settings.Builder subBuilder = null; if (settings_ != null) { subBuilder = settings_.toBuilder(); } settings_ = input.readMessage(com.yandex.ydb.export.YdbExport.ExportToS3Settings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(settings_); settings_ = 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.export.YdbExport.internal_static_Ydb_Export_ExportToS3Request_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToS3Request_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.export.YdbExport.ExportToS3Request.class, com.yandex.ydb.export.YdbExport.ExportToS3Request.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 SETTINGS_FIELD_NUMBER = 2; private com.yandex.ydb.export.YdbExport.ExportToS3Settings settings_; /** * .Ydb.Export.ExportToS3Settings settings = 2 [(.Ydb.required) = true]; * @return Whether the settings field is set. */ @java.lang.Override public boolean hasSettings() { return settings_ != null; } /** * .Ydb.Export.ExportToS3Settings settings = 2 [(.Ydb.required) = true]; * @return The settings. */ @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToS3Settings getSettings() { return settings_ == null ? com.yandex.ydb.export.YdbExport.ExportToS3Settings.getDefaultInstance() : settings_; } /** * .Ydb.Export.ExportToS3Settings settings = 2 [(.Ydb.required) = true]; */ @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToS3SettingsOrBuilder getSettingsOrBuilder() { return getSettings(); } 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 (settings_ != null) { output.writeMessage(2, getSettings()); } 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 (settings_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getSettings()); } 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.export.YdbExport.ExportToS3Request)) { return super.equals(obj); } com.yandex.ydb.export.YdbExport.ExportToS3Request other = (com.yandex.ydb.export.YdbExport.ExportToS3Request) obj; if (hasOperationParams() != other.hasOperationParams()) return false; if (hasOperationParams()) { if (!getOperationParams() .equals(other.getOperationParams())) return false; } if (hasSettings() != other.hasSettings()) return false; if (hasSettings()) { if (!getSettings() .equals(other.getSettings())) 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(); } if (hasSettings()) { hash = (37 * hash) + SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getSettings().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.export.YdbExport.ExportToS3Request parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToS3Request 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.export.YdbExport.ExportToS3Request parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToS3Request 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.export.YdbExport.ExportToS3Request parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToS3Request parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.export.YdbExport.ExportToS3Request parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToS3Request 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.export.YdbExport.ExportToS3Request parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToS3Request 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.export.YdbExport.ExportToS3Request parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToS3Request 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.export.YdbExport.ExportToS3Request 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.Export.ExportToS3Request} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Export.ExportToS3Request) com.yandex.ydb.export.YdbExport.ExportToS3RequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToS3Request_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToS3Request_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.export.YdbExport.ExportToS3Request.class, com.yandex.ydb.export.YdbExport.ExportToS3Request.Builder.class); } // Construct using com.yandex.ydb.export.YdbExport.ExportToS3Request.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; } if (settingsBuilder_ == null) { settings_ = null; } else { settings_ = null; settingsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToS3Request_descriptor; } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToS3Request getDefaultInstanceForType() { return com.yandex.ydb.export.YdbExport.ExportToS3Request.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToS3Request build() { com.yandex.ydb.export.YdbExport.ExportToS3Request result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToS3Request buildPartial() { com.yandex.ydb.export.YdbExport.ExportToS3Request result = new com.yandex.ydb.export.YdbExport.ExportToS3Request(this); if (operationParamsBuilder_ == null) { result.operationParams_ = operationParams_; } else { result.operationParams_ = operationParamsBuilder_.build(); } if (settingsBuilder_ == null) { result.settings_ = settings_; } else { result.settings_ = settingsBuilder_.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.export.YdbExport.ExportToS3Request) { return mergeFrom((com.yandex.ydb.export.YdbExport.ExportToS3Request)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.export.YdbExport.ExportToS3Request other) { if (other == com.yandex.ydb.export.YdbExport.ExportToS3Request.getDefaultInstance()) return this; if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } if (other.hasSettings()) { mergeSettings(other.getSettings()); } 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.export.YdbExport.ExportToS3Request parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.export.YdbExport.ExportToS3Request) 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_; } private com.yandex.ydb.export.YdbExport.ExportToS3Settings settings_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.export.YdbExport.ExportToS3Settings, com.yandex.ydb.export.YdbExport.ExportToS3Settings.Builder, com.yandex.ydb.export.YdbExport.ExportToS3SettingsOrBuilder> settingsBuilder_; /** * .Ydb.Export.ExportToS3Settings settings = 2 [(.Ydb.required) = true]; * @return Whether the settings field is set. */ public boolean hasSettings() { return settingsBuilder_ != null || settings_ != null; } /** * .Ydb.Export.ExportToS3Settings settings = 2 [(.Ydb.required) = true]; * @return The settings. */ public com.yandex.ydb.export.YdbExport.ExportToS3Settings getSettings() { if (settingsBuilder_ == null) { return settings_ == null ? com.yandex.ydb.export.YdbExport.ExportToS3Settings.getDefaultInstance() : settings_; } else { return settingsBuilder_.getMessage(); } } /** * .Ydb.Export.ExportToS3Settings settings = 2 [(.Ydb.required) = true]; */ public Builder setSettings(com.yandex.ydb.export.YdbExport.ExportToS3Settings value) { if (settingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } settings_ = value; onChanged(); } else { settingsBuilder_.setMessage(value); } return this; } /** * .Ydb.Export.ExportToS3Settings settings = 2 [(.Ydb.required) = true]; */ public Builder setSettings( com.yandex.ydb.export.YdbExport.ExportToS3Settings.Builder builderForValue) { if (settingsBuilder_ == null) { settings_ = builderForValue.build(); onChanged(); } else { settingsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Export.ExportToS3Settings settings = 2 [(.Ydb.required) = true]; */ public Builder mergeSettings(com.yandex.ydb.export.YdbExport.ExportToS3Settings value) { if (settingsBuilder_ == null) { if (settings_ != null) { settings_ = com.yandex.ydb.export.YdbExport.ExportToS3Settings.newBuilder(settings_).mergeFrom(value).buildPartial(); } else { settings_ = value; } onChanged(); } else { settingsBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Export.ExportToS3Settings settings = 2 [(.Ydb.required) = true]; */ public Builder clearSettings() { if (settingsBuilder_ == null) { settings_ = null; onChanged(); } else { settings_ = null; settingsBuilder_ = null; } return this; } /** * .Ydb.Export.ExportToS3Settings settings = 2 [(.Ydb.required) = true]; */ public com.yandex.ydb.export.YdbExport.ExportToS3Settings.Builder getSettingsBuilder() { onChanged(); return getSettingsFieldBuilder().getBuilder(); } /** * .Ydb.Export.ExportToS3Settings settings = 2 [(.Ydb.required) = true]; */ public com.yandex.ydb.export.YdbExport.ExportToS3SettingsOrBuilder getSettingsOrBuilder() { if (settingsBuilder_ != null) { return settingsBuilder_.getMessageOrBuilder(); } else { return settings_ == null ? com.yandex.ydb.export.YdbExport.ExportToS3Settings.getDefaultInstance() : settings_; } } /** * .Ydb.Export.ExportToS3Settings settings = 2 [(.Ydb.required) = true]; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.export.YdbExport.ExportToS3Settings, com.yandex.ydb.export.YdbExport.ExportToS3Settings.Builder, com.yandex.ydb.export.YdbExport.ExportToS3SettingsOrBuilder> getSettingsFieldBuilder() { if (settingsBuilder_ == null) { settingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.export.YdbExport.ExportToS3Settings, com.yandex.ydb.export.YdbExport.ExportToS3Settings.Builder, com.yandex.ydb.export.YdbExport.ExportToS3SettingsOrBuilder>( getSettings(), getParentForChildren(), isClean()); settings_ = null; } return settingsBuilder_; } @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.Export.ExportToS3Request) } // @@protoc_insertion_point(class_scope:Ydb.Export.ExportToS3Request) private static final com.yandex.ydb.export.YdbExport.ExportToS3Request DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.export.YdbExport.ExportToS3Request(); } public static com.yandex.ydb.export.YdbExport.ExportToS3Request getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExportToS3Request parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ExportToS3Request(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.export.YdbExport.ExportToS3Request getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExportToS3ResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Export.ExportToS3Response) com.google.protobuf.MessageOrBuilder { /** *
     * operation.result = ExportToS3Result
     * operation.metadata = ExportToS3Metadata
     * 
* * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ boolean hasOperation(); /** *
     * operation.result = ExportToS3Result
     * operation.metadata = ExportToS3Metadata
     * 
* * .Ydb.Operations.Operation operation = 1; * @return The operation. */ com.yandex.ydb.OperationProtos.Operation getOperation(); /** *
     * operation.result = ExportToS3Result
     * operation.metadata = ExportToS3Metadata
     * 
* * .Ydb.Operations.Operation operation = 1; */ com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder(); } /** * Protobuf type {@code Ydb.Export.ExportToS3Response} */ public static final class ExportToS3Response extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Export.ExportToS3Response) ExportToS3ResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ExportToS3Response.newBuilder() to construct. private ExportToS3Response(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExportToS3Response() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExportToS3Response(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExportToS3Response( 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.export.YdbExport.internal_static_Ydb_Export_ExportToS3Response_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToS3Response_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.export.YdbExport.ExportToS3Response.class, com.yandex.ydb.export.YdbExport.ExportToS3Response.Builder.class); } public static final int OPERATION_FIELD_NUMBER = 1; private com.yandex.ydb.OperationProtos.Operation operation_; /** *
     * operation.result = ExportToS3Result
     * operation.metadata = ExportToS3Metadata
     * 
* * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ @java.lang.Override public boolean hasOperation() { return operation_ != null; } /** *
     * operation.result = ExportToS3Result
     * operation.metadata = ExportToS3Metadata
     * 
* * .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 = ExportToS3Result
     * operation.metadata = ExportToS3Metadata
     * 
* * .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.export.YdbExport.ExportToS3Response)) { return super.equals(obj); } com.yandex.ydb.export.YdbExport.ExportToS3Response other = (com.yandex.ydb.export.YdbExport.ExportToS3Response) 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.export.YdbExport.ExportToS3Response parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToS3Response 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.export.YdbExport.ExportToS3Response parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToS3Response 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.export.YdbExport.ExportToS3Response parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.export.YdbExport.ExportToS3Response parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.export.YdbExport.ExportToS3Response parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToS3Response 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.export.YdbExport.ExportToS3Response parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToS3Response 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.export.YdbExport.ExportToS3Response parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.export.YdbExport.ExportToS3Response 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.export.YdbExport.ExportToS3Response 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.Export.ExportToS3Response} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Export.ExportToS3Response) com.yandex.ydb.export.YdbExport.ExportToS3ResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToS3Response_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.export.YdbExport.internal_static_Ydb_Export_ExportToS3Response_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.export.YdbExport.ExportToS3Response.class, com.yandex.ydb.export.YdbExport.ExportToS3Response.Builder.class); } // Construct using com.yandex.ydb.export.YdbExport.ExportToS3Response.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.export.YdbExport.internal_static_Ydb_Export_ExportToS3Response_descriptor; } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToS3Response getDefaultInstanceForType() { return com.yandex.ydb.export.YdbExport.ExportToS3Response.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToS3Response build() { com.yandex.ydb.export.YdbExport.ExportToS3Response result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.export.YdbExport.ExportToS3Response buildPartial() { com.yandex.ydb.export.YdbExport.ExportToS3Response result = new com.yandex.ydb.export.YdbExport.ExportToS3Response(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.export.YdbExport.ExportToS3Response) { return mergeFrom((com.yandex.ydb.export.YdbExport.ExportToS3Response)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.export.YdbExport.ExportToS3Response other) { if (other == com.yandex.ydb.export.YdbExport.ExportToS3Response.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.export.YdbExport.ExportToS3Response parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.export.YdbExport.ExportToS3Response) 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 = ExportToS3Result
       * operation.metadata = ExportToS3Metadata
       * 
* * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ public boolean hasOperation() { return operationBuilder_ != null || operation_ != null; } /** *
       * operation.result = ExportToS3Result
       * operation.metadata = ExportToS3Metadata
       * 
* * .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 = ExportToS3Result
       * operation.metadata = ExportToS3Metadata
       * 
* * .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 = ExportToS3Result
       * operation.metadata = ExportToS3Metadata
       * 
* * .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 = ExportToS3Result
       * operation.metadata = ExportToS3Metadata
       * 
* * .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 = ExportToS3Result
       * operation.metadata = ExportToS3Metadata
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder clearOperation() { if (operationBuilder_ == null) { operation_ = null; onChanged(); } else { operation_ = null; operationBuilder_ = null; } return this; } /** *
       * operation.result = ExportToS3Result
       * operation.metadata = ExportToS3Metadata
       * 
* * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.Operation.Builder getOperationBuilder() { onChanged(); return getOperationFieldBuilder().getBuilder(); } /** *
       * operation.result = ExportToS3Result
       * operation.metadata = ExportToS3Metadata
       * 
* * .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 = ExportToS3Result
       * operation.metadata = ExportToS3Metadata
       * 
* * .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.Export.ExportToS3Response) } // @@protoc_insertion_point(class_scope:Ydb.Export.ExportToS3Response) private static final com.yandex.ydb.export.YdbExport.ExportToS3Response DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.export.YdbExport.ExportToS3Response(); } public static com.yandex.ydb.export.YdbExport.ExportToS3Response getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExportToS3Response parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ExportToS3Response(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.export.YdbExport.ExportToS3Response getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Export_ExportProgress_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Export_ExportProgress_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Export_ExportItemProgress_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Export_ExportItemProgress_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Export_ExportToYtSettings_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Export_ExportToYtSettings_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Export_ExportToYtSettings_Item_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Export_ExportToYtSettings_Item_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Export_ExportToYtResult_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Export_ExportToYtResult_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Export_ExportToYtMetadata_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Export_ExportToYtMetadata_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Export_ExportToYtRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Export_ExportToYtRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Export_ExportToYtResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Export_ExportToYtResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Export_ExportToS3Settings_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Export_ExportToS3Settings_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Export_ExportToS3Settings_Item_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Export_ExportToS3Settings_Item_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Export_ExportToS3Result_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Export_ExportToS3Result_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Export_ExportToS3Metadata_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Export_ExportToS3Metadata_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Export_ExportToS3Request_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Export_ExportToS3Request_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Export_ExportToS3Response_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Export_ExportToS3Response_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_export.proto" + "\022\nYdb.Export\0322ydb/public/api/protos/anno" + "tations/validation.proto\032)ydb/public/api" + "/protos/ydb_operation.proto\032\037google/prot" + "obuf/timestamp.proto\"\261\001\n\016ExportProgress\"" + "\236\001\n\010Progress\022\030\n\024PROGRESS_UNSPECIFIED\020\000\022\026" + "\n\022PROGRESS_PREPARING\020\001\022\032\n\026PROGRESS_TRANS" + "FER_DATA\020\002\022\021\n\rPROGRESS_DONE\020\003\022\031\n\025PROGRES" + "S_CANCELLATION\020\004\022\026\n\022PROGRESS_CANCELLED\020\005" + "\"\240\001\n\022ExportItemProgress\022\023\n\013parts_total\030\001" + " \001(\r\022\027\n\017parts_completed\030\002 \001(\r\022.\n\nstart_t" + "ime\030\003 \001(\0132\032.google.protobuf.Timestamp\022,\n" + "\010end_time\030\004 \001(\0132\032.google.protobuf.Timest" + "amp\"\230\002\n\022ExportToYtSettings\022\022\n\004host\030\001 \001(\t" + "B\004\220\346*\001\022\014\n\004port\030\002 \001(\r\022\023\n\005token\030\003 \001(\tB\004\220\346*" + "\001\022:\n\005items\030\004 \003(\0132#.Ydb.Export.ExportToYt" + "Settings.ItemB\006\232\346*\002(\001\022\034\n\013description\030\005 \001" + "(\tB\007\242\346*\003\030\200\001\022\031\n\021number_of_retries\030\006 \001(\r\022\023" + "\n\013use_type_v3\030\007 \001(\010\032A\n\004Item\022\031\n\013source_pa" + "th\030\001 \001(\tB\004\220\346*\001\022\036\n\020destination_path\030\002 \001(\t" + "B\004\220\346*\001\"\022\n\020ExportToYtResult\"\265\001\n\022ExportToY" + "tMetadata\0220\n\010settings\030\001 \001(\0132\036.Ydb.Export" + ".ExportToYtSettings\0225\n\010progress\030\002 \001(\0162#." + "Ydb.Export.ExportProgress.Progress\0226\n\016it" + "ems_progress\030\003 \003(\0132\036.Ydb.Export.ExportIt" + "emProgress\"\206\001\n\021ExportToYtRequest\0229\n\020oper" + "ation_params\030\001 \001(\0132\037.Ydb.Operations.Oper" + "ationParams\0226\n\010settings\030\002 \001(\0132\036.Ydb.Expo" + "rt.ExportToYtSettingsB\004\220\346*\001\"B\n\022ExportToY" + "tResponse\022,\n\toperation\030\001 \001(\0132\031.Ydb.Opera" + "tions.Operation\"\230\005\n\022ExportToS3Settings\022\026" + "\n\010endpoint\030\001 \001(\tB\004\220\346*\001\0225\n\006scheme\030\002 \001(\0162%" + ".Ydb.Export.ExportToS3Settings.Scheme\022\024\n" + "\006bucket\030\003 \001(\tB\004\220\346*\001\022\030\n\naccess_key\030\004 \001(\tB" + "\004\220\346*\001\022\030\n\nsecret_key\030\005 \001(\tB\004\220\346*\001\022:\n\005items" + "\030\006 \003(\0132#.Ydb.Export.ExportToS3Settings.I" + "temB\006\232\346*\002(\001\022\034\n\013description\030\007 \001(\tB\007\242\346*\003\030\200" + "\001\022\031\n\021number_of_retries\030\010 \001(\r\022B\n\rstorage_" + "class\030\t \001(\0162+.Ydb.Export.ExportToS3Setti" + "ngs.StorageClass\032C\n\004Item\022\031\n\013source_path\030" + "\001 \001(\tB\004\220\346*\001\022 \n\022destination_prefix\030\002 \001(\tB" + "\004\220\346*\001\".\n\006Scheme\022\017\n\013UNSPECIFIED\020\000\022\010\n\004HTTP" + "\020\001\022\t\n\005HTTPS\020\002\"\272\001\n\014StorageClass\022\035\n\031STORAG" + "E_CLASS_UNSPECIFIED\020\000\022\014\n\010STANDARD\020\001\022\026\n\022R" + "EDUCED_REDUNDANCY\020\002\022\017\n\013STANDARD_IA\020\003\022\016\n\n" + "ONEZONE_IA\020\004\022\027\n\023INTELLIGENT_TIERING\020\005\022\013\n" + "\007GLACIER\020\006\022\020\n\014DEEP_ARCHIVE\020\007\022\014\n\010OUTPOSTS" + "\020\010\"\022\n\020ExportToS3Result\"\265\001\n\022ExportToS3Met" + "adata\0220\n\010settings\030\001 \001(\0132\036.Ydb.Export.Exp" + "ortToS3Settings\0225\n\010progress\030\002 \001(\0162#.Ydb." + "Export.ExportProgress.Progress\0226\n\016items_" + "progress\030\003 \003(\0132\036.Ydb.Export.ExportItemPr" + "ogress\"\206\001\n\021ExportToS3Request\0229\n\020operatio" + "n_params\030\001 \001(\0132\037.Ydb.Operations.Operatio" + "nParams\0226\n\010settings\030\002 \001(\0132\036.Ydb.Export.E" + "xportToS3SettingsB\004\220\346*\001\"B\n\022ExportToS3Res" + "ponse\022,\n\toperation\030\001 \001(\0132\031.Ydb.Operation" + "s.OperationB\032\n\025com.yandex.ydb.export\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.OperationProtos.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); internal_static_Ydb_Export_ExportProgress_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_Ydb_Export_ExportProgress_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Export_ExportProgress_descriptor, new java.lang.String[] { }); internal_static_Ydb_Export_ExportItemProgress_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_Ydb_Export_ExportItemProgress_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Export_ExportItemProgress_descriptor, new java.lang.String[] { "PartsTotal", "PartsCompleted", "StartTime", "EndTime", }); internal_static_Ydb_Export_ExportToYtSettings_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_Ydb_Export_ExportToYtSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Export_ExportToYtSettings_descriptor, new java.lang.String[] { "Host", "Port", "Token", "Items", "Description", "NumberOfRetries", "UseTypeV3", }); internal_static_Ydb_Export_ExportToYtSettings_Item_descriptor = internal_static_Ydb_Export_ExportToYtSettings_descriptor.getNestedTypes().get(0); internal_static_Ydb_Export_ExportToYtSettings_Item_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Export_ExportToYtSettings_Item_descriptor, new java.lang.String[] { "SourcePath", "DestinationPath", }); internal_static_Ydb_Export_ExportToYtResult_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_Ydb_Export_ExportToYtResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Export_ExportToYtResult_descriptor, new java.lang.String[] { }); internal_static_Ydb_Export_ExportToYtMetadata_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_Ydb_Export_ExportToYtMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Export_ExportToYtMetadata_descriptor, new java.lang.String[] { "Settings", "Progress", "ItemsProgress", }); internal_static_Ydb_Export_ExportToYtRequest_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_Ydb_Export_ExportToYtRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Export_ExportToYtRequest_descriptor, new java.lang.String[] { "OperationParams", "Settings", }); internal_static_Ydb_Export_ExportToYtResponse_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_Ydb_Export_ExportToYtResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Export_ExportToYtResponse_descriptor, new java.lang.String[] { "Operation", }); internal_static_Ydb_Export_ExportToS3Settings_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_Ydb_Export_ExportToS3Settings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Export_ExportToS3Settings_descriptor, new java.lang.String[] { "Endpoint", "Scheme", "Bucket", "AccessKey", "SecretKey", "Items", "Description", "NumberOfRetries", "StorageClass", }); internal_static_Ydb_Export_ExportToS3Settings_Item_descriptor = internal_static_Ydb_Export_ExportToS3Settings_descriptor.getNestedTypes().get(0); internal_static_Ydb_Export_ExportToS3Settings_Item_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Export_ExportToS3Settings_Item_descriptor, new java.lang.String[] { "SourcePath", "DestinationPrefix", }); internal_static_Ydb_Export_ExportToS3Result_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_Ydb_Export_ExportToS3Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Export_ExportToS3Result_descriptor, new java.lang.String[] { }); internal_static_Ydb_Export_ExportToS3Metadata_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_Ydb_Export_ExportToS3Metadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Export_ExportToS3Metadata_descriptor, new java.lang.String[] { "Settings", "Progress", "ItemsProgress", }); internal_static_Ydb_Export_ExportToS3Request_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_Ydb_Export_ExportToS3Request_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Export_ExportToS3Request_descriptor, new java.lang.String[] { "OperationParams", "Settings", }); internal_static_Ydb_Export_ExportToS3Response_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_Ydb_Export_ExportToS3Response_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Export_ExportToS3Response_descriptor, new java.lang.String[] { "Operation", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.yandex.ydb.Validation.length); registry.add(com.yandex.ydb.Validation.required); registry.add(com.yandex.ydb.Validation.size); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); com.yandex.ydb.Validation.getDescriptor(); com.yandex.ydb.OperationProtos.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy